/linux-master/include/linux/ |
H A D | dlm_plock.h | 10 int dlm_posix_lock(dlm_lockspace_t *lockspace, u64 number, struct file *file, 12 int dlm_posix_unlock(dlm_lockspace_t *lockspace, u64 number, struct file *file, 14 int dlm_posix_cancel(dlm_lockspace_t *lockspace, u64 number, struct file *file, 16 int dlm_posix_get(dlm_lockspace_t *lockspace, u64 number, struct file *file,
|
H A D | dlm.h | 24 * Notfies lockspace user that locks from failed members will be granted. 26 * Identifies a failed lockspace member. 28 * Identifies lockspace members and lockspace generation number. 41 * Create/join a lockspace. 43 * name: lockspace name, null terminated, up to DLM_LOCKSPACE_LEN (not 57 * dlm_new_lockspace() should return -EEXIST if the lockspace exists. 63 * ops: callbacks that indicate lockspace recovery points so the 64 * caller can coordinate its recovery and know lockspace members. 74 * lockspace [all...] |
/linux-master/fs/dlm/ |
H A D | lockspace.h | 16 * The lockspace user is in the kernel (i.e. filesystem). Enables 19 * internal lockspace flag - will be removed in future 34 dlm_lockspace_t **lockspace);
|
H A D | Makefile | 7 lockspace.o \
|
H A D | plock.c | 17 #include "lockspace.h" 122 int dlm_posix_lock(dlm_lockspace_t *lockspace, u64 number, struct file *file, argument 130 ls = dlm_find_lockspace_local(lockspace); 288 int dlm_posix_unlock(dlm_lockspace_t *lockspace, u64 number, struct file *file, argument 296 ls = dlm_find_lockspace_local(lockspace); 359 int dlm_posix_cancel(dlm_lockspace_t *lockspace, u64 number, struct file *file, argument 373 ls = dlm_find_lockspace_local(lockspace); 412 rv = dlm_posix_unlock(lockspace, number, file, fl); 422 int dlm_posix_get(dlm_lockspace_t *lockspace, u64 number, struct file *file, argument 429 ls = dlm_find_lockspace_local(lockspace); [all...] |
H A D | lockspace.c | 15 #include "lockspace.h" 205 log_rinfo(ls, "%s the lockspace group...", in ? "joining" : "leaving"); 323 struct dlm_ls *dlm_find_lockspace_local(dlm_lockspace_t *lockspace) argument 329 if (ls->ls_local_handle == lockspace) { 383 /* Thread for sending/receiving messages for all lockspace's */ 407 int *ops_result, dlm_lockspace_t **lockspace) 463 *lockspace = ls; 628 group of nodes that are members of this lockspace (managed by the 630 current lockspace members are (via configfs) and then tells the 631 lockspace t 404 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) argument 679 __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) argument 709 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) argument 718 dlm_new_user_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) argument 893 dlm_release_lockspace(void *lockspace, int force) argument [all...] |
H A D | user.c | 22 #include "lockspace.h" 273 ls = dlm_find_lockspace_local(proc->lockspace); 323 ls = dlm_find_lockspace_local(proc->lockspace); 351 ls = dlm_find_lockspace_local(proc->lockspace); 366 lockspace is created multiple times from userspace. */ 395 /* The device is not registered. This happens when the lockspace 412 ls = dlm_find_lockspace_local(proc->lockspace); 424 dlm_lockspace_t *lockspace; local 433 NULL, NULL, &lockspace); 437 ls = dlm_find_lockspace_local(lockspace); 454 dlm_lockspace_t *lockspace; local [all...] |
H A D | dlm_internal.h | 127 * Save and manage recovery state for a lockspace. 183 * reply is needed. Only set when the lkb is on the lockspace waiters 291 struct dlm_ls *res_ls; /* the lockspace */ 549 uint32_t ls_global_id; /* global unique lockspace ID */ 670 * should begin recovery of the lockspace. 694 struct dlm_user_proc *proc; /* each process that opens the lockspace 714 dlm_lockspace_t *lockspace; member in struct:dlm_user_proc
|
H A D | lock.c | 69 #include "lockspace.h" 202 /* Threads cannot use the lockspace while it's being recovered */ 1259 it so we need to provide the lockspace explicitly */ 3207 int dlm_lock(dlm_lockspace_t *lockspace, argument 3223 ls = dlm_find_lockspace_local(lockspace); 3264 int dlm_unlock(dlm_lockspace_t *lockspace, argument 3275 ls = dlm_find_lockspace_local(lockspace); 4749 /* If the lockspace is in recovery mode (locking stopped), then normal 4761 /* If we were a member of this lockspace, left, and rejoined, 4763 lockspace generatio [all...] |
/linux-master/drivers/md/ |
H A D | md-cluster.c | 63 dlm_lockspace_t *lockspace; member in struct:md_cluster_info 195 res->ls = cinfo->lockspace; 891 &ops_rv, &cinfo->lockspace); 970 if (cinfo->lockspace) 971 dlm_release_lockspace(cinfo->lockspace, 2); 1034 dlm_release_lockspace(cinfo->lockspace, 2);
|