/linux-4.19.296/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()
|
D | prandom.h | 45 __u32 s1, s2, s3, s4; member 90 state->s2 = __seed(i, 8U); in prandom_seed_state()
|
D | nls.h | 77 const unsigned char *s2, int len) in nls_strnicmp() argument 80 if (nls_tolower(t, *s1++) != nls_tolower(t, *s2++)) in nls_strnicmp()
|
D | of.h | 966 #define of_compat_cmp(s1, s2, l) strcasecmp((s1), (s2)) argument 967 #define of_prop_cmp(s1, s2) strcmp((s1), (s2)) argument 968 #define of_node_cmp(s1, s2) strcasecmp((s1), (s2)) argument
|
D | string.h | 54 extern int strcasecmp(const char *s1, const char *s2); 57 extern int strncasecmp(const char *s1, const char *s2, size_t n); 184 extern bool sysfs_streq(const char *s1, const char *s2);
|
/linux-4.19.296/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() 674 bool sysfs_streq(const char *s1, const char *s2) in sysfs_streq() argument 676 while (*s1 && *s1 == *s2) { in sysfs_streq() 678 s2++; in sysfs_streq() 681 if (*s1 == *s2) in sysfs_streq() 683 if (!*s1 && *s2 == '\n' && !s2[1]) in sysfs_streq() 685 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 | 57 state->s2 = TAUSWORTHE(state->s2, 2U, 27U, 4294967288U, 2U); in prandom_u32_state() 61 return (state->s1 ^ state->s2 ^ state->s3 ^ state->s4); in prandom_u32_state() 121 state->s2 = __seed(seeds[1], 8U); in prandom_seed_full_state() 265 state->s2 = __seed(HWSEED() ^ LCG(state->s1), 8U); in prandom_seed_early() 266 state->s3 = __seed(HWSEED() ^ LCG(state->s2), 16U); in prandom_seed_early()
|
/linux-4.19.296/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()
|
D | ntfs.h | 109 const ntfschar *s2, size_t s2_len, 116 extern int ntfs_ucsncmp(const ntfschar *s1, const ntfschar *s2, size_t n); 117 extern int ntfs_ucsncasecmp(const ntfschar *s1, const ntfschar *s2, size_t n,
|
/linux-4.19.296/fs/hfs/ |
D | string.c | 77 const unsigned char *s2, unsigned int len2) in hfs_strcmp() argument 84 tmp = (int)caseorder[*(s1++)] - (int)caseorder[*(s2++)]; in hfs_strcmp()
|
/linux-4.19.296/fs/hfsplus/ |
D | unicode.c | 33 const struct hfsplus_unistr *s2) in hfsplus_strcasecmp() argument 39 len2 = be16_to_cpu(s2->length); in hfsplus_strcasecmp() 41 p2 = s2->unicode; in hfsplus_strcasecmp() 66 const struct hfsplus_unistr *s2) in hfsplus_strcmp() argument 73 len2 = be16_to_cpu(s2->length); in hfsplus_strcmp() 75 p2 = s2->unicode; in hfsplus_strcmp()
|
D | hfsplus_fs.h | 520 const struct hfsplus_unistr *s2); 522 const struct hfsplus_unistr *s2);
|
/linux-4.19.296/crypto/ |
D | poly1305_generic.c | 99 u32 s1, s2, s3, s4; in poly1305_blocks() local 117 s2 = r2 * 5; in poly1305_blocks() 138 mlt(h3, s2) + mlt(h4, s1); in poly1305_blocks() 140 mlt(h3, s3) + mlt(h4, s2); in poly1305_blocks()
|
D | cast6_generic.c | 30 #define s2 cast_s2 macro 35 (((s1[I >> 24] ^ s2[(I>>16)&0xff]) - s3[(I>>8)&0xff]) + s4[I&0xff])) 37 (((s1[I >> 24] - s2[(I>>16)&0xff]) + s3[(I>>8)&0xff]) ^ s4[I&0xff])) 39 (((s1[I >> 24] + s2[(I>>16)&0xff]) ^ s3[(I>>8)&0xff]) - s4[I&0xff]))
|
D | cast5_generic.c | 298 #define s2 cast_s2 macro 303 (((s1[I >> 24] ^ s2[(I>>16)&0xff]) - s3[(I>>8)&0xff]) + s4[I&0xff])) 305 (((s1[I >> 24] - s2[(I>>16)&0xff]) + s3[(I>>8)&0xff]) ^ s4[I&0xff])) 307 (((s1[I >> 24] + s2[(I>>16)&0xff]) ^ s3[(I>>8)&0xff]) - s4[I&0xff]))
|
/linux-4.19.296/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() 475 static bool nfs41_same_sign_or_zero_s32(s32 s1, s32 s2) in nfs41_same_sign_or_zero_s32() argument 477 if (!s1 || !s2) in nfs41_same_sign_or_zero_s32() 479 return nfs41_sign_s32(s1) == nfs41_sign_s32(s2); in nfs41_same_sign_or_zero_s32()
|
D | nfs4_fs.h | 578 static inline bool nfs4_stateid_is_newer(const nfs4_stateid *s1, const nfs4_stateid *s2) in nfs4_stateid_is_newer() argument 580 return (s32)(be32_to_cpu(s1->seqid) - be32_to_cpu(s2->seqid)) > 0; in nfs4_stateid_is_newer()
|
D | nfs4client.c | 644 struct nfs41_server_scope *s2) in nfs4_check_server_scope() argument 646 if (s1->server_scope_sz != s2->server_scope_sz) in nfs4_check_server_scope() 648 return memcmp(s1->server_scope, s2->server_scope, in nfs4_check_server_scope()
|
/linux-4.19.296/fs/ceph/ |
D | super.c | 410 static int strcmp_null(const char *s1, const char *s2) in strcmp_null() argument 412 if (!s1 && !s2) in strcmp_null() 414 if (s1 && !s2) in strcmp_null() 416 if (!s1 && s2) in strcmp_null() 418 return strcmp(s1, s2); in strcmp_null()
|
/linux-4.19.296/include/crypto/ |
D | algapi.h | 229 unsigned long *s2 = (unsigned long *)src2; in crypto_xor_cpy() local 232 *d++ = *s1++ ^ *s2++; in crypto_xor_cpy()
|
/linux-4.19.296/drivers/char/ipmi/ |
D | ipmi_ssif.c | 1400 static int strcmp_nospace(char *s1, char *s2) in strcmp_nospace() argument 1402 while (*s1 && *s2) { in strcmp_nospace() 1405 while (isspace(*s2)) in strcmp_nospace() 1406 s2++; in strcmp_nospace() 1407 if (*s1 > *s2) in strcmp_nospace() 1409 if (*s1 < *s2) in strcmp_nospace() 1412 s2++; in strcmp_nospace()
|
/linux-4.19.296/include/net/ |
D | xfrm.h | 971 static inline bool xfrm_sec_ctx_match(struct xfrm_sec_ctx *s1, struct xfrm_sec_ctx *s2) in xfrm_sec_ctx_match() argument 973 return ((!s1 && !s2) || in xfrm_sec_ctx_match() 974 (s1 && s2 && in xfrm_sec_ctx_match() 975 (s1->ctx_sid == s2->ctx_sid) && in xfrm_sec_ctx_match() 976 (s1->ctx_doi == s2->ctx_doi) && in xfrm_sec_ctx_match() 977 (s1->ctx_alg == s2->ctx_alg))); in xfrm_sec_ctx_match() 980 static inline bool xfrm_sec_ctx_match(struct xfrm_sec_ctx *s1, struct xfrm_sec_ctx *s2) in xfrm_sec_ctx_match() argument
|
/linux-4.19.296/drivers/media/dvb-frontends/cxd2880/ |
D | cxd2880_dvbt2.h | 295 u8 s2; member
|
D | cxd2880_tnrdmd_dvbt2_mon.c | 257 l1_pre->s2 = data[3] & 0x0f; in cxd2880_tnrdmd_dvbt2_mon_l1_pre() 298 switch ((l1_pre->s2 >> 1)) { in cxd2880_tnrdmd_dvbt2_mon_l1_pre() 323 switch ((l1_pre->s2 >> 1)) { in cxd2880_tnrdmd_dvbt2_mon_l1_pre() 345 l1_pre->mixed = l1_pre->s2 & 0x01; in cxd2880_tnrdmd_dvbt2_mon_l1_pre()
|