/Linux-v4.19/arch/ia64/lib/ |
D | idiv64.S | 29 # define INT_TO_FP(a,b) fcvt.xuf.s1 a=b 30 # define FP_TO_INT(a,b) fcvt.fxu.trunc.s1 a=b 34 # define FP_TO_INT(a,b) fcvt.fx.trunc.s1 a=b 51 frcpa.s1 f11, p6 = f8, f9 // y0 = frcpa(b) 53 (p6) fmpy.s1 f7 = f8, f11 // q0 = a*y0 54 (p6) fnma.s1 f6 = f9, f11, f1 // e0 = -b*y0 + 1 56 (p6) fma.s1 f10 = f7, f6, f7 // q1 = q0*e0 + q0 57 (p6) fmpy.s1 f7 = f6, f6 // e1 = e0*e0 62 (p6) fma.s1 f10 = f10, f7, f10 // q2 = q1*e1 + q1 63 (p6) fma.s1 f6 = f11, f6, f11 // y1 = y0*e0 + y0 [all …]
|
D | idiv32.S | 30 # define INT_TO_FP(a,b) fcvt.xuf.s1 a=b 31 # define FP_TO_INT(a,b) fcvt.fxu.trunc.s1 a=b 36 # define FP_TO_INT(a,b) fcvt.fx.trunc.s1 a=b 61 frcpa.s1 f6, p6 = f8, f9 // y0 = frcpa(b) 63 (p6) fmpy.s1 f8 = f8, f6 // q0 = a*y0 64 (p6) fnma.s1 f6 = f9, f6, f1 // e0 = -b*y0 + 1 69 (p6) fma.s1 f8 = f6, f8, f8 // q1 = e0*q0 + q0 70 (p6) fma.s1 f6 = f6, f6, f7 // e1 = e0*e0 + 2^-34 75 (p6) fma.s1 f6 = f6, f8, f8 // q2 = e1*q1 + q1
|
D | xor.S | 41 .rotr s1[6+1], s2[6+1], d[2] 44 (p[0]) ld8.nta s1[0] = [r16], 8 46 (p[6]) xor d[0] = s1[6], s2[6] 80 .rotr s1[6+1], s2[6+1], s3[6+1], d[2] 83 (p[0]) ld8.nta s1[0] = [r16], 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] 125 (p[0]) ld8.nta s1[0] = [r16], 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/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() 39 const unsigned char *s1 = (const unsigned char *)str1; in strcmp() local 43 while (*s1 || *s2) { in strcmp() 44 delta = *s1 - *s2; in strcmp() 47 s1++; in strcmp() 161 char *strstr(const char *s1, const char *s2) in strstr() argument 167 return (char *)s1; in strstr() 168 l1 = strlen(s1); in strstr() 171 if (!memcmp(s1, s2, l2)) in strstr() [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() 50 printf("%02x ", s1[i]); in test_one() 61 offset, size, s1, s2, vmx_count); in test_one() 71 char *s1; in testcase() local 79 s1 = memalign(128, alloc_size); in testcase() 80 if (!s1) { in testcase() 96 char *rand_s1 = s1; in testcase() [all …]
|
/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))) { \ 28 static bool samples_same(const struct perf_sample *s1, in samples_same() argument 74 for (i = 0; i < s1->read.group.nr; i++) in samples_same() 83 for (i = 0; i < s1->callchain->nr; i++) in samples_same() 89 if (memcmp(s1->raw_data, s2->raw_data, s1->raw_size)) { in samples_same() 97 for (i = 0; i < s1->branch_stack->nr; i++) in samples_same() 102 size_t sz = hweight_long(s1->user_regs.mask) * sizeof(u64); in samples_same() 106 if (s1->user_regs.abi && in samples_same() 107 (!s1->user_regs.regs || !s2->user_regs.regs || in samples_same() [all …]
|
/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() 241 static inline int clcle(const char *s1, unsigned long l1, in clcle() argument 244 register unsigned long r2 asm("2") = (unsigned long) s1; in clcle() 264 char *strstr(const char *s1, const char *s2) in strstr() argument 270 return (char *) s1; in strstr() 271 l1 = __strend(s1) - s1; in strstr() 275 cc = clcle(s1, l2, s2, l2); in strstr() 277 return (char *) s1; in strstr() 278 s1++; in strstr() [all …]
|
/Linux-v4.19/drivers/firmware/efi/libstub/ |
D | string.c | 18 char *strstr(const char *s1, const char *s2) in strstr() argument 24 return (char *)s1; in strstr() 25 l1 = strlen(s1); in strstr() 28 if (!memcmp(s1, s2, l2)) in strstr() 29 return (char *)s1; in strstr() 30 s1++; in strstr()
|
/Linux-v4.19/include/linux/ |
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-v4.19/lib/ |
D | string.c | 42 int strncasecmp(const char *s1, const char *s2, size_t len) in strncasecmp() argument 51 c1 = *s1++; in strncasecmp() 68 int strcasecmp(const char *s1, const char *s2) in strcasecmp() argument 73 c1 = tolower(*s1++); in strcasecmp() 617 bool sysfs_streq(const char *s1, const char *s2) in sysfs_streq() argument 619 while (*s1 && *s1 == *s2) { in sysfs_streq() 620 s1++; 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 | 122 struct test_string_1 s1[TEST_STRING_2_MAX_S1]; member 128 .s1 = {{ 142 .s1 = {{ 156 .s1 = {{ 212 .s1 = {{ 223 .s1 = {{ 231 .s1 = {{ 244 const struct test_string_1 *s1 = s2->s1; in test_string_find_match() local 257 for (i = 0; i < TEST_STRING_2_MAX_S1 && s1->out; i++, s1++) in test_string_find_match() 258 if (s1->flags == flags) in test_string_find_match() [all …]
|
D | random32.c | 63 state->s1 = TAUSWORTHE(state->s1, 6U, 13U, 4294967294U, 18U); in prandom_u32_state() 68 return (state->s1 ^ state->s2 ^ state->s3 ^ state->s4); in prandom_u32_state() 166 state->s1 = __seed(HWSEED() ^ LCG(seed), 2U); in prandom_seed_early() 167 state->s2 = __seed(HWSEED() ^ LCG(state->s1), 8U); in prandom_seed_early() 188 state->s1 = __seed(state->s1 ^ entropy, 2U); in prandom_seed() 250 state->s1 = __seed(seeds[0], 2U); in prandom_seed_full_state()
|
/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/c6x/lib/ |
D | llshr.S | 26 mvk .s1 32,A0 29 [A2] shl .s1 A5,A0,A0 32 || [A2] shru .s1 A4,A1,A4 33 [!A2] shr .s1 A5,A4,A4 35 [!A2] shr .s1 A5,0x1f,A5 36 [A2] shr .s1 A5,A1,A5
|
D | divremu.S | 40 ||[!b1] zero .s1 A5 49 || xor .s1 1, A2, A2 51 shl .s1 A2, 31, A2 64 || [b0] b .s1 __divremu0 78 || mvk .s1 32, A1 80 || extu .s1 A4, A6, A5 81 shl .s1 A4, A6, A4 82 shru .s1 A4, 1, A4 85 shru .s1 A4, A6, A4
|
D | llshl.S | 26 mvk .s1 32,A0 29 [A2] shru .s1 A4,A0,A0 31 || [A2] shl .s1 A5,A1,A5 32 [!A2] shl .s1 A4,A5,A5 35 [A2] shl .s1 A4,A1,A4
|
D | llshru.S | 26 mvk .s1 32,A0 29 [A2] shl .s1 A5,A0,A0 32 || [A2] shru .s1 A4,A1,A4 33 [!A2] shru .s1 A5,A4,A4 36 [A2] shru .s1 A5,A1,A5
|
D | divu.S | 61 || xor .s1 1, A2, A2 63 shl .s1 A2, 31, A2 76 || [B0] b .s1 _divu_loop 90 || mvk .s1 32, A1 92 shl .s1 A4, A6, A4 93 shru .s1 A4, 1, A4 96 shru .s1 A4, A6, A4
|
/Linux-v4.19/net/dccp/ccids/lib/ |
D | packet_history.c | 168 s1 = DCCP_SKB_CB(skb)->dccpd_seq; in __do_track_loss() local 170 if (!dccp_loss_free(s0, s1, n1)) { /* gap between S0 and S1 */ in __do_track_loss() 179 s1 = tfrc_rx_hist_entry(h, 1)->tfrchrx_seqno, in __one_after_loss() local 182 if (likely(dccp_delta_seqno(s1, s2) > 0)) { /* S1 < S2 */ in __one_after_loss() 193 if (dccp_loss_free(s2, s1, n1)) { in __one_after_loss() 216 s1 = tfrc_rx_hist_entry(h, 1)->tfrchrx_seqno, in __two_after_loss() local 228 if (dccp_delta_seqno(s1, s3) > 0) { /* S1 < S3 < S2 */ in __two_after_loss() 243 if (dccp_loss_free(s3, s1, n1)) { in __two_after_loss() 247 if (dccp_loss_free(s1, s2, n2)) { in __two_after_loss() 284 u64 s1 = tfrc_rx_hist_entry(h, 1)->tfrchrx_seqno, in __three_after_loss() local [all …]
|
/Linux-v4.19/drivers/scsi/ufs/ |
D | ufs_quirks.h | 19 #define STR_PRFX_EQUAL(s1, s2) !strncmp(s1, s2, strlen(s1)) argument
|
/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 192 "1: "MOVES"."#s1" (%2)+,%3\n" \ 193 " move."#s1" %3,(%1)+\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 283 " move."#s1" (%2)+,%3\n" \ 284 "11: "MOVES"."#s1" %3,(%1)+\n" \
|
/Linux-v4.19/tools/testing/selftests/powerpc/dscr/ |
D | dscr_default_test.c | 28 unsigned long s1, s2; in do_test() local 30 s1 = READ_ONCE(sequence); in do_test() 31 if (s1 & 1) in do_test() 42 if (s1 != s2) in do_test()
|
/Linux-v4.19/fs/ntfs/ |
D | unistr.c | 68 bool ntfs_are_names_equal(const ntfschar *s1, size_t s1_len, 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 155 c1 = le16_to_cpu(s1[i]); in ntfs_ucsncmp() 185 int ntfs_ucsncasecmp(const ntfschar *s1, const ntfschar *s2, size_t n, in ntfs_ucsncasecmp() argument 192 if ((c1 = le16_to_cpu(s1[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/fs/nfs/ |
D | nfs4session.c | 456 static s32 nfs41_derivative_target_slotid(s32 s1, s32 s2) in nfs41_derivative_target_slotid() argument 458 s1 -= s2; in nfs41_derivative_target_slotid() 459 if (s1 == 0) in nfs41_derivative_target_slotid() 461 if (s1 < 0) in nfs41_derivative_target_slotid() 462 return (s1 - 1) >> 1; in nfs41_derivative_target_slotid() 463 return (s1 + 1) >> 1; in nfs41_derivative_target_slotid() 466 static int nfs41_sign_s32(s32 s1) in nfs41_sign_s32() argument 468 if (s1 > 0) in nfs41_sign_s32() 470 if (s1 < 0) in nfs41_sign_s32() 475 static bool nfs41_same_sign_or_zero_s32(s32 s1, s32 s2) in nfs41_same_sign_or_zero_s32() argument [all …]
|