Home
last modified time | relevance | path

Searched refs:cl_lock (Results 1 – 13 of 13) sorted by relevance

/fs/nfs/
Dnfs4renewd.c118 spin_lock(&clp->cl_lock); in nfs4_schedule_state_renewal()
127 spin_unlock(&clp->cl_lock); in nfs4_schedule_state_renewal()
147 spin_lock(&clp->cl_lock); in nfs4_set_lease_period()
150 spin_unlock(&clp->cl_lock); in nfs4_set_lease_period()
Dcallback_proc.c141 spin_unlock(&clp->cl_lock); in nfs_layout_find_inode_by_stateid()
143 spin_lock(&clp->cl_lock); in nfs_layout_find_inode_by_stateid()
180 spin_unlock(&clp->cl_lock); in nfs_layout_find_inode_by_fh()
182 spin_lock(&clp->cl_lock); in nfs_layout_find_inode_by_fh()
199 spin_lock(&clp->cl_lock); in nfs_layout_find_inode()
205 spin_unlock(&clp->cl_lock); in nfs_layout_find_inode()
708 spin_lock(&cps->clp->cl_lock); in nfs4_callback_offload()
731 spin_unlock(&cps->clp->cl_lock); in nfs4_callback_offload()
Dnfs4state.c241 spin_lock(&clp->cl_lock); in nfs4_get_renew_cred()
249 spin_unlock(&clp->cl_lock); in nfs4_get_renew_cred()
548 spin_lock(&clp->cl_lock); in nfs4_gc_state_owners()
558 spin_unlock(&clp->cl_lock); in nfs4_gc_state_owners()
581 spin_lock(&clp->cl_lock); in nfs4_get_state_owner()
583 spin_unlock(&clp->cl_lock); in nfs4_get_state_owner()
589 spin_lock(&clp->cl_lock); in nfs4_get_state_owner()
591 spin_unlock(&clp->cl_lock); in nfs4_get_state_owner()
616 if (!atomic_dec_and_lock(&sp->so_count, &clp->cl_lock)) in nfs4_put_state_owner()
621 spin_unlock(&clp->cl_lock); in nfs4_put_state_owner()
[all …]
Ddelegation.c295 lockdep_is_held(&clp->cl_lock)); in nfs_detach_delegation_locked()
315 spin_lock(&clp->cl_lock); in nfs_detach_delegation()
317 spin_unlock(&clp->cl_lock); in nfs_detach_delegation()
379 spin_lock(&clp->cl_lock); in nfs_inode_set_delegation()
381 lockdep_is_held(&clp->cl_lock)); in nfs_inode_set_delegation()
424 spin_unlock(&clp->cl_lock); in nfs_inode_set_delegation()
Dpnfs.c274 spin_lock(&clp->cl_lock); in pnfs_free_layout_hdr()
276 spin_unlock(&clp->cl_lock); in pnfs_free_layout_hdr()
771 __must_hold(&clp->cl_lock) in pnfs_layout_bulk_destroy_byserver_locked()
792 spin_unlock(&clp->cl_lock); in pnfs_layout_bulk_destroy_byserver_locked()
796 spin_unlock(&clp->cl_lock); in pnfs_layout_bulk_destroy_byserver_locked()
800 spin_lock(&clp->cl_lock); in pnfs_layout_bulk_destroy_byserver_locked()
850 spin_lock(&clp->cl_lock); in pnfs_destroy_layouts_byfsid()
862 spin_unlock(&clp->cl_lock); in pnfs_destroy_layouts_byfsid()
876 spin_lock(&clp->cl_lock); in pnfs_destroy_layouts_byclid()
886 spin_unlock(&clp->cl_lock); in pnfs_destroy_layouts_byclid()
[all …]
Dnfs42proc.c149 spin_lock(&server->nfs_client->cl_lock); in handle_async_copy()
160 spin_unlock(&server->nfs_client->cl_lock); in handle_async_copy()
171 spin_unlock(&server->nfs_client->cl_lock); in handle_async_copy()
174 spin_lock(&server->nfs_client->cl_lock); in handle_async_copy()
176 spin_unlock(&server->nfs_client->cl_lock); in handle_async_copy()
Dnfs4session.c632 spin_lock(&clp->cl_lock); in nfs4_init_ds_session()
641 spin_unlock(&clp->cl_lock); in nfs4_init_ds_session()
Dnfs4client.c82 spin_lock(&ds_clp->cl_lock); in nfs4_add_ds_client()
92 spin_unlock(&ds_clp->cl_lock); /* need some lock to protect list */ in nfs4_add_ds_client()
214 spin_lock_init(&clp->cl_lock); in nfs4_alloc_client()
Dnfs4proc.c664 spin_lock(&clp->cl_lock); in do_renew_lease()
667 spin_unlock(&clp->cl_lock); in do_renew_lease()
/fs/nfsd/
Dnfs4state.c375 lockdep_assert_held(&clp->cl_lock); in find_openstateowner_str_locked()
393 spin_lock(&clp->cl_lock); in find_openstateowner_str()
395 spin_unlock(&clp->cl_lock); in find_openstateowner_str()
710 spin_lock(&cl->cl_lock); in nfs4_alloc_stid()
713 spin_unlock(&cl->cl_lock); in nfs4_alloc_stid()
911 might_lock(&clp->cl_lock); in nfs4_put_stid()
913 if (!refcount_dec_and_lock(&s->sc_count, &clp->cl_lock)) { in nfs4_put_stid()
918 spin_unlock(&clp->cl_lock); in nfs4_put_stid()
1070 spin_lock(&clp->cl_lock); in revoke_delegation()
1072 spin_unlock(&clp->cl_lock); in revoke_delegation()
[all …]
Dnfs4layouts.c163 spin_lock(&clp->cl_lock); in nfsd4_free_layout_stateid()
165 spin_unlock(&clp->cl_lock); in nfsd4_free_layout_stateid()
251 spin_lock(&clp->cl_lock); in nfsd4_alloc_layout_stateid()
254 spin_unlock(&clp->cl_lock); in nfsd4_alloc_layout_stateid()
543 spin_lock(&clp->cl_lock); in nfsd4_return_client_layouts()
561 spin_unlock(&clp->cl_lock); in nfsd4_return_client_layouts()
582 spin_lock(&clp->cl_lock); in nfsd4_return_all_client_layouts()
585 spin_unlock(&clp->cl_lock); in nfsd4_return_all_client_layouts()
Dnfs4callback.c968 spin_lock(&clp->cl_lock); in nfsd4_change_callback()
970 spin_unlock(&clp->cl_lock); in nfsd4_change_callback()
1214 spin_lock(&clp->cl_lock); in nfsd4_process_cb_update()
1228 spin_unlock(&clp->cl_lock); in nfsd4_process_cb_update()
Dstate.h348 spinlock_t cl_lock; member