| /linux/arch/loongarch/kernel/ |
| H A D | relocate_kernel.S | 35 PTR_L s1, s0, 0 39 andi s2, s1, IND_DESTINATION 42 and s3, s1, t0 /* store destination addr in s3 */ 47 andi s2, s1, IND_INDIRECTION 50 and s0, s1, t0 55 andi s2, s1, IND_DONE 61 andi s2, s1, IND_SOURCE 64 and s1, s1, t0 69 REG_L s4, s1, 0 72 PTR_ADDI s1, s1, SZREG
|
| /linux/arch/s390/lib/ |
| H A D | string.c | 164 int strcmp(const char *s1, const char *s2) in strcmp() argument 177 : [ret] "+&d" (ret), [s1] "+&a" (s1), [s2] "+&a" (s2) in strcmp() 185 static inline int clcle(const char *s1, unsigned long l1, in clcle() argument 188 union register_pair r1 = { .even = (unsigned long)s1, .odd = l1, }; in clcle() 208 char *strstr(const char *s1, const char *s2) in strstr() argument 214 return (char *) s1; in strstr() 215 l1 = __strend(s1) - s1; in strstr() 219 cc = clcle(s1, l2, s2, l2); in strstr() 221 return (char *) s1; in strstr() 222 s1++; in strstr() [all …]
|
| /linux/fs/ntfs3/ |
| H A D | upcase.c | 36 int ntfs_cmp_names(const __le16 *s1, size_t l1, const __le16 *s2, size_t l2, in ntfs_cmp_names() argument 46 for (; len; s1++, s2++, len--) { in ntfs_cmp_names() 47 diff1 = le16_to_cpu(*s1) - le16_to_cpu(*s2); in ntfs_cmp_names() 58 for (; len; s1++, s2++, len--) { in ntfs_cmp_names() 59 diff2 = upcase_unicode_char(upcase, le16_to_cpu(*s1)) - in ntfs_cmp_names() 72 const u16 *s1 = uni1->name; in ntfs_cmp_names_cpu() local 83 for (; len; s1++, s2++, len--) { in ntfs_cmp_names_cpu() 84 diff1 = *s1 - le16_to_cpu(*s2); in ntfs_cmp_names_cpu() 95 for (; len; s1++, s2++, len--) { in ntfs_cmp_names_cpu() 96 diff2 = upcase_unicode_char(upcase, *s1) - in ntfs_cmp_names_cpu()
|
| /linux/tools/testing/selftests/powerpc/stringloops/ |
| H A D | memcmp.c | 34 int test_memcmp(const void *s1, const void *s2, size_t n); 37 static void test_one(char *s1, char *s2, unsigned long max_offset, in test_one() argument 47 y = memcmp(s1+offset, s2+offset, size); in test_one() 48 x = test_memcmp(s1+offset, s2+offset, size); in test_one() 55 printf("%02x ", s1[i]); in test_one() 66 offset, size, s1, s2, vmx_count); in test_one() 77 char *p, *s1, *s2; in testcase() local 89 s1 = p + MAP_SIZE - alloc_size; in testcase() 101 char *rand_s1 = s1; in testcase() 105 s1[j] = random(); in testcase() [all …]
|
| /linux/arch/x86/boot/ |
| H A D | string.c | 32 int memcmp(const void *s1, const void *s2, size_t len) in memcmp() argument 36 : "=@ccnz" (diff), "+D" (s1), "+S" (s2), "+c" (len)); in memcmp() 43 int bcmp(const void *s1, const void *s2, size_t len) in bcmp() argument 45 return memcmp(s1, s2, len); in bcmp() 50 const unsigned char *s1 = (const unsigned char *)str1; in strcmp() local 54 while (*s1 || *s2) { in strcmp() 55 delta = *s1 - *s2; in strcmp() 58 s1++; in strcmp() 163 char *strstr(const char *s1, const char *s2) in strstr() argument 169 return (char *)s1; in strstr() [all …]
|
| /linux/include/linux/ |
| H A D | zutil.h | 57 #define DO1(buf,i) {s1 += buf[i]; s2 += s1;} 82 unsigned long s1 = adler & 0xffff; in zlib_adler32() local 97 s1 += *buf++; in zlib_adler32() 98 s2 += s1; in zlib_adler32() 100 s1 %= BASE; in zlib_adler32() 103 return (s2 << 16) | s1; in zlib_adler32()
|
| /linux/arch/sparc/include/asm/ |
| H A D | prom.h | 24 #define of_compat_cmp(s1, s2, l) strncmp((s1), (s2), (l)) argument 25 #define of_prop_cmp(s1, s2) strcasecmp((s1), (s2)) argument 26 #define of_node_cmp(s1, s2) strcmp((s1), (s2)) argument
|
| /linux/tools/perf/tests/ |
| H A D | sample-parsing.c | 21 if (s1->m != s2->m) { \ 28 if (memcmp(&s1->m, &s2->m, sizeof(s1->m))) { \ 43 static bool samples_same(struct perf_sample *s1, in samples_same() argument 89 for (i = 0; i < s1->read.group.nr; i++) { in samples_same() 103 for (i = 0; i < s1->callchain->nr; i++) in samples_same() 109 if (memcmp(s1->raw_data, s2->raw_data, s1->raw_size)) { in samples_same() 118 for (i = 0; i < s1->branch_stack->nr; i++) { in samples_same() 129 struct regs_dump *s1_regs = perf_sample__user_regs(s1); in samples_same() 145 if (memcmp(s1->user_stack.data, s2->user_stack.data, in samples_same() 146 s1->user_stack.size)) { in samples_same() [all …]
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | btf_dump_test_case_ordering.c | 9 struct s1 {}; struct 22 struct s1 s1; member 27 struct s1 s1; member
|
| H A D | strncmp_bench.c | 19 static __always_inline int local_strncmp(const char *s1, unsigned int sz, in local_strncmp() argument 27 ret = (unsigned char)s1[i] - (unsigned char)s2[i]; in local_strncmp() 28 if (ret || !s1[i]) in local_strncmp()
|
| /linux/drivers/firmware/efi/libstub/ |
| H A D | string.c | 50 char *strstr(const char *s1, const char *s2) in strstr() argument 56 return (char *)s1; in strstr() 57 l1 = strlen(s1); in strstr() 60 if (!memcmp(s1, s2, l2)) in strstr() 61 return (char *)s1; in strstr() 62 s1++; in strstr()
|
| /linux/lib/crypto/arm64/ |
| H A D | poly1305-armv8.pl | 47 my ($h0,$h1,$h2,$r0,$r1,$s1,$t0,$t1,$d0,$d1,$d2) = map("x$_",(4..14)); 81 mov $s1,#0xfffffffc0fffffff 82 movk $s1,#0x0fff,lsl#48 87 and $r0,$r0,$s1 // &=0ffffffc0fffffff 88 and $s1,$s1,#-4 89 and $r1,$r1,$s1 // &=0ffffffc0ffffffc 90 mov w#$s1,#-1 92 str w#$s1,[$ctx,#48] // impossible key power value 149 add $s1,$r1,$r1,lsr#2 // s1 = r1 + (r1 >> 2) 168 mul $t0,$h1,$s1 // h1*5*r1 [all …]
|
| /linux/lib/ |
| H A D | string.c | 40 int strncasecmp(const char *s1, const char *s2, size_t len) in strncasecmp() argument 49 c1 = *s1++; in strncasecmp() 66 int strcasecmp(const char *s1, const char *s2) in strcasecmp() argument 71 c1 = tolower(*s1++); in strcasecmp() 751 char *strstr(const char *s1, const char *s2) in strstr() argument 757 return (char *)s1; in strstr() 758 l1 = strlen(s1); in strstr() 761 if (!memcmp(s1, s2, l2)) in strstr() 762 return (char *)s1; in strstr() 763 s1++; in strstr() [all …]
|
| /linux/include/crypto/ |
| H A D | aria.h | 41 static const u32 s1[256] = { variable 346 *t0 = s1[get_u8(*t0, 0)] ^ in aria_sbox_layer1_with_pre_diff() 350 *t1 = s1[get_u8(*t1, 0)] ^ in aria_sbox_layer1_with_pre_diff() 354 *t2 = s1[get_u8(*t2, 0)] ^ in aria_sbox_layer1_with_pre_diff() 358 *t3 = s1[get_u8(*t3, 0)] ^ in aria_sbox_layer1_with_pre_diff() 370 s1[get_u8(*t0, 2)] ^ in aria_sbox_layer2_with_pre_diff() 374 s1[get_u8(*t1, 2)] ^ in aria_sbox_layer2_with_pre_diff() 378 s1[get_u8(*t2, 2)] ^ in aria_sbox_layer2_with_pre_diff() 382 s1[get_u8(*t3, 2)] ^ in aria_sbox_layer2_with_pre_diff()
|
| /linux/arch/arm/boot/dts/aspeed/ |
| H A D | aspeed-bmc-ampere-mtjade.dts | 117 channels = "s0", "s1"; 126 channels = "s0", "s1"; 135 channels = "s0", "s1"; 144 channels = "s0", "s1"; 153 channels = "s0", "s1"; 162 channels = "s0", "s1"; 171 channels = "s0", "s1"; 180 channels = "s0", "s1"; 189 channels = "s0", "s1"; 198 channels = "s0", "s1"; [all …]
|
| /linux/net/dccp/ccids/lib/ |
| H A D | packet_history.c | |
| /linux/tools/testing/selftests/net/netfilter/ |
| H A D | conntrack_reverse_clash.c | 69 int s1, s2, status; in main() 78 s1 = udp_socket(); in main() 84 if (bind(s1, (struct sockaddr *)&sa1, sizeof(sa1)) < 0) in main() 101 if (sendto(s1, buf, LEN, 0, (struct sockaddr *)&sa2, sizeof(sa2)) != LEN) in main() 113 if (recvfrom(s1, buf, LEN, 0, (struct sockaddr *)&peer, &plen) < 0) in main() 64 int s1, s2, status; main() local
|
| /linux/arch/arm64/boot/dts/freescale/ |
| H A D | fsl-ls1088a-tqmls1088a-mbls10xxa.dts | 32 qsgmii-s1-p1 = &qsgmii1_phy1; 33 qsgmii-s1-p2 = &qsgmii1_phy2; 34 qsgmii-s1-p3 = &qsgmii1_phy3; 35 qsgmii-s1-p4 = &qsgmii1_phy4; 40 rgmii-s1 = &rgmii_phy1;
|
| H A D | fsl-ls1043a-tqmls1043a-mbls10xxa.dts | 22 qsgmii-s1-p1 = &qsgmii1_phy1; 23 qsgmii-s1-p2 = &qsgmii1_phy2; 24 qsgmii-s1-p3 = &qsgmii1_phy3; 25 qsgmii-s1-p4 = &qsgmii1_phy4;
|
| H A D | fsl-ls1046a-tqmls1046a-mbls10xxa.dts | 21 qsgmii-s1-p1 = &qsgmii1_phy1; 22 qsgmii-s1-p2 = &qsgmii1_phy2; 23 qsgmii-s1-p3 = &qsgmii1_phy3; 24 qsgmii-s1-p4 = &qsgmii1_phy4;
|
| /linux/arch/riscv/kernel/ |
| H A D | kexec_relocate.S | 25 mv s1, a1 104 mv a2, s1 114 mv s1, zero 158 mv s1, a2 167 mv a1, s1 178 mv s1, zero
|
| /linux/include/ufs/ |
| H A D | ufs_quirks.h | 10 #define STR_PRFX_EQUAL(s1, s2) !strncmp(s1, s2, strlen(s1)) argument
|
| /linux/fs/nfs/ |
| H A D | nfs4session.c | 460 static s32 nfs41_derivative_target_slotid(s32 s1, s32 s2) in nfs41_derivative_target_slotid() argument 462 s1 -= s2; in nfs41_derivative_target_slotid() 463 if (s1 == 0) in nfs41_derivative_target_slotid() 465 if (s1 < 0) in nfs41_derivative_target_slotid() 466 return (s1 - 1) >> 1; in nfs41_derivative_target_slotid() 467 return (s1 + 1) >> 1; in nfs41_derivative_target_slotid() 470 static int nfs41_sign_s32(s32 s1) in nfs41_sign_s32() argument 472 if (s1 > 0) in nfs41_sign_s32() 474 if (s1 < 0) in nfs41_sign_s32() 479 static bool nfs41_same_sign_or_zero_s32(s32 s1, s32 s2) in nfs41_same_sign_or_zero_s32() argument [all …]
|
| /linux/tools/testing/selftests/net/openvswitch/ |
| H A D | openvswitch.sh | 258 server s0 s1 172.31.110.20/24 -u || return 1 355 ip netns exec server ip addr add 172.31.110.20/24 dev s1 356 ip netns exec server ip link set s1 up 441 ip netns exec server ip addr add 172.31.110.20/24 dev s1 442 ip netns exec server ip link set s1 up 443 …HW_SERVER=`ip netns exec server ip link show dev s1 | grep -E 'link/ether [0-9a-f:]+' | awk '{prin… 476 ip netns exec server ip addr add 172.31.110.20/24 dev s1 477 ip netns exec server ip link set s1 up 542 ip netns exec server ip addr add 172.31.110.20/24 dev s1 543 ip netns exec server ip link set s1 up [all …]
|
| /linux/arch/arm64/crypto/ |
| H A D | sm4-neon-core.S | 40 #define transpose_4x4(s0, s1, s2, s3) \ argument 41 zip1 RTMP0.4s, s0.4s, s1.4s; \ 43 zip2 RTMP2.4s, s0.4s, s1.4s; \ 46 zip2 s1.2d, RTMP0.2d, RTMP1.2d; \ 50 #define transpose_4x4_2x(s0, s1, s2, s3, s4, s5, s6, s7) \ argument 51 zip1 RTMP0.4s, s0.4s, s1.4s; \ 53 zip2 RTMP2.4s, s0.4s, s1.4s; \ 60 zip2 s1.2d, RTMP0.2d, RTMP1.2d; \ 68 #define rotate_clockwise_4x4(s0, s1, s2, s3) \ argument 69 zip1 RTMP0.4s, s1.4s, s0.4s; \ [all …]
|