/kernel/linux/linux-6.6/tools/testing/selftests/seccomp/ |
H A D | seccomp_benchmark.c | 80 double two = i_two, two_bump = two * 0.01; in approx() local 83 two_bump = two + MAX(two_bump, 2.0); in approx() 86 if (one == two || in approx() 87 (one > two && one <= two_bump) || in approx() 88 (two > one && two <= one_bump)) in approx() 101 unsigned long long one, bool (*eval)(int, int), unsigned long long two) in compare() 106 (long long)one, name_eval, (long long)two); in compare() 111 if (two > INT_MA in compare() 100 compare(const char *name_one, const char *name_eval, const char *name_two, unsigned long long one, bool (*eval)(int, int), unsigned long long two) compare() argument [all...] |
/kernel/linux/linux-5.10/arch/arm/probes/kprobes/ |
H A D | test-arm.c | 1176 #define COPROCESSOR_INSTRUCTIONS_ST_LD(two,cc) \ in kprobe_arm_test_cases() 1177 TEST_COPROCESSOR("stc"two" 0, cr0, [r13, #4]") \ in kprobe_arm_test_cases() 1178 TEST_COPROCESSOR("stc"two" 0, cr0, [r13, #-4]") \ in kprobe_arm_test_cases() 1179 TEST_COPROCESSOR("stc"two" 0, cr0, [r13, #4]!") \ in kprobe_arm_test_cases() 1180 TEST_COPROCESSOR("stc"two" 0, cr0, [r13, #-4]!") \ in kprobe_arm_test_cases() 1181 TEST_COPROCESSOR("stc"two" 0, cr0, [r13], #4") \ in kprobe_arm_test_cases() 1182 TEST_COPROCESSOR("stc"two" 0, cr0, [r13], #-4") \ in kprobe_arm_test_cases() 1183 TEST_COPROCESSOR("stc"two" 0, cr0, [r13], {1}") \ in kprobe_arm_test_cases() 1184 TEST_COPROCESSOR("stc"two"l 0, cr0, [r13, #4]") \ in kprobe_arm_test_cases() 1185 TEST_COPROCESSOR("stc"two" in kprobe_arm_test_cases() [all...] |
/kernel/linux/linux-6.6/arch/arm/probes/kprobes/ |
H A D | test-arm.c | 1176 #define COPROCESSOR_INSTRUCTIONS_ST_LD(two,cc) \ in kprobe_arm_test_cases() 1177 TEST_COPROCESSOR("stc"two" p0, cr0, [r13, #4]") \ in kprobe_arm_test_cases() 1178 TEST_COPROCESSOR("stc"two" p0, cr0, [r13, #-4]") \ in kprobe_arm_test_cases() 1179 TEST_COPROCESSOR("stc"two" p0, cr0, [r13, #4]!") \ in kprobe_arm_test_cases() 1180 TEST_COPROCESSOR("stc"two" p0, cr0, [r13, #-4]!") \ in kprobe_arm_test_cases() 1181 TEST_COPROCESSOR("stc"two" p0, cr0, [r13], #4") \ in kprobe_arm_test_cases() 1182 TEST_COPROCESSOR("stc"two" p0, cr0, [r13], #-4") \ in kprobe_arm_test_cases() 1183 TEST_COPROCESSOR("stc"two" p0, cr0, [r13], {1}") \ in kprobe_arm_test_cases() 1184 TEST_COPROCESSOR("stc"two"l p0, cr0, [r13, #4]") \ in kprobe_arm_test_cases() 1185 TEST_COPROCESSOR("stc"two" in kprobe_arm_test_cases() [all...] |
/kernel/linux/linux-5.10/lib/ |
H A D | test_stackinit.c | 69 #define INIT_STRUCT_static_partial = { .two = 0, } 71 .two = 0, \ 75 #define INIT_STRUCT_dynamic_partial = { .two = arg->two, } 77 .two = arg->two, \ 82 var.two = 0 85 var.two = 0; \ 198 unsigned long two; member 206 char two; member 215 u8 two; global() member 223 char *two; global() member 232 unsigned long two; global() member [all...] |
/kernel/linux/linux-6.6/lib/ |
H A D | stackinit_kunit.c | 82 zero.two = 0; \ 97 #define __static_partial { .two = 0, } 99 .two = 0, \ 103 #define __dynamic_partial { .two = arg->two, } 105 .two = arg->two, \ 109 #define __runtime_partial var.two = 0 111 var.two = 0; \ 244 unsigned long two; member 252 char two; global() member 261 u8 two; global() member 269 char *two; global() member 278 unsigned long two; global() member [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/splice/ |
H A D | short_splice_read.sh | 100 two=$(echo "$full" | grep -m1 . | cut -c-2) 108 # Make sure a partial splice see the first two characters. 110 if ! do_splice "$filename" 2 "$two" "'$two'" ; then
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/ |
H A D | subprogs.c | 15 char two = '2'; in toggle_jit_harden() local 20 write(ctx->fd, &two, sizeof(two)); in toggle_jit_harden()
|
/kernel/linux/linux-6.6/tools/testing/selftests/splice/ |
H A D | short_splice_read.sh | 100 two=$(echo "$full" | grep -m1 . | cut -c-2) 108 # Make sure a partial splice see the first two characters. 110 if ! do_splice "$filename" 2 "$two" "'$two'" ; then
|
/kernel/linux/linux-5.10/drivers/misc/lkdtm/ |
H A D | usercopy.c | 136 unsigned char *one, *two; in do_usercopy_heap_size() local 142 two = kmalloc(size, GFP_KERNEL); in do_usercopy_heap_size() 143 if (!one || !two) { in do_usercopy_heap_size() 157 memset(two, 'B', size); in do_usercopy_heap_size() 192 kfree(two); in do_usercopy_heap_size()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
H A D | test_sockmap_kern.h | 97 int *f, two = 2; in bpf_prog1() local 99 f = bpf_map_lookup_elem(&sock_skb_opts, &two); in bpf_prog1() 237 int *bytes, zero = 0, one = 1, two = 2, three = 3, four = 4, five = 5; in bpf_prog4() local 250 start_push = bpf_map_lookup_elem(&sock_bytes, &two); in bpf_prog4() 267 int zero = 0, one = 1, two = 2, three = 3, four = 4, five = 5, key = 0; in bpf_prog6() local 284 start_push = bpf_map_lookup_elem(&sock_bytes, &two); in bpf_prog6() 348 int zero = 0, one = 1, two = 2, three = 3, four = 4, five = 5, err = 0; in bpf_prog10() local 360 start_push = bpf_map_lookup_elem(&sock_bytes, &two); in bpf_prog10()
|
H A D | test_mmap.c | 32 int zero = 0, one = 1, two = 2, far = 1500; in test_mmap() local 38 bpf_map_update_elem(&data_map, &two, (const void *)&in_val, 0); in test_mmap()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/ |
H A D | test_sockmap_kern.h | 98 int *f, two = 2; in bpf_prog1() local 100 f = bpf_map_lookup_elem(&sock_skb_opts, &two); in bpf_prog1() 239 int *bytes, zero = 0, one = 1, two = 2, three = 3, four = 4, five = 5; in bpf_prog4() local 252 start_push = bpf_map_lookup_elem(&sock_bytes, &two); in bpf_prog4() 269 int zero = 0, one = 1, two = 2, three = 3, four = 4, five = 5, key = 0; in bpf_prog6() local 286 start_push = bpf_map_lookup_elem(&sock_bytes, &two); in bpf_prog6() 354 int zero = 0, one = 1, two = 2, three = 3, four = 4, five = 5, err = 0; in bpf_prog10() local 366 start_push = bpf_map_lookup_elem(&sock_bytes, &two); in bpf_prog10()
|
H A D | test_mmap.c | 30 int zero = 0, one = 1, two = 2, far = 1500; in test_mmap() local 36 bpf_map_update_elem(&data_map, &two, (const void *)&in_val, 0); in test_mmap()
|
/kernel/linux/linux-6.6/drivers/misc/lkdtm/ |
H A D | usercopy.c | 137 unsigned char *one, *two; in do_usercopy_slab_size() local 143 two = kmalloc(size, GFP_KERNEL); in do_usercopy_slab_size() 144 if (!one || !two) { in do_usercopy_slab_size() 158 memset(two, 'B', size); in do_usercopy_slab_size() 195 kfree(two); in do_usercopy_slab_size()
|
H A D | heap.c | 31 char *one, *two; in lkdtm_VMALLOC_LINEAR_OVERFLOW() local 35 two = vzalloc(PAGE_SIZE); in lkdtm_VMALLOC_LINEAR_OVERFLOW() 40 vfree(two); in lkdtm_VMALLOC_LINEAR_OVERFLOW()
|
/kernel/linux/linux-5.10/arch/sh/lib/ |
H A D | checksum.S | 73 add #-2, r5 ! Alignment uses up two bytes. 75 bt/s 1f ! Jump if we had at least two bytes. 209 add #-2,r6 ! Alignment uses up two bytes. 210 cmp/pz r6 ! Jump if we had at least two bytes. 255 ! src and dest equally aligned, but to a two byte boundary. 256 ! Handle first two bytes as a special case
|
/kernel/linux/linux-6.6/arch/sh/lib/ |
H A D | checksum.S | 73 add #-2, r5 ! Alignment uses up two bytes. 75 bt/s 1f ! Jump if we had at least two bytes. 209 add #-2,r6 ! Alignment uses up two bytes. 210 cmp/pz r6 ! Jump if we had at least two bytes. 255 ! src and dest equally aligned, but to a two byte boundary. 256 ! Handle first two bytes as a special case
|
/kernel/linux/linux-5.10/arch/x86/lib/ |
H A D | checksum_32.S | 70 subl $2, %ecx # Alignment uses up two bytes. 71 jae 1f # Jump if we had at least two bytes. 284 subl $2, %ecx # Alignment uses up two bytes. 285 jae 1f # Jump if we had at least two bytes.
|
/kernel/linux/linux-5.10/drivers/pinctrl/aspeed/ |
H A D | pinmux-aspeed.h | 46 * E19 is a single-signal pin with two functions that influence the active 55 * For example, pin B19 has a low-priority signal that's enabled by two 327 * following two lines: 334 * The two examples below show just the differences from the example above. 566 * For example, the 16-bit ROM bus can be enabled by one of two possible signal 700 * Declare a two-signal pin 742 #define FUNC_DECL_2(func, one, two) FUNC_DECL_(func, #one, #two) 743 #define FUNC_DECL_3(func, one, two, three) FUNC_DECL_(func, #one, #two, #thre [all...] |
/kernel/linux/linux-6.6/drivers/pinctrl/aspeed/ |
H A D | pinmux-aspeed.h | 45 * E19 is a single-signal pin with two functions that influence the active 54 * For example, pin B19 has a low-priority signal that's enabled by two 326 * following two lines: 333 * The two examples below show just the differences from the example above. 565 * For example, the 16-bit ROM bus can be enabled by one of two possible signal 699 * Declare a two-signal pin 750 #define FUNC_DECL_2(func, one, two) FUNC_DECL_(func, #one, #two) 751 #define FUNC_DECL_3(func, one, two, three) FUNC_DECL_(func, #one, #two, #thre [all...] |
/kernel/linux/linux-6.6/arch/x86/lib/ |
H A D | checksum_32.S | 70 subl $2, %ecx # Alignment uses up two bytes. 71 jae 1f # Jump if we had at least two bytes. 284 subl $2, %ecx # Alignment uses up two bytes. 285 jae 1f # Jump if we had at least two bytes.
|
/kernel/linux/linux-6.6/tools/perf/tests/ |
H A D | cpumap.c | 218 struct perf_cpu_map *two = perf_cpu_map__new("2"); in test__cpu_map_equal() local 219 struct perf_cpu_map *empty = perf_cpu_map__intersect(one, two); in test__cpu_map_equal() 222 struct perf_cpu_map *maps[] = {empty, any, one, two, pair}; in test__cpu_map_equal() 236 tmp = perf_cpu_map__merge(perf_cpu_map__get(one), two); in test__cpu_map_equal()
|
/kernel/linux/linux-5.10/arch/arm/boot/compressed/ |
H A D | efi-header.S | 18 @ This is a two-instruction NOP, which happens to bear the 19 @ PE/COFF signature "MZ" in the first two bytes, so the kernel
|
/kernel/linux/linux-6.6/arch/arm/boot/compressed/ |
H A D | efi-header.S | 18 @ This is a two-instruction NOP, which happens to bear the 19 @ PE/COFF signature "MZ" in the first two bytes, so the kernel
|
/kernel/linux/linux-5.10/arch/x86/boot/compressed/ |
H A D | kaslr.c | 106 static bool mem_overlaps(struct mem_vector *one, struct mem_vector *two) in mem_overlaps() argument 108 /* Item one is entirely before item two. */ in mem_overlaps() 109 if (one->start + one->size <= two->start) in mem_overlaps() 111 /* Item one is entirely after item two. */ in mem_overlaps() 112 if (one->start >= two->start + two->size) in mem_overlaps() 347 * as a maximum of the two. The diagram is showing a case where 383 * Since the above two ranges need to be avoided and they are adjacent,
|