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()
145 spin_lock(&clp->cl_lock); in nfs4_set_lease_period()
147 spin_unlock(&clp->cl_lock); in nfs4_set_lease_period()
Dnfs4state.c243 spin_lock(&clp->cl_lock); in nfs4_get_renew_cred()
251 spin_unlock(&clp->cl_lock); in nfs4_get_renew_cred()
552 spin_lock(&clp->cl_lock); in nfs4_gc_state_owners()
562 spin_unlock(&clp->cl_lock); in nfs4_gc_state_owners()
585 spin_lock(&clp->cl_lock); in nfs4_get_state_owner()
587 spin_unlock(&clp->cl_lock); in nfs4_get_state_owner()
593 spin_lock(&clp->cl_lock); in nfs4_get_state_owner()
595 spin_unlock(&clp->cl_lock); in nfs4_get_state_owner()
620 if (!atomic_dec_and_lock(&sp->so_count, &clp->cl_lock)) in nfs4_put_state_owner()
625 spin_unlock(&clp->cl_lock); in nfs4_put_state_owner()
[all …]
Dnfs42proc.c185 spin_lock(&dst_server->nfs_client->cl_lock); in handle_async_copy()
197 spin_unlock(&dst_server->nfs_client->cl_lock); in handle_async_copy()
209 spin_unlock(&dst_server->nfs_client->cl_lock); in handle_async_copy()
212 spin_lock(&src_server->nfs_client->cl_lock); in handle_async_copy()
214 spin_unlock(&src_server->nfs_client->cl_lock); in handle_async_copy()
218 spin_lock(&dst_server->nfs_client->cl_lock); in handle_async_copy()
220 spin_unlock(&dst_server->nfs_client->cl_lock); in handle_async_copy()
222 spin_lock(&src_server->nfs_client->cl_lock); in handle_async_copy()
224 spin_unlock(&src_server->nfs_client->cl_lock); in handle_async_copy()
Ddelegation.c343 lockdep_is_held(&clp->cl_lock)); in nfs_detach_delegation_locked()
366 spin_lock(&clp->cl_lock); in nfs_detach_delegation()
368 spin_unlock(&clp->cl_lock); in nfs_detach_delegation()
453 spin_lock(&clp->cl_lock); in nfs_inode_set_delegation()
455 lockdep_is_held(&clp->cl_lock)); in nfs_inode_set_delegation()
515 spin_unlock(&clp->cl_lock); in nfs_inode_set_delegation()
Dpnfs.c285 spin_lock(&clp->cl_lock); in pnfs_free_layout_hdr()
287 spin_unlock(&clp->cl_lock); in pnfs_free_layout_hdr()
830 __must_hold(&clp->cl_lock) in pnfs_layout_bulk_destroy_byserver_locked()
852 spin_unlock(&clp->cl_lock); in pnfs_layout_bulk_destroy_byserver_locked()
856 spin_unlock(&clp->cl_lock); in pnfs_layout_bulk_destroy_byserver_locked()
859 spin_lock(&clp->cl_lock); in pnfs_layout_bulk_destroy_byserver_locked()
909 spin_lock(&clp->cl_lock); in pnfs_destroy_layouts_byfsid()
921 spin_unlock(&clp->cl_lock); in pnfs_destroy_layouts_byfsid()
935 spin_lock(&clp->cl_lock); in pnfs_destroy_layouts_byclid()
945 spin_unlock(&clp->cl_lock); in pnfs_destroy_layouts_byclid()
[all …]
Dnfs4session.c632 spin_lock(&clp->cl_lock); in nfs4_init_ds_session()
641 spin_unlock(&clp->cl_lock); in nfs4_init_ds_session()
Dcallback_proc.c709 spin_lock(&cps->clp->cl_lock); in nfs4_callback_offload()
732 spin_unlock(&cps->clp->cl_lock); in nfs4_callback_offload()
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()
217 spin_lock_init(&clp->cl_lock); in nfs4_alloc_client()
Dnfs4proc.c691 spin_lock(&clp->cl_lock); in do_renew_lease()
694 spin_unlock(&clp->cl_lock); in do_renew_lease()
/fs/nfsd/
Dnfs4state.c496 lockdep_assert_held(&clp->cl_lock); in find_openstateowner_str_locked()
514 spin_lock(&clp->cl_lock); in find_openstateowner_str()
516 spin_unlock(&clp->cl_lock); in find_openstateowner_str()
853 spin_lock(&cl->cl_lock); in nfs4_alloc_stid()
856 spin_unlock(&cl->cl_lock); in nfs4_alloc_stid()
1103 might_lock(&clp->cl_lock); in nfs4_put_stid()
1105 if (!refcount_dec_and_lock(&s->sc_count, &clp->cl_lock)) { in nfs4_put_stid()
1111 spin_unlock(&clp->cl_lock); in nfs4_put_stid()
1266 spin_lock(&clp->cl_lock); in revoke_delegation()
1270 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.c1019 spin_lock(&clp->cl_lock); in nfsd4_change_callback()
1021 spin_unlock(&clp->cl_lock); in nfsd4_change_callback()
1296 spin_lock(&clp->cl_lock); in nfsd4_process_cb_update()
1310 spin_unlock(&clp->cl_lock); in nfsd4_process_cb_update()
Dstate.h361 spinlock_t cl_lock; member