/tools/testing/selftests/exec/ |
D | binfmt_script.py | 14 SIZE=256 variable 111 test(name="too-big", size=SIZE+80, good=False) 113 test(name="exact", size=SIZE, good=False) 115 test(name="exact-space", size=SIZE, good=False, leading=" ") 117 test(name="whitespace-too-big", size=SIZE+71, good=False, root="", 120 test(name="truncated", size=SIZE+17, good=False, leading=" " * 19) 125 test(name="spaces", size=SIZE-1, good=False, root="", fill=" ", 128 test(name="newline-prefix", size=SIZE-1, good=False, leading="\n", 139 test(name="one-under", size=SIZE-1) 141 test(name="two-under", size=SIZE-2) [all …]
|
/tools/testing/selftests/mm/ |
D | madv_populate.c | 26 #define SIZE (2 * 1024 * 1024) macro 58 addr = mmap(0, SIZE, PROT_READ, MAP_ANONYMOUS | MAP_PRIVATE, 0, 0); in test_prot_read() 62 ret = madvise(addr, SIZE, MADV_POPULATE_READ); in test_prot_read() 65 ret = madvise(addr, SIZE, MADV_POPULATE_WRITE); in test_prot_read() 69 munmap(addr, SIZE); in test_prot_read() 79 addr = mmap(0, SIZE, PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, 0, 0); in test_prot_write() 83 ret = madvise(addr, SIZE, MADV_POPULATE_READ); in test_prot_write() 87 ret = madvise(addr, SIZE, MADV_POPULATE_WRITE); in test_prot_write() 90 munmap(addr, SIZE); in test_prot_write() 100 addr = mmap(0, SIZE, PROT_READ | PROT_WRITE, in test_holes() [all …]
|
D | mlock2-tests.c | 104 #define SIZE "Size:" macro 154 vma_size = get_value_for_name(addr, SIZE); in is_vma_lock_on_fault() 174 vma_size = get_value_for_name(addr, SIZE); in lock_check()
|
/tools/testing/selftests/powerpc/stringloops/ |
D | strlen.c | 8 #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()
|
D | memcmp.c | 10 #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/ |
D | hugetlb_vs_thp_test.c | 9 #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()
|
D | prot_sao.c | 16 #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/ |
D | filter.h | 134 #define BPF_LD_ABS(SIZE, IMM) \ argument 136 .code = BPF_LD | BPF_SIZE(SIZE) | BPF_ABS, \ 144 #define BPF_LD_IND(SIZE, SRC, IMM) \ argument 146 .code = BPF_LD | BPF_SIZE(SIZE) | BPF_IND, \ 154 #define BPF_LDX_MEM(SIZE, DST, SRC, OFF) \ argument 156 .code = BPF_LDX | BPF_SIZE(SIZE) | BPF_MEM, \ 164 #define BPF_STX_MEM(SIZE, DST, SRC, OFF) \ argument 166 .code = BPF_STX | BPF_SIZE(SIZE) | BPF_MEM, \ 187 #define BPF_ATOMIC_OP(SIZE, OP, DST, SRC, OFF) \ argument 189 .code = BPF_STX | BPF_SIZE(SIZE) | BPF_ATOMIC, \ [all …]
|
/tools/perf/Documentation/ |
D | jit-interface.txt | 10 START SIZE symbolname 12 START and SIZE are hex numbers without 0x.
|
/tools/testing/selftests/netfilter/ |
D | nft_flowtable.sh | 234 SIZE=$((RANDOM % (1024 * 128))) 235 SIZE=$((SIZE + (1024 * 8))) 236 TSIZE=$((SIZE * 1024)) 238 dd if=/dev/urandom of="$name" bs=1024 count=$SIZE 2> /dev/null 240 SIZE=$((RANDOM % 1024)) 241 SIZE=$((SIZE + 128)) 242 TSIZE=$((TSIZE + SIZE)) 243 dd if=/dev/urandom conf=notrunc of="$name" bs=1 count=$SIZE 2> /dev/null
|
/tools/perf/trace/beauty/ |
D | statx.c | 65 P_FLAG(SIZE); in syscall_arg__scnprintf_statx_mask()
|
/tools/testing/selftests/net/mptcp/ |
D | mptcp_connect.sh | 613 local SIZE=$filesize 617 if [ $SIZE -eq 0 ]; then 621 SIZE=$(((RANDOM * RANDOM + MINSIZE) % MAXSIZE)) 624 ksize=$((SIZE / 1024)) 625 rem=$((SIZE - (ksize * 1024)))
|