Home
last modified time | relevance | path

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

/linux-6.1.9/fs/nfs/
Dnfs4state.c507 spin_lock_init(&sp->so_lock); in nfs4_alloc_state_owner()
512 seqcount_spinlock_init(&sp->so_reclaim_seqcount, &sp->so_lock); in nfs4_alloc_state_owner()
730 spin_lock(&owner->so_lock); in nfs4_get_open_state()
744 spin_unlock(&owner->so_lock); in nfs4_get_open_state()
747 spin_unlock(&owner->so_lock); in nfs4_get_open_state()
760 if (!refcount_dec_and_lock(&state->count, &owner->so_lock)) in nfs4_put_open_state()
766 spin_unlock(&owner->so_lock); in nfs4_put_open_state()
785 spin_lock(&owner->so_lock); in __nfs4_close()
812 spin_unlock(&owner->so_lock); in __nfs4_close()
1654 spin_lock(&sp->so_lock); in nfs4_reclaim_open_state()
[all …]
Dnfs4_fs.h117 spinlock_t so_lock; member
Dnfs4proc.c1682 __must_hold(&state->owner->so_lock) in nfs_set_open_stateid_locked()
1708 spin_unlock(&state->owner->so_lock); in nfs_set_open_stateid_locked()
1721 spin_lock(&state->owner->so_lock); in nfs_set_open_stateid_locked()
1808 spin_lock(&state->owner->so_lock); in update_open_stateid()
1837 spin_unlock(&state->owner->so_lock); in update_open_stateid()
1893 spin_lock(&state->owner->so_lock); in nfs4_try_open_cached()
1896 spin_unlock(&state->owner->so_lock); in nfs4_try_open_cached()
1899 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()