Home
last modified time | relevance | path

Searched refs:ls_count (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/fs/dlm/
Dlockspace.c29 static int ls_count; variable
233 ls_count = 0; in dlm_lockspace_init()
315 atomic_inc(&ls->ls_count); in dlm_find_lockspace_global()
332 atomic_inc(&ls->ls_count); in dlm_find_lockspace_local()
349 atomic_inc(&ls->ls_count); in dlm_find_lockspace_device()
361 if (atomic_dec_and_test(&ls->ls_count)) in dlm_put_lockspace()
368 wait_event(ls->ls_count_wait, atomic_read(&ls->ls_count) == 0); in remove_lockspace()
371 if (atomic_read(&ls->ls_count) != 0) { in remove_lockspace()
482 atomic_set(&ls->ls_count, 0); in new_lockspace()
715 if (!ls_count) in __dlm_new_lockspace()
[all …]
Drequestqueue.c134 if (!atomic_read(&ls->ls_count)) in purge_request()
Ddlm_internal.h565 atomic_t ls_count; /* refcount of processes in member
/linux-6.1.9/fs/nfs/
Dnfs4state.c858 refcount_inc(&ret->ls_count); in __nfs4_find_lock_state()
876 refcount_set(&lsp->ls_count, 1); in nfs4_alloc_lock_state()
940 if (!refcount_dec_and_lock(&lsp->ls_count, &state->state_lock)) in nfs4_put_lock_state()
960 refcount_inc(&lsp->ls_count); in nfs4_fl_copy_lock()
Dnfs4_fs.h155 refcount_t ls_count; member
Dnfs4proc.c2917 refcount_inc(&lsp->ls_count); in nfs41_check_expired_locks()