| /linux/arch/mips/kernel/ |
| A 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/fs/ntfs3/ |
| 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() 60 upcase_unicode_char(upcase, le16_to_cpu(*s2)); in ntfs_cmp_names() 73 const __le16 *s2 = uni2->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() 97 upcase_unicode_char(upcase, le16_to_cpu(*s2)); in ntfs_cmp_names_cpu()
|
| /linux/tools/testing/selftests/powerpc/stringloops/ |
| 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() 59 printf("%02x ", s2[i]); in test_one() 66 offset, size, s1, s2, vmx_count); in test_one() 77 char *p, *s1, *s2; in testcase() local 90 s2 = p + 3 * MAP_SIZE - alloc_size; in testcase() 102 char *rand_s2 = s2; in testcase() 128 char *rand_s2 = s2; in testcase() [all …]
|
| /linux/arch/s390/lib/ |
| A D | string.c | 210 int strcmp(const char *s1, const char *s2) in strcmp() argument 223 : [ret] "+&d" (ret), [s1] "+&a" (s1), [s2] "+&a" (s2) in strcmp() 232 const char *s2, unsigned long l2) in clcle() argument 235 union register_pair r3 = { .even = (unsigned long)s2, .odd = l2, }; in clcle() 255 char *strstr(const char *s1, const char *s2) in strstr() argument 259 l2 = __strend(s2) - s2; in strstr() 266 cc = clcle(s1, l2, s2, l2); in strstr() 312 int memcmp(const void *s1, const void *s2, size_t n) in memcmp() argument 316 ret = clcle(s1, n, s2, n); in memcmp()
|
| /linux/arch/x86/boot/ |
| A D | string.c | 32 int memcmp(const void *s1, const void *s2, size_t len) in memcmp() argument 36 : CC_OUT(nz) (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() 51 const unsigned char *s2 = (const unsigned char *)str2; in strcmp() local 54 while (*s1 || *s2) { in strcmp() 55 delta = *s1 - *s2; in strcmp() 59 s2++; in strcmp() 171 char *strstr(const char *s1, const char *s2) in strstr() argument 175 l2 = strlen(s2); in strstr() [all …]
|
| /linux/arch/sparc/include/asm/ |
| A D | prom.h | 23 #define of_compat_cmp(s1, s2, l) strncmp((s1), (s2), (l)) argument 24 #define of_prop_cmp(s1, s2) strcasecmp((s1), (s2)) argument 25 #define of_node_cmp(s1, s2) strcmp((s1), (s2)) argument
|
| /linux/arch/ia64/lib/ |
| A D | xor.S | 33 .rotr s1[6+1], s2[6+1], d[2] 37 (p[0]) ld8.nta s2[0] = [r17], 8 38 (p[6]) xor d[0] = s1[6], s2[6] 72 .rotr s1[6+1], s2[6+1], s3[6+1], d[2] 76 (p[0]) ld8.nta s2[0] = [r17], 8 77 (p[6]) xor d[0] = s1[6], s2[6] 114 .rotr s1[6+1], s2[6+1], s3[6+1], s4[6+1], d[2] 118 (p[0]) ld8.nta s2[0] = [r17], 8 119 (p[6]) xor d[0] = s1[6], s2[6] 163 (p[0]) ld8.nta s2[0] = [r17], 8 [all …]
|
| /linux/drivers/soc/bcm/brcmstb/pm/ |
| A D | s2-mips.S | 26 sw s2, 12(sp) 46 lw s2, 8(t0) 112 sw t0, TIMER_TIMER1_CTRL(s2) 113 lw t0, TIMER_TIMER1_CTRL(s2) 116 sw t0, TIMER_TIMER1_CTRL(s2) 117 lw t0, TIMER_TIMER1_CTRL(s2) 121 lw t1, TIMER_TIMER1_STAT(s2) 127 1: lw t0, TIMER_TIMER1_STAT(s2) 179 lw s2, 12(sp)
|
| /linux/Documentation/devicetree/bindings/regulator/ |
| A D | qcom,smd-rpm-regulator.yaml | 25 For mp5496, s2 27 For pm8226, s1, s2, s3, s4, s5, l1, l2, l3, l4, l5, l6, l7, l8, l9, l10, 31 For pm8841, s1, s2, s3, s4, s5, s6, s7, s8 33 For pm8916, s1, s2, s3, s4, l1, l2, l3, l4, l5, l6, l7, l8, l9, l10, l11, 36 For pm8941, s1, s2, s3, s4, l1, l2, l3, l4, l5, l6, l7, l8, l9, l10, l11, 40 For pm8950 and pm8953, s1, s2, s3, s4, s5, s6, s7, l1, l2, l3, l4, l5, l6, 44 For pm8994, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11, s12, l1, l2, l3, 48 For pm8998, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11, s12, s13, l1, l2, 55 For pm660l s1, s2, s3, s5, l1, l2, l3, l4, l5, l6, l7, l8, l9, l10, bob 61 For pmi8994, s1, s2, s3, boost-bypass [all …]
|
| /linux/tools/testing/selftests/bpf/progs/ |
| A D | btf_dump_test_case_ordering.c | 15 struct s2 { struct 16 struct s2 *s2; argument 23 struct s2 s2; argument
|
| /linux/tools/perf/tests/ |
| A D | sample-parsing.c | 21 if (s1->m != s2->m) { \ 28 if (memcmp(&s1->m, &s2->m, sizeof(s1->m))) { \ 44 const struct perf_sample *s2, in samples_same() argument 104 if (memcmp(s1->raw_data, s2->raw_data, s1->raw_size)) { in samples_same() 116 (FLAG(s2).value == BS_EXPECTED_BE) : in samples_same() 117 (FLAG(s2).value == BS_EXPECTED_LE)); in samples_same() 129 (!s1->user_regs.regs || !s2->user_regs.regs || in samples_same() 130 memcmp(s1->user_regs.regs, s2->user_regs.regs, sz))) { in samples_same() 138 if (memcmp(s1->user_stack.data, s2->user_stack.data, in samples_same() 160 (!s1->intr_regs.regs || !s2->intr_regs.regs || in samples_same() [all …]
|
| /linux/drivers/thermal/ |
| A D | k3_bandgap.c | 92 unsigned int s2) in vtm_get_best_value() argument 95 int d02 = abs(s0 - s2); in vtm_get_best_value() 96 int d12 = abs(s1 - s2); in vtm_get_best_value() 102 return (s0 + s2) / 2; in vtm_get_best_value() 104 return (s1 + s2) / 2; in vtm_get_best_value() 111 unsigned int dtemp, s0, s1, s2; in k3_bgp_read_temp() local 128 s2 = readl(bgp->base + devdata->stat_offset) & in k3_bgp_read_temp() 130 dtemp = vtm_get_best_value(s0, s1, s2); in k3_bgp_read_temp()
|
| /linux/include/linux/ |
| A 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/arch/m68k/include/asm/ |
| A D | uaccess.h | 200 #define ____constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3, s1, s2, s3)\ argument 204 " .ifnc \""#s2"\",\"\"\n" \ 205 "2: "MOVES"."#s2" (%2)+,%3\n" \ 206 " move."#s2" %3,(%1)+\n" \ 216 " .ifnc \""#s2"\",\"\"\n" \ 227 " .ifnc \""#s2"\",\"\"\n" \ 238 #define ___constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3, s1, s2, s3)\ argument 239 ____constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3, s1, s2, s3) 291 #define __constant_copy_to_user_asm(res, to, from, tmp, n, s1, s2, s3) \ argument 295 "12: move."#s2" (%2)+,%3\n" \ [all …]
|
| /linux/net/dccp/ccids/lib/ |
| A D | packet_history.c | 167 s2 = DCCP_SKB_CB(skb)->dccpd_seq; in __one_after_loss() local 169 if (likely(dccp_delta_seqno(s1, s2) > 0)) { /* S1 < S2 */ in __one_after_loss() 177 if (dccp_loss_free(s0, s2, n2)) { in __one_after_loss() 180 if (dccp_loss_free(s2, s1, n1)) { in __one_after_loss() 204 s2 = tfrc_rx_hist_entry(h, 2)->tfrchrx_seqno, in __two_after_loss() local 207 if (likely(dccp_delta_seqno(s2, s3) > 0)) { /* S2 < S3 */ in __two_after_loss() 234 if (dccp_loss_free(s1, s2, n2)) { in __two_after_loss() 272 s2 = tfrc_rx_hist_entry(h, 2)->tfrchrx_seqno, in __three_after_loss() local 277 if (dccp_loss_free(s1, s2, n2)) { in __three_after_loss() 279 if (dccp_loss_free(s2, s3, n3)) { in __three_after_loss()
|
| /linux/drivers/pwm/ |
| A D | core.c | 429 struct pwm_state s1, s2; in pwm_apply_state_debug() local 453 s2.polarity = state->polarity; in pwm_apply_state_debug() 455 s2.period = s1.period; in pwm_apply_state_debug() 456 s2.enabled = s1.enabled; in pwm_apply_state_debug() 458 s2 = s1; in pwm_apply_state_debug() 467 last->period > s2.period && in pwm_apply_state_debug() 476 state->period, s2.period); in pwm_apply_state_debug() 480 last->period == s2.period && in pwm_apply_state_debug() 486 s2.duty_cycle, s2.period, in pwm_apply_state_debug() 493 s2.duty_cycle, s2.period); in pwm_apply_state_debug() [all …]
|
| /linux/fs/ntfs/ |
| A D | unistr.c | 55 const ntfschar *s2, size_t s2_len, const IGNORE_CASE_BOOL ic, in ntfs_are_names_equal() argument 61 return !ntfs_ucsncmp(s1, s2, s1_len); in ntfs_are_names_equal() 62 return !ntfs_ucsncasecmp(s1, s2, s1_len, upcase, upcase_size); in ntfs_are_names_equal() 135 int ntfs_ucsncmp(const ntfschar *s1, const ntfschar *s2, size_t n) in ntfs_ucsncmp() argument 142 c2 = le16_to_cpu(s2[i]); in ntfs_ucsncmp() 171 int ntfs_ucsncasecmp(const ntfschar *s1, const ntfschar *s2, size_t n, in ntfs_ucsncasecmp() argument 180 if ((c2 = le16_to_cpu(s2[i])) < upcase_size) in ntfs_ucsncasecmp()
|
| /linux/fs/unicode/ |
| A D | utf8-core.c | 24 const struct qstr *s1, const struct qstr *s2) in utf8_strncmp() argument 33 if (utf8ncursor(&cur2, data, s2->name, s2->len) < 0) in utf8_strncmp() 51 const struct qstr *s1, const struct qstr *s2) in utf8_strncasecmp() argument 60 if (utf8ncursor(&cur2, data, s2->name, s2->len) < 0) in utf8_strncasecmp()
|
| A D | utf8-selftest.c | 249 const struct qstr s2 = {.name = nfdi_test_data[i].dec, in check_utf8_comparisons() local 252 test_f(!utf8_strncmp(table, &s1, &s2), in check_utf8_comparisons() 253 "%s %s comparison mismatch\n", s1.name, s2.name); in check_utf8_comparisons() 259 const struct qstr s2 = {.name = nfdicf_test_data[i].ncf, in check_utf8_comparisons() local 262 test_f(!utf8_strncasecmp(table, &s1, &s2), in check_utf8_comparisons() 263 "%s %s comparison mismatch\n", s1.name, s2.name); in check_utf8_comparisons()
|
| /linux/arch/riscv/kernel/ |
| A D | kexec_relocate.S | 31 mv s2, a2 109 mv a1, s2 121 mv s2, zero 166 mv s2, a3 182 mv a0, s2 195 mv s2, zero
|
| /linux/lib/ |
| A D | string.c | 39 int strncasecmp(const char *s1, const char *s2, size_t len) in strncasecmp() argument 49 c2 = *s2++; in strncasecmp() 65 int strcasecmp(const char *s1, const char *s2) in strcasecmp() argument 71 c2 = tolower(*s2++); in strcasecmp() 838 char *strstr(const char *s1, const char *s2) in strstr() argument 842 l2 = strlen(s2); in strstr() 848 if (!memcmp(s1, s2, l2)) in strstr() 864 char *strnstr(const char *s1, const char *s2, size_t len) in strnstr() argument 868 l2 = strlen(s2); in strnstr() 873 if (!memcmp(s1, s2, l2)) in strnstr()
|
| A D | test-string_helpers.c | 383 static __init const char *test_string_find_match(const struct test_string_2 *s2, in test_string_find_match() argument 386 const struct test_string_1 *s1 = s2->s1; in test_string_find_match() 390 return s2->in; in test_string_find_match() 418 const struct test_string_2 *s2, in test_string_escape() argument 431 for (; s2->in; s2++) { in test_string_escape() 448 out = test_string_find_match(s2, flags); in test_string_escape() 453 len = strlen(s2->in); in test_string_escape() 454 memcpy(&in[p], s2->in, len); in test_string_escape()
|
| /linux/arch/powerpc/boot/ |
| A 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/arch/x86/crypto/ |
| A D | twofish-x86_64-asm_64.S | 22 #define s2 2048 /* S2 Array */ macro 70 mov s2(%r11,%rdi,4),%r9d;\ 73 xor s2(%r11,%rdi,4),%r8d;\ 108 mov s2(%r11,%rdi,4),%r9d;\ 111 xor s2(%r11,%rdi,4),%r8d;\ 151 xor s2(%r11,%rdi,4),%r9d;\ 158 xor s2(%r11,%rdi,4),%r8d;\ 192 xor s2(%r11,%rdi,4),%r9d;\ 194 xor s2(%r11,%rdi,4),%r8d;\
|
| /linux/drivers/gpu/drm/amd/display/dc/dce/ |
| A D | dce_abm.c | 94 uint32_t s2; in dmcu_set_backlight_level() local 124 s2 = REG_READ(BIOS_SCRATCH_2); in dmcu_set_backlight_level() 126 s2 &= ~ATOM_S2_CURRENT_BL_LEVEL_MASK; in dmcu_set_backlight_level() 129 s2 |= (backlight_8_bit << ATOM_S2_CURRENT_BL_LEVEL_SHIFT); in dmcu_set_backlight_level() 131 REG_WRITE(BIOS_SCRATCH_2, s2); in dmcu_set_backlight_level()
|