Home
last modified time | relevance | path

Searched refs:s1 (Results 1 – 25 of 425) sorted by relevance

12345678910>>...17

/linux-6.15/arch/loongarch/kernel/
H A Drelocate_kernel.S35 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-6.15/arch/s390/lib/
H A Dstring.c211 int strcmp(const char *s1, const char *s2) in strcmp() argument
224 : [ret] "+&d" (ret), [s1] "+&a" (s1), [s2] "+&a" (s2) in strcmp()
232 static inline int clcle(const char *s1, unsigned long l1, in clcle() argument
255 char *strstr(const char *s1, const char *s2) in strstr() argument
261 return (char *) s1; in strstr()
262 l1 = __strend(s1) - s1; in strstr()
266 cc = clcle(s1, l2, s2, l2); in strstr()
268 return (char *) s1; in strstr()
269 s1++; in strstr()
312 int memcmp(const void *s1, const void *s2, size_t n) in memcmp() argument
[all …]
/linux-6.15/fs/ntfs3/
H A Dupcase.c36 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-6.15/tools/testing/selftests/powerpc/stringloops/
H A Dmemcmp.c34 int test_memcmp(const void *s1, const void *s2, size_t n);
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()
127 char *rand_s1 = s1; in testcase()
[all …]
/linux-6.15/arch/x86/boot/
H A Dstring.c43 int bcmp(const void *s1, const void *s2, size_t len) in bcmp() argument
45 return memcmp(s1, s2, len); in bcmp()
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()
170 l1 = strlen(s1); in strstr()
173 if (!memcmp(s1, s2, l2)) in strstr()
174 return (char *)s1; in strstr()
[all …]
/linux-6.15/include/linux/
H A Dzutil.h57 #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-6.15/arch/sparc/include/asm/
H A Dprom.h24 #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-6.15/Documentation/devicetree/bindings/regulator/
H A Dqcom,smd-rpm-regulator.yaml25 For mp5496, s1, s2, l2, l5
27 For pm2250, s1, s2, s3, s4, l1, l2, l3, l4, l5, l6, l7, l8, l9, l10, l11,
30 For pm6125 s1, s2, s3, s4, s5, s6, s7, s8, l1, l2, l3, l5, l6, l7, l8, l9,
36 For pm660l s1, s2, s3, s5, l1, l2, l3, l4, l5, l6, l7, l8, l9, l10, bob
38 For pm8226, s1, s2, s3, s4, s5, l1, l2, l3, l4, l5, l6, l7, l8, l9, l10,
42 For pm8841, s1, s2, s3, s4, s5, s6, s7, s8
47 For pm8916, s1, s2, s3, s4, l1, l2, l3, l4, l5, l6, l7, l8, l9, l10, l11,
50 For pm8937, s1, s2, s3, s4, l1, l2, l3, l4, l5, l6, l7, l8, l9, l10,
53 For pm8941, s1, s2, s3, s4, l1, l2, l3, l4, l5, l6, l7, l8, l9, l10, l11,
73 For pmi8994, s1, s2, s3, boost-bypass
[all …]
/linux-6.15/tools/testing/selftests/bpf/progs/
H A Dbtf_dump_test_case_ordering.c9 struct s1 {}; struct
22 struct s1 s1; member
27 struct s1 s1; member
/linux-6.15/tools/perf/tests/
H A Dsample-parsing.c21 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()
145 if (memcmp(s1->user_stack.data, s2->user_stack.data, in samples_same()
146 s1->user_stack.size)) { in samples_same()
190 if (memcmp(s1->aux_sample.data, s2->aux_sample.data, in samples_same()
[all …]
/linux-6.15/tools/include/linux/
H A Dprandom.h8 __u32 s1, s2, s3, s4; member
28 state->s1 = __seed(i, 2U); in prandom_seed_state()
44 state->s1 = TAUSWORTHE(state->s1, 6U, 13U, 4294967294U, 18U); in prandom_u32_state()
49 return (state->s1 ^ state->s2 ^ state->s3 ^ state->s4); in prandom_u32_state()
/linux-6.15/drivers/firmware/efi/libstub/
H A Dstring.c50 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-6.15/fs/unicode/
H A Dutf8-core.c21 const struct qstr *s1, const struct qstr *s2) in utf8_strncmp() argument
26 if (utf8ncursor(&cur1, um, UTF8_NFDI, s1->name, s1->len) < 0) in utf8_strncmp()
47 const struct qstr *s1, const struct qstr *s2) in utf8_strncasecmp() argument
52 if (utf8ncursor(&cur1, um, UTF8_NFDICF, s1->name, s1->len) < 0) in utf8_strncasecmp()
77 const struct qstr *s1) in utf8_strncasecmp_folded() argument
83 if (utf8ncursor(&cur1, um, UTF8_NFDICF, s1->name, s1->len) < 0) in utf8_strncasecmp_folded()
/linux-6.15/include/crypto/
H A Daria.h41 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-6.15/arch/arm64/crypto/
H A Dpoly1305-armv8.pl78 mov $s1,#0xfffffffc0fffffff
79 movk $s1,#0x0fff,lsl#48
84 and $r0,$r0,$s1 // &=0ffffffc0fffffff
85 and $s1,$s1,#-4
87 mov w#$s1,#-1
165 mul $t0,$h1,$s1 // h1*5*r1
166 umulh $t1,$h1,$s1
179 mul $t0,$h2,$s1 // h2*5*r1
279 mul $t0,$h1,$s1 // h1*5*r1
280 umulh $t1,$h1,$s1
[all …]
/linux-6.15/drivers/thermal/
H A Dk3_bandgap.c92 static unsigned int vtm_get_best_value(unsigned int s0, unsigned int s1, in vtm_get_best_value() argument
95 int d01 = abs(s0 - s1); in vtm_get_best_value()
97 int d12 = abs(s1 - s2); in vtm_get_best_value()
100 return (s0 + s1) / 2; in vtm_get_best_value()
105 return (s1 + s2) / 2; in vtm_get_best_value()
112 unsigned int dtemp, s0, s1, s2; in k3_bgp_read_temp() local
127 s1 = readl(bgp->base + devdata->stat_offset) & in k3_bgp_read_temp()
131 dtemp = vtm_get_best_value(s0, s1, s2); in k3_bgp_read_temp()
/linux-6.15/lib/tests/
H A Dstring_helpers_kunit.c117 .s1 = {{
131 .s1 = {{
145 .s1 = {{
196 .s1 = {{
215 .s1 = {{
241 .s1 = {{
258 .s1 = {{
266 .s1 = {{
307 .s1 = {{
375 const struct test_string_1 *s1 = s2->s1; in test_string_find_match() local
[all …]
/linux-6.15/lib/
H A Dstring.c49 c1 = *s1++; in strncasecmp()
71 c1 = tolower(*s1++); in strcasecmp()
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()
783 return (char *)s1; in strnstr()
786 if (!memcmp(s1, s2, l2)) in strnstr()
787 return (char *)s1; in strnstr()
[all …]
H A Drandom32.c55 state->s1 = TAUSWORTHE(state->s1, 6U, 13U, 4294967294U, 18U); in prandom_u32_state()
60 return (state->s1 ^ state->s2 ^ state->s3 ^ state->s4); in prandom_u32_state()
119 state->s1 = __seed(seeds[0], 2U); in prandom_seed_full_state()
251 state->s1 = __seed(LCG(seed), 2U); in prandom_state_selftest_seed()
252 state->s2 = __seed(LCG(state->s1), 8U); in prandom_state_selftest_seed()
/linux-6.15/arch/arm/boot/dts/aspeed/
H A Daspeed-bmc-ampere-mtjade.dts117 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";
806 /*Z0-Z7*/ "s0-plimit","s1-fault-alert","s1-fw-boot-ok","s0-rtc-lock","",
807 "s1-sys-auth-failure-n","s1-overtemp-n","",
[all …]
H A Daspeed-bmc-ampere-mtmitchell.dts168 channels = "s0", "s1";
178 channels = "s0", "s1";
188 channels = "s0", "s1";
198 channels = "s0", "s1";
208 channels = "s0", "s1";
218 channels = "s0", "s1";
228 channels = "s0", "s1";
238 channels = "s0", "s1";
1039 /*X0-X7*/ "i2c-backup-sel","s1-fault-alert","s1-fw-boot-ok",
1040 "s1-hightemp-n","s0-spi-auth-fail-n","s1-sys-auth-failure-n",
[all …]
/linux-6.15/arch/arm64/boot/dts/freescale/
H A Dfsl-ls1088a-tqmls1088a-mbls10xxa.dts32 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;
/linux-6.15/net/dccp/ccids/lib/
H A Dpacket_history.c155 s1 = DCCP_SKB_CB(skb)->dccpd_seq; in __do_track_loss() local
157 if (!dccp_loss_free(s0, s1, n1)) { /* gap between S0 and S1 */ in __do_track_loss()
166 s1 = tfrc_rx_hist_entry(h, 1)->tfrchrx_seqno, in __one_after_loss() local
169 if (likely(dccp_delta_seqno(s1, s2) > 0)) { /* S1 < S2 */ in __one_after_loss()
180 if (dccp_loss_free(s2, s1, n1)) { in __one_after_loss()
203 s1 = tfrc_rx_hist_entry(h, 1)->tfrchrx_seqno, in __two_after_loss() local
215 if (dccp_delta_seqno(s1, s3) > 0) { /* S1 < S3 < S2 */ in __two_after_loss()
230 if (dccp_loss_free(s3, s1, n1)) { in __two_after_loss()
234 if (dccp_loss_free(s1, s2, n2)) { in __two_after_loss()
271 u64 s1 = tfrc_rx_hist_entry(h, 1)->tfrchrx_seqno, in __three_after_loss() local
[all …]
/linux-6.15/tools/testing/selftests/net/netfilter/
H A Dconntrack_reverse_clash.c64 int s1, s2, status; in main() local
73 s1 = udp_socket(); in main()
79 if (bind(s1, (struct sockaddr *)&sa1, sizeof(sa1)) < 0) in main()
96 if (sendto(s1, buf, LEN, 0, (struct sockaddr *)&sa2, sizeof(sa2)) != LEN) in main()
108 if (recvfrom(s1, buf, LEN, 0, (struct sockaddr *)&peer, &plen) < 0) in main()
/linux-6.15/tools/testing/selftests/drivers/net/hw/
H A Dpp_alloc_fail.py81 s1 = get_stats()
85 if s2['rx-alloc-fail'] - s1['rx-alloc-fail'] < 1:
87 if s2['rx-alloc-fail'] - s1['rx-alloc-fail'] < 100:
88 … raise KsftSkipEx("Allocation increasing too slowly", s2['rx-alloc-fail'] - s1['rx-alloc-fail'],
89 "packets:", s2['rx-packets'] - s1['rx-packets'])

12345678910>>...17