Home
last modified time | relevance | path

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

12

/Linux-v6.6/kernel/
Dtask_work.c6 static struct callback_head work_exited; /* all we need is ->next == NULL */
42 int task_work_add(struct task_struct *task, struct callback_head *work, in task_work_add()
45 struct callback_head *head; in task_work_add()
86 struct callback_head *
88 bool (*match)(struct callback_head *, void *data), in task_work_cancel_match() argument
91 struct callback_head **pprev = &task->task_works; in task_work_cancel_match()
92 struct callback_head *work; in task_work_cancel_match()
117 static bool task_work_func_match(struct callback_head *cb, void *data) in task_work_func_match()
133 struct callback_head *
150 struct callback_head *work, *head, *next; in task_work_run()
/Linux-v6.6/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()
28 int task_work_add(struct task_struct *task, struct callback_head *twork,
31 struct callback_head *task_work_cancel_match(struct task_struct *task,
32 bool (*match)(struct callback_head *, void *data), void *data);
33 struct callback_head *task_work_cancel(struct task_struct *, task_work_func_t);
Dtypes.h232 struct callback_head { struct
233 struct callback_head *next; argument
234 void (*func)(struct callback_head *head); argument
236 #define rcu_head callback_head
Dio_uring_types.h67 struct callback_head task_work;
368 struct callback_head poll_wq_task_work;
Dsched.h1115 struct callback_head *task_works;
1267 struct callback_head numa_work;
1323 struct callback_head cid_work;
1504 struct callback_head mce_kill_me;
1522 struct callback_head l1d_flush_kill;
Dposix-timers.h145 struct callback_head work;
Duprobes.h71 struct callback_head dup_xol_work;
/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/
Dcore_read_macros.c6 struct callback_head { struct
7 struct callback_head *next; argument
8 void (*func)(struct callback_head *head); argument
18 void (*func)(struct callback_head *head);
28 struct callback_head u_probe_in; in test_core_read_macros()
/Linux-v6.6/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()
Dtest_core_read_macros.c16 struct callback_head k_probe_in = {};
19 struct callback_head *u_probe_in = 0;
Dexhandler_kern.c22 struct callback_head *work; in BPF_PROG()
/Linux-v6.6/io_uring/
Dmsg_ring.c24 struct callback_head tw;
92 static void io_msg_tw_complete(struct callback_head *head) in io_msg_tw_complete()
210 static void io_msg_tw_fd_complete(struct callback_head *head) in io_msg_tw_fd_complete()
Dio-wq.c60 struct callback_head create_work;
141 static void create_worker_cb(struct callback_head *cb);
201 static bool io_task_worker_match(struct callback_head *cb, void *data) in io_task_worker_match()
216 struct callback_head *cb = task_work_cancel_match(wq->task, in io_worker_exit()
334 static void create_worker_cb(struct callback_head *cb) in create_worker_cb()
765 static void create_worker_cont(struct callback_head *cb) in create_worker_cont()
1198 static bool io_task_work_match(struct callback_head *cb, void *data) in io_task_work_match()
1215 struct callback_head *cb; in io_wq_cancel_tw_create()
Dio_uring.h64 void tctx_task_work(struct callback_head *cb);
Dio_uring.c1273 void tctx_task_work(struct callback_head *cb) in tctx_task_work()
2955 static __cold void io_activate_pollwq_cb(struct callback_head *cb) in io_activate_pollwq_cb()
3045 struct callback_head task_work;
3050 static __cold void io_tctx_exit_cb(struct callback_head *cb) in io_tctx_exit_cb()
/Linux-v6.6/Documentation/bpf/
Ddrgn.rst202 .rcu = (struct callback_head){
203 .next = (struct callback_head *)0x0,
204 .func = (void (*)(struct callback_head *))0x0,
/Linux-v6.6/include/acpi/
Dghes.h40 struct callback_head task_work;
/Linux-v6.6/security/yama/
Dyama_lsm.c45 struct callback_head work;
51 static void __report_access(struct callback_head *work) in __report_access()
/Linux-v6.6/security/keys/
Dinternal.h170 extern void key_change_session_keyring(struct callback_head *twork);
Dprocess_keys.c911 void key_change_session_keyring(struct callback_head *twork) in key_change_session_keyring()
/Linux-v6.6/arch/x86/kernel/cpu/mce/
Dcore.c1308 static void kill_me_now(struct callback_head *ch) in kill_me_now()
1316 static void kill_me_maybe(struct callback_head *cb) in kill_me_maybe()
1351 static void kill_me_never(struct callback_head *cb) in kill_me_never()
1363 static void queue_task_work(struct mce *m, char *msg, void (*func)(struct callback_head *)) in queue_task_work() argument
/Linux-v6.6/fs/
Dfile_table.c410 static void ____fput(struct callback_head *work) in ____fput()
/Linux-v6.6/arch/x86/mm/
Dtlb.c340 static void l1d_flush_force_sigbus(struct callback_head *ch) in l1d_flush_force_sigbus()
/Linux-v6.6/kernel/irq/
Dmanage.c1227 static void irq_thread_dtor(struct callback_head *unused) in irq_thread_dtor()
1296 struct callback_head on_exit_work; in irq_thread()

12