Searched refs:s2 (Results 1 - 25 of 227) sorted by relevance

12345678910

/linux-master/tools/testing/selftests/bpf/progs/
H A Dbtf_dump_test_case_ordering.c15 struct s2 { struct
16 struct s2 *s2; member in struct:s2
23 struct s2 s2; member in struct:s3
H A Dstrncmp_bench.c20 const char *s2)
27 ret = (unsigned char)s1[i] - (unsigned char)s2[i];
19 local_strncmp(const char *s1, unsigned int sz, const char *s2) argument
/linux-master/drivers/soc/bcm/brcmstb/pm/
H A DMakefile2 obj-$(CONFIG_BMIPS_GENERIC) += s2-mips.o s3-mips.o pm-mips.o
H A Ds2-mips.S26 sw s2, 12(sp)
37 * s2: TIMERS base register
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, 1
[all...]
/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--) {
60 upcase_unicode_char(upcase, le16_to_cpu(*s2));
73 const __le16 *s2 = uni2->name; local
83 for (; len; s1++, s2++, len--) {
84 diff1 = *s1 - le16_to_cpu(*s2);
95 for (; len; s1++, s2++, len--) {
97 upcase_unicode_char(upcase, le16_to_cpu(*s2));
[all...]
/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/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/mips/kernel/
H A Drelocate_kernel.S26 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, ~
[all...]
/linux-master/include/linux/
H A Dzutil.h57 #define DO1(buf,i) {s1 += buf[i]; s2 += s1;}
83 unsigned long s2 = (adler >> 16) & 0xffff; local
98 s2 += s1;
101 s2 %= 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);
H A Dprandom.h16 __u32 s1, s2, s3, s4; member in struct:rnd_state
44 state->s2 = __seed(i, 8U);
/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/arch/loongarch/kernel/
H A Drelocate_kernel.S39 andi s2, s1, IND_DESTINATION
40 beqz s2, 1f
47 andi s2, s1, IND_INDIRECTION
48 beqz s2, 1f
55 andi s2, s1, IND_DONE
56 beqz s2, 1f
61 andi s2, s1, IND_SOURCE
62 beqz s2, process_entry
/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);
59 printf("%02x ", s2[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 */
90 s2
[all...]
/linux-master/arch/s390/lib/
H A Dstring.c203 * @s2: Another 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"
220 " ic 0,0(%[s2])\n"
223 : [ret] "+&d" (ret), [s1] "+&a" (s1), [s2] "+&a" (s2)
232 const char *s2, unsigne
231 clcle(const char *s1, unsigned long l1, const char *s2, unsigned long l2) 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/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.h18 #define s2 $11 macro
/linux-master/arch/riscv/kernel/
H A Dhibernate-asm.S48 mv s2, a2
75 jr s2
/linux-master/arch/mips/boot/compressed/
H A Dhead.S22 move s2, a2
41 move a2, s2
/linux-master/arch/x86/boot/
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);
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);
51 const unsigned char *s2 = (const unsigned char *)str2; local
54 while (*s1 || *s2) {
55 delta = *s1 - *s2;
59 s2++;
169 * @s2: The string to search for
171 char *strstr(const char *s1, const char *s2) argument
[all...]
/linux-master/arch/m68k/include/asm/
H A Duaccess.h190 #define ____constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3, s1, s2, s3)\
194 " .ifnc \""#s2"\",\"\"\n" \
195 "2: "MOVES"."#s2" (%2)+,%3\n" \
196 " move."#s2" %3,(%1)+\n" \
206 " .ifnc \""#s2"\",\"\"\n" \
217 " .ifnc \""#s2"\",\"\"\n" \
228 #define ___constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3, s1, s2, s3)\
229 ____constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3, s1, s2, s3)
281 #define __constant_copy_to_user_asm(res, to, from, tmp, n, s1, s2, s3) \
285 "12: move."#s2" (
[all...]
/linux-master/arch/mips/include/asm/
H A Dasmmacro-64.h20 LONG_S s2, THREAD_REG18(\thread) variable
33 LONG_L s2, THREAD_REG18(\thread) variable
/linux-master/include/crypto/
H A Dutils.h43 unsigned long *s2 = (unsigned long *)src2; local
47 l = get_unaligned(s1++) ^ get_unaligned(s2++);
/linux-master/drivers/thermal/
H A Dk3_bandgap.c94 unsigned int s2)
97 int d02 = abs(s0 - s2);
98 int d12 = abs(s1 - s2);
104 return (s0 + s2) / 2;
106 return (s1 + s2) / 2;
113 unsigned int dtemp, s0, s1, s2; local
130 s2 = readl(bgp->base + devdata->stat_offset) &
132 dtemp = vtm_get_best_value(s0, s1, s2);
93 vtm_get_best_value(unsigned int s0, unsigned int s1, unsigned int s2) argument

Completed in 585 milliseconds

12345678910