Home
last modified time | relevance | path

Searched full:s1 (Results 1 – 25 of 506) sorted by relevance

12345678910>>...21

/Linux-v5.15/tools/testing/selftests/bpf/prog_tests/
Dbtf_dedup_split.c20 btf__add_struct(btf1, "s1", 4); /* [3] struct s1 { */ in test_split_simple()
28 "[3] STRUCT 's1' size=4 vlen=1\n" in test_split_simple()
32 struct s1 {\n\ in test_split_simple()
53 btf__add_field(btf2, "f1", 6, 0, 0); /* struct s1 f1; */ in test_split_simple()
61 /* duplicated struct s1 */ in test_split_simple()
62 btf__add_struct(btf2, "s1", 4); /* [6] struct s1 { */ in test_split_simple()
70 "[3] STRUCT 's1' size=4 vlen=1\n" in test_split_simple()
77 "[6] STRUCT 's1' size=4 vlen=1\n" in test_split_simple()
81 struct s1 {\n\ in test_split_simple()
103 "[3] STRUCT 's1' size=4 vlen=1\n" in test_split_simple()
[all …]
/Linux-v5.15/arch/powerpc/crypto/
Dsha256-spe-asm.S103 rotrwi rT0,e,6; /* 1: S1 = e rotr 6 */ \
104 rotrwi rT1,e,11; /* 1: S1' = e rotr 11 */ \
105 rotrwi rT2,e,25; /* 1: S1" = e rotr 25 */ \
106 xor rT0,rT0,rT1; /* 1: S1 = S1 xor S1' */ \
108 xor rT0,rT0,rT2; /* 1: S1 = S1 xor S1" */ \
112 add h,h,rT0; /* 1: temp1 = h + S1 */ \
128 rotrwi rT0,d,6; /* 2: S1 = e rotr 6 */ \
130 rotrwi rT1,d,11; /* 2: S1' = e rotr 11 */ \
132 rotrwi rT2,d,25; /* 2: S1" = e rotr 25 */ \
133 xor rT0,rT0,rT1; /* 2: S1 = S1 xor S1' */ \
[all …]
/Linux-v5.15/arch/ia64/lib/
Didiv64.S29 # 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 …]
Didiv32.S30 # 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
Dxor.S33 .rotr s1[6+1], s2[6+1], d[2]
36 (p[0]) ld8.nta s1[0] = [r16], 8
38 (p[6]) xor d[0] = s1[6], s2[6]
72 .rotr s1[6+1], s2[6+1], s3[6+1], d[2]
75 (p[0]) ld8.nta s1[0] = [r16], 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]
117 (p[0]) ld8.nta s1[0] = [r16], 8
119 (p[6]) xor d[0] = s1[6], s2[6]
159 .rotr s1[6+1], s2[6+1], s3[6+1], s4[6+1], s5[6+1], d[2]
[all …]
/Linux-v5.15/net/dccp/ccids/lib/
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()
175 /* S0 < S2 < S1 */ in __one_after_loss()
180 if (dccp_loss_free(s2, s1, n1)) { in __one_after_loss()
181 /* hole is filled: S0, S2, and S1 are consecutive */ in __one_after_loss()
185 /* gap between S2 and S1: just update loss_prev */ in __one_after_loss()
190 * Reorder history to insert S2 between S0 and S1 in __one_after_loss()
203 s1 = tfrc_rx_hist_entry(h, 1)->tfrchrx_seqno, in __two_after_loss() local
[all …]
/Linux-v5.15/tools/testing/selftests/powerpc/stringloops/
Dmemcmp.c34 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()
55 printf("%02x ", s1[i]); in test_one()
65 printf("vmx enter/exit not paired.(offset:%ld size:%ld s1:%p s2:%p vc:%d\n", in test_one()
66 offset, size, s1, s2, vmx_count); in test_one()
77 char *p, *s1, *s2; in testcase() local
88 /* Put s1/s2 at the end of a page */ in testcase()
89 s1 = p + MAP_SIZE - alloc_size; in testcase()
[all …]
/Linux-v5.15/fs/ntfs3/
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-v5.15/arch/x86/crypto/
Dsha256-avx-asm.S154 ## compute s0 four at a time and s1 two at a time
174 MY_ROR 6, y0 # y0 = S1 = (e>>6) & (e>>11) ^ (e>>25)
177 add y0, y2 # y2 = S1 + CH
178 add _XFER(%rsp), y2 # y2 = k + w + S1 + CH
180 add y2, h # h = h + S1 + CH + k + w
184 add h, d # d = d + h + S1 + CH + k + w
188 add y1, h # h = h + S1 + CH + k + w + S0
191 add y0, h # h = h + S1 + CH + k + w + S0 + MAJ
207 MY_ROR 6, y0 # y0 = S1 = (e>>6) & (e>>11) ^ (e>>25)
212 add y0, y2 # y2 = S1 + CH
[all …]
Dsha256-ssse3-asm.S148 ## compute s0 four at a time and s1 two at a time
169 ror $6, y0 # y0 = S1 = (e>>6) & (e>>11) ^ (e>>25)
173 add y0, y2 # y2 = S1 + CH
174 add _XFER(%rsp) , y2 # y2 = k + w + S1 + CH
177 add y2, h # h = h + S1 + CH + k + w
181 add h, d # d = d + h + S1 + CH + k + w
185 add y1, h # h = h + S1 + CH + k + w + S0
188 add y0, h # h = h + S1 + CH + k + w + S0 + MAJ
207 ror $6, y0 # y0 = S1 = (e>>6) & (e>>11) ^ (e>>25)
212 add y0, y2 # y2 = S1 + CH
[all …]
Dsha256-avx2-asm.S166 xor y1, y0 # y0 = (e>>25) ^ (e>>11) # S1
168 vpaddd X0, XTMP0, XTMP0 # XTMP0 = W[-7] + W[-16]# y1 = (e >> 6)# S1
169 rorx $6, e, y1 # y1 = (e >> 6) # S1
172 xor y1, y0 # y0 = (e>>25) ^ (e>>11) ^ (e>>6) # S1
187 add y0, y2 # y2 = S1 + CH # --
192 add y2, d # d = k + w + h + d + S1 + CH = d + t1 # --
196 add y2, h # h = k + w + h + S0 + S1 + CH = t1 + S0# --
215 xor y1, y0 # y0 = (e>>25) ^ (e>>11) # S1
219 rorx $6, e, y1 # y1 = (e >> 6) # S1
220 xor y1, y0 # y0 = (e>>25) ^ (e>>11) ^ (e>>6) # S1
[all …]
Dsha512-avx2-asm.S189 xor y1, y0 # y0 = (e>>41) ^ (e>>18) # S1
191 rorx $14, e, y1 # y1 = (e >> 14) # S1
194 xor y1, y0 # y0 = (e>>41) ^ (e>>18) ^ (e>>14) # S1
207 add y0, y2 # y2 = S1 + CH # --
211 add y2, d # d = k + w + h + d + S1 + CH = d + t1 # --
213 add y2, h # h = k + w + h + S0 + S1 + CH = t1 + S0# --
252 xor y1, y0 # y0 = (e>>41) ^ (e>>18) # S1
256 rorx $14, e, y1 # y1 = (e >> 14) # S1
257 xor y1, y0 # y0 = (e>>41) ^ (e>>18) ^ (e>>14) # S1
271 add y0, y2 # y2 = S1 + CH # --
[all …]
/Linux-v5.15/arch/s390/lib/
Dstring.c225 * @s1: One string
228 * returns 0 if @s1 and @s2 are equal,
229 * < 0 if @s1 is less than @s2
230 * > 0 if @s1 is greater than @s2
233 int strcmp(const char *s1, const char *s2) in strcmp() argument
239 "0: clst %[s1],%[s2]\n" in strcmp()
242 " ic %[ret],0(%[s1])\n" in strcmp()
246 : [ret] "+&d" (ret), [s1] "+&a" (s1), [s2] "+&a" (s2) in strcmp()
273 static inline int clcle(const char *s1, unsigned long l1, in clcle() argument
276 union register_pair r1 = { .even = (unsigned long)s1, .odd = l1, }; in clcle()
[all …]
/Linux-v5.15/tools/perf/tests/
Dsample-parsing.c20 if (s1->m != s2->m) { \
27 if (memcmp(&s1->m, &s2->m, sizeof(s1->m))) { \
33 static bool samples_same(const struct perf_sample *s1, in samples_same() argument
79 for (i = 0; i < s1->read.group.nr; i++) in samples_same()
88 for (i = 0; i < s1->callchain->nr; i++) in samples_same()
94 if (memcmp(s1->raw_data, s2->raw_data, s1->raw_size)) { in samples_same()
103 for (i = 0; i < s1->branch_stack->nr; i++) in samples_same()
108 size_t sz = hweight_long(s1->user_regs.mask) * sizeof(u64); in samples_same()
112 if (s1->user_regs.abi && in samples_same()
113 (!s1->user_regs.regs || !s2->user_regs.regs || in samples_same()
[all …]
/Linux-v5.15/Documentation/devicetree/bindings/regulator/
Dqcom,smd-rpm-regulator.yaml27 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,
52 For pm660, s1, s2, s3, s4, s5, s6, l1, l2, l3, l5, l6, l7, l8, l9, l10, l22,
55 For pm660l s1, s2, s3, s5, l1, l2, l3, l4, l5, l6, l7, l8, l9, l10, bob
57 For pma8084, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11, s12, l1, l2, l3,
[all …]
/Linux-v5.15/scripts/coccinelle/null/
Dderef_null.cocci44 statement S1,S2;
48 if@p1 ((E == NULL && ...) || ...) S1 else S2
57 statement S1,S2,S3,S4;
65 ... when != if (...) S1 else S2
118 statement S1,S2,S3,S4;
126 ... when != if (...) S1 else S2
178 statement S1,S2,S3,S4;
186 ... when != if (...) S1 else S2
240 statement S1,S2;
244 if@p1 ((E == NULL && ...) || ...) S1 else S2
[all …]
/Linux-v5.15/drivers/firmware/efi/libstub/
Dstring.c17 * @s1: The string to be searched
20 char *strstr(const char *s1, const char *s2) in strstr() argument
26 return (char *)s1; in strstr()
27 l1 = strlen(s1); in strstr()
30 if (!memcmp(s1, s2, l2)) in strstr()
31 return (char *)s1; in strstr()
32 s1++; in strstr()
/Linux-v5.15/arch/x86/boot/
Dstring.c32 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()
50 const unsigned char *s1 = (const unsigned char *)str1; in strcmp() local
54 while (*s1 || *s2) { in strcmp()
55 delta = *s1 - *s2; in strcmp()
58 s1++; in strcmp()
168 * @s1: The string to be searched
171 char *strstr(const char *s1, const char *s2) in strstr() argument
[all …]
/Linux-v5.15/drivers/regulator/
Dqcom-rpmh-regulator.c141 * "ldo%s1" for RPMh resource "ldoa1".
771 RPMH_VREG("smps1", "smp%s1", &pmic4_ftsmps426, "vdd-s1"),
784 RPMH_VREG("ldo1", "ldo%s1", &pmic4_nldo, "vdd-l1-l27"),
812 RPMH_VREG("lvs1", "vs%s1", &pmic4_lvs, "vin-lvs-1-2"),
818 RPMH_VREG("bob", "bob%s1", &pmic4_bob, "vdd-bob"),
823 RPMH_VREG("smps1", "smp%s1", &pmic4_ftsmps426, "vdd-s1"),
831 RPMH_VREG("smps1", "smp%s1", &pmic5_ftsmps510, "vdd-s1"),
841 RPMH_VREG("ldo1", "ldo%s1", &pmic5_nldo, "vdd-l1-l8-l11"),
863 RPMH_VREG("smps1", "smp%s1", &pmic5_ftsmps510, "vdd-s1"),
871 RPMH_VREG("ldo1", "ldo%s1", &pmic5_pldo_lv, "vdd-l1-l8"),
[all …]
/Linux-v5.15/arch/sparc/include/asm/
Dprom.h23 #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-v5.15/fs/ntfs/
Dunistr.c42 * @s1: name to compare to @s2
43 * @s1_len: length in Unicode characters of @s1
44 * @s2: name to compare to @s1
50 * Compare the names @s1 and @s2 and return 'true' (1) if the names are
54 bool ntfs_are_names_equal(const ntfschar *s1, size_t s1_len, 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()
123 * @s1: first string
127 * Compare the first @n characters of the Unicode strings @s1 and @s2,
132 * if @s1 (or the first @n Unicode characters thereof) is found, respectively,
[all …]
/Linux-v5.15/tools/testing/selftests/bpf/progs/
Dbtf_dump_test_case_ordering.c9 struct s1 {}; struct
22 struct s1 s1; member
27 struct s1 s1; member
/Linux-v5.15/include/linux/
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-v5.15/fs/unicode/
Dutf8-core.c24 const struct qstr *s1, const struct qstr *s2) in utf8_strncmp() argument
30 if (utf8ncursor(&cur1, data, s1->name, s1->len) < 0) in utf8_strncmp()
51 const struct qstr *s1, const struct qstr *s2) in utf8_strncasecmp() argument
57 if (utf8ncursor(&cur1, data, s1->name, s1->len) < 0) in utf8_strncasecmp()
82 const struct qstr *s1) in utf8_strncasecmp_folded() argument
89 if (utf8ncursor(&cur1, data, s1->name, s1->len) < 0) in utf8_strncasecmp_folded()
/Linux-v5.15/sound/core/oss/
Drate.c71 signed short S1, S2; in resample_expand() local
81 S1 = rchannels->last_S1; in resample_expand()
101 S1 = S2; in resample_expand()
107 val = S1 + ((S2 - S1) * (signed int)pos) / BITS; in resample_expand()
116 rchannels->last_S1 = S1; in resample_expand()
130 signed short S1, S2; in resample_shrink() local
140 S1 = rchannels->last_S1; in resample_shrink()
158 S1 = S2; in resample_shrink()
165 val = S1 + ((S2 - S1) * (signed int)pos) / BITS; in resample_shrink()
176 rchannels->last_S1 = S1; in resample_shrink()

12345678910>>...21