Home
last modified time | relevance | path

Searched defs:s (Results 1 – 25 of 265) sorted by relevance

1234567891011

/tools/testing/selftests/kvm/lib/
Dsparsebit.c205 static struct node *node_first(const struct sparsebit *s) in node_first()
219 static struct node *node_next(const struct sparsebit *s, struct node *np) in node_next()
247 static struct node *node_prev(const struct sparsebit *s, struct node *np) in node_prev()
310 static struct node *node_find(const struct sparsebit *s, sparsebit_idx_t idx) in node_find()
333 static struct node *node_add(struct sparsebit *s, sparsebit_idx_t idx) in node_add()
396 bool sparsebit_all_set(const struct sparsebit *s) in sparsebit_all_set()
409 static void node_rm(struct sparsebit *s, struct node *nodep) in node_rm()
498 static struct node *node_split(struct sparsebit *s, sparsebit_idx_t idx) in node_split()
599 static void node_reduce(struct sparsebit *s, struct node *nodep) in node_reduce()
778 bool sparsebit_is_set(const struct sparsebit *s, sparsebit_idx_t idx) in sparsebit_is_set()
[all …]
Dstring_override.c25 const char *s = src; in memcpy() local
32 void *memset(void *s, int c, size_t count) in memset()
41 size_t strnlen(const char *s, size_t count) in strnlen()
/tools/cgroup/
Dmemcg_slabinfo.py31 def err(s): argument
47 def is_root_cache(s): argument
54 def cache_name(s): argument
63 def oo_order(s): argument
67 def oo_objects(s): argument
83 def slub_get_slabinfo(s, cfg): argument
106 def cache_show(s, cfg, objs): argument
/tools/virtio/linux/
Ddma-mapping.h16 #define dma_alloc_coherent(d, s, hp, f) ({ \ argument
22 #define dma_free_coherent(d, s, p, h) kfree(p) argument
24 #define dma_map_page(d, p, o, s, dir) (page_to_phys(p) + (o)) argument
26 #define dma_map_single(d, p, s, dir) (virt_to_phys(p)) argument
27 #define dma_map_single_attrs(d, p, s, dir, a) (virt_to_phys(p)) argument
30 #define dma_unmap_single(d, a, s, r) do { (void)(d); (void)(a); (void)(s); (void)(r); } while (0) argument
31 #define dma_unmap_page(d, a, s, r) do { (void)(d); (void)(a); (void)(s); (void)(r); } while (0) argument
35 #define dma_unmap_single_attrs(d, a, s, r, t) do { \ argument
38 #define dma_sync_single_range_for_cpu(d, a, o, s, r) do { \ argument
41 #define dma_sync_single_range_for_device(d, a, o, s, r) do { \ argument
Dkernel.h56 static inline void *kmalloc(size_t s, gfp_t gfp) in kmalloc()
62 static inline void *kmalloc_array(unsigned n, size_t s, gfp_t gfp) in kmalloc_array()
67 static inline void *kzalloc(size_t s, gfp_t gfp) in kzalloc()
75 static inline void *alloc_pages_exact(size_t s, gfp_t gfp) in alloc_pages_exact()
87 static inline void free_pages_exact(void *p, size_t s) in free_pages_exact()
92 static inline void *krealloc(void *p, size_t s, gfp_t gfp) in krealloc()
/tools/lib/subcmd/
Dparse-options.h120 #define OPT_BIT(s, l, v, h, b) { .type = OPTION_BIT, .short_name = (s), .long_name = (l), .val… argument
121 #define OPT_BOOLEAN(s, l, v, h) { .type = OPTION_BOOLEAN, .short_name = (s), .long_name = (l), … argument
122 #define OPT_BOOLEAN_FLAG(s, l, v, h, f) { .type = OPTION_BOOLEAN, .short_name = (s), .long_name… argument
123 #define OPT_BOOLEAN_SET(s, l, v, os, h) \ argument
127 #define OPT_INCR(s, l, v, h) { .type = OPTION_INCR, .short_name = (s), .long_name = (l), .va… argument
128 #define OPT_SET_UINT(s, l, v, h, i) { .type = OPTION_SET_UINT, .short_name = (s), .long_name = (l)… argument
129 #define OPT_SET_PTR(s, l, v, h, p) { .type = OPTION_SET_PTR, .short_name = (s), .long_name = (l), … argument
130 #define OPT_INTEGER(s, l, v, h) { .type = OPTION_INTEGER, .short_name = (s), .long_name = (l), … argument
131 #define OPT_UINTEGER(s, l, v, h) { .type = OPTION_UINTEGER, .short_name = (s), .long_name = (l),… argument
132 #define OPT_UINTEGER_OPTARG(s, l, v, d, h) { .type = OPTION_UINTEGER, .short_name = (s), .long_n… argument
[all …]
/tools/testing/selftests/bpf/progs/
Dbind_prog.h6 #define load_byte(src, b, s) \ argument
8 #define load_word(src, w, s) \ argument
11 #define load_byte(src, b, s) \ argument
13 #define load_word(src, w, s) \ argument
Dtest_global_func_args.c25 __noinline int foo(__u32 index, struct S *s) in foo()
37 __noinline int bar(__u32 index, volatile struct S *s) in bar()
49 __noinline int baz(struct S **s) in baz()
69 struct S s = { .v = 100 }; in test_cls() local
Dkfunc_call_fail.c42 unsigned long s = 0; in kfunc_call_test_get_mem_fail_rdonly() local
63 unsigned long s = 0; in kfunc_call_test_get_mem_fail_use_after_free() local
89 unsigned long s = 0; in kfunc_call_test_get_mem_fail_oob() local
112 unsigned long s = 0; in kfunc_call_test_get_mem_fail_not_const() local
133 unsigned long s = 0; in kfunc_call_test_mem_acquire_fail() local
Dtest_global_func13.c11 __noinline int foo(const struct S *s) in foo()
23 const struct S *s = (const struct S *)(0xbedabeda); in global_func13() local
Dtest_global_func12.c11 __noinline int foo(const struct S *s) in foo()
20 const struct S s = {.x = skb->len }; in global_func12() local
/tools/virtio/virtio-trace/
Dtrace-agent.c50 struct agent_info *s; in agent_info_new() local
154 static void *agent_info_init(struct agent_info *s) in agent_info_init()
189 static void *parse_args(int argc, char *argv[], struct agent_info *s) in parse_args()
222 static void agent_main_loop(struct agent_info *s) in agent_main_loop()
245 static void agent_info_free(struct agent_info *s) in agent_info_free()
262 struct agent_info *s = NULL; in main() local
/tools/net/ynl/samples/
Dpage-pool.c26 struct stat *s; member
47 static void count(struct stat *s, unsigned int l, in count()
81 struct stat *s = find_ifc(&a, pp->ifindex); in main() local
94 struct stat *s = find_ifc(&a, pp->info.ifindex); in main() local
111 struct stat *s = &a.s[i]; in main() local
/tools/testing/selftests/mm/
Dpkey-powerpc.h105 #define REPEAT_8(s) s s s s s s s s argument
106 #define REPEAT_64(s) REPEAT_8(s) REPEAT_8(s) REPEAT_8(s) REPEAT_8(s) \ argument
108 #define REPEAT_512(s) REPEAT_64(s) REPEAT_64(s) REPEAT_64(s) REPEAT_64(s) \ argument
110 #define REPEAT_4096(s) REPEAT_512(s) REPEAT_512(s) REPEAT_512(s) REPEAT_512(s) \ argument
112 #define REPEAT_16384(s) REPEAT_4096(s) REPEAT_4096(s) \ argument
/tools/lib/
Dstring.c48 int strtobool(const char *s, bool *res) in strtobool()
139 char *strim(char *s) in strim()
159 void remove_spaces(char *s) in remove_spaces()
177 char *strreplace(char *s, char old, char new) in strreplace()
/tools/mm/
Dslabinfo.c205 static void set_obj(struct slabinfo *s, const char *name, int n) in set_obj()
219 static unsigned long read_slab_obj(struct slabinfo *s, const char *name) in read_slab_obj()
238 static unsigned long read_debug_slab_obj(struct slabinfo *s, const char *name) in read_debug_slab_obj()
319 static void slab_validate(struct slabinfo *s) in slab_validate()
327 static void slab_shrink(struct slabinfo *s) in slab_shrink()
367 static unsigned long slab_size(struct slabinfo *s) in slab_size()
372 static unsigned long slab_activity(struct slabinfo *s) in slab_activity()
378 static unsigned long slab_waste(struct slabinfo *s) in slab_waste()
383 static void slab_numa(struct slabinfo *s, int mode) in slab_numa()
428 static void show_tracking(struct slabinfo *s) in show_tracking()
[all …]
/tools/testing/selftests/net/
Dsk_so_peek_off.c26 int s; in sk_peek_offset_probe() local
41 static void sk_peek_offset_set(int s, int offset) in sk_peek_offset_set()
47 static int sk_peek_offset_get(int s) in sk_peek_offset_get()
66 int s[2] = {0, 0}; in sk_peek_offset_test() local
/tools/testing/selftests/bpf/prog_tests/
Dskeleton.c7 struct s { struct
12 #include "test_skeleton.skel.h" argument
Dsockmap_listen.c57 int err, s; in test_insert_opened() local
81 int err, s; in test_insert_bound() local
107 int s; in test_insert() local
124 int s; in test_delete_after_insert() local
140 int err, s; in test_delete_after_close() local
167 int s; in test_lookup_after_insert() local
193 int err, s; in test_lookup_after_delete() local
218 int err, s; in test_lookup_32_bit_value() local
278 int err, s, c; in do_destroy_orphan_child() local
340 int err, s, c; in test_clone_after_delete() local
[all …]
/tools/testing/selftests/powerpc/stringloops/
Dstrlen.c15 static void test_one(char *s) in test_one()
36 static void bench_test(char *s) in bench_test()
53 char *s; in testcase() local
/tools/testing/selftests/powerpc/include/
Dinstructions.h78 #define __PPC_RS(s) (((s) & 0x1f) << 21) argument
124 #define PSTB(s, a, r, d) PREFIX_MLS(PPC_INST_STB, s, a, r, d) argument
125 #define PSTH(s, a, r, d) PREFIX_MLS(PPC_INST_STH, s, a, r, d) argument
126 #define PSTW(s, a, r, d) PREFIX_MLS(PPC_INST_STW, s, a, r, d) argument
127 #define PSTD(s, a, r, d) PREFIX_8LS(0xf4000000, s, a, r, d) argument
128 #define PSTQ(s, a, r, d) PREFIX_8LS(0xf0000000, s, a, r, d) argument
139 #define PLXV0(s, a, r, d) PREFIX_8LS(0xc8000000, s, a, r, d) argument
140 #define PLXV1(s, a, r, d) PREFIX_8LS(0xcc000000, s, a, r, d) argument
143 #define PSTXV0(s, a, r, d) PREFIX_8LS(0xd8000000, s, a, r, d) argument
144 #define PSTXV1(s, a, r, d) PREFIX_8LS(0xdc000000, s, a, r, d) argument
/tools/testing/selftests/tc-testing/
Daction.c12 __attribute__((section("action-ok"),used)) int action_ok(struct __sk_buff *s) in action_ok()
17 __attribute__((section("action-ko"),used)) int action_ko(struct __sk_buff *s) in action_ko()
/tools/lib/bpf/
Dstrset.c24 const struct strset *s = ctx; in strset_hash_fn() local
32 const struct strset *s = ctx; in strset_equal_fn() local
116 int strset__find_str(struct strset *set, const char *s) in strset__find_str()
142 int strset__add_str(struct strset *set, const char *s) in strset__add_str()
/tools/arch/riscv/include/asm/
Dfence.h9 #define RISCV_FENCE_ASM(p, s) "\tfence " #p "," #s "\n" argument
10 #define RISCV_FENCE(p, s) \ argument
/tools/build/feature/
Dtest-glibc.c7 #define XSTR(s) STR(s) argument
8 #define STR(s) #s argument

1234567891011