Home
last modified time | relevance | path

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

12

/linux-6.15/kernel/
H A Dtask_work.c7 static struct callback_head work_exited; /* all we need is ->next == NULL */
54 int task_work_add(struct task_struct *task, struct callback_head *work, in task_work_add()
57 struct callback_head *head; in task_work_add()
109 struct callback_head *
111 bool (*match)(struct callback_head *, void *data), in task_work_cancel_match() argument
114 struct callback_head **pprev = &task->task_works; in task_work_cancel_match()
115 struct callback_head *work; in task_work_cancel_match()
156 struct callback_head *
162 static bool task_work_match(struct callback_head *cb, void *data) in task_work_match()
179 struct callback_head *ret; in task_work_cancel()
[all …]
/linux-6.15/include/linux/
H A 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()
29 int task_work_add(struct task_struct *task, struct callback_head *twork,
32 struct callback_head *task_work_cancel_match(struct task_struct *task,
33 bool (*match)(struct callback_head *, void *data), void *data);
34 struct callback_head *task_work_cancel_func(struct task_struct *, task_work_func_t);
35 bool task_work_cancel(struct task_struct *task, struct callback_head *cb);
H A Dtypes.h237 struct callback_head { struct
238 struct callback_head *next; argument
239 void (*func)(struct callback_head *head); argument
241 #define rcu_head callback_head
H A Dposix-timers_types.h69 struct callback_head work;
H A Dio_uring_types.h109 struct callback_head task_work;
419 struct callback_head poll_wq_task_work;
H A Dsched.h1204 struct callback_head *task_works;
1362 struct callback_head numa_work;
1427 struct callback_head cid_work;
1614 struct callback_head mce_kill_me;
1632 struct callback_head l1d_flush_kill;
H A Duprobes.h141 struct callback_head dup_xol_work;
/linux-6.15/tools/testing/selftests/bpf/prog_tests/
H A 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-6.15/tools/testing/selftests/bpf/progs/
H A 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;
H A 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()
H A Dtest_core_read_macros.c16 struct callback_head k_probe_in = {};
19 struct callback_head *u_probe_in = 0;
H A Dexhandler_kern.c22 struct callback_head *work; in BPF_PROG()
/linux-6.15/io_uring/
H A Dio-wq.c61 struct callback_head create_work;
153 static void create_worker_cb(struct callback_head *cb);
213 static bool io_task_worker_match(struct callback_head *cb, void *data) in io_task_worker_match()
229 struct callback_head *cb = task_work_cancel_match(wq->task, in io_worker_exit()
342 static void create_worker_cb(struct callback_head *cb) in create_worker_cb()
799 static void create_worker_cont(struct callback_head *cb) in create_worker_cont()
1250 static bool io_task_work_match(struct callback_head *cb, void *data) in io_task_work_match()
1267 struct callback_head *cb; in io_wq_cancel_tw_create()
H A Dmsg_ring.c24 struct callback_head tw;
228 static void io_msg_tw_fd_complete(struct callback_head *head) in io_msg_tw_fd_complete()
H A Dio_uring.h99 void tctx_task_work(struct callback_head *cb);
H A Dio_uring.c1126 void tctx_task_work(struct callback_head *cb) in tctx_task_work()
2760 static __cold void io_activate_pollwq_cb(struct callback_head *cb) in io_activate_pollwq_cb()
2836 struct callback_head task_work;
2841 static __cold void io_tctx_exit_cb(struct callback_head *cb) in io_tctx_exit_cb()
/linux-6.15/Documentation/bpf/
H A Ddrgn.rst202 .rcu = (struct callback_head){
203 .next = (struct callback_head *)0x0,
204 .func = (void (*)(struct callback_head *))0x0,
/linux-6.15/include/acpi/
H A Dghes.h40 struct callback_head task_work;
/linux-6.15/security/yama/
H A Dyama_lsm.c46 struct callback_head work;
52 static void __report_access(struct callback_head *work) in __report_access()
/linux-6.15/tools/testing/selftests/bpf/test_kmods/
H A Dbpf_testmod_kfunc.h84 struct callback_head rcu;
/linux-6.15/security/keys/
H A Dinternal.h163 extern void key_change_session_keyring(struct callback_head *twork);
H A Dprocess_keys.c911 void key_change_session_keyring(struct callback_head *twork) in key_change_session_keyring()
/linux-6.15/arch/x86/kernel/cpu/mce/
H A Dcore.c1394 static void kill_me_now(struct callback_head *ch) in kill_me_now()
1402 static void kill_me_maybe(struct callback_head *cb) in kill_me_maybe()
1437 static void kill_me_never(struct callback_head *cb) in kill_me_never()
1449 static void queue_task_work(struct mce_hw_err *err, char *msg, void (*func)(struct callback_head *)) in queue_task_work() argument
/linux-6.15/fs/
H A Dfile_table.c491 static void ____fput(struct callback_head *work) in ____fput()
/linux-6.15/kernel/irq/
H A Dmanage.c1228 static void irq_thread_dtor(struct callback_head *unused) in irq_thread_dtor()
1297 struct callback_head on_exit_work; in irq_thread()

12