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()
243 spin_lock(&clp->cl_lock); in nfs4_get_renew_cred()251 spin_unlock(&clp->cl_lock); in nfs4_get_renew_cred()551 spin_lock(&clp->cl_lock); in nfs4_gc_state_owners()561 spin_unlock(&clp->cl_lock); in nfs4_gc_state_owners()584 spin_lock(&clp->cl_lock); in nfs4_get_state_owner()586 spin_unlock(&clp->cl_lock); in nfs4_get_state_owner()592 spin_lock(&clp->cl_lock); in nfs4_get_state_owner()594 spin_unlock(&clp->cl_lock); in nfs4_get_state_owner()619 if (!atomic_dec_and_lock(&sp->so_count, &clp->cl_lock)) in nfs4_put_state_owner()624 spin_unlock(&clp->cl_lock); in nfs4_put_state_owner()[all …]
193 spin_lock(&dst_server->nfs_client->cl_lock); in handle_async_copy()205 spin_unlock(&dst_server->nfs_client->cl_lock); in handle_async_copy()217 spin_unlock(&dst_server->nfs_client->cl_lock); in handle_async_copy()220 spin_lock(&src_server->nfs_client->cl_lock); in handle_async_copy()222 spin_unlock(&src_server->nfs_client->cl_lock); in handle_async_copy()226 spin_lock(&dst_server->nfs_client->cl_lock); in handle_async_copy()228 spin_unlock(&dst_server->nfs_client->cl_lock); in handle_async_copy()230 spin_lock(&src_server->nfs_client->cl_lock); in handle_async_copy()232 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()
83 spin_lock(&ds_clp->cl_lock); in nfs4_add_ds_client()93 spin_unlock(&ds_clp->cl_lock); /* need some lock to protect list */ in nfs4_add_ds_client()218 spin_lock_init(&clp->cl_lock); in nfs4_alloc_client()
689 spin_lock(&clp->cl_lock); in do_renew_lease()692 spin_unlock(&clp->cl_lock); in do_renew_lease()
547 lockdep_assert_held(&clp->cl_lock); in find_openstateowner_str_locked()565 spin_lock(&clp->cl_lock); in find_openstateowner_str()567 spin_unlock(&clp->cl_lock); in find_openstateowner_str()948 spin_lock(&cl->cl_lock); in nfs4_alloc_stid()951 spin_unlock(&cl->cl_lock); in nfs4_alloc_stid()1205 might_lock(&clp->cl_lock); in nfs4_put_stid()1207 if (!refcount_dec_and_lock(&s->sc_count, &clp->cl_lock)) { in nfs4_put_stid()1213 spin_unlock(&clp->cl_lock); in nfs4_put_stid()1370 spin_lock(&clp->cl_lock); in revoke_delegation()1374 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()
1090 spin_lock(&clp->cl_lock); in nfsd4_change_callback()1092 spin_unlock(&clp->cl_lock); in nfsd4_change_callback()1367 spin_lock(&clp->cl_lock); in nfsd4_process_cb_update()1381 spin_unlock(&clp->cl_lock); in nfsd4_process_cb_update()
385 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()
274 spin_lock(&clnt->cl_lock); in rpc_clnt_set_transport()276 lockdep_is_held(&clnt->cl_lock)); in rpc_clnt_set_transport()283 spin_unlock(&clnt->cl_lock); in rpc_clnt_set_transport()410 spin_lock_init(&clnt->cl_lock); in rpc_new_client()883 spin_lock(&clnt->cl_lock); in rpc_killall_tasks()886 spin_unlock(&clnt->cl_lock); in rpc_killall_tasks()913 spin_lock(&clnt->cl_lock); in rpc_cancel_tasks()922 spin_unlock(&clnt->cl_lock); in rpc_cancel_tasks()1128 spin_lock(&clnt->cl_lock); in rpc_task_release_client()1130 spin_unlock(&clnt->cl_lock); in rpc_task_release_client()[all …]
76 spinlock_t cl_lock; member
50 spinlock_t cl_lock; /* spinlock */ member