cregit-Linux how code gets into the kernel

Release 4.7 include/linux/task_work.h

Directory: include/linux
#ifndef _LINUX_TASK_WORK_H

#define _LINUX_TASK_WORK_H

#include <linux/list.h>
#include <linux/sched.h>


typedef void (*task_work_func_t)(struct callback_head *);


static inline void init_task_work(struct callback_head *twork, task_work_func_t func) { twork->func = func; }

Contributors

PersonTokensPropCommitsCommitProp
oleg nesterovoleg nesterov2095.24%150.00%
al viroal viro14.76%150.00%
Total21100.00%2100.00%

int task_work_add(struct task_struct *task, struct callback_head *twork, bool); struct callback_head *task_work_cancel(struct task_struct *, task_work_func_t); void task_work_run(void);
static inline void exit_task_work(struct task_struct *task) { task_work_run(); }

Contributors

PersonTokensPropCommitsCommitProp
oleg nesterovoleg nesterov15100.00%1100.00%
Total15100.00%1100.00%

#endif /* _LINUX_TASK_WORK_H */

Overall Contributors

PersonTokensPropCommitsCommitProp
oleg nesterovoleg nesterov9395.88%150.00%
al viroal viro44.12%150.00%
Total97100.00%2100.00%
Directory: include/linux
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
{% endraw %}