Home
last modified time | relevance | path

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

12345678

/tools/lib/traceevent/
Dtrace-seq.c22 #define TRACE_SEQ_CHECK(s) \ argument
29 #define TRACE_SEQ_CHECK_RET_N(s, n) \ argument
36 #define TRACE_SEQ_CHECK_RET(s) TRACE_SEQ_CHECK_RET_N(s, ) argument
37 #define TRACE_SEQ_CHECK_RET0(s) TRACE_SEQ_CHECK_RET_N(s, 0) argument
43 void trace_seq_init(struct trace_seq *s) in trace_seq_init()
59 void trace_seq_reset(struct trace_seq *s) in trace_seq_reset()
74 void trace_seq_destroy(struct trace_seq *s) in trace_seq_destroy()
83 static void expand_buffer(struct trace_seq *s) in expand_buffer()
113 trace_seq_printf(struct trace_seq *s, const char *fmt, ...) in trace_seq_printf()
155 trace_seq_vprintf(struct trace_seq *s, const char *fmt, va_list args) in trace_seq_vprintf()
[all …]
/tools/testing/selftests/kvm/lib/
Dsparsebit.c205 static struct node *node_first(struct sparsebit *s) in node_first()
219 static struct node *node_next(struct sparsebit *s, struct node *np) in node_next()
247 static struct node *node_prev(struct sparsebit *s, struct node *np) in node_prev()
310 static struct node *node_find(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(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()
779 bool sparsebit_is_set(struct sparsebit *s, sparsebit_idx_t idx) in sparsebit_is_set()
[all …]
/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/lib/subcmd/
Dparse-options.h124 #define OPT_BIT(s, l, v, h, b) { .type = OPTION_BIT, .short_name = (s), .long_name = (l), .val… argument
125 #define OPT_BOOLEAN(s, l, v, h) { .type = OPTION_BOOLEAN, .short_name = (s), .long_name = (l), … argument
126 #define OPT_BOOLEAN_FLAG(s, l, v, h, f) { .type = OPTION_BOOLEAN, .short_name = (s), .long_name… argument
127 #define OPT_BOOLEAN_SET(s, l, v, os, h) \ argument
131 #define OPT_INCR(s, l, v, h) { .type = OPTION_INCR, .short_name = (s), .long_name = (l), .va… argument
132 #define OPT_SET_UINT(s, l, v, h, i) { .type = OPTION_SET_UINT, .short_name = (s), .long_name = (l)… argument
133 #define OPT_SET_PTR(s, l, v, h, p) { .type = OPTION_SET_PTR, .short_name = (s), .long_name = (l), … argument
134 #define OPT_INTEGER(s, l, v, h) { .type = OPTION_INTEGER, .short_name = (s), .long_name = (l), … argument
135 #define OPT_UINTEGER(s, l, v, h) { .type = OPTION_UINTEGER, .short_name = (s), .long_name = (l),… argument
136 #define OPT_LONG(s, l, v, h) { .type = OPTION_LONG, .short_name = (s), .long_name = (l), .va… argument
[all …]
Dsigchain.c23 struct sigchain_signal *s = signals + sig; in sigchain_push() local
36 struct sigchain_signal *s = signals + sig; in sigchain_pop() local
/tools/virtio/virtio-trace/
Dtrace-agent.c49 struct agent_info *s; in agent_info_new() local
150 static void *agent_info_init(struct agent_info *s) in agent_info_init()
185 static void *parse_args(int argc, char *argv[], struct agent_info *s) in parse_args()
218 static void agent_main_loop(struct agent_info *s) in agent_main_loop()
241 static void agent_info_free(struct agent_info *s) in agent_info_free()
258 struct agent_info *s = NULL; in main() local
/tools/testing/selftests/bpf/prog_tests/
Dskeleton.c6 struct s { struct
11 #include "test_skeleton.skel.h" argument
Dsockmap_listen.c272 static int enable_reuseport(int s, int progfd) in enable_reuseport()
291 int err, s; in socket_loopback_reuseport() local
345 int err, s; in test_insert_opened() local
366 int err, s; in test_insert_bound() local
391 int s; in test_insert() local
407 int s; in test_delete_after_insert() local
422 int err, s; in test_delete_after_close() local
448 int s; in test_lookup_after_insert() local
473 int err, s; in test_lookup_after_delete() local
497 int err, s; in test_lookup_32_bit_value() local
[all …]
/tools/lib/traceevent/plugins/
Dplugin_sched_switch.c12 static void write_state(struct trace_seq *s, int val) in write_state()
35 struct trace_seq *s, int pid) in write_and_save_comm()
53 static int sched_wakeup_handler(struct trace_seq *s, in sched_wakeup_handler()
82 static int sched_switch_handler(struct trace_seq *s, in sched_switch_handler()
Dplugin_kvm.c255 static int print_exit_reason(struct trace_seq *s, struct tep_record *record, in print_exit_reason()
276 static int kvm_exit_handler(struct trace_seq *s, struct tep_record *record, in kvm_exit_handler()
298 static int kvm_emulate_insn_handler(struct trace_seq *s, in kvm_emulate_insn_handler()
338 static int kvm_nested_vmexit_inject_handler(struct trace_seq *s, struct tep_record *record, in kvm_nested_vmexit_inject_handler()
352 static int kvm_nested_vmexit_handler(struct trace_seq *s, struct tep_record *record, in kvm_nested_vmexit_handler()
378 static int kvm_mmu_print_role(struct trace_seq *s, struct tep_record *record, in kvm_mmu_print_role()
424 static int kvm_mmu_get_page_handler(struct trace_seq *s, in kvm_mmu_get_page_handler()
446 process_is_writable_pte(struct trace_seq *s, unsigned long long *args) in process_is_writable_pte()
Dplugin_hrtimer.c13 static int timer_expire_handler(struct trace_seq *s, in timer_expire_handler()
33 static int timer_start_handler(struct trace_seq *s, in timer_start_handler()
Dplugin_jbd2.c19 process_jbd2_dev_to_name(struct trace_seq *s, unsigned long long *args) in process_jbd2_dev_to_name()
28 process_jiffies_to_msecs(struct trace_seq *s, unsigned long long *args) in process_jiffies_to_msecs()
Dplugin_function.c119 static void show_function(struct trace_seq *s, struct tep_handle *tep, in show_function()
131 static int function_handler(struct trace_seq *s, struct tep_record *record, in function_handler()
173 trace_stack_handler(struct trace_seq *s, struct tep_record *record, in trace_stack_handler()
211 trace_raw_data_handler(struct trace_seq *s, struct tep_record *record, in trace_raw_data_handler()
/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
Dkernel.h55 static inline void *kmalloc(size_t s, gfp_t gfp) in kmalloc()
61 static inline void *kmalloc_array(unsigned n, size_t s, gfp_t gfp) in kmalloc_array()
66 static inline void *kzalloc(size_t s, gfp_t gfp) in kzalloc()
74 static inline void *alloc_pages_exact(size_t s, gfp_t gfp) in alloc_pages_exact()
86 static inline void free_pages_exact(void *p, size_t s) in free_pages_exact()
91 static inline void *krealloc(void *p, size_t s, gfp_t gfp) in krealloc()
/tools/build/feature/
Dtest-cxx.cpp5 static void print_str(std::string s) in print_str()
12 std::string s("Hello World!"); in main() local
Dtest-glibc.c7 #define XSTR(s) STR(s) argument
8 #define STR(s) #s 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/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/bpf/progs/
Dtest_skeleton.c8 struct s { struct
20 struct s in5 = {}; argument
/tools/vm/
Dslabinfo.c203 static void set_obj(struct slabinfo *s, const char *name, int n) in set_obj()
217 static unsigned long read_slab_obj(struct slabinfo *s, const char *name) in read_slab_obj()
236 static unsigned long read_debug_slab_obj(struct slabinfo *s, const char *name) in read_debug_slab_obj()
317 static void slab_validate(struct slabinfo *s) in slab_validate()
325 static void slab_shrink(struct slabinfo *s) in slab_shrink()
365 static unsigned long slab_size(struct slabinfo *s) in slab_size()
370 static unsigned long slab_activity(struct slabinfo *s) in slab_activity()
376 static unsigned long slab_waste(struct slabinfo *s) in slab_waste()
381 static void slab_numa(struct slabinfo *s, int mode) in slab_numa()
426 static void show_tracking(struct slabinfo *s) in show_tracking()
[all …]
/tools/io_uring/
Dio_uring-bench.c107 static int io_uring_register_buffers(struct submitter *s) in io_uring_register_buffers()
116 static int io_uring_register_files(struct submitter *s) in io_uring_register_files()
138 static unsigned file_depth(struct submitter *s) in file_depth()
143 static void init_io(struct submitter *s, unsigned index) in init_io()
194 static int prep_more_ios(struct submitter *s, unsigned max_ios) in prep_more_ios()
244 static int reap_events(struct submitter *s) in reap_events()
280 struct submitter *s = data; in submitter_fn() local
389 static int setup_ring(struct submitter *s) in setup_ring()
464 struct submitter *s = &submitters[0]; in file_depths() local
482 struct submitter *s = &submitters[0]; in main() 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/perf/util/
Dparse-sublevel-options.c13 char *vstr, *s = strdup(str); in parse_one_sublevel_option() local
48 char *s = strdup(str); in perf_parse_sublevel_options() local
/tools/lib/
Dstring.c48 int strtobool(const char *s, bool *res) in strtobool()
139 char *strim(char *s) in strim()
164 char *strreplace(char *s, char old, char new) in strreplace()

12345678