Home
last modified time | relevance | path

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

/openbmc/linux/fs/nfs/
H A 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()
H A Dnfs4state.c243 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 …]
H A Dnfs42proc.c193 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()
H A 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()
H A Dpnfs.c285 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 …]
H A Dnfs4session.c636 spin_lock(&clp->cl_lock); in nfs4_init_ds_session()
645 spin_unlock(&clp->cl_lock); in nfs4_init_ds_session()
H A Dcallback_proc.c709 spin_lock(&cps->clp->cl_lock); in nfs4_callback_offload()
732 spin_unlock(&cps->clp->cl_lock); in nfs4_callback_offload()
H A Dnfs4client.c83 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()
H A Dnfs4proc.c689 spin_lock(&clp->cl_lock); in do_renew_lease()
692 spin_unlock(&clp->cl_lock); in do_renew_lease()
/openbmc/linux/fs/nfsd/
H A Dnfs4state.c547 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 …]
H A Dnfs4layouts.c164 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()
H A Dnfs4callback.c1090 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()
H A Dstate.h385 spinlock_t cl_lock; member
/openbmc/linux/net/sunrpc/
H A Ddebugfs.c43 __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()
H A Dclnt.c274 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 …]
/openbmc/linux/include/linux/
H A Dnfs_fs_sb.h76 spinlock_t cl_lock; member
/openbmc/linux/include/linux/sunrpc/
H A Dclnt.h50 spinlock_t cl_lock; /* spinlock */ member