Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/staging/lustre/lustre/obdclass/
Dcl_lock.c58 .ckd_size = sizeof (struct cl_lock)
77 const struct cl_lock *lock) in cl_lock_invariant_trusted()
93 const struct cl_lock *lock) in cl_lock_invariant()
107 static enum clt_nesting_level cl_lock_nesting(const struct cl_lock *lock) in cl_lock_nesting()
116 const struct cl_lock *lock) in cl_lock_counters()
128 const char *prefix, const struct cl_lock *lock, in cl_lock_trace0()
150 static void cl_lock_lockdep_init(struct cl_lock *lock) in cl_lock_lockdep_init()
156 struct cl_lock *lock, __u32 enqflags) in cl_lock_lockdep_acquire()
163 struct cl_lock *lock) in cl_lock_lockdep_release()
171 static void cl_lock_lockdep_init(struct cl_lock *lock) in cl_lock_lockdep_init()
[all …]
DMakefile9 cl_page.o cl_lock.o cl_io.o lu_ref.o acl.o lprocfs_counters.o
Dcl_io.c380 struct cl_lock *lock; in cl_lockset_lock_one()
403 struct cl_lock *lock = link->cill_lock; in cl_lock_link_fini()
419 struct cl_lock *lock; in cl_lockset_lock()
/linux-4.4.14/drivers/staging/lustre/lustre/include/
Dcl_object.h116 struct cl_lock;
332 struct cl_object *obj, struct cl_lock *lock,
1516 struct cl_lock *clc_origin;
1545 struct cl_lock { struct
1617 struct cl_lock *cll_conflict; argument
1642 struct cl_lock *cls_lock;
2222 struct cl_lock *cill_lock;
2717 void cl_lock_slice_add(struct cl_lock *lock, struct cl_lock_slice *slice,
2882 lu_printer_t printer, const struct cl_lock *lock);
2893 struct cl_lock *cl_lock_hold(const struct lu_env *env, const struct cl_io *io,
[all …]
Dlclient.h287 struct cl_lock *lock, const struct cl_io *io,
372 struct cl_lock *cg_lock;
/linux-4.4.14/fs/nfs/
Dnfs4renewd.c71 spin_lock(&clp->cl_lock); in nfs4_renew_state()
83 spin_unlock(&clp->cl_lock); in nfs4_renew_state()
107 spin_unlock(&clp->cl_lock); in nfs4_renew_state()
121 spin_lock(&clp->cl_lock); in nfs4_schedule_state_renewal()
130 spin_unlock(&clp->cl_lock); in nfs4_schedule_state_renewal()
Dnfs4state.c162 spin_lock(&clp->cl_lock); in nfs4_root_machine_cred()
165 spin_unlock(&clp->cl_lock); in nfs4_root_machine_cred()
286 spin_lock(&clp->cl_lock); in nfs41_setup_state_renewal()
289 spin_unlock(&clp->cl_lock); in nfs41_setup_state_renewal()
379 spin_lock(&clp->cl_lock); in nfs4_get_clid_cred()
381 spin_unlock(&clp->cl_lock); in nfs4_get_clid_cred()
505 spin_lock(&clp->cl_lock); in nfs4_drop_state_owner()
510 spin_unlock(&clp->cl_lock); in nfs4_drop_state_owner()
528 spin_lock(&clp->cl_lock); in nfs4_gc_state_owners()
538 spin_unlock(&clp->cl_lock); in nfs4_gc_state_owners()
[all …]
Ddelegation.c269 lockdep_is_held(&clp->cl_lock)); in nfs_detach_delegation_locked()
289 spin_lock(&clp->cl_lock); in nfs_detach_delegation()
291 spin_unlock(&clp->cl_lock); in nfs_detach_delegation()
348 spin_lock(&clp->cl_lock); in nfs_inode_set_delegation()
350 lockdep_is_held(&clp->cl_lock)); in nfs_inode_set_delegation()
393 spin_unlock(&clp->cl_lock); in nfs_inode_set_delegation()
Dpnfs.c222 spin_lock(&clp->cl_lock); in pnfs_free_layout_hdr()
224 spin_unlock(&clp->cl_lock); in pnfs_free_layout_hdr()
665 spin_unlock(&clp->cl_lock); in pnfs_layout_bulk_destroy_byserver_locked()
667 spin_lock(&clp->cl_lock); in pnfs_layout_bulk_destroy_byserver_locked()
720 spin_lock(&clp->cl_lock); in pnfs_destroy_layouts_byfsid()
732 spin_unlock(&clp->cl_lock); in pnfs_destroy_layouts_byfsid()
746 spin_lock(&clp->cl_lock); in pnfs_destroy_layouts_byclid()
756 spin_unlock(&clp->cl_lock); in pnfs_destroy_layouts_byclid()
1600 spin_lock(&clp->cl_lock); in pnfs_update_layout()
1603 spin_unlock(&clp->cl_lock); in pnfs_update_layout()
Dnfs4_fs.h301 spin_lock(&clp->cl_lock); in _nfs4_state_protect()
306 spin_unlock(&clp->cl_lock); in _nfs4_state_protect()
Dnfs4session.c544 spin_lock(&clp->cl_lock); in nfs4_init_ds_session()
553 spin_unlock(&clp->cl_lock); in nfs4_init_ds_session()
Dcallback_proc.c154 spin_lock(&clp->cl_lock); in get_layout_by_fh()
158 spin_unlock(&clp->cl_lock); in get_layout_by_fh()
Dnfs4client.c79 spin_lock(&ds_clp->cl_lock); in nfs4_add_ds_client()
89 spin_unlock(&ds_clp->cl_lock); /* need some lock to protect list */ in nfs4_add_ds_client()
194 spin_lock_init(&clp->cl_lock); in nfs4_alloc_client()
Dnfs4proc.c535 spin_lock(&clp->cl_lock); in do_renew_lease()
538 spin_unlock(&clp->cl_lock); in do_renew_lease()
4207 spin_lock(&clp->cl_lock); in nfs4_do_fsinfo()
4210 spin_unlock(&clp->cl_lock); in nfs4_do_fsinfo()
/linux-4.4.14/drivers/staging/lustre/lustre/lov/
Dlov_lock.c50 struct cl_lock *parent);
61 struct cl_lock *parent, in lov_sublock_env_get()
104 struct cl_lock *sublock, int idx, in lov_sublock_adopt()
108 struct cl_lock *parent = lck->lls_cl.cls_lock; in lov_sublock_adopt()
136 static struct cl_lock *lov_sublock_alloc(const struct lu_env *env, in lov_sublock_alloc()
141 struct cl_lock *sublock; in lov_sublock_alloc()
142 struct cl_lock *parent; in lov_sublock_alloc()
199 struct cl_lock *child; in lov_sublock_lock()
208 struct cl_lock *parent = closure->clc_origin; in lov_sublock_lock()
301 struct cl_lock *parent = lck->lls_cl.cls_lock; in lov_lock_sub_init()
[all …]
Dlovsub_lock.c67 struct cl_lock *parent; in lovsub_parent_lock()
77 struct cl_lock *parent; in lovsub_parent_unlock()
101 struct cl_lock *parent = lov->lls_cl.cls_lock; in lovsub_lock_state()
194 struct cl_lock *parent; in lov_sublock_modify()
251 struct cl_lock *parent; in lovsub_lock_closure()
274 struct cl_lock *child, struct lov_lock *lov) in lovsub_lock_delete_one()
276 struct cl_lock *parent; in lovsub_lock_delete_one()
384 struct cl_lock *child = slice->cls_lock; in lovsub_lock_delete()
451 struct cl_lock *lock, const struct cl_io *io) in lovsub_lock_init()
Dlov_cl_internal.h425 struct cl_lock *lss_active;
587 struct cl_lock *lock, const struct cl_io *io);
591 struct cl_lock *lock, const struct cl_io *io);
594 struct cl_lock *lock, const struct cl_io *io);
596 struct cl_lock *lock, const struct cl_io *io);
757 static inline struct lovsub_lock *cl2sub_lock(const struct cl_lock *lock) in cl2sub_lock()
Dlov_object.c72 struct cl_object *obj, struct cl_lock *lock,
862 struct cl_lock *lock, const struct cl_io *io) in lov_lock_init()
/linux-4.4.14/drivers/staging/lustre/lustre/osc/
Dosc_lock.c258 const struct cl_lock *lock, in osc_lock_build_policy()
296 struct cl_lock *lock = olck->ols_cl.cls_lock; in osc_ast_data_get()
320 struct cl_lock *lock; in osc_ast_data_put()
405 struct cl_lock *lock; in osc_lock_granted()
487 struct cl_lock *lock = slice->cls_lock; in osc_lock_upcall()
592 struct cl_lock *lock = olck->ols_cl.cls_lock; in osc_lock_blocking()
629 struct cl_lock *lock; in osc_dlm_blocking_ast0()
779 struct cl_lock *lock; in osc_ldlm_completion_ast()
835 struct cl_lock *lock; in osc_ldlm_glimpse_ast()
904 const struct cl_lock *clock, in osc_lock_build_einfo()
[all …]
Dosc_cl_internal.h398 struct cl_lock *ops_lock;
415 struct cl_object *obj, struct cl_lock *lock,
574 static inline struct osc_lock *osc_lock_at(const struct cl_lock *lock) in osc_lock_at()
668 struct cl_lock *oe_osclock;
Dosc_page.c104 struct cl_lock *scan;
256 struct cl_lock *lock) in osc_page_addref_lock()
278 struct cl_lock *lock = opg->ops_lock; in osc_page_putref_lock()
294 struct cl_lock *lock; in osc_page_is_under_lock()
Dosc_io.c719 struct cl_lock *lock; /* _some_ lock protecting @apage */ in osc_req_attr_set()
759 struct cl_lock *scan; in osc_req_attr_set()
Dosc_cache.c628 struct cl_lock *lock; in osc_extent_find()
/linux-4.4.14/fs/nfsd/
Dnfs4state.c233 lockdep_assert_held(&clp->cl_lock); in find_openstateowner_str_locked()
251 spin_lock(&clp->cl_lock); in find_openstateowner_str()
253 spin_unlock(&clp->cl_lock); in find_openstateowner_str()
567 spin_lock(&cl->cl_lock); in nfs4_alloc_stid()
569 spin_unlock(&cl->cl_lock); in nfs4_alloc_stid()
736 might_lock(&clp->cl_lock); in nfs4_put_stid()
738 if (!atomic_dec_and_lock(&s->sc_count, &clp->cl_lock)) { in nfs4_put_stid()
743 spin_unlock(&clp->cl_lock); in nfs4_put_stid()
893 spin_lock(&clp->cl_lock); in revoke_delegation()
895 spin_unlock(&clp->cl_lock); in revoke_delegation()
[all …]
Dnfs4layouts.c139 spin_lock(&clp->cl_lock); in nfsd4_free_layout_stateid()
141 spin_unlock(&clp->cl_lock); in nfsd4_free_layout_stateid()
222 spin_lock(&clp->cl_lock); in nfsd4_alloc_layout_stateid()
225 spin_unlock(&clp->cl_lock); in nfsd4_alloc_layout_stateid()
514 spin_lock(&clp->cl_lock); in nfsd4_return_client_layouts()
532 spin_unlock(&clp->cl_lock); in nfsd4_return_client_layouts()
553 spin_lock(&clp->cl_lock); in nfsd4_return_all_client_layouts()
556 spin_unlock(&clp->cl_lock); in nfsd4_return_all_client_layouts()
Dnfs4callback.c843 spin_lock(&clp->cl_lock); in nfsd4_change_callback()
845 spin_unlock(&clp->cl_lock); in nfsd4_change_callback()
1083 spin_lock(&clp->cl_lock); in nfsd4_process_cb_update()
1097 spin_unlock(&clp->cl_lock); in nfsd4_process_cb_update()
Dstate.h340 spinlock_t cl_lock; member
/linux-4.4.14/net/sunrpc/
Ddebugfs.c48 __acquires(&clnt->cl_lock) in tasks_start()
56 spin_lock(&clnt->cl_lock); in tasks_start()
82 __releases(&clnt->cl_lock) in tasks_stop()
87 spin_unlock(&clnt->cl_lock); in tasks_stop()
Dclnt.c273 spin_lock(&clnt->cl_lock); in rpc_clnt_set_transport()
275 lockdep_is_held(&clnt->cl_lock)); in rpc_clnt_set_transport()
282 spin_unlock(&clnt->cl_lock); in rpc_clnt_set_transport()
404 spin_lock_init(&clnt->cl_lock); in rpc_new_client()
729 spin_lock(&clnt->cl_lock); in rpc_killall_tasks()
741 spin_unlock(&clnt->cl_lock); in rpc_killall_tasks()
874 spin_lock(&clnt->cl_lock); in rpc_task_release_client()
876 spin_unlock(&clnt->cl_lock); in rpc_task_release_client()
897 spin_lock(&clnt->cl_lock); in rpc_task_set_client()
899 spin_unlock(&clnt->cl_lock); in rpc_task_set_client()
[all …]
/linux-4.4.14/drivers/staging/lustre/lustre/llite/
Dvvp_internal.h48 struct cl_object *obj, struct cl_lock *lock,
Dvvp_lock.c81 struct cl_lock *lock, const struct cl_io *io) in vvp_lock_init()
/linux-4.4.14/drivers/staging/lustre/lustre/lclient/
Dlcommon_misc.c131 struct cl_lock *lock; in cl_get_grouplock()
185 struct cl_lock *lock = cg->cg_lock; in cl_put_grouplock()
Dglimpse.c93 struct cl_lock *lock; in cl_glimpse_lock()
236 struct cl_lock *lock; in cl_local_size()
Dlcommon_cl.c390 struct cl_object *obj, struct cl_lock *lock, in ccc_lock_init()
559 const struct cl_lock *lock = slice->cls_lock; in ccc_lock_fits_into()
594 struct cl_lock *lock = slice->cls_lock; in ccc_lock_state()
/linux-4.4.14/include/linux/sunrpc/
Dclnt.h39 spinlock_t cl_lock; /* spinlock */ member
/linux-4.4.14/include/linux/
Dnfs_fs_sb.h66 spinlock_t cl_lock; member
/linux-4.4.14/drivers/staging/lustre/lustre/obdecho/
Decho_client.c139 static inline struct cl_lock *echo_lock2cl(const struct echo_lock *ecl) in echo_lock2cl()
394 struct cl_object *obj, struct cl_lock *lock, in echo_lock_init()
833 struct cl_lock *clk = echo_lock2cl(ecl); in echo_lock_release()
1038 struct cl_lock *lck; in cl_echo_enqueue0()