Home
last modified time | relevance | path

Searched refs:callback_head (Results 1 – 25 of 31) sorted by relevance

12

/kernel/linux/linux-5.10/kernel/
Dtask_work.c6 static struct callback_head work_exited; /* all we need is ->next == NULL */
32 int task_work_add(struct task_struct *task, struct callback_head *work, in task_work_add()
35 struct callback_head *head; in task_work_add()
69 struct callback_head *
71 bool (*match)(struct callback_head *, void *data), in task_work_cancel_match() argument
74 struct callback_head **pprev = &task->task_works; in task_work_cancel_match()
75 struct callback_head *work; in task_work_cancel_match()
98 static bool task_work_func_match(struct callback_head *cb, void *data) in task_work_func_match()
114 struct callback_head *
131 struct callback_head *work, *head, *next; in task_work_run()
/kernel/linux/linux-5.10/include/linux/
Dtask_work.h8 typedef void (*task_work_func_t)(struct callback_head *);
11 init_task_work(struct callback_head *twork, task_work_func_t func) in init_task_work()
22 int task_work_add(struct task_struct *task, struct callback_head *twork,
25 struct callback_head *task_work_cancel_match(struct task_struct *task,
26 bool (*match)(struct callback_head *, void *data), void *data);
27 struct callback_head *task_work_cancel(struct task_struct *, task_work_func_t);
Dtypes.h216 struct callback_head { struct
217 struct callback_head *next; argument
218 void (*func)(struct callback_head *head); argument
220 #define rcu_head callback_head
Dposix-timers.h135 struct callback_head work;
Duprobes.h71 struct callback_head dup_xol_work;
Dsched.h1126 struct callback_head *task_works;
1278 struct callback_head numa_work;
1503 struct callback_head mce_kill_me;
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
Dbtf_dump_test_case_ordering.c45 struct callback_head { struct
46 struct callback_head *next; argument
47 void (*func)(struct callback_head *); argument
55 struct callback_head cb;
Dkfree_skb.c19 struct callback_head { struct
20 struct callback_head *next; argument
21 void (*func)(struct callback_head *head); argument
24 struct callback_head rcuhead;
64 struct callback_head *ptr; in BPF_PROG()
/kernel/linux/linux-5.10/tools/testing/selftests/rcutorture/formal/srcu-cbmc/include/linux/
Dtypes.h139 struct callback_head { struct
140 struct callback_head *next; argument
141 void (*func)(struct callback_head *head); argument
143 #define rcu_head callback_head
/kernel/linux/linux-5.10/io_uring/
Dio-wq.c55 struct callback_head create_work;
143 static void create_worker_cb(struct callback_head *cb);
194 static bool io_task_worker_match(struct callback_head *cb, void *data) in io_task_worker_match()
210 struct callback_head *cb = task_work_cancel_match(wq->task, in io_worker_exit()
311 static void create_worker_cb(struct callback_head *cb) in create_worker_cb()
745 static void create_worker_cont(struct callback_head *cb) in create_worker_cont()
1196 static bool io_task_work_match(struct callback_head *cb, void *data) in io_task_work_match()
1213 struct callback_head *cb; in io_wq_cancel_tw_create()
/kernel/linux/linux-5.10/Documentation/bpf/
Ddrgn.rst202 .rcu = (struct callback_head){
203 .next = (struct callback_head *)0x0,
204 .func = (void (*)(struct callback_head *))0x0,
/kernel/linux/linux-5.10/include/acpi/
Dghes.h38 struct callback_head task_work;
/kernel/linux/linux-5.10/security/yama/
Dyama_lsm.c45 struct callback_head work;
51 static void __report_access(struct callback_head *work) in __report_access()
/kernel/linux/linux-5.10/security/keys/
Dinternal.h172 extern void key_change_session_keyring(struct callback_head *twork);
Dprocess_keys.c910 void key_change_session_keyring(struct callback_head *twork) in key_change_session_keyring()
Dkeyctl.c1625 struct callback_head *newwork, *oldwork; in keyctl_session_to_parent()
/kernel/linux/linux-5.10/fs/
Dfile_table.c312 static void ____fput(struct callback_head *work) in ____fput()
/kernel/linux/linux-5.10/kernel/sched/
Dsched.h1077 struct callback_head *balance_callback;
1522 struct callback_head *head, in queue_balance_callback()
1530 head->func = (void (*)(struct callback_head *))func; in queue_balance_callback()
Ddeadline.c572 static DEFINE_PER_CPU(struct callback_head, dl_push_head);
573 static DEFINE_PER_CPU(struct callback_head, dl_pull_head);
Drt.c370 static DEFINE_PER_CPU(struct callback_head, rt_push_head);
371 static DEFINE_PER_CPU(struct callback_head, rt_pull_head);
/kernel/linux/linux-5.10/kernel/irq/
Dmanage.c1127 static void irq_thread_dtor(struct callback_head *unused) in irq_thread_dtor()
1196 struct callback_head on_exit_work; in irq_thread()
/kernel/linux/linux-5.10/arch/x86/kernel/cpu/mce/
Dcore.c1233 static void kill_me_now(struct callback_head *ch) in kill_me_now()
1241 static void kill_me_maybe(struct callback_head *cb) in kill_me_maybe()
/kernel/linux/linux-5.10/kernel/time/
Dposix-cpu-timers.c1098 static void posix_cpu_timers_work(struct callback_head *work) in posix_cpu_timers_work()
/kernel/linux/linux-5.10/drivers/acpi/apei/
Dghes.c429 static void ghes_kick_task_work(struct callback_head *head) in ghes_kick_task_work()
/kernel/linux/linux-5.10/kernel/events/
Duprobes.c1786 static void dup_xol_work(struct callback_head *work) in dup_xol_work()

12