Home
last modified time | relevance | path

Searched refs:lockspace (Results 1 – 12 of 12) sorted by relevance

/Linux-v5.4/include/linux/
Ddlm.h86 int *ops_result, dlm_lockspace_t **lockspace);
94 int dlm_release_lockspace(dlm_lockspace_t *lockspace, int force);
133 int dlm_lock(dlm_lockspace_t *lockspace,
164 int dlm_unlock(dlm_lockspace_t *lockspace,
Ddlm_plock.h10 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_get(dlm_lockspace_t *lockspace, u64 number, struct file *file,
/Linux-v5.4/fs/dlm/
Dmidcomms.c68 uint32_t lockspace; in dlm_process_incoming_buffer() local
80 lockspace = p->header.h_lockspace; in dlm_process_incoming_buffer()
120 BUG_ON(lockspace != p->header.h_lockspace); in dlm_process_incoming_buffer()
Duser.c244 ls = dlm_find_lockspace_local(proc->lockspace); in device_user_lock()
297 ls = dlm_find_lockspace_local(proc->lockspace); in device_user_unlock()
325 ls = dlm_find_lockspace_local(proc->lockspace); in device_user_deadlock()
386 ls = dlm_find_lockspace_local(proc->lockspace); in device_user_purge()
398 dlm_lockspace_t *lockspace; in device_create_lockspace() local
407 &lockspace); in device_create_lockspace()
411 ls = dlm_find_lockspace_local(lockspace); in device_create_lockspace()
419 dlm_release_lockspace(lockspace, 0); in device_create_lockspace()
428 dlm_lockspace_t *lockspace; in device_remove_lockspace() local
442 lockspace = ls->ls_local_handle; in device_remove_lockspace()
[all …]
Dlockspace.c336 struct dlm_ls *dlm_find_lockspace_local(dlm_lockspace_t *lockspace) in dlm_find_lockspace_local() argument
342 if (ls->ls_local_handle == lockspace) { in dlm_find_lockspace_local()
426 int *ops_result, dlm_lockspace_t **lockspace) in new_lockspace() argument
482 *lockspace = ls; in new_lockspace()
663 *lockspace = ls; in new_lockspace()
699 int *ops_result, dlm_lockspace_t **lockspace) in dlm_new_lockspace() argument
710 ops_result, lockspace); in dlm_new_lockspace()
878 int dlm_release_lockspace(void *lockspace, int force) in dlm_release_lockspace() argument
883 ls = dlm_find_lockspace_local(lockspace); in dlm_release_lockspace()
Dplock.c101 int dlm_posix_lock(dlm_lockspace_t *lockspace, u64 number, struct file *file, in dlm_posix_lock() argument
109 ls = dlm_find_lockspace_local(lockspace); in dlm_posix_lock()
241 int dlm_posix_unlock(dlm_lockspace_t *lockspace, u64 number, struct file *file, in dlm_posix_unlock() argument
249 ls = dlm_find_lockspace_local(lockspace); in dlm_posix_unlock()
315 int dlm_posix_get(dlm_lockspace_t *lockspace, u64 number, struct file *file, in dlm_posix_get() argument
322 ls = dlm_find_lockspace_local(lockspace); in dlm_posix_get()
DMakefile7 lockspace.o \
DKconfig15 Under the debugfs mount point, the name of each lockspace will
Ddlm_internal.h690 dlm_lockspace_t *lockspace; member
Dlock.c3410 int dlm_lock(dlm_lockspace_t *lockspace, in dlm_lock() argument
3426 ls = dlm_find_lockspace_local(lockspace); in dlm_lock()
3463 int dlm_unlock(dlm_lockspace_t *lockspace, in dlm_unlock() argument
3474 ls = dlm_find_lockspace_local(lockspace); in dlm_unlock()
/Linux-v5.4/drivers/md/
Dmd-cluster.c63 dlm_lockspace_t *lockspace; member
195 res->ls = cinfo->lockspace; in lockres_init()
876 &md_ls_ops, mddev, &ops_rv, &cinfo->lockspace); in join()
954 if (cinfo->lockspace) in join()
955 dlm_release_lockspace(cinfo->lockspace, 2); in join()
1018 dlm_release_lockspace(cinfo->lockspace, 2); in leave()
/Linux-v5.4/Documentation/filesystems/
Ddlmfs.txt47 your lockspace can access. The easiest way to do this is via