/Linux-v4.19/arch/mips/kernel/ |
D | relocate_kernel.S | 26 PTR_L s2, (s0) 33 beqz s2, done 36 and s3, s2, 0x1 38 and s4, s2, ~0x1 /* store destination addr in s4 */ 43 and s3, s2, 0x2 45 and s0, s2, ~0x2 50 and s3, s2, 0x4 55 and s3, s2, 0x8 57 and s2, s2, ~0x8 62 REG_L s5, (s2) [all …]
|
/Linux-v4.19/tools/testing/selftests/powerpc/stringloops/ |
D | memcmp.c | 29 int test_memcmp(const void *s1, const void *s2, size_t n); 32 static void test_one(char *s1, char *s2, unsigned long max_offset, in test_one() argument 42 y = memcmp(s1+offset, s2+offset, size); in test_one() 43 x = test_memcmp(s1+offset, s2+offset, size); in test_one() 54 printf("%02x ", s2[i]); in test_one() 61 offset, size, s1, s2, vmx_count); in test_one() 72 char *s2; in testcase() local 85 s2 = memalign(128, alloc_size); in testcase() 86 if (!s2) { in testcase() 97 char *rand_s2 = s2; in testcase() [all …]
|
/Linux-v4.19/arch/x86/boot/ |
D | string.c | 29 int memcmp(const void *s1, const void *s2, size_t len) in memcmp() argument 33 : CC_OUT(nz) (diff), "+D" (s1), "+S" (s2), "+c" (len)); in memcmp() 40 const unsigned char *s2 = (const unsigned char *)str2; in strcmp() local 43 while (*s1 || *s2) { in strcmp() 44 delta = *s1 - *s2; in strcmp() 48 s2++; in strcmp() 161 char *strstr(const char *s1, const char *s2) in strstr() argument 165 l2 = strlen(s2); in strstr() 171 if (!memcmp(s1, s2, l2)) in strstr()
|
/Linux-v4.19/arch/sparc/include/asm/ |
D | prom.h | 30 #define of_compat_cmp(s1, s2, l) strncmp((s1), (s2), (l)) argument 31 #define of_prop_cmp(s1, s2) strcasecmp((s1), (s2)) argument 32 #define of_node_cmp(s1, s2) strcmp((s1), (s2)) argument
|
/Linux-v4.19/arch/s390/lib/ |
D | string.c | 205 int strcmp(const char *s1, const char *s2) in strcmp() argument 217 : "+d" (ret), "+d" (r0), "+a" (s1), "+a" (s2) in strcmp() 242 const char *s2, unsigned long l2) in clcle() argument 246 register unsigned long r4 asm("4") = (unsigned long) s2; in clcle() 264 char *strstr(const char *s1, const char *s2) in strstr() argument 268 l2 = __strend(s2) - s2; in strstr() 275 cc = clcle(s1, l2, s2, l2); in strstr() 314 int memcmp(const void *s1, const void *s2, size_t n) in memcmp() argument 318 ret = clcle(s1, n, s2, n); in memcmp()
|
/Linux-v4.19/arch/c6x/lib/ |
D | divremu.S | 37 ||[!b1] b .s2 B3 ; RETURN A 42 || shl .s2 B4, B1, B4 48 || shru .s2 B4, 1, B4 53 || [b1] add .s2 -1, B1, B1 55 || [b1] add .s2 -1, B1, B1 61 || [b1] add .s2 -1, B1, B1 63 || [b1] add .s2 -1, B1, B1 66 || [b1] add .s2 -1, B1, B1 68 || [b1] add .s2 -1, B1, B1 70 || [b1] add .s2 -1, B1, B1 [all …]
|
D | remu.S | 45 || [!B1] b .s2 B3 ; RETURN A 49 || shl .s2 B4, B1, B4 53 shru .s2 B4, 1, B4 58 || [B1] add .s2 -1, B1, B1 61 || [B1] add .s2 -1, B1, B1 64 || [B1] add .s2 -1, B1, B1 66 || [B1] add .s2 -1, B1, B1 68 || [B1] add .s2 -1, B1, B1 70 || [B1] add .s2 -1, B1, B1 72 || [B1] add .s2 -1, B1, B1 [all …]
|
D | divu.S | 51 || [!B1] b .s2 B3 ; RETURN A 54 || shl .s2 B4, B1, B4 60 || shru .s2 B4, 1, B4 65 || [B1] add .s2 -1, B1, B1 67 || [B1] add .s2 -1, B1, B1 73 || [B1] add .s2 -1, B1, B1 75 || [B1] add .s2 -1, B1, B1 78 || [B1] add .s2 -1, B1, B1 80 || [B1] add .s2 -1, B1, B1 82 || [B1] add .s2 -1, B1, B1 [all …]
|
D | divremi.S | 26 || call .s2 __c6xabi_divu 33 [B0] addkpc .s2 _divu_ret_1, B3, 1 34 [!B0] addkpc .s2 _divu_ret_2, B3, 1 43 ret .s2 B3
|
/Linux-v4.19/arch/ia64/lib/ |
D | xor.S | 41 .rotr s1[6+1], s2[6+1], d[2] 45 (p[0]) ld8.nta s2[0] = [r17], 8 46 (p[6]) xor d[0] = s1[6], s2[6] 80 .rotr s1[6+1], s2[6+1], s3[6+1], d[2] 84 (p[0]) ld8.nta s2[0] = [r17], 8 85 (p[6]) xor d[0] = s1[6], s2[6] 122 .rotr s1[6+1], s2[6+1], s3[6+1], s4[6+1], d[2] 126 (p[0]) ld8.nta s2[0] = [r17], 8 127 (p[6]) xor d[0] = s1[6], s2[6] 167 .rotr s1[6+1], s2[6+1], s3[6+1], s4[6+1], s5[6+1], d[2] [all …]
|
/Linux-v4.19/drivers/soc/bcm/brcmstb/pm/ |
D | s2-mips.S | 34 sw s2, 12(sp) 54 lw s2, 8(t0) 120 sw t0, TIMER_TIMER1_CTRL(s2) 121 lw t0, TIMER_TIMER1_CTRL(s2) 124 sw t0, TIMER_TIMER1_CTRL(s2) 125 lw t0, TIMER_TIMER1_CTRL(s2) 129 lw t1, TIMER_TIMER1_STAT(s2) 135 1: lw t0, TIMER_TIMER1_STAT(s2) 187 lw s2, 12(sp)
|
D | Makefile | 1 obj-$(CONFIG_ARM) += s2-arm.o pm-arm.o 3 obj-$(CONFIG_BMIPS_GENERIC) += s2-mips.o s3-mips.o pm-mips.o
|
/Linux-v4.19/arch/m68k/include/asm/ |
D | uaccess_mm.h | 190 #define ____constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3, s1, s2, s3)\ argument 194 " .ifnc \""#s2"\",\"\"\n" \ 195 "2: "MOVES"."#s2" (%2)+,%3\n" \ 196 " move."#s2" %3,(%1)+\n" \ 206 " .ifnc \""#s2"\",\"\"\n" \ 217 " .ifnc \""#s2"\",\"\"\n" \ 228 #define ___constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3, s1, s2, s3)\ argument 229 ____constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3, s1, s2, s3) 281 #define __constant_copy_to_user_asm(res, to, from, tmp, n, s1, s2, s3) \ argument 285 "12: move."#s2" (%2)+,%3\n" \ [all …]
|
/Linux-v4.19/lib/ |
D | string.c | 42 int strncasecmp(const char *s1, const char *s2, size_t len) in strncasecmp() argument 52 c2 = *s2++; in strncasecmp() 68 int strcasecmp(const char *s1, const char *s2) in strcasecmp() argument 74 c2 = tolower(*s2++); in strcasecmp() 617 bool sysfs_streq(const char *s1, const char *s2) in sysfs_streq() argument 619 while (*s1 && *s1 == *s2) { in sysfs_streq() 621 s2++; in sysfs_streq() 624 if (*s1 == *s2) in sysfs_streq() 626 if (!*s1 && *s2 == '\n' && !s2[1]) in sysfs_streq() 628 if (*s1 == '\n' && !s1[1] && !*s2) in sysfs_streq() [all …]
|
D | test-string_helpers.c | 241 static __init const char *test_string_find_match(const struct test_string_2 *s2, in test_string_find_match() argument 244 const struct test_string_1 *s1 = s2->s1; in test_string_find_match() 248 return s2->in; in test_string_find_match() 276 const struct test_string_2 *s2, in test_string_escape() argument 289 for (; s2->in; s2++) { in test_string_escape() 301 out = test_string_find_match(s2, flags); in test_string_escape() 306 len = strlen(s2->in); in test_string_escape() 307 memcpy(&in[p], s2->in, len); in test_string_escape()
|
D | random32.c | 64 state->s2 = TAUSWORTHE(state->s2, 2U, 27U, 4294967288U, 2U); in prandom_u32_state() 68 return (state->s1 ^ state->s2 ^ state->s3 ^ state->s4); in prandom_u32_state() 167 state->s2 = __seed(HWSEED() ^ LCG(state->s1), 8U); in prandom_seed_early() 168 state->s3 = __seed(HWSEED() ^ LCG(state->s2), 16U); in prandom_seed_early() 251 state->s2 = __seed(seeds[1], 8U); in prandom_seed_full_state()
|
/Linux-v4.19/include/linux/ |
D | zutil.h | 57 #define DO1(buf,i) {s1 += buf[i]; s2 += s1;} 83 unsigned long s2 = (adler >> 16) & 0xffff; in zlib_adler32() local 98 s2 += s1; in zlib_adler32() 101 s2 %= BASE; in zlib_adler32() 103 return (s2 << 16) | s1; in zlib_adler32()
|
/Linux-v4.19/tools/perf/tests/ |
D | sample-parsing.c | 15 if (s1->m != s2->m) { \ 22 if (memcmp(&s1->m, &s2->m, sizeof(s1->m))) { \ 29 const struct perf_sample *s2, in samples_same() argument 89 if (memcmp(s1->raw_data, s2->raw_data, s1->raw_size)) { in samples_same() 107 (!s1->user_regs.regs || !s2->user_regs.regs || in samples_same() 108 memcmp(s1->user_regs.regs, s2->user_regs.regs, sz))) { in samples_same() 116 if (memcmp(s1->user_stack.data, s2->user_stack.data, in samples_same() 138 (!s1->intr_regs.regs || !s2->intr_regs.regs || in samples_same() 139 memcmp(s1->intr_regs.regs, s2->intr_regs.regs, sz))) { in samples_same()
|
/Linux-v4.19/net/dccp/ccids/lib/ |
D | packet_history.c | 180 s2 = DCCP_SKB_CB(skb)->dccpd_seq; in __one_after_loss() local 182 if (likely(dccp_delta_seqno(s1, s2) > 0)) { /* S1 < S2 */ in __one_after_loss() 190 if (dccp_loss_free(s0, s2, n2)) { in __one_after_loss() 193 if (dccp_loss_free(s2, s1, n1)) { in __one_after_loss() 217 s2 = tfrc_rx_hist_entry(h, 2)->tfrchrx_seqno, in __two_after_loss() local 220 if (likely(dccp_delta_seqno(s2, s3) > 0)) { /* S2 < S3 */ in __two_after_loss() 247 if (dccp_loss_free(s1, s2, n2)) { in __two_after_loss() 285 s2 = tfrc_rx_hist_entry(h, 2)->tfrchrx_seqno, in __three_after_loss() local 290 if (dccp_loss_free(s1, s2, n2)) { in __three_after_loss() 292 if (dccp_loss_free(s2, s3, n3)) { in __three_after_loss()
|
/Linux-v4.19/drivers/firmware/efi/libstub/ |
D | string.c | 18 char *strstr(const char *s1, const char *s2) in strstr() argument 22 l2 = strlen(s2); in strstr() 28 if (!memcmp(s1, s2, l2)) in strstr()
|
/Linux-v4.19/fs/ntfs/ |
D | unistr.c | 69 const ntfschar *s2, size_t s2_len, const IGNORE_CASE_BOOL ic, in ntfs_are_names_equal() argument 75 return !ntfs_ucsncmp(s1, s2, s1_len); in ntfs_are_names_equal() 76 return !ntfs_ucsncasecmp(s1, s2, s1_len, upcase, upcase_size); in ntfs_are_names_equal() 149 int ntfs_ucsncmp(const ntfschar *s1, const ntfschar *s2, size_t n) in ntfs_ucsncmp() argument 156 c2 = le16_to_cpu(s2[i]); in ntfs_ucsncmp() 185 int ntfs_ucsncasecmp(const ntfschar *s1, const ntfschar *s2, size_t n, in ntfs_ucsncasecmp() argument 194 if ((c2 = le16_to_cpu(s2[i])) < upcase_size) in ntfs_ucsncasecmp()
|
/Linux-v4.19/arch/powerpc/boot/ |
D | string.h | 11 extern int strcmp(const char *s1, const char *s2); 12 extern int strncmp(const char *s1, const char *s2, size_t n); 20 extern int memcmp(const void *s1, const void *s2, size_t n);
|
/Linux-v4.19/arch/x86/crypto/ |
D | twofish-x86_64-asm_64.S | 35 #define s2 2048 /* S2 Array */ macro 83 mov s2(%r11,%rdi,4),%r9d;\ 86 xor s2(%r11,%rdi,4),%r8d;\ 121 mov s2(%r11,%rdi,4),%r9d;\ 124 xor s2(%r11,%rdi,4),%r8d;\ 164 xor s2(%r11,%rdi,4),%r9d;\ 171 xor s2(%r11,%rdi,4),%r8d;\ 205 xor s2(%r11,%rdi,4),%r9d;\ 207 xor s2(%r11,%rdi,4),%r8d;\
|
D | twofish-i586-asm_32.S | 41 #define s2 2048 /* S2 Array */ macro 85 mov s2(%ebp,%edi,4),%esi;\ 88 xor s2(%ebp,%edi,4),d ## D;\ 123 mov s2(%ebp,%edi,4),%esi;\ 126 xor s2(%ebp,%edi,4),d ## D;\ 168 xor s2(%ebp,%edi,4),c ## D;\ 175 xor s2(%ebp,%edi,4),%esi;\ 206 xor s2(%ebp,%edi,4),c ## D;\ 213 xor s2(%ebp,%edi,4),%esi;\
|
/Linux-v4.19/tools/testing/selftests/powerpc/dscr/ |
D | dscr_default_test.c | 28 unsigned long s1, s2; in do_test() local 40 s2 = sequence; in do_test() 42 if (s1 != s2) in do_test()
|