Lines Matching refs:fi_lock

425 	lockdep_assert_held(&f->fi_lock);  in find_writeable_file_locked()
438 spin_lock(&f->fi_lock); in find_writeable_file()
440 spin_unlock(&f->fi_lock); in find_writeable_file()
449 lockdep_assert_held(&f->fi_lock); in find_readable_file_locked()
462 spin_lock(&f->fi_lock); in find_readable_file()
464 spin_unlock(&f->fi_lock); in find_readable_file()
476 spin_lock(&f->fi_lock); in find_any_file()
483 spin_unlock(&f->fi_lock); in find_any_file()
526 lockdep_assert_held(&fp->fi_lock); in __nfs4_file_get_access()
537 lockdep_assert_held(&fp->fi_lock); in nfs4_file_get_access()
572 might_lock(&fp->fi_lock); in __nfs4_file_put_access()
574 if (atomic_dec_and_lock(&fp->fi_access[oflag], &fp->fi_lock)) { in __nfs4_file_put_access()
581 spin_unlock(&fp->fi_lock); in __nfs4_file_put_access()
624 lockdep_assert_held(&fp->fi_lock); in hash_clnt_odstate_locked()
644 if (refcount_dec_and_lock(&co->co_odcount, &fp->fi_lock)) { in put_clnt_odstate()
646 spin_unlock(&fp->fi_lock); in put_clnt_odstate()
664 spin_lock(&fp->fi_lock); in find_or_hash_clnt_odstate()
675 spin_unlock(&fp->fi_lock); in find_or_hash_clnt_odstate()
889 spin_lock(&fp->fi_lock); in put_deleg_file()
892 spin_unlock(&fp->fi_lock); in put_deleg_file()
937 lockdep_assert_held(&fp->fi_lock); in nfs4_delegation_exists()
967 lockdep_assert_held(&fp->fi_lock); in hash_delegation_locked()
996 spin_lock(&fp->fi_lock); in unhash_delegation_locked()
1000 spin_unlock(&fp->fi_lock); in unhash_delegation_locked()
1156 spin_lock(&fp->fi_lock); in recalculate_deny_mode()
1160 spin_unlock(&fp->fi_lock); in recalculate_deny_mode()
1232 spin_lock(&fp->fi_lock); in unhash_ol_stateid()
1234 spin_unlock(&fp->fi_lock); in unhash_ol_stateid()
3486 spin_lock_init(&fp->fi_lock); in nfsd4_init_file()
3647 lockdep_assert_held(&fp->fi_lock); in nfsd4_find_existing_open()
3701 spin_lock(&fp->fi_lock); in nfsd4_find_and_lock_existing_open()
3703 spin_unlock(&fp->fi_lock); in nfsd4_find_and_lock_existing_open()
3757 spin_lock(&fp->fi_lock); in init_open_stateid()
3777 spin_unlock(&fp->fi_lock); in init_open_stateid()
3898 spin_lock(&fp->fi_lock); in nfs4_share_conflict()
3901 spin_unlock(&fp->fi_lock); in nfs4_share_conflict()
3997 spin_lock(&fp->fi_lock); in nfsd_break_deleg_cb()
4000 spin_unlock(&fp->fi_lock); in nfsd_break_deleg_cb()
4227 spin_lock(&fp->fi_lock); in nfs4_get_vfs_file()
4235 spin_unlock(&fp->fi_lock); in nfs4_get_vfs_file()
4242 spin_unlock(&fp->fi_lock); in nfs4_get_vfs_file()
4256 spin_unlock(&fp->fi_lock); in nfs4_get_vfs_file()
4260 spin_lock(&fp->fi_lock); in nfs4_get_vfs_file()
4266 spin_unlock(&fp->fi_lock); in nfs4_get_vfs_file()
4292 spin_lock(&fp->fi_lock); in nfs4_upgrade_open()
4299 spin_unlock(&fp->fi_lock); in nfs4_upgrade_open()
4365 spin_lock(&fp->fi_lock); in nfs4_set_delegation()
4376 spin_unlock(&fp->fi_lock); in nfs4_set_delegation()
4399 spin_lock(&fp->fi_lock); in nfs4_set_delegation()
4404 spin_unlock(&fp->fi_lock); in nfs4_set_delegation()
5827 spin_lock(&fp->fi_lock); in init_lock_stateid()
5831 spin_unlock(&fp->fi_lock); in init_lock_stateid()
5892 lockdep_assert_held(&fp->fi_lock); in get_lock_access()
6036 spin_lock(&fp->fi_lock); in nfsd4_lock()
6040 spin_unlock(&fp->fi_lock); in nfsd4_lock()
6048 spin_lock(&fp->fi_lock); in nfsd4_lock()
6052 spin_unlock(&fp->fi_lock); in nfsd4_lock()