Home
last modified time | relevance | path

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

/linux-6.15/include/linux/
H A 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,
H A Ddlm.h88 int *ops_result, dlm_lockspace_t **lockspace);
96 int dlm_release_lockspace(dlm_lockspace_t *lockspace, int force);
142 int dlm_lock(dlm_lockspace_t *lockspace,
173 int dlm_unlock(dlm_lockspace_t *lockspace,
/linux-6.15/fs/dlm/
H A Dlockspace.c261 struct dlm_ls *ls = lockspace; in dlm_find_lockspace_local()
359 int *ops_result, dlm_lockspace_t **lockspace) in new_lockspace() argument
414 *lockspace = ls; in new_lockspace()
591 *lockspace = ls; in new_lockspace()
623 dlm_lockspace_t **lockspace) in __dlm_new_lockspace() argument
634 ops_result, lockspace); in __dlm_new_lockspace()
651 dlm_lockspace_t **lockspace) in dlm_new_lockspace() argument
654 ops, ops_arg, ops_result, lockspace); in dlm_new_lockspace()
661 dlm_lockspace_t **lockspace) in dlm_new_user_lockspace() argument
667 ops_arg, ops_result, lockspace); in dlm_new_user_lockspace()
[all …]
H A 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()
288 int dlm_posix_unlock(dlm_lockspace_t *lockspace, u64 number, struct file *file, in dlm_posix_unlock() argument
296 ls = dlm_find_lockspace_local(lockspace); in dlm_posix_unlock()
359 int dlm_posix_cancel(dlm_lockspace_t *lockspace, u64 number, struct file *file, in dlm_posix_cancel() argument
373 ls = dlm_find_lockspace_local(lockspace); in dlm_posix_cancel()
412 rv = dlm_posix_unlock(lockspace, number, file, fl); in dlm_posix_cancel()
422 int dlm_posix_get(dlm_lockspace_t *lockspace, u64 number, struct file *file, in dlm_posix_get() argument
429 ls = dlm_find_lockspace_local(lockspace); in dlm_posix_get()
H A Duser.c256 ls = dlm_find_lockspace_local(proc->lockspace); in device_user_lock()
306 ls = dlm_find_lockspace_local(proc->lockspace); in device_user_unlock()
334 ls = dlm_find_lockspace_local(proc->lockspace); in device_user_deadlock()
395 ls = dlm_find_lockspace_local(proc->lockspace); in device_user_purge()
407 dlm_lockspace_t *lockspace; in device_create_lockspace() local
416 NULL, NULL, &lockspace); in device_create_lockspace()
420 ls = dlm_find_lockspace_local(lockspace); in device_create_lockspace()
428 dlm_release_lockspace(lockspace, 0); in device_create_lockspace()
437 dlm_lockspace_t *lockspace; in device_remove_lockspace() local
451 lockspace = ls; in device_remove_lockspace()
[all …]
H A Dlockspace.h34 dlm_lockspace_t **lockspace);
H A DMakefile7 lockspace.o \
H A DKconfig15 Under the debugfs mount point, the name of each lockspace will
H A Ddlm_internal.h714 dlm_lockspace_t *lockspace; member
H A Dlock.c3372 int dlm_lock(dlm_lockspace_t *lockspace, in dlm_lock() argument
3388 ls = dlm_find_lockspace_local(lockspace); in dlm_lock()
3429 int dlm_unlock(dlm_lockspace_t *lockspace, in dlm_unlock() argument
3440 ls = dlm_find_lockspace_local(lockspace); in dlm_unlock()
/linux-6.15/drivers/md/
H A Dmd-cluster.c65 dlm_lockspace_t *lockspace; member
204 res->ls = cinfo->lockspace; in lockres_init()
902 &ops_rv, &cinfo->lockspace); in join()
981 if (cinfo->lockspace) in join()
982 dlm_release_lockspace(cinfo->lockspace, 2); in join()
1045 dlm_release_lockspace(cinfo->lockspace, 2); in leave()
/linux-6.15/Documentation/filesystems/
H A Ddlmfs.rst52 your lockspace can access. The easiest way to do this is via