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

Go to the source code of this file.

Typedefs

typedef void(* task_work_func_t )(struct callback_head *)
 

Functions

int task_work_add (struct task_struct *task, struct callback_head *twork, bool)
 
struct callback_headtask_work_cancel (struct task_struct *, task_work_func_t)
 
void task_work_run (void)
 

Typedef Documentation

typedef void(* task_work_func_t)(struct callback_head *)

Definition at line 7 of file task_work.h.

Function Documentation

int task_work_add ( struct task_struct task,
struct callback_head twork,
bool   
)

Definition at line 8 of file task_work.c.

struct callback_head* task_work_cancel ( struct task_struct ,
task_work_func_t   
)
read

Definition at line 25 of file task_work.c.

void task_work_run ( void  )

Definition at line 49 of file task_work.c.