| /kernel/ |
| A D | stop_machine.c | 46 cpu_stop_fn_t fn; member 169 cpu_stop_fn_t fn; member 342 .fn = fn, in stop_two_cpus() 410 work->fn = fn; in queue_stop_cpus_work() 503 cpu_stop_fn_t fn = work->fn; in cpu_stopper_thread() local 510 stopper->fn = fn; in cpu_stopper_thread() 512 ret = fn(arg); in cpu_stopper_thread() 591 .fn = fn, in stop_machine_cpuslocked() 612 ret = (*fn)(data); in stop_machine_cpuslocked() 641 .fn = fn, in stop_core_cpuslocked() [all …]
|
| A D | vhost_task.c | 17 bool (*fn)(void *data); member 49 did_work = vtsk->fn(vtsk->data); in vhost_task_fn() 118 struct vhost_task *vhost_task_create(bool (*fn)(void *), in vhost_task_create() 126 .fn = vhost_task_fn, in vhost_task_create() 140 vtsk->fn = fn; in vhost_task_create()
|
| A D | kallsyms.c | 242 int kallsyms_on_each_symbol(int (*fn)(void *, const char *, unsigned long), in kallsyms_on_each_symbol() 252 ret = fn(data, namebuf, kallsyms_sym_address(i)); in kallsyms_on_each_symbol() 260 int kallsyms_on_each_match_symbol(int (*fn)(void *, unsigned long), in kallsyms_on_each_match_symbol() 271 ret = fn(data, kallsyms_sym_address(get_symbol_seq(i))); in kallsyms_on_each_match_symbol()
|
| A D | fork.c | 2518 .fn = &idle_dummy, in fork_idle() 2539 struct task_struct *create_io_thread(int (*fn)(void *), void *arg, int node) in create_io_thread() 2547 .fn = fn, in create_io_thread() 2654 pid_t kernel_thread(int (*fn)(void *), void *arg, const char *name, in kernel_thread() 2661 .fn = fn, in kernel_thread() 2673 pid_t user_mode_thread(int (*fn)(void *), void *arg, unsigned long flags) in user_mode_thread() 2679 .fn = fn, in user_mode_thread()
|
| A D | torture.c | 937 int _torture_create_kthread(int (*fn)(void *arg), void *arg, char *s, char *m, in _torture_create_kthread() 943 *tp = kthread_create(fn, arg, "%s", s); in _torture_create_kthread()
|
| A D | workqueue.c | 4593 int execute_in_process_context(work_func_t fn, struct execute_work *ew) in execute_in_process_context() argument 4596 fn(&ew->work); in execute_in_process_context() 4600 INIT_WORK(&ew->work, fn); in execute_in_process_context() 6137 work_func_t *fn = NULL; in print_worker_info() local 6157 copy_from_kernel_nofault(&fn, &worker->current_func, sizeof(fn)); in print_worker_info() 6163 if (fn || name[0] || desc[0]) { in print_worker_info() 6164 printk("%sWorkqueue: %s %ps", log_lvl, name, fn); in print_worker_info() 6735 long (*fn)(void *); member 6744 wfc->ret = wfc->fn(wfc->arg); in work_for_cpu_fn() 6759 long work_on_cpu_key(int cpu, long (*fn)(void *), in work_on_cpu_key() [all …]
|
| A D | signal.c | 3178 return restart->fn(restart); in SYSCALL_DEFINE0()
|
| /kernel/gcov/ |
| A D | clang.c | 227 struct gcov_fn_info *fn; in gcov_info_reset() local 229 list_for_each_entry(fn, &info->functions, head) in gcov_info_reset() 230 memset(fn->counters, 0, in gcov_info_reset() 231 sizeof(fn->counters[0]) * fn->num_counters); in gcov_info_reset() 291 struct gcov_fn_info *fn_dup = kmemdup(fn, sizeof(*fn), in gcov_fn_info_dup() 297 cv_size = fn->num_counters * sizeof(fn->counters[0]); in gcov_fn_info_dup() 318 struct gcov_fn_info *fn; in gcov_info_dup() local 350 struct gcov_fn_info *fn, *tmp; in gcov_info_free() local 353 kvfree(fn->counters); in gcov_info_free() 354 list_del(&fn->head); in gcov_info_free() [all …]
|
| /kernel/trace/ |
| A D | tracing_map.c | 170 tracing_map_cmp_fn_t fn = tracing_map_cmp_none; in tracing_map_cmp_num() local 175 fn = tracing_map_cmp_s64; in tracing_map_cmp_num() 177 fn = tracing_map_cmp_u64; in tracing_map_cmp_num() 181 fn = tracing_map_cmp_s32; in tracing_map_cmp_num() 183 fn = tracing_map_cmp_u32; in tracing_map_cmp_num() 187 fn = tracing_map_cmp_s16; in tracing_map_cmp_num() 189 fn = tracing_map_cmp_u16; in tracing_map_cmp_num() 193 fn = tracing_map_cmp_s8; in tracing_map_cmp_num() 195 fn = tracing_map_cmp_u8; in tracing_map_cmp_num() 199 return fn; in tracing_map_cmp_num()
|
| A D | trace_events_filter.c | 1518 return fn; in select_comparison_fn() 1521 return fn; in select_comparison_fn() 1527 fn = FILTER_PRED_FN_64; in select_comparison_fn() 1529 fn = FILTER_PRED_FN_S64; in select_comparison_fn() 1531 fn = FILTER_PRED_FN_U64; in select_comparison_fn() 1535 fn = FILTER_PRED_FN_32; in select_comparison_fn() 1543 fn = FILTER_PRED_FN_16; in select_comparison_fn() 1551 fn = FILTER_PRED_FN_8; in select_comparison_fn() 1553 fn = FILTER_PRED_FN_S8; in select_comparison_fn() 1555 fn = FILTER_PRED_FN_U8; in select_comparison_fn() [all …]
|
| A D | bpf_trace.c | 1871 const struct bpf_func_proto *fn; in tracing_prog_func_proto() local 1930 fn = raw_tp_prog_func_proto(func_id, prog); in tracing_prog_func_proto() 1931 if (!fn && prog->expected_attach_type == BPF_TRACE_ITER) in tracing_prog_func_proto() 1932 fn = bpf_iter_get_func_proto(func_id, prog); in tracing_prog_func_proto() 1933 return fn; in tracing_prog_func_proto()
|
| A D | trace_events_hist.c | 609 action_fn_t fn; member 3749 data->fn = ontrack_action; in action_parse() 3771 data->fn = ontrack_action; in action_parse() 3792 data->fn = ontrack_action; in action_parse() 3794 data->fn = action_trace; in action_parse() 5274 data->fn(hist_data, elt, buffer, rec, rbe, key, data, var_ref_vals); in hist_trigger_actions()
|
| /kernel/locking/ |
| A D | test-ww_mutex.c | 596 void (*fn)(struct work_struct *work); in stress() local 598 fn = NULL; in stress() 602 fn = stress_inorder_work; in stress() 606 fn = stress_reorder_work; in stress() 610 fn = stress_one_work; in stress() 614 if (!fn) in stress() 619 INIT_WORK(&stress->work, fn); in stress()
|
| /kernel/time/ |
| A D | timer.c | 657 #define TIMER_HINT(fn, container, timr, hintfn) \ argument 659 .function = fn, \ 680 return *fn; in timer_debug_hint() 1722 void (*fn)(struct timer_list *), in call_timer_fn() 1747 fn(timer); in call_timer_fn() 1754 fn, count, preempt_count()); in call_timer_fn() 1776 void (*fn)(struct timer_list *); in expire_timers() local 1783 fn = timer->function; in expire_timers() 1785 if (WARN_ON_ONCE(!fn)) { in expire_timers() 1793 call_timer_fn(timer, fn, baseclk); in expire_timers() [all …]
|
| A D | posix-stubs.c | 116 current->restart_block.fn = do_no_restart_syscall; in SYSCALL_DEFINE4() 199 current->restart_block.fn = do_no_restart_syscall; in SYSCALL_DEFINE4()
|
| A D | hrtimer.c | 1723 enum hrtimer_restart (*fn)(struct hrtimer *); in __run_hrtimer() local 1742 fn = ACCESS_PRIVATE(timer, function); in __run_hrtimer() 1761 restart = fn(timer); in __run_hrtimer() 2179 current->restart_block.fn = do_no_restart_syscall; in SYSCALL_DEFINE2() 2201 current->restart_block.fn = do_no_restart_syscall; in SYSCALL_DEFINE2()
|
| A D | posix-timers.c | 1395 current->restart_block.fn = do_no_restart_syscall; in SYSCALL_DEFINE4() 1423 current->restart_block.fn = do_no_restart_syscall; in SYSCALL_DEFINE4()
|
| /kernel/kcsan/ |
| A D | kcsan_test.c | 148 void *fn; /* Function pointer to expected function of top frame. */ member 182 if (r->access[1].fn) { in __report_matches() 187 scnprintf(tmp[0], sizeof(tmp[0]), "%pS", r->access[0].fn); in __report_matches() 188 scnprintf(tmp[1], sizeof(tmp[1]), "%pS", r->access[1].fn); in __report_matches() 191 cmp < 0 ? r->access[0].fn : r->access[1].fn, in __report_matches() 192 cmp < 0 ? r->access[1].fn : r->access[0].fn); in __report_matches() 194 scnprintf(cur, end - cur, "%pS", r->access[0].fn); in __report_matches() 204 if (!r->access[1].fn) in __report_matches() 232 if (!r->access[1].fn) { in __report_matches()
|
| /kernel/bpf/ |
| A D | verifier.c | 10271 return !!fn->arg_btf_id[i]; in check_btf_id_ok() 10274 if (base_type(fn->arg_type[i]) != ARG_PTR_TO_BTF_ID && fn->arg_btf_id[i] && in check_btf_id_ok() 10286 return check_raw_mode_ok(fn) && in check_func_proto() 10287 check_arg_pair_ok(fn) && in check_func_proto() 11394 if (fn->allowed && !fn->allowed(env->prog)) { in check_helper_call() 11421 if (fn->might_sleep) { in check_helper_call() 11432 if (fn->might_sleep) { in check_helper_call() 11443 if (fn->might_sleep) { in check_helper_call() 11688 ret_type = fn->ret_type; in check_helper_call() 11803 ret_btf_id = *fn->ret_btf_id; in check_helper_call() [all …]
|
| A D | bpf_iter.c | 373 const struct bpf_func_proto *fn = NULL; in bpf_iter_get_func_proto() local 382 fn = reg_info->get_func_proto(func_id, prog); in bpf_iter_get_func_proto() 388 return fn; in bpf_iter_get_func_proto()
|
| A D | syscall.c | 5469 #define BPF_DO_BATCH(fn, ...) \ argument 5471 if (!fn) { \ 5475 err = fn(__VA_ARGS__); \
|
| /kernel/module/ |
| A D | kallsyms.c | 459 int (*fn)(void *, const char *, unsigned long), in module_kallsyms_on_each_symbol() 485 ret = fn(data, kallsyms_symbol_name(kallsyms, i), in module_kallsyms_on_each_symbol()
|
| /kernel/cgroup/ |
| A D | dmem.c | 731 u64 (*fn)(struct dmem_cgroup_pool_state *)) in dmemcg_limit_show() 743 val = fn(pool); in dmemcg_limit_show()
|
| A D | cgroup.c | 263 #define CGROUP_REF_EXPORT(fn) EXPORT_SYMBOL_GPL(fn); argument
|
| /kernel/futex/ |
| A D | waitwake.c | 747 restart->fn = do_no_restart_syscall; in futex_wait_restart()
|