| /tools/thermal/thermal-engine/ |
| D | thermal-engine.c | 41 static int show_threshold(struct thermal_threshold *th, __maybe_unused void *arg) in show_threshold() 49 static int show_trip(struct thermal_trip *tt, __maybe_unused void *arg) in show_trip() 57 static int show_temp(struct thermal_zone *tz, __maybe_unused void *arg) in show_temp() 66 static int show_governor(struct thermal_zone *tz, __maybe_unused void *arg) in show_governor() 75 static int show_tz(struct thermal_zone *tz, __maybe_unused void *arg) in show_tz() 90 static int set_threshold(struct thermal_zone *tz, __maybe_unused void *arg) in set_threshold() 114 static int tz_create(const char *name, int tz_id, __maybe_unused void *arg) in tz_create() 121 static int tz_delete(int tz_id, __maybe_unused void *arg) in tz_delete() 128 static int tz_disable(int tz_id, void *arg) in tz_disable() 138 static int tz_enable(int tz_id, void *arg) in tz_enable() [all …]
|
| /tools/testing/radix-tree/ |
| D | iteration_check.c | 46 static void *add_entries_fn(void *arg) in add_entries_fn() 67 static void *tagged_iteration_fn(void *arg) in tagged_iteration_fn() 100 static void *untagged_iteration_fn(void *arg) in untagged_iteration_fn() 133 static void *remove_entries_fn(void *arg) in remove_entries_fn() 153 static void *tag_entries_fn(void *arg) in tag_entries_fn()
|
| D | iteration_check_2.c | 13 static void *iterator(void *arg) in iterator() 33 static void *throbber(void *arg) in throbber()
|
| D | regression4.c | 18 static void *reader_fn(void *arg) in reader_fn() 41 static void *writer_fn(void *arg) in writer_fn()
|
| /tools/perf/trace/beauty/ |
| D | fcntl.c | 18 static size_t syscall_arg__scnprintf_fcntl_getfd(char *bf, size_t size, struct syscall_arg *arg) in syscall_arg__scnprintf_fcntl_getfd() 31 static size_t syscall_arg__scnprintf_fcntl_getlease(char *bf, size_t size, struct syscall_arg *arg) in syscall_arg__scnprintf_fcntl_getlease() 36 size_t syscall_arg__scnprintf_fcntl_cmd(char *bf, size_t size, struct syscall_arg *arg) in syscall_arg__scnprintf_fcntl_cmd() 70 size_t syscall_arg__scnprintf_fcntl_arg(char *bf, size_t size, struct syscall_arg *arg) in syscall_arg__scnprintf_fcntl_arg()
|
| D | mmap.c | 12 static size_t syscall_arg__scnprintf_mmap_prot(char *bf, size_t size, struct syscall_arg *arg) in syscall_arg__scnprintf_mmap_prot() 33 struct syscall_arg *arg) in syscall_arg__scnprintf_mmap_flags() 53 static size_t syscall_arg__scnprintf_mremap_flags(char *bf, size_t size, struct syscall_arg *arg) in syscall_arg__scnprintf_mremap_flags() 77 struct syscall_arg *arg) in syscall_arg__scnprintf_madvise_behavior()
|
| D | prctl.c | 27 size_t syscall_arg__scnprintf_prctl_arg2(char *bf, size_t size, struct syscall_arg *arg) in syscall_arg__scnprintf_prctl_arg2() 43 size_t syscall_arg__scnprintf_prctl_arg3(char *bf, size_t size, struct syscall_arg *arg) in syscall_arg__scnprintf_prctl_arg3() 53 size_t syscall_arg__scnprintf_prctl_option(char *bf, size_t size, struct syscall_arg *arg) in syscall_arg__scnprintf_prctl_option()
|
| D | timespec.c | 8 static size_t syscall_arg__scnprintf_augmented_timespec(struct syscall_arg *arg, char *bf, size_t s… in syscall_arg__scnprintf_augmented_timespec() 15 size_t syscall_arg__scnprintf_timespec(char *bf, size_t size, struct syscall_arg *arg) in syscall_arg__scnprintf_timespec()
|
| D | kcmp.c | 16 size_t syscall_arg__scnprintf_kcmp_idx(char *bf, size_t size, struct syscall_arg *arg) in syscall_arg__scnprintf_kcmp_idx() 35 size_t syscall_arg__scnprintf_kcmp_type(char *bf, size_t size, struct syscall_arg *arg) in syscall_arg__scnprintf_kcmp_type()
|
| /tools/testing/selftests/rseq/ |
| D | rseq-ppc.h | 46 #define RSEQ_STORE_LONG(arg) "std%U[" __rseq_str(arg) "]%X[" __rseq_str(arg) "] " /* To memory ("m"… argument 47 #define RSEQ_STORE_INT(arg) "stw%U[" __rseq_str(arg) "]%X[" __rseq_str(arg) "] " /* To memory ("m" … argument 48 #define RSEQ_LOAD_LONG(arg) "ld%U[" __rseq_str(arg) "]%X[" __rseq_str(arg) "] " /* From memory ("m"… argument 49 #define RSEQ_LOAD_INT(arg) "lwz%U[" __rseq_str(arg) "]%X[" __rseq_str(arg) "] " /* From memory ("m"… argument 91 #define RSEQ_STORE_LONG(arg) "stw%U[" __rseq_str(arg) "]%X[" __rseq_str(arg) "] " /* To memory ("m"… argument 92 #define RSEQ_STORE_INT(arg) RSEQ_STORE_LONG(arg) /* To memory ("m" constraint) */ argument 93 #define RSEQ_LOAD_LONG(arg) "lwz%U[" __rseq_str(arg) "]%X[" __rseq_str(arg) "] " /* From memory ("m… argument 94 #define RSEQ_LOAD_INT(arg) RSEQ_LOAD_LONG(arg) /* From memory ("m" constraint) */ argument
|
| /tools/testing/selftests/cgroup/ |
| D | test_kmem.c | 30 static int alloc_dcache(const char *cgroup, void *arg) in alloc_dcache() 94 static void *alloc_kmem_fn(void *arg) in alloc_kmem_fn() 100 static int alloc_kmem_smp(const char *cgroup, void *arg) in alloc_kmem_smp() 130 int (*fn)(const char *cgroup, void *arg), in cg_run_in_subcgroups() 239 static void *pthread_wait_fn(void *arg) in pthread_wait_fn() 245 static int spawn_1000_threads(const char *cgroup, void *arg) in spawn_1000_threads()
|
| /tools/testing/selftests/powerpc/benchmarks/ |
| D | context_switch.c | 74 static void start_thread_on(void *(*fn)(void *), void *arg, unsigned long cpu) in start_thread_on() argument 106 static void start_process_on(void *(*fn)(void *), void *arg, unsigned long cpu) in start_process_on() argument 182 static void *pipe_thread1(void *arg) in pipe_thread1() 200 static void *pipe_thread2(void *arg) in pipe_thread2() 227 static void *yield_thread1(void *arg) in yield_thread1() 242 static void *yield_thread2(void *arg) in yield_thread2() 357 static void *futex_thread1(void *arg) in futex_thread1() 372 static void *futex_thread2(void *arg) in futex_thread2()
|
| /tools/testing/selftests/bpf/progs/ |
| D | test_subprogs_extable.c | 22 int BPF_PROG(handle_fexit_ret_subprogs, int arg, struct file *ret) in BPF_PROG() 32 int BPF_PROG(handle_fexit_ret_subprogs2, int arg, struct file *ret) in BPF_PROG() 42 int BPF_PROG(handle_fexit_ret_subprogs3, int arg, struct file *ret) in BPF_PROG()
|
| D | btf_type_tag_user.c | 18 int BPF_PROG(test_user1, struct bpf_testmod_btf_type_tag_1 *arg) in BPF_PROG() 25 int BPF_PROG(test_user2, struct bpf_testmod_btf_type_tag_2 *arg) in BPF_PROG()
|
| /tools/lib/thermal/ |
| D | thermal.c | 9 int for_each_thermal_threshold(struct thermal_threshold *th, cb_th_t cb, void *arg) in for_each_thermal_threshold() 22 int for_each_thermal_cdev(struct thermal_cdev *cdev, cb_tc_t cb, void *arg) in for_each_thermal_cdev() 35 int for_each_thermal_trip(struct thermal_trip *tt, cb_tt_t cb, void *arg) in for_each_thermal_trip() 48 int for_each_thermal_zone(struct thermal_zone *tz, cb_tz_t cb, void *arg) in for_each_thermal_zone()
|
| D | thermal_nl.c | 19 static int nl_seq_check_handler(struct nl_msg *msg, void *arg) in nl_seq_check_handler() 25 void *arg) in nl_error_handler() 35 static int nl_finish_handler(struct nl_msg *msg, void *arg) in nl_finish_handler() 45 static int nl_ack_handler(struct nl_msg *msg, void *arg) in nl_ack_handler() 75 static int nl_family_handler(struct nl_msg *msg, void *arg) in nl_family_handler()
|
| /tools/power/x86/intel-speed-select/ |
| D | hfi-events.c | 56 static int ack_handler(struct nl_msg *msg, void *arg) in ack_handler() 63 static int finish_handler(struct nl_msg *msg, void *arg) in finish_handler() 71 void *arg) in error_handler() 78 static int seq_check_handler(struct nl_msg *msg, void *arg) in seq_check_handler() 122 static int family_handler(struct nl_msg *msg, void *arg) in family_handler() 190 static int handle_event(struct nl_msg *n, void *arg) in handle_event()
|
| /tools/perf/util/intel-pt-decoder/ |
| D | intel-pt-log.h | 39 #define intel_pt_log_packet(arg, ...) \ argument 45 #define intel_pt_log_insn(arg, ...) \ argument 51 #define intel_pt_log_insn_no_data(arg, ...) \ argument
|
| /tools/perf/tests/shell/coresight/unroll_loop_thread/ |
| D | unroll_loop_thread.c | 15 static void *thrfn(void *arg) in thrfn() 41 static pthread_t new_thr(void *(*fn) (void *arg), void *arg) in new_thr()
|
| /tools/perf/tests/shell/coresight/thread_loop/ |
| D | thread_loop.c | 25 static void *thrfn(void *arg) in thrfn() 47 static pthread_t new_thr(void *(*fn) (void *arg), void *arg) in new_thr()
|
| /tools/perf/tests/shell/coresight/memcpy_thread/ |
| D | memcpy_thread.c | 16 static void *thrfn(void *arg) in thrfn() 32 static pthread_t new_thr(void *(*fn) (void *arg), void *arg) in new_thr()
|
| /tools/testing/selftests/futex/functional/ |
| D | futex_requeue_pi.c | 72 int create_rt_thread(pthread_t *pth, void*(*func)(void *), void *arg, in create_rt_thread() argument 110 void *waiterfn(void *arg) in waiterfn() 146 void *broadcast_wakerfn(void *arg) in broadcast_wakerfn() 194 void *signal_wakerfn(void *arg) in signal_wakerfn() 259 void *third_party_blocker(void *arg) in third_party_blocker()
|
| /tools/testing/selftests/net/tcp_ao/ |
| D | bench-lookups.c | 92 void (*f)(int, void *), int sk, void *arg) in measure_call() argument 128 static void delete_mkt(int sk, void *arg) in delete_mkt() 136 static void add_back_mkt(int sk, void *arg) in add_back_mkt() 209 static void *server_fn(void *arg) in server_fn() 256 static void connect_client(int sk, void *arg) in connect_client() 336 static void *client_fn(void *arg) in client_fn()
|
| /tools/perf/util/ |
| D | unwind-libunwind-local.c | 449 int need_unwind_info, void *arg) in find_proc_info() 513 void __maybe_unused *arg) in access_fpreg() 521 void __maybe_unused *arg) in get_dyn_info_list_addr() 528 void __maybe_unused *arg) in resume() 538 unw_word_t __maybe_unused *offp, void __maybe_unused *arg) in get_proc_name() 572 int __write, void *arg) in access_mem() 619 int __write, void *arg) in access_reg() 660 unwind_entry_cb_t cb, void *arg) in entry() 735 void *arg, int max_stack) in get_entries() 799 static int _unwind__get_entries(unwind_entry_cb_t cb, void *arg, in _unwind__get_entries()
|
| D | unwind-libdw.c | 148 static pid_t next_thread(Dwfl *dwfl, void *arg, void **thread_argp) in next_thread() 184 void *arg) in memory_read() 229 frame_callback(Dwfl_Frame *state, void *arg) in frame_callback() 257 int unwind__get_entries(unwind_entry_cb_t cb, void *arg, in unwind__get_entries()
|