| /linux/kernel/ |
| H A D | task_work.c | 7 static struct callback_head work_exited; /* all we need is ->next == NULL */ 59 int task_work_add(struct task_struct *task, struct callback_head *work, in task_work_add() 62 struct callback_head *head; in task_work_add() 115 struct callback_head * 117 bool (*match)(struct callback_head *, void *data), in task_work_cancel_match() argument 120 struct callback_head **pprev = &task->task_works; in task_work_cancel_match() 121 struct callback_head *work; in task_work_cancel_match() 146 static bool task_work_func_match(struct callback_head *cb, void *data) in task_work_func_match() 162 struct callback_head * 168 static bool task_work_match(struct callback_head *cb, void *data) in task_work_match() [all …]
|
| /linux/include/linux/ |
| H A D | task_work.h | 8 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 D | types.h | 246 struct callback_head { struct 247 struct callback_head *next; argument 248 void (*func)(struct callback_head *head); argument 250 #define rcu_head callback_head
|
| H A D | unwind_deferred_types.h | 38 struct callback_head work;
|
| H A D | posix-timers_types.h | 69 struct callback_head work;
|
| H A D | io_uring_types.h | 127 struct callback_head task_work; 461 struct callback_head poll_wq_task_work;
|
| H A D | sched.h | 889 struct callback_head sched_throttle_work; 1207 struct callback_head *task_works; 1369 struct callback_head numa_work; 1602 struct callback_head mce_kill_me; 1620 struct callback_head l1d_flush_kill;
|
| H A D | uprobes.h | 142 struct callback_head dup_xol_work;
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | core_read_macros.c | 6 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/drivers/android/binder/ |
| H A D | deferred_close.rs | 39 twork: MaybeUninit<bindings::callback_head>, 87 let callback_head = inner.cast::<bindings::callback_head>(); in close_fd() localVariable 95 unsafe { bindings::init_task_work(callback_head, Some(Self::do_close_fd)) }; in close_fd() 110 let res = unsafe { bindings::task_work_add(current, callback_head, TWA_RESUME) }; in close_fd() 176 unsafe extern "C" fn do_close_fd(inner: *mut bindings::callback_head) { in do_close_fd() argument
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | btf_dump_test_case_ordering.c | 45 struct callback_head { struct 46 struct callback_head *next; argument 47 void (*func)(struct callback_head *); argument 55 struct callback_head cb;
|
| H A D | kfree_skb.c | 19 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 D | test_core_read_macros.c | 16 struct callback_head k_probe_in = {}; 19 struct callback_head *u_probe_in = 0;
|
| H A D | exhandler_kern.c | 22 struct callback_head *work; in BPF_PROG()
|
| /linux/io_uring/ |
| H A D | io-wq.c | 63 struct callback_head create_work; 152 static void create_worker_cb(struct callback_head *cb); 222 static bool io_task_worker_match(struct callback_head *cb, void *data) in io_task_worker_match() 238 struct callback_head *cb = task_work_cancel_match(wq->task, in io_worker_exit() 351 static void create_worker_cb(struct callback_head *cb) in create_worker_cb() 841 static void create_worker_cont(struct callback_head *cb) in create_worker_cont() 1305 static bool io_task_work_match(struct callback_head *cb, void *data) in io_task_work_match() 1322 struct callback_head *cb; in io_wq_cancel_tw_create()
|
| H A D | msg_ring.c | 23 struct callback_head tw; 208 static void io_msg_tw_fd_complete(struct callback_head *head) in io_msg_tw_fd_complete()
|
| H A D | tw.h | 27 void tctx_task_work(struct callback_head *cb);
|
| H A D | tw.c | 143 void tctx_task_work(struct callback_head *cb) in tctx_task_work()
|
| /linux/rust/helpers/ |
| H A D | binder.c | 23 __rust_helper void rust_helper_init_task_work(struct callback_head *twork, in rust_helper_init_task_work()
|
| /linux/Documentation/bpf/ |
| H A D | drgn.rst | 202 .rcu = (struct callback_head){ 203 .next = (struct callback_head *)0x0, 204 .func = (void (*)(struct callback_head *))0x0,
|
| /linux/security/landlock/ |
| H A D | tsync.c | 60 struct callback_head work; 158 static void restrict_one_thread_callback(struct callback_head *work) in restrict_one_thread_callback()
|
| /linux/security/yama/ |
| H A D | yama_lsm.c | 46 struct callback_head work; 52 static void __report_access(struct callback_head *work) in __report_access()
|
| /linux/tools/testing/selftests/bpf/test_kmods/ |
| H A D | bpf_testmod_kfunc.h | 84 struct callback_head rcu;
|
| /linux/kernel/unwind/ |
| H A D | deferred.c | 187 static void unwind_deferred_task_work(struct callback_head *head) in unwind_deferred_task_work()
|
| /linux/security/keys/ |
| H A D | internal.h | 163 extern void key_change_session_keyring(struct callback_head *twork);
|