Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
flock.c File Reference
#include "internal.h"

Go to the source code of this file.

Macros

#define AFS_LOCK_GRANTED   0
 
#define AFS_LOCK_PENDING   1
 

Functions

void __exit afs_kill_lock_manager (void)
 
void afs_lock_may_be_available (struct afs_vnode *vnode)
 
void afs_lock_work (struct work_struct *work)
 
int afs_lock (struct file *file, int cmd, struct file_lock *fl)
 
int afs_flock (struct file *file, int cmd, struct file_lock *fl)
 

Macro Definition Documentation

#define AFS_LOCK_GRANTED   0

Definition at line 14 of file flock.c.

#define AFS_LOCK_PENDING   1

Definition at line 15 of file flock.c.

Function Documentation

int afs_flock ( struct file file,
int  cmd,
struct file_lock fl 
)

Definition at line 538 of file flock.c.

void __exit afs_kill_lock_manager ( void  )

Definition at line 52 of file flock.c.

int afs_lock ( struct file file,
int  cmd,
struct file_lock fl 
)

Definition at line 515 of file flock.c.

void afs_lock_may_be_available ( struct afs_vnode vnode)

Definition at line 61 of file flock.c.

void afs_lock_work ( struct work_struct work)

Definition at line 106 of file flock.c.