/linux-4.4.14/drivers/staging/lustre/lustre/obdclass/ |
D | cl_lock.c | 58 .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 …]
|
D | Makefile | 9 cl_page.o cl_lock.o cl_io.o lu_ref.o acl.o lprocfs_counters.o
|
D | cl_io.c | 380 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/ |
D | cl_object.h | 116 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 …]
|
D | lclient.h | 287 struct cl_lock *lock, const struct cl_io *io, 372 struct cl_lock *cg_lock;
|
/linux-4.4.14/fs/nfs/ |
D | nfs4renewd.c | 71 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()
|
D | nfs4state.c | 162 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 …]
|
D | delegation.c | 269 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()
|
D | pnfs.c | 222 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()
|
D | nfs4_fs.h | 301 spin_lock(&clp->cl_lock); in _nfs4_state_protect() 306 spin_unlock(&clp->cl_lock); in _nfs4_state_protect()
|
D | nfs4session.c | 544 spin_lock(&clp->cl_lock); in nfs4_init_ds_session() 553 spin_unlock(&clp->cl_lock); in nfs4_init_ds_session()
|
D | callback_proc.c | 154 spin_lock(&clp->cl_lock); in get_layout_by_fh() 158 spin_unlock(&clp->cl_lock); in get_layout_by_fh()
|
D | nfs4client.c | 79 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()
|
D | nfs4proc.c | 535 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/ |
D | lov_lock.c | 50 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 …]
|
D | lovsub_lock.c | 67 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()
|
D | lov_cl_internal.h | 425 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()
|
D | lov_object.c | 72 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/ |
D | osc_lock.c | 258 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 …]
|
D | osc_cl_internal.h | 398 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;
|
D | osc_page.c | 104 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()
|
D | osc_io.c | 719 struct cl_lock *lock; /* _some_ lock protecting @apage */ in osc_req_attr_set() 759 struct cl_lock *scan; in osc_req_attr_set()
|
D | osc_cache.c | 628 struct cl_lock *lock; in osc_extent_find()
|
/linux-4.4.14/fs/nfsd/ |
D | nfs4state.c | 233 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 …]
|
D | nfs4layouts.c | 139 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()
|
D | nfs4callback.c | 843 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()
|
D | state.h | 340 spinlock_t cl_lock; member
|
/linux-4.4.14/net/sunrpc/ |
D | debugfs.c | 48 __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()
|
D | clnt.c | 273 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/ |
D | vvp_internal.h | 48 struct cl_object *obj, struct cl_lock *lock,
|
D | vvp_lock.c | 81 struct cl_lock *lock, const struct cl_io *io) in vvp_lock_init()
|
/linux-4.4.14/drivers/staging/lustre/lustre/lclient/ |
D | lcommon_misc.c | 131 struct cl_lock *lock; in cl_get_grouplock() 185 struct cl_lock *lock = cg->cg_lock; in cl_put_grouplock()
|
D | glimpse.c | 93 struct cl_lock *lock; in cl_glimpse_lock() 236 struct cl_lock *lock; in cl_local_size()
|
D | lcommon_cl.c | 390 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/ |
D | clnt.h | 39 spinlock_t cl_lock; /* spinlock */ member
|
/linux-4.4.14/include/linux/ |
D | nfs_fs_sb.h | 66 spinlock_t cl_lock; member
|
/linux-4.4.14/drivers/staging/lustre/lustre/obdecho/ |
D | echo_client.c | 139 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()
|