Home
last modified time | relevance | path

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

123

/kernel/
Dstop_machine.c139 int stop_one_cpu(unsigned int cpu, cpu_stop_fn_t fn, void *arg) in stop_one_cpu()
335 int stop_two_cpus(unsigned int cpu1, unsigned int cpu2, cpu_stop_fn_t fn, void *arg) in stop_two_cpus()
385 bool stop_one_cpu_nowait(unsigned int cpu, cpu_stop_fn_t fn, void *arg, in stop_one_cpu_nowait()
394 cpu_stop_fn_t fn, void *arg, in queue_stop_cpus_work()
426 cpu_stop_fn_t fn, void *arg) in __stop_cpus()
465 static int stop_cpus(const struct cpumask *cpumask, cpu_stop_fn_t fn, void *arg) in stop_cpus()
505 void *arg = work->arg; in cpu_stopper_thread() local
Dtorture.c335 torture_onoff(void *arg) in torture_onoff()
551 static int torture_shuffle(void *arg) in torture_shuffle()
622 static int torture_shutdown(void *arg) in torture_shutdown()
756 static int torture_stutter(void *arg) in torture_stutter()
928 int _torture_create_kthread(int (*fn)(void *arg), void *arg, char *s, char *m, in _torture_create_kthread()
Dfreezer.c112 static int __set_task_frozen(struct task_struct *p, void *arg) in __set_task_frozen()
188 static int __restore_freezer_state(struct task_struct *p, void *arg) in __restore_freezer_state()
Dparams.c122 void *arg, in parse_one()
167 void *arg, in parse_args()
293 void param_free_charp(void *arg) in param_free_charp()
493 static void param_array_free(void *arg) in param_array_free()
Dcrash_dump.c29 static int __init setup_elfcorehdr(char *arg) in setup_elfcorehdr()
Dresource.c376 void *arg, in __walk_iomem_res_desc() argument
412 u64 end, void *arg, int (*func)(struct resource *, void *)) in walk_iomem_res_desc() argument
425 int walk_system_ram_res(u64 start, u64 end, void *arg, in walk_system_ram_res() argument
438 int walk_mem_res(u64 start, u64 end, void *arg, in walk_mem_res() argument
453 void *arg, int (*func)(unsigned long, unsigned long, void *)) in walk_system_ram_range() argument
477 static int __is_ram(unsigned long pfn, unsigned long nr_pages, void *arg) in __is_ram()
Dscftorture.c191 scf_torture_stats(void *arg) in scf_torture_stats()
442 static int scftorture_invoker(void *arg) in scftorture_invoker()
Dkcov.c528 static int kcov_get_mode(unsigned long arg) in kcov_get_mode()
575 unsigned long arg) in kcov_ioctl_locked()
680 static long kcov_ioctl(struct file *filep, unsigned int cmd, unsigned long arg) in kcov_ioctl()
/kernel/trace/
Dtrace_probe.c281 static int parse_probe_vars(char *arg, const struct fetch_type *t, in parse_probe_vars()
372 parse_probe_arg(char *arg, const struct fetch_type *type, in parse_probe_arg()
571 char *arg; in traceprobe_parse_probe_arg_body() local
797 int traceprobe_parse_probe_arg(struct trace_probe *tp, int i, const char *arg, in traceprobe_parse_probe_arg()
838 void traceprobe_free_probe_arg(struct probe_arg *arg) in traceprobe_free_probe_arg()
854 int traceprobe_update_arg(struct probe_arg *arg) in traceprobe_update_arg()
896 const char *fmt, *arg; in __set_print_fmt() local
Dtrace_probe_tmpl.h217 struct probe_arg *arg; in __get_data_size() local
237 struct probe_arg *arg; in store_trace_args() local
Dring_buffer_benchmark.c381 static int ring_buffer_consumer_thread(void *arg) in ring_buffer_consumer_thread()
401 static int ring_buffer_producer_thread(void *arg) in ring_buffer_producer_thread()
Dtrace_dynevent.c292 struct dynevent_arg *arg, in dynevent_arg_add()
427 void dynevent_arg_init(struct dynevent_arg *arg, in dynevent_arg_init()
Dtrace_benchmark.c147 static int benchmark_event_kthread(void *arg) in benchmark_event_kthread()
/kernel/irq/
Dmsi.c531 unsigned int nr_irqs, void *arg) in msi_domain_alloc()
583 msi_alloc_info_t *arg) in msi_domain_ops_get_hwirq()
589 int nvec, msi_alloc_info_t *arg) in msi_domain_ops_prepare()
595 static void msi_domain_ops_set_desc(msi_alloc_info_t *arg, in msi_domain_ops_set_desc()
604 msi_alloc_info_t *arg) in msi_domain_ops_init()
699 int nvec, msi_alloc_info_t *arg) in msi_domain_prepare_irqs()
713 int virq_base, int nvec, msi_alloc_info_t *arg) in msi_domain_populate_irqs()
855 msi_alloc_info_t arg = { }; in __msi_domain_alloc_irqs() local
Dirqdomain.c1479 unsigned int nr_irqs, void *arg) in irq_domain_alloc_irqs_hierarchy()
1490 unsigned int nr_irqs, int node, void *arg, in irq_domain_alloc_irqs_locked()
1558 unsigned int nr_irqs, int node, void *arg, in __irq_domain_alloc_irqs()
1610 int irq_domain_push_irq(struct irq_domain *domain, int virq, void *arg) in irq_domain_push_irq()
1786 void *arg) in irq_domain_alloc_irqs_parent()
1937 unsigned int nr_irqs, int node, void *arg, in irq_domain_alloc_irqs_locked()
/kernel/rcu/
Drcuscale.c373 rcu_scale_reader(void *arg) in rcu_scale_reader()
408 rcu_scale_writer(void *arg) in rcu_scale_writer()
565 kfree_scale_thread(void *arg) in kfree_scale_thread()
660 kfree_scale_shutdown(void *arg) in kfree_scale_shutdown()
810 rcu_scale_shutdown(void *arg) in rcu_scale_shutdown()
Dtree_nocb.h77 static int __init parse_rcu_nocb_poll(char *arg) in parse_rcu_nocb_poll()
894 static int rcu_nocb_gp_kthread(void *arg) in rcu_nocb_gp_kthread()
1002 static int rcu_nocb_cb_kthread(void *arg) in rcu_nocb_cb_kthread()
1111 static long rcu_nocb_rdp_deoffload(void *arg) in rcu_nocb_rdp_deoffload()
1230 static long rcu_nocb_rdp_offload(void *arg) in rcu_nocb_rdp_offload()
Drcutorture.c1061 static int rcu_torture_boost(void *arg) in rcu_torture_boost()
1159 rcu_torture_fqs(void *arg) in rcu_torture_fqs()
1334 rcu_torture_writer(void *arg) in rcu_torture_writer()
1566 rcu_torture_fakewriter(void *arg) in rcu_torture_fakewriter()
2028 rcu_torture_reader(void *arg) in rcu_torture_reader()
2069 static int rcu_nocb_toggle(void *arg) in rcu_nocb_toggle()
2240 rcu_torture_stats(void *arg) in rcu_torture_stats()
2978 static int rcu_torture_barrier_cbs(void *arg) in rcu_torture_barrier_cbs()
3016 static int rcu_torture_barrier(void *arg) in rcu_torture_barrier()
Drefscale.c537 ref_scale_reader(void *arg) in ref_scale_reader()
662 static int main_func(void *arg) in main_func()
796 ref_scale_shutdown(void *arg) in ref_scale_shutdown()
/kernel/time/
Dposix-clock.c73 unsigned int cmd, unsigned long arg) in posix_clock_ioctl()
91 unsigned int cmd, unsigned long arg) in posix_clock_compat_ioctl()
Dclocksource-wdtest.c104 static int wdtest_func(void *arg) in wdtest_func()
/kernel/power/
Duser.c250 unsigned long arg) in snapshot_ioctl()
425 snapshot_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in snapshot_compat_ioctl()
/kernel/sched/
Dwait_bit.c21 int wake_bit_function(struct wait_queue_entry *wq_entry, unsigned mode, int sync, void *arg) in wake_bit_function()
161 int sync, void *arg) in var_wake_function()
/kernel/locking/
Dlocktorture.c667 static int lock_torture_writer(void *arg) in lock_torture_writer()
706 static int lock_torture_reader(void *arg) in lock_torture_reader()
816 static int lock_torture_stats(void *arg) in lock_torture_stats()
/kernel/bpf/
Dinode.c348 static int bpf_mkprog(struct dentry *dentry, umode_t mode, void *arg) in bpf_mkprog()
354 static int bpf_mkmap(struct dentry *dentry, umode_t mode, void *arg) in bpf_mkmap()
363 static int bpf_mklink(struct dentry *dentry, umode_t mode, void *arg) in bpf_mklink()

123