Searched refs:s2 (Results 26 - 50 of 227) sorted by relevance

12345678910

/linux-master/net/dccp/ccids/lib/
H A Dpacket_history.c167 s2 = DCCP_SKB_CB(skb)->dccpd_seq; local
169 if (likely(dccp_delta_seqno(s1, s2) > 0)) { /* S1 < S2 */
177 if (dccp_loss_free(s0, s2, n2)) {
180 if (dccp_loss_free(s2, s1, n1)) {
204 s2 = tfrc_rx_hist_entry(h, 2)->tfrchrx_seqno, local
207 if (likely(dccp_delta_seqno(s2, s3) > 0)) { /* S2 < S3 */
234 if (dccp_loss_free(s1, s2, n2)) {
272 s2 = tfrc_rx_hist_entry(h, 2)->tfrchrx_seqno, local
277 if (dccp_loss_free(s1, s2, n2)) {
279 if (dccp_loss_free(s2, s
[all...]
/linux-master/drivers/firmware/efi/libstub/
H A Dstring.c48 * @s2: The string to search for
50 char *strstr(const char *s1, const char *s2) argument
54 l2 = strlen(s2);
60 if (!memcmp(s1, s2, l2))
/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))) { \
44 const struct perf_sample *s2,
109 if (memcmp(s1->raw_data, s2->raw_data, s1->raw_size)) {
121 (FLAG(s2).value == BS_EXPECTED_BE) :
122 (FLAG(s2).value == BS_EXPECTED_LE));
134 (!s1->user_regs.regs || !s2->user_regs.regs ||
135 memcmp(s1->user_regs.regs, s2->user_regs.regs, sz))) {
143 if (memcmp(s1->user_stack.data, s2->user_stack.data,
165 (!s1->intr_regs.regs || !s2
43 samples_same(const struct perf_sample *s1, const struct perf_sample *s2, u64 type, u64 read_format, bool needs_swap) argument
[all...]
/linux-master/arch/powerpc/boot/
H A Doflib.c94 /* returns true if s2 is a prefix of s1 */
95 static int string_match(const char *s1, const char *s2) argument
97 for (; *s2; ++s2)
98 if (*s1++ != *s2)
/linux-master/arch/mips/power/
H A Dhibernate_asm.S22 PTR_S s2, PT_R18(t0)
52 PTR_L s2, PT_R18(t0)
/linux-master/scripts/selinux/genheaders/
H A Dgenheaders.c31 char *s2 = strdup(s); local
34 if (!s2) {
39 for (p = s2; *p; p++)
41 return s2;
/linux-master/arch/loongarch/include/asm/
H A Dregdef.h33 #define s2 $r25 macro
/linux-master/tools/perf/util/
H A Dstring2.h22 int strtailcmp(const char *s1, const char *s2);
/linux-master/tools/testing/selftests/kvm/lib/riscv/
H A Dhandlers.S47 csrr s2, CSR_SCAUSE
50 sd s2, 264(sp)
54 ld s2, 264(sp)
57 csrw CSR_SCAUSE, s2
/linux-master/tools/perf/arch/x86/tests/
H A Dsample-parsing.c20 if (s1->m != s2->m) { \
27 const struct perf_sample *s2,
26 samples_same(const struct perf_sample *s1, const struct perf_sample *s2, u64 type) argument
/linux-master/include/linux/
H A Dnls.h77 const unsigned char *s2, int len)
80 if (nls_tolower(t, *s1++) != nls_tolower(t, *s2++))
76 nls_strnicmp(struct nls_table *t, const unsigned char *s1, const unsigned char *s2, int len) argument
/linux-master/fs/unicode/
H A Dutf8-selftest.c240 const struct qstr s2 = {.name = nfdi_test_data[i].dec, local
243 test_f(!utf8_strncmp(table, &s1, &s2),
244 "%s %s comparison mismatch\n", s1.name, s2.name);
250 const struct qstr s2 = {.name = nfdicf_test_data[i].ncf, local
253 test_f(!utf8_strncasecmp(table, &s1, &s2),
254 "%s %s comparison mismatch\n", s1.name, s2.name);
H A Dutf8-core.c21 const struct qstr *s1, const struct qstr *s2)
29 if (utf8ncursor(&cur2, um, UTF8_NFDI, s2->name, s2->len) < 0)
47 const struct qstr *s1, const struct qstr *s2)
55 if (utf8ncursor(&cur2, um, UTF8_NFDICF, s2->name, s2->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
/linux-master/arch/riscv/kernel/
H A Dkexec_relocate.S18 * s2: (const) Phys address of the FDT image
26 mv s2, a2
103 mv a1, s2
115 mv s2, zero
155 * s2: (const) The hartid of the current hart
159 mv s2, a3
166 mv a0, s2
179 mv s2, zero
H A Dentry.S63 csrr s2, CSR_EPC
69 REG_S s2, PT_EPC(sp)
211 csrr s2, CSR_EPC
217 REG_S s2, PT_EPC(sp)
295 REG_S s2, TASK_THREAD_S2_RA(a3)
312 REG_L s2, TASK_THREAD_S2_RA(a4)
/linux-master/lib/
H A Dstring.c37 * @s2: The other string
40 int strncasecmp(const char *s1, const char *s2, size_t len) argument
50 c2 = *s2++;
66 int strcasecmp(const char *s1, const char *s2) argument
72 c2 = tolower(*s2++);
731 * @s2: The string to search for
733 char *strstr(const char *s1, const char *s2) argument
737 l2 = strlen(s2);
743 if (!memcmp(s1, s2, l2))
756 * @s2
759 strnstr(const char *s1, const char *s2, size_t len) argument
[all...]
H A Drandom32.c32 * s1 > 1, s2 > 7, s3 > 15, s4 > 127.
56 state->s2 = TAUSWORTHE(state->s2, 2U, 27U, 4294967288U, 2U);
60 return (state->s1 ^ state->s2 ^ state->s3 ^ state->s4);
120 state->s2 = __seed(seeds[1], 8U);
252 state->s2 = __seed(LCG(state->s1), 8U);
253 state->s3 = __seed(LCG(state->s2), 16U);
/linux-master/arch/x86/crypto/
H A Dtwofish-x86_64-asm_64.S22 #define s2 2048 /* S2 Array */ define
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-master/arch/arm64/crypto/
H A Dsm4-neon-core.S40 #define transpose_4x4(s0, s1, s2, s3) \
42 zip1 RTMP1.4s, s2.4s, s3.4s; \
44 zip2 RTMP3.4s, s2.4s, s3.4s; \
47 zip1 s2.2d, RTMP2.2d, RTMP3.2d; \
50 #define transpose_4x4_2x(s0, s1, s2, s3, s4, s5, s6, s7) \
52 zip1 RTMP1.4s, s2.4s, s3.4s; \
54 zip2 RTMP3.4s, s2.4s, s3.4s; \
61 zip1 s2.2d, RTMP2.2d, RTMP3.2d; \
68 #define rotate_clockwise_4x4(s0, s1, s2, s3) \
71 zip1 RTMP2.4s, s3.4s, s2
[all...]
/linux-master/drivers/gpu/drm/amd/display/dc/dce/
H A Ddce_abm.c94 uint32_t s2; local
124 s2 = REG_READ(BIOS_SCRATCH_2);
126 s2 &= ~ATOM_S2_CURRENT_BL_LEVEL_MASK;
129 s2 |= (backlight_8_bit << ATOM_S2_CURRENT_BL_LEVEL_SHIFT);
131 REG_WRITE(BIOS_SCRATCH_2, s2);
/linux-master/arch/riscv/include/asm/
H A Dcompat.h58 compat_ulong_t s2; member in struct:compat_user_regs_struct
95 cregs->s2 = (compat_ulong_t) regs->s2;
132 regs->s2 = (unsigned long) cregs->s2;
/linux-master/drivers/pwm/
H A Dcore.c37 struct pwm_state s1 = { 0 }, s2 = { 0 }; local
64 s2.polarity = state->polarity;
65 s2.duty_cycle = s1.period - s1.duty_cycle;
66 s2.period = s1.period;
67 s2.enabled = s1.enabled;
69 s2 = s1;
72 if (s2.polarity != state->polarity &&
78 last->period > s2.period &&
82 state->period, s2.period, last->period);
84 if (state->enabled && state->period < s2
[all...]
/linux-master/arch/s390/include/asm/
H A Dstring.h41 int memcmp(const void *s1, const void *s2, size_t n);
42 int strcmp(const char *s1, const char *s2);
46 char *strstr(const char *s1, const char *s2);
/linux-master/arch/mips/fw/lib/
H A Dcall_o32.S54 REG_S s2,O32_FRAMESZ-9*SZREG(sp)
92 REG_L s2,O32_FRAMESZ-9*SZREG(sp)
/linux-master/drivers/thermal/
H A Dk3_j72xx_bandgap.c201 unsigned int s2)
204 int d02 = abs(s0 - s2);
205 int d12 = abs(s1 - s2);
211 return (s0 + s2) / 2;
213 return (s1 + s2) / 2;
220 unsigned int dtemp, s0, s1, s2; local
236 s2 = readl(bgp->base + devdata->stat_offset) &
238 dtemp = vtm_get_best_value(s0, s1, s2);
200 vtm_get_best_value(unsigned int s0, unsigned int s1, unsigned int s2) argument

Completed in 196 milliseconds

12345678910