cregit-Linux how code gets into the kernel

Release 4.14 include/linux/task_work.h

Directory: include/linux
/* SPDX-License-Identifier: GPL-2.0 */
#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 Nesterov2095.24%150.00%
Al 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 Nesterov15100.00%1100.00%
Total15100.00%1100.00%

#endif /* _LINUX_TASK_WORK_H */

Overall Contributors

PersonTokensPropCommitsCommitProp
Oleg Nesterov9394.90%133.33%
Al Viro44.08%133.33%
Greg Kroah-Hartman11.02%133.33%
Total98100.00%3100.00%
Directory: include/linux
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.