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

Go to the source code of this file.

Data Structures

struct  dlm_slot
 
struct  dlm_lockspace_ops
 

Functions

int dlm_new_lockspace (const char *name, const char *cluster, uint32_t flags, int lvblen, const struct dlm_lockspace_ops *ops, void *ops_arg, int *ops_result, dlm_lockspace_t **lockspace)
 
int dlm_release_lockspace (dlm_lockspace_t *lockspace, int force)
 
int dlm_lock (dlm_lockspace_t *lockspace, int mode, struct dlm_lksb *lksb, uint32_t flags, void *name, unsigned int namelen, uint32_t parent_lkid, void(*lockast)(void *astarg), void *astarg, void(*bast)(void *astarg, int mode))
 
int dlm_unlock (dlm_lockspace_t *lockspace, uint32_t lkid, uint32_t flags, struct dlm_lksb *lksb, void *astarg)
 

Function Documentation

int dlm_lock ( dlm_lockspace_t lockspace,
int  mode,
struct dlm_lksb lksb,
uint32_t  flags,
void name,
unsigned int  namelen,
uint32_t  parent_lkid,
void(*)(void *astarg)  lockast,
void astarg,
void(*)(void *astarg, int mode bast 
)

Definition at line 3399 of file lock.c.

int dlm_new_lockspace ( const char name,
const char cluster,
uint32_t  flags,
int  lvblen,
const struct dlm_lockspace_ops ops,
void ops_arg,
int ops_result,
dlm_lockspace_t **  lockspace 
)

Definition at line 679 of file lockspace.c.

int dlm_release_lockspace ( dlm_lockspace_t lockspace,
int  force 
)

Definition at line 863 of file lockspace.c.

int dlm_unlock ( dlm_lockspace_t lockspace,
uint32_t  lkid,
uint32_t  flags,
struct dlm_lksb lksb,
void astarg 
)

Definition at line 3452 of file lock.c.