Home
last modified time | relevance | path

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

/linux-6.6.21/include/linux/
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_cancel(dlm_lockspace_t *lockspace, u64 number, struct file *file,
16 int dlm_posix_get(dlm_lockspace_t *lockspace, u64 number, struct file *file,
Ddlm.h80 int *ops_result, dlm_lockspace_t **lockspace);
88 int dlm_release_lockspace(dlm_lockspace_t *lockspace, int force);
127 int dlm_lock(dlm_lockspace_t *lockspace,
158 int dlm_unlock(dlm_lockspace_t *lockspace,
/linux-6.6.21/fs/dlm/
Dlockspace.c323 struct dlm_ls *dlm_find_lockspace_local(dlm_lockspace_t *lockspace) in dlm_find_lockspace_local() argument
329 if (ls->ls_local_handle == lockspace) { in dlm_find_lockspace_local()
407 int *ops_result, dlm_lockspace_t **lockspace) in new_lockspace() argument
463 *lockspace = ls; in new_lockspace()
646 *lockspace = ls; in new_lockspace()
683 dlm_lockspace_t **lockspace) in __dlm_new_lockspace() argument
694 ops_result, lockspace); in __dlm_new_lockspace()
712 dlm_lockspace_t **lockspace) in dlm_new_lockspace() argument
715 ops, ops_arg, ops_result, lockspace); in dlm_new_lockspace()
722 dlm_lockspace_t **lockspace) in dlm_new_user_lockspace() argument
[all …]
Dplock.c122 int dlm_posix_lock(dlm_lockspace_t *lockspace, u64 number, struct file *file, in dlm_posix_lock() argument
130 ls = dlm_find_lockspace_local(lockspace); in dlm_posix_lock()
292 int dlm_posix_unlock(dlm_lockspace_t *lockspace, u64 number, struct file *file, in dlm_posix_unlock() argument
300 ls = dlm_find_lockspace_local(lockspace); in dlm_posix_unlock()
366 int dlm_posix_cancel(dlm_lockspace_t *lockspace, u64 number, struct file *file, in dlm_posix_cancel() argument
380 ls = dlm_find_lockspace_local(lockspace); in dlm_posix_cancel()
419 rv = dlm_posix_unlock(lockspace, number, file, fl); in dlm_posix_cancel()
429 int dlm_posix_get(dlm_lockspace_t *lockspace, u64 number, struct file *file, in dlm_posix_get() argument
436 ls = dlm_find_lockspace_local(lockspace); in dlm_posix_get()
Duser.c273 ls = dlm_find_lockspace_local(proc->lockspace); in device_user_lock()
323 ls = dlm_find_lockspace_local(proc->lockspace); in device_user_unlock()
351 ls = dlm_find_lockspace_local(proc->lockspace); in device_user_deadlock()
412 ls = dlm_find_lockspace_local(proc->lockspace); in device_user_purge()
424 dlm_lockspace_t *lockspace; in device_create_lockspace() local
433 NULL, NULL, &lockspace); in device_create_lockspace()
437 ls = dlm_find_lockspace_local(lockspace); in device_create_lockspace()
445 dlm_release_lockspace(lockspace, 0); in device_create_lockspace()
454 dlm_lockspace_t *lockspace; in device_remove_lockspace() local
468 lockspace = ls->ls_local_handle; in device_remove_lockspace()
[all …]
Dlockspace.h34 dlm_lockspace_t **lockspace);
DMakefile7 lockspace.o \
DKconfig15 Under the debugfs mount point, the name of each lockspace will
Ddlm_internal.h714 dlm_lockspace_t *lockspace; member
Dlock.c3204 int dlm_lock(dlm_lockspace_t *lockspace, in dlm_lock() argument
3220 ls = dlm_find_lockspace_local(lockspace); in dlm_lock()
3261 int dlm_unlock(dlm_lockspace_t *lockspace, in dlm_unlock() argument
3272 ls = dlm_find_lockspace_local(lockspace); in dlm_unlock()
/linux-6.6.21/drivers/md/
Dmd-cluster.c63 dlm_lockspace_t *lockspace; member
195 res->ls = cinfo->lockspace; in lockres_init()
884 &ops_rv, &cinfo->lockspace); in join()
963 if (cinfo->lockspace) in join()
964 dlm_release_lockspace(cinfo->lockspace, 2); in join()
1027 dlm_release_lockspace(cinfo->lockspace, 2); in leave()
/linux-6.6.21/Documentation/filesystems/
Ddlmfs.rst52 your lockspace can access. The easiest way to do this is via