/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | test_mmap.c | 30 int zero = 0, one = 1, two = 2, far = 1500; local 36 bpf_map_update_elem(&data_map, &two, (const void *)&in_val, 0);
|
H A D | test_sockmap_kern.h | 98 int *f, two = 2; local 100 f = bpf_map_lookup_elem(&sock_skb_opts, &two); 239 int *bytes, zero = 0, one = 1, two = 2, three = 3, four = 4, five = 5; local 252 start_push = bpf_map_lookup_elem(&sock_bytes, &two); 269 int zero = 0, one = 1, two = 2, three = 3, four = 4, five = 5, key = 0; local 286 start_push = bpf_map_lookup_elem(&sock_bytes, &two); 354 int zero = 0, one = 1, two = 2, three = 3, four = 4, five = 5, err = 0; local 366 start_push = bpf_map_lookup_elem(&sock_bytes, &two);
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | subprogs.c | 15 char two = '2'; local 20 write(ctx->fd, &two, sizeof(two));
|
H A D | mmap.c | 20 const int zero = 0, one = 1, two = 2, far = 1500; local 124 CHECK_FAIL(bpf_map_lookup_elem(data_map_fd, &two, &val));
|
/linux-master/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
|
/linux-master/tools/testing/selftests/seccomp/ |
H A D | seccomp_benchmark.c | 86 double two = i_two, two_bump = two * 0.1; local 89 two_bump = two + MAX(two_bump, 2.0); 92 if (one == two || 93 (one > two && one <= two_bump) || 94 (two > one && two <= one_bump)) 107 unsigned long long one, bool (*eval)(int, int), unsigned long long two, 119 (long long)one, name_eval, (long long)two); 125 if (two > INT_MA 106 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, bool skip) argument [all...] |
/linux-master/arch/arm/probes/kprobes/ |
H A D | test-arm.c | 1176 #define COPROCESSOR_INSTRUCTIONS_ST_LD(two,cc) \ 1177 TEST_COPROCESSOR("stc"two" p0, cr0, [r13, #4]") \ 1178 TEST_COPROCESSOR("stc"two" p0, cr0, [r13, #-4]") \ 1179 TEST_COPROCESSOR("stc"two" p0, cr0, [r13, #4]!") \ 1180 TEST_COPROCESSOR("stc"two" p0, cr0, [r13, #-4]!") \ 1181 TEST_COPROCESSOR("stc"two" p0, cr0, [r13], #4") \ 1182 TEST_COPROCESSOR("stc"two" p0, cr0, [r13], #-4") \ 1183 TEST_COPROCESSOR("stc"two" p0, cr0, [r13], {1}") \ 1184 TEST_COPROCESSOR("stc"two"l p0, cr0, [r13, #4]") \ 1185 TEST_COPROCESSOR("stc"two" [all...] |
/linux-master/lib/ |
H A D | stackinit_kunit.c | 91 zero.two = 0; \ 106 #define __static_partial { .two = 0, } 108 .two = 0, \ 112 #define __dynamic_partial { .two = arg->two, } 114 .two = arg->two, \ 118 #define __runtime_partial var.two = 0 120 var.two = 0; \ 184 * possible between the two lea 257 unsigned long two; member in struct:test_packed 265 char two; member in struct:test_small_hole 274 u8 two; member in struct:test_big_hole 282 char *two; member in struct:test_trailing_hole 291 unsigned long two; member in struct:test_user [all...] |
H A D | fortify_kunit.c | 466 /* And for sure now, two bytes past. */ 559 /* Keeping space for %NUL, last two bytes should be %NUL */ 604 char two[] = "BC"; local 624 /* Last two bytes should be %NUL */ 646 /* And adding two will overflow more. */ 647 KUNIT_ASSERT_TRUE(test, strcat(pad.buf, two) == pad.buf); 682 /* Last two bytes should be %NUL */ 706 /* And adding two will overflow more. */ 756 /* Last two bytes should be %NUL */ 780 /* And adding two wil 875 char two[] = "My mind is going ... I can feel it."; local [all...] |
H A D | memcpy_kunit.c | 23 u16 two; member in struct:some_bytes::__anon485::__anon486 40 #define compare(name, one, two) do { \ 41 BUILD_BUG_ON(sizeof(one) != sizeof(two)); \ 43 KUNIT_EXPECT_EQ_MSG(test, one.data[i], two.data[i], \ 45 __LINE__, #one, i, one.data[i], #two, i, two.data[i]); \
|
/linux-master/arch/alpha/lib/ |
H A D | strlen.S | 35 nop # helps dual issue last two insns
|
H A D | strncpy.S | 67 0: stq_u $31, 0($16) # zero two words
|
H A D | callback_srm.S | 48 lda $25,2($31) # two integer arguments
|
/linux-master/drivers/misc/lkdtm/ |
H A D | usercopy.c | 137 unsigned char *one, *two; local 143 two = kmalloc(size, GFP_KERNEL); 144 if (!one || !two) { 158 memset(two, 'B', size); 195 kfree(two);
|
H A D | heap.c | 32 char *one, *two; local 36 two = vzalloc(PAGE_SIZE); 41 vfree(two);
|
/linux-master/tools/perf/tests/ |
H A D | cpumap.c | 218 struct perf_cpu_map *two = perf_cpu_map__new("2"); local 219 struct perf_cpu_map *empty = perf_cpu_map__intersect(one, two); 222 struct perf_cpu_map *maps[] = {empty, any, one, two, pair}; 236 tmp = perf_cpu_map__merge(perf_cpu_map__get(one), two);
|
/linux-master/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
|
/linux-master/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
|
/linux-master/arch/alpha/kernel/ |
H A D | head.S | 60 # The following two functions are needed for supporting SRM PALcode
|
/linux-master/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...] |
/linux-master/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.
|
/linux-master/arch/arm/include/debug/ |
H A D | omap2plus.S | 32 sub \rv, \rv, \rp @ offset between the two
|
/linux-master/arch/m68k/ifpsp060/ |
H A D | iskeleton.S | 186 | region. Note: the routine must lock two pages if the operand 187 | spans two pages. 254 | Note: the routine must unlock two pages if the operand spans 255 | two pages.
|
/linux-master/arch/xtensa/lib/ |
H A D | strnlen_user.S | 86 # check two more bytes (bytes 0, 1 of word) 127 EX(10f) l32i a9, a4, 0 # get word with first two bytes of string
|
/linux-master/arch/x86/boot/compressed/ |
H A D | kaslr.c | 102 static bool mem_overlaps(struct mem_vector *one, struct mem_vector *two) argument 104 /* Item one is entirely before item two. */ 105 if (one->start + one->size <= two->start) 107 /* Item one is entirely after item two. */ 108 if (one->start >= two->start + two->size) 343 * as a maximum of the two. The diagram is showing a case where 379 * Since the above two ranges need to be avoided and they are adjacent,
|