Home
last modified time | relevance | path

Searched refs:so_lock (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/fs/nfs/
Dnfs4state.c511 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 …]
Dnfs4_fs.h118 spinlock_t so_lock; member
Dnfs4proc.c1685 __must_hold(&state->owner->so_lock) in nfs_set_open_stateid_locked()
1711 spin_unlock(&state->owner->so_lock); in nfs_set_open_stateid_locked()
1724 spin_lock(&state->owner->so_lock); in nfs_set_open_stateid_locked()
1811 spin_lock(&state->owner->so_lock); in update_open_stateid()
1840 spin_unlock(&state->owner->so_lock); in update_open_stateid()
1896 spin_lock(&state->owner->so_lock); in nfs4_try_open_cached()
1899 spin_unlock(&state->owner->so_lock); in nfs4_try_open_cached()
1902 spin_unlock(&state->owner->so_lock); in nfs4_try_open_cached()
3637 spin_lock(&state->owner->so_lock); in nfs4_close_prepare()
3660 spin_unlock(&state->owner->so_lock); in nfs4_close_prepare()