Home
last modified time | relevance | path

Searched defs:arg (Results 1 – 25 of 340) sorted by relevance

12345678910>>...14

/tools/thermal/thermal-engine/
A Dthermal-engine.c49 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()
75 static int show_tz(struct thermal_zone *tz, __maybe_unused void *arg) in show_tz()
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()
148 static int trip_high(int tz_id, int trip_id, int temp, void *arg) in trip_high()
159 static int trip_low(int tz_id, int trip_id, int temp, void *arg) in trip_low()
186 int hyst, __maybe_unused void *arg) in trip_change()
208 static int cdev_delete(int cdev_id, __maybe_unused void *arg) in cdev_delete()
[all …]
/tools/testing/radix-tree/
A Diteration_check.c46 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()
A Diteration_check_2.c13 static void *iterator(void *arg) in iterator()
33 static void *throbber(void *arg) in throbber()
A Dregression4.c18 static void *reader_fn(void *arg) in reader_fn()
41 static void *writer_fn(void *arg) in writer_fn()
/tools/perf/trace/beauty/
A Dfcntl.c18 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()
A Dmmap.c12 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()
A Dprctl.c27 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()
A Dtimespec.c8 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()
A Dkcmp.c16 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/
A Drseq-ppc.h46 #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/
A Dtest_kmem.c30 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/
A Dcontext_switch.c74 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/
A Dtest_subprogs_extable.c22 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()
/tools/lib/thermal/
A Dthermal.c9 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()
A Dthermal_nl.c19 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/
A Dhfi-events.c56 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/
A Dintel-pt-log.h39 #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/thread_loop/
A Dthread_loop.c25 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/unroll_loop_thread/
A Dunroll_loop_thread.c15 static void *thrfn(void *arg) in thrfn()
41 static pthread_t new_thr(void *(*fn) (void *arg), void *arg) in new_thr()
/tools/testing/selftests/riscv/hwprobe/
A Dcbo.c53 static void test_no_cbo_inval(void *arg) in test_no_cbo_inval()
61 static void test_no_zicbom(void *arg) in test_no_zicbom()
74 static void test_no_zicboz(void *arg) in test_no_zicboz()
88 static void test_zicbom(void *arg) in test_zicbom()
112 static void test_zicboz(void *arg) in test_zicboz()
/tools/perf/tests/shell/coresight/memcpy_thread/
A Dmemcpy_thread.c16 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/
A Dfutex_requeue_pi.c72 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/include/nolibc/sys/
A Dioctl.h22 long sys_ioctl(unsigned int fd, unsigned int cmd, unsigned long arg) in sys_ioctl()
27 #define ioctl(fd, cmd, arg) __sysret(sys_ioctl(fd, cmd, (unsigned long)(arg))) argument
/tools/testing/selftests/net/tcp_ao/
A Dbench-lookups.c92 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/
A Dunwind-libunwind-local.c447 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()

Completed in 750 milliseconds

12345678910>>...14