Home
last modified time | relevance | path

Searched refs:SIZE (Results 1 – 14 of 14) sorted by relevance

/tools/testing/selftests/exec/
A Dbinfmt_script.py14 SIZE=256 variable
117 test(name="too-big", size=SIZE+80, good=False)
119 test(name="exact", size=SIZE, good=False)
145 test(name="one-under", size=SIZE-1)
147 test(name="two-under", size=SIZE-2)
149 test(name="exact-trunc-whitespace", size=SIZE, arg=" ")
151 test(name="exact-trunc-arg", size=SIZE, arg=" f")
153 test(name="one-under-full-arg", size=SIZE-1, arg=" f")
155 test(name="one-under-no-nl", size=SIZE-1, newline="")
159 test(name="one-under-trunc-arg", size=SIZE-1, arg=" ")
[all …]
/tools/testing/selftests/mm/
A Dmadv_populate.c26 #define SIZE (2 * 1024 * 1024) macro
62 ret = madvise(addr, SIZE, MADV_POPULATE_READ); in test_prot_read()
69 munmap(addr, SIZE); in test_prot_read()
83 ret = madvise(addr, SIZE, MADV_POPULATE_READ); in test_prot_write()
90 munmap(addr, SIZE); in test_prot_write()
100 addr = mmap(0, SIZE, PROT_READ | PROT_WRITE, in test_holes()
132 munmap(addr, SIZE); in test_holes()
170 addr = mmap(0, SIZE, PROT_READ | PROT_WRITE, in test_populate_read()
182 munmap(addr, SIZE); in test_populate_read()
204 munmap(addr, SIZE); in test_populate_write()
[all …]
A Dmlock2-tests.c90 #define SIZE "Size:" macro
140 vma_size = get_value_for_name(addr, SIZE); in is_vma_lock_on_fault()
160 vma_size = get_value_for_name(addr, SIZE); in lock_check()
/tools/testing/selftests/powerpc/stringloops/
A Dstrlen.c8 #define SIZE 256 macro
19 for (offset = 0; offset < SIZE; offset++) { in test_one()
29 for (i = offset; i < SIZE; i++) in test_one()
56 s = memalign(128, SIZE); in testcase()
64 memset(s, 0, SIZE); in testcase()
65 for (i = 0; i < SIZE; i++) { in testcase()
78 for (j = 0; j < SIZE; j++) { in testcase()
87 s[SIZE - 1 - j] = 0; in testcase()
92 for (i = 0; i < SIZE; i++) { in testcase()
A Dmemcmp.c10 #define SIZE 256 macro
80 comp_size = (islarge ? LARGE_SIZE : SIZE); in testcase()
119 test_one(rand_s1, rand_s2, SIZE, 0, comp_size); in testcase()
147 test_one(rand_s1, rand_s2, SIZE, 0, comp_size); in testcase()
/tools/testing/selftests/powerpc/mm/
A Dhugetlb_vs_thp_test.c9 #define SIZE (16 * 1024 * 1024) macro
18 p = mmap(addr, SIZE, PROT_READ | PROT_WRITE, in test_body()
28 if (munmap(addr, SIZE)) { in test_body()
34 p = mmap(addr, SIZE, PROT_READ | PROT_WRITE, in test_body()
57 munmap(addr, SIZE); in test_body()
A Dprot_sao.c16 #define SIZE (64 * 1024) macro
35 p = mmap(NULL, SIZE, PROT_READ | PROT_WRITE | PROT_SAO, in test_prot_sao()
40 memset(p, 0xaa, SIZE); in test_prot_sao()
/tools/include/linux/
A Dfilter.h152 #define BPF_LD_ABS(SIZE, IMM) \ argument
154 .code = BPF_LD | BPF_SIZE(SIZE) | BPF_ABS, \
162 #define BPF_LD_IND(SIZE, SRC, IMM) \ argument
164 .code = BPF_LD | BPF_SIZE(SIZE) | BPF_IND, \
172 #define BPF_LDX_MEM(SIZE, DST, SRC, OFF) \ argument
174 .code = BPF_LDX | BPF_SIZE(SIZE) | BPF_MEM, \
182 #define BPF_STX_MEM(SIZE, DST, SRC, OFF) \ argument
184 .code = BPF_STX | BPF_SIZE(SIZE) | BPF_MEM, \
214 #define BPF_STX_XADD(SIZE, DST, SRC, OFF) BPF_ATOMIC_OP(SIZE, BPF_ADD, DST, SRC, OFF) argument
218 #define BPF_ST_MEM(SIZE, DST, OFF, IMM) \ argument
[all …]
/tools/perf/Documentation/
A Djit-interface.txt10 START SIZE symbolname
12 START and SIZE are hex numbers without 0x.
/tools/testing/selftests/bpf/prog_tests/
A Ddmabuf_iter.c130 enum Fields { INODE, SIZE, NAME, EXPORTER, FIELD_COUNT }; enumerator
187 } else if (f % FIELD_COUNT == SIZE) { in subtest_dmabuf_iter_check_default_iter()
/tools/testing/selftests/net/mptcp/
A Dmptcp_connect.sh568 local SIZE=$filesize
572 if [ $SIZE -eq 0 ]; then
576 SIZE=$(((RANDOM * RANDOM + MINSIZE) % MAXSIZE))
579 ksize=$((SIZE / 1024))
580 rem=$((SIZE - (ksize * 1024)))
/tools/testing/selftests/bpf/progs/
A Darena_atomics.c319 #define LOAD_ACQUIRE_ARENA(SIZEOP, SIZE, SRC, DST) \ in load_acquire() argument
326 "*(" #SIZE " *)(r3 + 0) = r2;" \ in load_acquire()
/tools/testing/selftests/ublk/
A Dtest_common.sh28 lsblk -b -o SIZE -n "$1"
/tools/testing/selftests/bpf/
A Dveristat.c48 SIZE, enumerator
725 TOTAL_INSNS, TOTAL_STATES, SIZE, JITED_SIZE
778 SIZE, JITED_SIZE, PROG_TYPE, ATTACH_TYPE,
815 [SIZE] = { "Program size", {"prog_size"}, },
1626 stats->stats[SIZE] = bpf_program__insn_cnt(prog); in process_prog()
2238 case SIZE: in cmp_stat()
2475 case SIZE: in prepare_value()
2562 case SIZE: in parse_stat_value()

Completed in 25 milliseconds