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

Go to the source code of this file.

Data Structures

union  futex_key
 

Macros

#define FUT_OFF_INODE   1 /* We set bit 0 if key has a reference on inode */
 
#define FUT_OFF_MMSHARED   2 /* We set bit 1 if key has a reference on mm */
 
#define FUTEX_KEY_INIT   (union futex_key) { .both = { .ptr = NULL } }
 

Functions

long do_futex (u32 __user *uaddr, int op, u32 val, union ktime *timeout, u32 __user *uaddr2, u32 val2, u32 val3)
 
int handle_futex_death (u32 __user *uaddr, struct task_struct *curr, int pi)
 

Macro Definition Documentation

#define FUT_OFF_INODE   1 /* We set bit 0 if key has a reference on inode */

Definition at line 32 of file futex.h.

#define FUT_OFF_MMSHARED   2 /* We set bit 1 if key has a reference on mm */

Definition at line 33 of file futex.h.

#define FUTEX_KEY_INIT   (union futex_key) { .both = { .ptr = NULL } }

Definition at line 53 of file futex.h.

Function Documentation

long do_futex ( u32 __user uaddr,
int  op,
u32  val,
union ktime timeout,
u32 __user uaddr2,
u32  val2,
u32  val3 
)

Definition at line 2642 of file futex.c.

int handle_futex_death ( u32 __user uaddr,
struct task_struct curr,
int  pi 
)

Definition at line 2508 of file futex.c.