/linux-master/tools/testing/selftests/kvm/riscv/ |
H A D | get-reg-list.c | 232 case KVM_REG_RISCV_CORE_REG(regs.s2) ... KVM_REG_RISCV_CORE_REG(regs.s11): 234 reg_off - KVM_REG_RISCV_CORE_REG(regs.s2) + 2); 686 KVM_REG_RISCV | KVM_REG_SIZE_ULONG | KVM_REG_RISCV_CORE | KVM_REG_RISCV_CORE_REG(regs.s2),
|
/linux-master/tools/testing/selftests/kvm/lib/riscv/ |
H A D | processor.c | 243 vcpu_get_reg(vcpu, RISCV_CORE_REG(regs.s2), &core.regs.s2); 274 core.regs.a6, core.regs.a7, core.regs.s2, core.regs.s3);
|
/linux-master/tools/testing/selftests/kvm/include/riscv/ |
H A D | processor.h | 81 unsigned long s2; member in struct:ex_regs
|
/linux-master/sound/core/ |
H A D | init.c | 54 const char *s1, *s2; local 60 s2 = slots[idx]; 61 if (*s2 == '!') { 63 s2++; 70 char c2 = *s2++;
|
/linux-master/drivers/gpu/drm/ |
H A D | drm_buddy.c | 95 static inline bool overlaps(u64 s1, u64 e1, u64 s2, u64 e2) argument 97 return s1 <= e2 && e1 >= s2; 100 static inline bool contains(u64 s1, u64 e1, u64 s2, u64 e2) argument 102 return s1 <= s2 && e1 >= e2;
|
/linux-master/arch/riscv/include/asm/ |
H A D | kvm_host.h | 145 unsigned long s2; member in struct:kvm_cpu_context
|
/linux-master/arch/powerpc/mm/nohash/ |
H A D | kaslr_booke.c | 94 static __init bool regions_overlap(u32 s1, u32 e1, u32 s2, u32 e2) argument 96 return e1 >= s2 && e2 >= s1;
|
/linux-master/arch/powerpc/kernel/ |
H A D | prom_init.c | 306 static char __init *prom_strstr(const char *s1, const char *s2) argument 310 l2 = prom_strlen(s2); 316 if (!prom_memcmp(s1, s2, l2))
|
/linux-master/tools/testing/selftests/drivers/net/hw/ |
H A D | pp_alloc_fail.py | 82 s2 = get_stats() 84 if s2['rx-alloc-fail'] - s1['rx-alloc-fail'] < 1: 86 if s2['rx-alloc-fail'] - s1['rx-alloc-fail'] < 100: 87 raise KsftSkipEx("Allocation increasing too slowly", s2['rx-alloc-fail'] - s1['rx-alloc-fail'], 88 "packets:", s2['rx-packets'] - s1['rx-packets'])
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | veristat.c | 1141 static int cmp_stat(const struct verif_stats *s1, const struct verif_stats *s2, argument 1148 cmp = strcmp(s1->file_name, s2->file_name); 1151 cmp = strcmp(s1->prog_name, s2->prog_name); 1161 long v2 = s2->stats[id]; 1182 const struct verif_stats *s1 = v1, *s2 = v2; local 1186 cmp = cmp_stat(s1, s2, env.sort_spec.ids[i], 1193 cmp = strcmp(s1->file_name, s2->file_name); 1196 return strcmp(s1->prog_name, s2->prog_name); 1255 const struct verif_stats_join *s2, 1264 fetch_join_stat_value(s2, i 1254 cmp_join_stat(const struct verif_stats_join *s1, const struct verif_stats_join *s2, enum stat_id id, enum stat_variant var, bool asc, bool abs) argument 1281 const struct verif_stats_join *s1 = v1, *s2 = v2; local [all...] |
H A D | test_sockmap.c | 60 int s1, s2, c1, c2, p1, p2; variable 242 else if (s == s2) 303 int *fds[4] = {&s1, &s2, &c1, &c2}; 305 s1 = s2 = p1 = p2 = c1 = c2 = 0; 348 err = bind(s2, (struct sockaddr *)&addr, sizeof(addr)); 350 perror("bind s2 failed()"); 363 err = listen(s2, 32); 393 p2 = accept(s2, NULL, NULL); 401 printf("cgroups binding: c1(%i) <-> s1(%i) - - - c2(%i) <-> s2(%i)\n", 402 c1, s1, c2, s2); [all...] |
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | sockmap_listen.c | 246 int s1, s2; local 254 s2 = socket_loopback(family, sotype); 255 if (s2 < 0) 262 value = s2; 264 xclose(s2); 1158 int s1, s2, c, err; local 1170 s2 = socket_loopback_reuseport(family, sotype, reuseport_prog); 1171 if (s2 < 0) 1174 err = add_to_sockmap(sock_map, s1, s2); 1178 /* Connect to s2, reusepor [all...] |
/linux-master/tools/include/nolibc/ |
H A D | string.h | 19 int memcmp(const void *s1, const void *s2, size_t n) argument 24 while (ofs < n && !(c1 = ((unsigned char *)s1)[ofs] - ((unsigned char *)s2)[ofs])) {
|
/linux-master/net/xfrm/ |
H A D | xfrm_policy.c | 1423 static inline int selector_cmp(struct xfrm_selector *s1, struct xfrm_selector *s2) argument 1426 u32 *p2 = (u32 *) s2;
|
/linux-master/net/sctp/ |
H A D | ipv6.c | 63 union sctp_addr *s2); 433 union sctp_addr *s2) 435 return ipv6_addr_diff(&s1->v6.sin6_addr, &s2->v6.sin6_addr); 432 sctp_v6_addr_match_len(union sctp_addr *s1, union sctp_addr *s2) argument
|
/linux-master/mm/ |
H A D | slab_common.c | 424 struct kmem_cache *s, *s2; local 444 list_for_each_entry_safe(s, s2, &to_destroy, list) {
|
/linux-master/kernel/bpf/ |
H A D | helpers.c | 572 BPF_CALL_3(bpf_strncmp, const char *, s1, u32, s1_sz, const char *, s2) 574 return strncmp(s1, s2, s1_sz);
|
H A D | btf.c | 6919 const char *fn1, *fn2, *s1, *s2; local 7013 s2 = btf_name_by_offset(btf2, t2->name_off); 7014 if (strcmp(s1, s2)) { 7017 i, fn1, s1, fn2, s2);
|
/linux-master/include/net/ |
H A D | xfrm.h | 925 static inline bool xfrm_sec_ctx_match(struct xfrm_sec_ctx *s1, struct xfrm_sec_ctx *s2) argument 927 return ((!s1 && !s2) || 928 (s1 && s2 && 929 (s1->ctx_sid == s2->ctx_sid) && 930 (s1->ctx_doi == s2->ctx_doi) && 931 (s1->ctx_alg == s2->ctx_alg))); 934 static inline bool xfrm_sec_ctx_match(struct xfrm_sec_ctx *s1, struct xfrm_sec_ctx *s2) argument
|
/linux-master/include/linux/ |
H A D | string.h | 162 extern int strcasecmp(const char *s1, const char *s2); 165 extern int strncasecmp(const char *s1, const char *s2, size_t n); 304 extern bool sysfs_streq(const char *s1, const char *s2);
|
/linux-master/fs/smb/client/ |
H A D | cifsproto.h | 752 static inline bool dfs_src_pathname_equal(const char *s1, const char *s2) argument 754 if (strlen(s1) != strlen(s2)) 756 for (; *s1; s1++, s2++) { 758 if (*s2 != '/' && *s2 != '\\') 760 } else if (tolower(*s1) != tolower(*s2))
|
/linux-master/fs/ntfs3/ |
H A D | ntfs_fs.h | 860 int ntfs_cmp_names(const __le16 *s1, size_t l1, const __le16 *s2, size_t l2,
|
H A D | index.c | 52 const struct le_str *s2 = (struct le_str *)&f2->name_len; local 58 return ntfs_cmp_names_cpu(key1, s2, sbi->upcase, both_case);
|
/linux-master/drivers/thermal/mediatek/ |
H A D | lvts_thermal.c | 115 #define VALID_SENSOR_MAP(s0, s1, s2, s3) \ 118 ((s2) ? BIT(2) : 0) | \
|
/linux-master/drivers/thermal/ |
H A D | k3_bandgap.c | 93 unsigned int s2) 96 int d02 = abs(s0 - s2); 97 int d12 = abs(s1 - s2); 103 return (s0 + s2) / 2; 105 return (s1 + s2) / 2; 112 unsigned int dtemp, s0, s1, s2; local 129 s2 = readl(bgp->base + devdata->stat_offset) & 131 dtemp = vtm_get_best_value(s0, s1, s2); 92 vtm_get_best_value(unsigned int s0, unsigned int s1, unsigned int s2) argument
|