Searched refs:s1 (Results 1 - 25 of 270) sorted by relevance

1234567891011

/linux-master/tools/testing/selftests/bpf/progs/
H A Dbtf_dump_test_case_ordering.c9 struct s1 {}; struct
22 struct s1 s1; member in struct:s3
27 struct s1 s1; member in struct:s4
H A Dstrncmp_bench.c19 static __always_inline int local_strncmp(const char *s1, unsigned int sz, argument
27 ret = (unsigned char)s1[i] - (unsigned char)s2[i];
28 if (ret || !s1[i])
/linux-master/include/ufs/
H A Dufs_quirks.h9 /* return true if s1 is a prefix of s2 */
10 #define STR_PRFX_EQUAL(s1, s2) !strncmp(s1, s2, strlen(s1))
/linux-master/fs/ntfs3/
H A Dupcase.c36 int ntfs_cmp_names(const __le16 *s1, size_t l1, const __le16 *s2, size_t l2, argument
46 for (; len; s1++, s2++, len--) {
47 diff1 = le16_to_cpu(*s1) - le16_to_cpu(*s2);
58 for (; len; s1++, s2++, len--) {
59 diff2 = upcase_unicode_char(upcase, le16_to_cpu(*s1)) -
72 const u16 *s1 = uni1->name; local
83 for (; len; s1++, s2++, len--) {
84 diff1 = *s1 - le16_to_cpu(*s2);
95 for (; len; s1++, s2++, len--) {
96 diff2 = upcase_unicode_char(upcase, *s1)
[all...]
/linux-master/include/linux/
H A Dzutil.h57 #define DO1(buf,i) {s1 += buf[i]; s2 += s1;}
82 unsigned long s1 = adler & 0xffff; local
97 s1 += *buf++;
98 s2 += s1;
100 s1 %= BASE;
103 return (s2 << 16) | s1;
H A Dunicode.h59 const struct qstr *s1, const struct qstr *s2);
62 const struct qstr *s1, const struct qstr *s2);
65 const struct qstr *s1);
/linux-master/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,
[all...]
/linux-master/arch/riscv/purgatory/
H A Dentry.S18 mv s1, a1 /* Phys address of the FDT image */
24 mv a1, s1
/linux-master/arch/sparc/include/asm/
H A Dprom.h24 #define of_compat_cmp(s1, s2, l) strncmp((s1), (s2), (l))
25 #define of_prop_cmp(s1, s2) strcasecmp((s1), (s2))
26 #define of_node_cmp(s1, s2) strcmp((s1), (s2))
/linux-master/arch/s390/lib/
H A Dstring.c202 * @s1: One string
205 * returns 0 if @s1 and @s2 are equal,
206 * < 0 if @s1 is less than @s2
207 * > 0 if @s1 is greater than @s2
210 int strcmp(const char *s1, const char *s2) argument
216 "0: clst %[s1],%[s2]\n"
219 " ic %[ret],0(%[s1])\n"
223 : [ret] "+&d" (ret), [s1] "+&a" (s1), [s2] "+&a" (s2)
231 static inline int clcle(const char *s1, unsigne argument
255 strstr(const char *s1, const char *s2) argument
312 memcmp(const void *s1, const void *s2, size_t n) argument
[all...]
/linux-master/arch/powerpc/boot/
H A Dstring.h11 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-master/tools/testing/selftests/powerpc/stringloops/
H A 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, argument
47 y = memcmp(s1+offset, s2+offset, size);
48 x = test_memcmp(s1+offset, s2+offset, size);
55 printf("%02x ", s1[i]);
65 printf("vmx enter/exit not paired.(offset:%ld size:%ld s1:%p s2:%p vc:%d\n",
66 offset, size, s1, s2, vmx_count);
77 char *p, *s1, *s2; local
88 /* Put s1/s2 at the end of a page */
89 s1
[all...]
/linux-master/arch/x86/boot/
H A Dstring.c32 int memcmp(const void *s1, const void *s2, size_t len) argument
36 : CC_OUT(nz) (diff), "+D" (s1), "+S" (s2), "+c" (len));
43 int bcmp(const void *s1, const void *s2, size_t len) argument
45 return memcmp(s1, s2, len);
50 const unsigned char *s1 = (const unsigned char *)str1; local
54 while (*s1 || *s2) {
55 delta = *s1 - *s2;
58 s1++;
168 * @s1: The string to be searched
171 char *strstr(const char *s1, cons argument
[all...]
H A Dstring.h13 int memcmp(const void *s1, const void *s2, size_t len);
14 int bcmp(const void *s1, const void *s2, size_t len);
24 extern char *strstr(const char *s1, const char *s2);
/linux-master/drivers/firmware/efi/libstub/
H A Dstring.c47 * @s1: The string to be searched
50 char *strstr(const char *s1, const char *s2) argument
56 return (char *)s1;
57 l1 = strlen(s1);
60 if (!memcmp(s1, s2, l2))
61 return (char *)s1;
62 s1++;
/linux-master/tools/testing/selftests/proc/
H A Dproc.h22 static inline bool streq(const char *s1, const char *s2) argument
24 return strcmp(s1, s2) == 0;
/linux-master/arch/alpha/include/uapi/asm/
H A Dregdef.h17 #define s1 $10 macro
/linux-master/arch/riscv/kernel/
H A Dhibernate-asm.S47 mv s1, a1
63 csrw satp, s1
/linux-master/arch/mips/boot/compressed/
H A Dhead.S21 move s1, a1
40 move a1, s1
/linux-master/drivers/gpu/drm/radeon/
H A Devergreen_smc.h34 uint16_t s1; member in struct:SMC_Evergreen_MCRegisterAddress
/linux-master/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(const struct perf_sample *s1, argument
89 for (i = 0; i < s1->read.group.nr; i++) {
103 for (i = 0; i < s1->callchain->nr; i++)
109 if (memcmp(s1->raw_data, s2->raw_data, s1->raw_size)) {
118 for (i = 0; i < s1->branch_stack->nr; i++) {
129 size_t sz = hweight_long(s1
[all...]
/linux-master/fs/bcachefs/
H A Dmean_and_variance.c74 * mean_and_variance_get_variance() - get variance from @s1
75 * @s1: mean and variance number of samples and sums
79 u64 mean_and_variance_get_variance(struct mean_and_variance s1) argument
81 if (s1.n) {
82 u128_u s2 = u128_div(s1.sum_squares, s1.n);
83 u64 s3 = abs(mean_and_variance_get_mean(s1));
/linux-master/arch/mips/include/asm/mach-loongson64/
H A Dkernel-entry-init.h80 /* s0:prid s1:initfn */
96 lw s1, 0x20(a0) /* check PC as an indicator */ variable
97 beqz s1, 2b variable
98 ld s1, 0x20(a0) /* get PC via mailbox reg0 */ variable
102 jr s1 /* jump to initial PC */
/linux-master/fs/unicode/
H A Dutf8-core.c21 const struct qstr *s1, const struct qstr *s2)
26 if (utf8ncursor(&cur1, um, UTF8_NFDI, s1->name, s1->len) < 0)
47 const struct qstr *s1, const struct qstr *s2)
52 if (utf8ncursor(&cur1, um, UTF8_NFDICF, s1->name, s1->len) < 0)
77 const struct qstr *s1)
83 if (utf8ncursor(&cur1, um, UTF8_NFDICF, s1->name, s1->len) < 0)
20 utf8_strncmp(const struct unicode_map *um, const struct qstr *s1, const struct qstr *s2) argument
46 utf8_strncasecmp(const struct unicode_map *um, const struct qstr *s1, const struct qstr *s2) argument
75 utf8_strncasecmp_folded(const struct unicode_map *um, const struct qstr *cf, const struct qstr *s1) argument
/linux-master/lib/
H A Dstring.c36 * @s1: One string
40 int strncasecmp(const char *s1, const char *s2, size_t len) argument
49 c1 = *s1++;
66 int strcasecmp(const char *s1, const char *s2) argument
71 c1 = tolower(*s1++);
730 * @s1: The string to be searched
733 char *strstr(const char *s1, const char *s2) argument
739 return (char *)s1;
740 l1 = strlen(s1);
743 if (!memcmp(s1, s
759 strnstr(const char *s1, const char *s2, size_t len) argument
[all...]

Completed in 421 milliseconds

1234567891011