Home
last modified time | relevance | path

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

12

/linux-5.19.10/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()
85 struct callback_head *
87 bool (*match)(struct callback_head *, void *data), in task_work_cancel_match() argument
90 struct callback_head **pprev = &task->task_works; in task_work_cancel_match()
91 struct callback_head *work; in task_work_cancel_match()
114 static bool task_work_func_match(struct callback_head *cb, void *data) in task_work_func_match()
130 struct callback_head *
147 struct callback_head *work, *head, *next; in task_work_run()
/linux-5.19.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()
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.h220 struct callback_head { struct
221 struct callback_head *next; argument
222 void (*func)(struct callback_head *head); argument
224 #define rcu_head callback_head
Dposix-timers.h141 struct callback_head work;
Duprobes.h71 struct callback_head dup_xol_work;
Dsched.h1098 struct callback_head *task_works;
1252 struct callback_head numa_work;
1482 struct callback_head mce_kill_me;
1500 struct callback_head l1d_flush_kill;
/linux-5.19.10/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-5.19.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()
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-5.19.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
/linux-5.19.10/io_uring/
Dio-wq.c57 struct callback_head create_work;
146 static void create_worker_cb(struct callback_head *cb);
197 static bool io_task_worker_match(struct callback_head *cb, void *data) in io_task_worker_match()
213 struct callback_head *cb = task_work_cancel_match(wq->task, in io_worker_exit()
318 static void create_worker_cb(struct callback_head *cb) in create_worker_cb()
755 static void create_worker_cont(struct callback_head *cb) in create_worker_cont()
1222 static bool io_task_work_match(struct callback_head *cb, void *data) in io_task_work_match()
1239 struct callback_head *cb; in io_wq_cancel_tw_create()
/linux-5.19.10/Documentation/bpf/
Ddrgn.rst202 .rcu = (struct callback_head){
203 .next = (struct callback_head *)0x0,
204 .func = (void (*)(struct callback_head *))0x0,
/linux-5.19.10/include/acpi/
Dghes.h38 struct callback_head task_work;
/linux-5.19.10/security/yama/
Dyama_lsm.c45 struct callback_head work;
51 static void __report_access(struct callback_head *work) in __report_access()
/linux-5.19.10/security/keys/
Dinternal.h172 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-5.19.10/arch/x86/kernel/cpu/mce/
Dcore.c1299 static void kill_me_now(struct callback_head *ch) in kill_me_now()
1307 static void kill_me_maybe(struct callback_head *cb) in kill_me_maybe()
1340 static void kill_me_never(struct callback_head *cb) in kill_me_never()
1350 static void queue_task_work(struct mce *m, char *msg, void (*func)(struct callback_head *)) in queue_task_work() argument
/linux-5.19.10/fs/
Dfile_table.c348 static void ____fput(struct callback_head *work) in ____fput()
/linux-5.19.10/kernel/sched/
Dsched.h1003 struct callback_head *balance_callback;
1511 extern struct callback_head balance_push_callback;
1691 struct callback_head *head, in queue_balance_callback()
1704 head->func = (void (*)(struct callback_head *))func; in queue_balance_callback()
Dcore.c4792 static void do_balance_callbacks(struct rq *rq, struct callback_head *head) in do_balance_callbacks()
4795 struct callback_head *next; in do_balance_callbacks()
4822 struct callback_head balance_push_callback = {
4824 .func = (void (*)(struct callback_head *))balance_push,
4827 static inline struct callback_head *
4830 struct callback_head *head = rq->balance_callback; in __splice_balance_callbacks()
4852 static inline struct callback_head *splice_balance_callbacks(struct rq *rq) in splice_balance_callbacks()
4862 static inline void balance_callbacks(struct rq *rq, struct callback_head *head) in balance_callbacks()
4879 static inline struct callback_head *splice_balance_callbacks(struct rq *rq) in splice_balance_callbacks()
4884 static inline void balance_callbacks(struct rq *rq, struct callback_head *head) in balance_callbacks()
[all …]
Ddeadline.c645 static DEFINE_PER_CPU(struct callback_head, dl_push_head);
646 static DEFINE_PER_CPU(struct callback_head, dl_pull_head);
/linux-5.19.10/arch/x86/mm/
Dtlb.c334 static void l1d_flush_force_sigbus(struct callback_head *ch) in l1d_flush_force_sigbus()
/linux-5.19.10/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