Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
task_work.c File Reference
#include <linux/spinlock.h>
#include <linux/task_work.h>
#include <linux/tracehook.h>

Go to the source code of this file.

Functions

int task_work_add (struct task_struct *task, struct callback_head *work, bool notify)
 
struct callback_headtask_work_cancel (struct task_struct *task, task_work_func_t func)
 
void task_work_run (void)
 

Function Documentation

int task_work_add ( struct task_struct task,
struct callback_head work,
bool  notify 
)

Definition at line 8 of file task_work.c.

struct callback_head* task_work_cancel ( struct task_struct task,
task_work_func_t  func 
)
read

Definition at line 25 of file task_work.c.

void task_work_run ( void  )

Definition at line 49 of file task_work.c.