/tools/lib/traceevent/ |
D | trace-seq.c | 22 #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/ |
D | sparsebit.c | 205 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/lib/subcmd/ |
D | parse-options.h | 124 #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 …]
|
D | sigchain.c | 23 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/ |
D | trace-agent.c | 49 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/lib/traceevent/plugins/ |
D | plugin_sched_switch.c | 27 static void write_state(struct trace_seq *s, int val) in write_state() 50 struct trace_seq *s, int pid) in write_and_save_comm() 68 static int sched_wakeup_handler(struct trace_seq *s, in sched_wakeup_handler() 97 static int sched_switch_handler(struct trace_seq *s, in sched_switch_handler()
|
D | plugin_kvm.c | 251 static int print_exit_reason(struct trace_seq *s, struct tep_record *record, in print_exit_reason() 272 static int kvm_exit_handler(struct trace_seq *s, struct tep_record *record, in kvm_exit_handler() 294 static int kvm_emulate_insn_handler(struct trace_seq *s, in kvm_emulate_insn_handler() 334 static int kvm_nested_vmexit_inject_handler(struct trace_seq *s, struct tep_record *record, in kvm_nested_vmexit_inject_handler() 348 static int kvm_nested_vmexit_handler(struct trace_seq *s, struct tep_record *record, in kvm_nested_vmexit_handler() 374 static int kvm_mmu_print_role(struct trace_seq *s, struct tep_record *record, in kvm_mmu_print_role() 420 static int kvm_mmu_get_page_handler(struct trace_seq *s, in kvm_mmu_get_page_handler() 442 process_is_writable_pte(struct trace_seq *s, unsigned long long *args) in process_is_writable_pte()
|
D | plugin_hrtimer.c | 28 static int timer_expire_handler(struct trace_seq *s, in timer_expire_handler() 48 static int timer_start_handler(struct trace_seq *s, in timer_start_handler()
|
D | plugin_jbd2.c | 34 process_jbd2_dev_to_name(struct trace_seq *s, unsigned long long *args) in process_jbd2_dev_to_name() 43 process_jiffies_to_msecs(struct trace_seq *s, unsigned long long *args) in process_jiffies_to_msecs()
|
D | plugin_mac80211.c | 29 static void print_string(struct trace_seq *s, struct tep_event *event, in print_string() 61 static int drv_bss_info_changed(struct trace_seq *s, in drv_bss_info_changed()
|
/tools/virtio/linux/ |
D | dma-mapping.h | 16 #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
|
D | kernel.h | 53 static inline void *kmalloc(size_t s, gfp_t gfp) in kmalloc() 59 static inline void *kmalloc_array(unsigned n, size_t s, gfp_t gfp) in kmalloc_array() 64 static inline void *kzalloc(size_t s, gfp_t gfp) in kzalloc() 72 static inline void *alloc_pages_exact(size_t s, gfp_t gfp) in alloc_pages_exact() 84 static inline void free_pages_exact(void *p, size_t s) in free_pages_exact() 89 static inline void *krealloc(void *p, size_t s, gfp_t gfp) in krealloc()
|
/tools/lib/ |
D | string.c | 48 int strtobool(const char *s, bool *res) in strtobool() 132 char *strim(char *s) in strim() 157 char *strreplace(char *s, char old, char new) in strreplace()
|
/tools/build/feature/ |
D | test-cxx.cpp | 5 static void print_str(std::string s) in print_str() 12 std::string s("Hello World!"); in main() local
|
D | test-glibc.c | 7 #define XSTR(s) STR(s) argument 8 #define STR(s) #s argument
|
/tools/testing/selftests/powerpc/stringloops/ |
D | strlen.c | 15 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/tc-testing/bpf/ |
D | action.c | 12 __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/io_uring/ |
D | io_uring-bench.c | 107 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/vm/ |
D | slabinfo.c | 203 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() 299 static void slab_validate(struct slabinfo *s) in slab_validate() 307 static void slab_shrink(struct slabinfo *s) in slab_shrink() 347 static unsigned long slab_size(struct slabinfo *s) in slab_size() 352 static unsigned long slab_activity(struct slabinfo *s) in slab_activity() 358 static unsigned long slab_waste(struct slabinfo *s) in slab_waste() 363 static void slab_numa(struct slabinfo *s, int mode) in slab_numa() 408 static void show_tracking(struct slabinfo *s) in show_tracking() 426 static void ops(struct slabinfo *s) in ops() [all …]
|
/tools/power/cpupower/utils/idle_monitor/ |
D | cpupower-monitor.c | 74 int fill_string_with_spaces(char *s, int n) in fill_string_with_spaces() 97 cstate_t s; in print_header() local 144 cstate_t s; in print_results() local 259 cstate_t s; in list_monitors() local
|
/tools/testing/selftests/size/ |
D | get_size.c | 28 static int print(const char *s) in print() 56 static int print_k_value(const char *s, unsigned long num, unsigned long units) in print_k_value()
|
/tools/testing/selftests/bpf/ |
D | tcp_server.py | 20 def send(sock, s): argument 73 s = read(sock, 1000) variable
|
/tools/testing/selftests/memfd/ |
D | fuse_test.c | 78 __u64 s; in mfd_assert_has_seals() local 91 __u64 s; in mfd_assert_add_seals() local 105 __u64 s; in mfd_busy_add_seals() local
|
/tools/perf/util/ |
D | strlist.c | 17 const char *s = entry; in strlist__node_new() local 111 static int strlist__parse_list_entry(struct strlist *slist, const char *s, in strlist__parse_list_entry() 142 static int strlist__parse_list(struct strlist *slist, const char *s, const char *subst_dir) in strlist__parse_list()
|
/tools/testing/selftests/powerpc/include/ |
D | utils.h | 95 #define _str(s) #s argument 96 #define str(s) _str(s) argument
|