Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
plock.c File Reference
#include <linux/fs.h>
#include <linux/miscdevice.h>
#include <linux/poll.h>
#include <linux/dlm.h>
#include <linux/dlm_plock.h>
#include <linux/slab.h>
#include "dlm_internal.h"
#include "lockspace.h"

Go to the source code of this file.

Data Structures

struct  plock_op
 
struct  plock_xop
 

Functions

int dlm_posix_lock (dlm_lockspace_t *lockspace, u64 number, struct file *file, int cmd, struct file_lock *fl)
 
 EXPORT_SYMBOL_GPL (dlm_posix_lock)
 
int dlm_posix_unlock (dlm_lockspace_t *lockspace, u64 number, struct file *file, struct file_lock *fl)
 
 EXPORT_SYMBOL_GPL (dlm_posix_unlock)
 
int dlm_posix_get (dlm_lockspace_t *lockspace, u64 number, struct file *file, struct file_lock *fl)
 
 EXPORT_SYMBOL_GPL (dlm_posix_get)
 
int dlm_plock_init (void)
 
void dlm_plock_exit (void)
 

Function Documentation

void dlm_plock_exit ( void  )

Definition at line 498 of file plock.c.

int dlm_plock_init ( void  )

Definition at line 482 of file plock.c.

int dlm_posix_get ( dlm_lockspace_t lockspace,
u64  number,
struct file file,
struct file_lock fl 
)

Definition at line 306 of file plock.c.

int dlm_posix_lock ( dlm_lockspace_t lockspace,
u64  number,
struct file file,
int  cmd,
struct file_lock fl 
)

Definition at line 104 of file plock.c.

int dlm_posix_unlock ( dlm_lockspace_t lockspace,
u64  number,
struct file file,
struct file_lock fl 
)

Definition at line 244 of file plock.c.

EXPORT_SYMBOL_GPL ( dlm_posix_lock  )
EXPORT_SYMBOL_GPL ( dlm_posix_unlock  )
EXPORT_SYMBOL_GPL ( dlm_posix_get  )