Searched refs:cl_lock (Results 1 – 17 of 17) sorted by relevance
118 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()
241 spin_lock(&clp->cl_lock); in nfs4_get_renew_cred()249 spin_unlock(&clp->cl_lock); in nfs4_get_renew_cred()547 spin_lock(&clp->cl_lock); in nfs4_gc_state_owners()557 spin_unlock(&clp->cl_lock); in nfs4_gc_state_owners()580 spin_lock(&clp->cl_lock); in nfs4_get_state_owner()582 spin_unlock(&clp->cl_lock); in nfs4_get_state_owner()588 spin_lock(&clp->cl_lock); in nfs4_get_state_owner()590 spin_unlock(&clp->cl_lock); in nfs4_get_state_owner()615 if (!atomic_dec_and_lock(&sp->so_count, &clp->cl_lock)) in nfs4_put_state_owner()620 spin_unlock(&clp->cl_lock); in nfs4_put_state_owner()[all …]
192 spin_lock(&dst_server->nfs_client->cl_lock); in handle_async_copy()204 spin_unlock(&dst_server->nfs_client->cl_lock); in handle_async_copy()216 spin_unlock(&dst_server->nfs_client->cl_lock); in handle_async_copy()219 spin_lock(&src_server->nfs_client->cl_lock); in handle_async_copy()221 spin_unlock(&src_server->nfs_client->cl_lock); in handle_async_copy()225 spin_lock(&dst_server->nfs_client->cl_lock); in handle_async_copy()227 spin_unlock(&dst_server->nfs_client->cl_lock); in handle_async_copy()229 spin_lock(&src_server->nfs_client->cl_lock); in handle_async_copy()231 spin_unlock(&src_server->nfs_client->cl_lock); in handle_async_copy()
343 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()
285 spin_lock(&clp->cl_lock); in pnfs_free_layout_hdr()287 spin_unlock(&clp->cl_lock); in pnfs_free_layout_hdr()833 __must_hold(&clp->cl_lock) in pnfs_layout_bulk_destroy_byserver_locked()855 spin_unlock(&clp->cl_lock); in pnfs_layout_bulk_destroy_byserver_locked()859 spin_unlock(&clp->cl_lock); in pnfs_layout_bulk_destroy_byserver_locked()862 spin_lock(&clp->cl_lock); in pnfs_layout_bulk_destroy_byserver_locked()912 spin_lock(&clp->cl_lock); in pnfs_destroy_layouts_byfsid()924 spin_unlock(&clp->cl_lock); in pnfs_destroy_layouts_byfsid()938 spin_lock(&clp->cl_lock); in pnfs_destroy_layouts_byclid()948 spin_unlock(&clp->cl_lock); in pnfs_destroy_layouts_byclid()[all …]
636 spin_lock(&clp->cl_lock); in nfs4_init_ds_session()645 spin_unlock(&clp->cl_lock); in nfs4_init_ds_session()
709 spin_lock(&cps->clp->cl_lock); in nfs4_callback_offload()732 spin_unlock(&cps->clp->cl_lock); in nfs4_callback_offload()
82 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()
682 spin_lock(&clp->cl_lock); in do_renew_lease()685 spin_unlock(&clp->cl_lock); in do_renew_lease()
544 lockdep_assert_held(&clp->cl_lock); in find_openstateowner_str_locked()562 spin_lock(&clp->cl_lock); in find_openstateowner_str()564 spin_unlock(&clp->cl_lock); in find_openstateowner_str()941 spin_lock(&cl->cl_lock); in nfs4_alloc_stid()944 spin_unlock(&cl->cl_lock); in nfs4_alloc_stid()1196 might_lock(&clp->cl_lock); in nfs4_put_stid()1198 if (!refcount_dec_and_lock(&s->sc_count, &clp->cl_lock)) { in nfs4_put_stid()1204 spin_unlock(&clp->cl_lock); in nfs4_put_stid()1361 spin_lock(&clp->cl_lock); in revoke_delegation()1363 spin_unlock(&clp->cl_lock); in revoke_delegation()[all …]
164 spin_lock(&clp->cl_lock); in nfsd4_free_layout_stateid()166 spin_unlock(&clp->cl_lock); in nfsd4_free_layout_stateid()252 spin_lock(&clp->cl_lock); in nfsd4_alloc_layout_stateid()255 spin_unlock(&clp->cl_lock); in nfsd4_alloc_layout_stateid()544 spin_lock(&clp->cl_lock); in nfsd4_return_client_layouts()562 spin_unlock(&clp->cl_lock); in nfsd4_return_client_layouts()583 spin_lock(&clp->cl_lock); in nfsd4_return_all_client_layouts()586 spin_unlock(&clp->cl_lock); in nfsd4_return_all_client_layouts()
1016 spin_lock(&clp->cl_lock); in nfsd4_change_callback()1018 spin_unlock(&clp->cl_lock); in nfsd4_change_callback()1293 spin_lock(&clp->cl_lock); in nfsd4_process_cb_update()1307 spin_unlock(&clp->cl_lock); in nfsd4_process_cb_update()
384 spinlock_t cl_lock; member
43 __acquires(&clnt->cl_lock) in tasks_start()49 spin_lock(&clnt->cl_lock); in tasks_start()73 __releases(&clnt->cl_lock) in tasks_stop()76 spin_unlock(&clnt->cl_lock); in tasks_stop()
271 spin_lock(&clnt->cl_lock); in rpc_clnt_set_transport()273 lockdep_is_held(&clnt->cl_lock)); in rpc_clnt_set_transport()280 spin_unlock(&clnt->cl_lock); in rpc_clnt_set_transport()406 spin_lock_init(&clnt->cl_lock); in rpc_new_client()869 spin_lock(&clnt->cl_lock); in rpc_killall_tasks()872 spin_unlock(&clnt->cl_lock); in rpc_killall_tasks()899 spin_lock(&clnt->cl_lock); in rpc_cancel_tasks()908 spin_unlock(&clnt->cl_lock); in rpc_cancel_tasks()1112 spin_lock(&clnt->cl_lock); in rpc_task_release_client()1114 spin_unlock(&clnt->cl_lock); in rpc_task_release_client()[all …]
74 spinlock_t cl_lock; member
44 spinlock_t cl_lock; /* spinlock */ member