Searched refs:so_lock (Results 1 – 3 of 3) sorted by relevance
511 spin_lock_init(&sp->so_lock); in nfs4_alloc_state_owner()516 seqcount_spinlock_init(&sp->so_reclaim_seqcount, &sp->so_lock); in nfs4_alloc_state_owner()734 spin_lock(&owner->so_lock); in nfs4_get_open_state()748 spin_unlock(&owner->so_lock); in nfs4_get_open_state()751 spin_unlock(&owner->so_lock); in nfs4_get_open_state()764 if (!refcount_dec_and_lock(&state->count, &owner->so_lock)) in nfs4_put_open_state()770 spin_unlock(&owner->so_lock); in nfs4_put_open_state()789 spin_lock(&owner->so_lock); in __nfs4_close()816 spin_unlock(&owner->so_lock); in __nfs4_close()1669 spin_lock(&sp->so_lock); in nfs4_reclaim_open_state()[all …]
118 spinlock_t so_lock; member
1683 __must_hold(&state->owner->so_lock) in nfs_set_open_stateid_locked()1709 spin_unlock(&state->owner->so_lock); in nfs_set_open_stateid_locked()1722 spin_lock(&state->owner->so_lock); in nfs_set_open_stateid_locked()1809 spin_lock(&state->owner->so_lock); in update_open_stateid()1838 spin_unlock(&state->owner->so_lock); in update_open_stateid()1894 spin_lock(&state->owner->so_lock); in nfs4_try_open_cached()1897 spin_unlock(&state->owner->so_lock); in nfs4_try_open_cached()1900 spin_unlock(&state->owner->so_lock); in nfs4_try_open_cached()3635 spin_lock(&state->owner->so_lock); in nfs4_close_prepare()3658 spin_unlock(&state->owner->so_lock); in nfs4_close_prepare()