Home
last modified time | relevance | path

Searched refs:ldlm_mode_t (Results 1 – 23 of 23) sorted by relevance

/drivers/staging/lustre/lustre/include/
Dlustre_dlm.h148 extern ldlm_mode_t lck_compat_array[];
150 static inline void lockmode_verify(ldlm_mode_t mode) in lockmode_verify()
155 static inline int lockmode_compat(ldlm_mode_t exist_mode, ldlm_mode_t new_mode) in lockmode_compat()
530 ldlm_mode_t lit_mode; /* lock mode */
640 ldlm_mode_t l_req_mode;
644 ldlm_mode_t l_granted_mode;
854 ldlm_mode_t lr_most_restr;
1173 ldlm_mode_t ldlm_lock_match(struct ldlm_namespace *ns, __u64 flags,
1175 ldlm_policy_data_t *, ldlm_mode_t mode,
1177 ldlm_mode_t ldlm_revalidate_lock_handle(struct lustre_handle *lockh,
[all …]
Dobd.h1192 ldlm_mode_t (*m_lock_match)(struct obd_export *, __u64,
1194 ldlm_policy_data_t *, ldlm_mode_t,
1198 ldlm_policy_data_t *, ldlm_mode_t,
Dobd_class.h1660 ldlm_mode_t mode, in md_cancel_unused()
1674 static inline ldlm_mode_t md_lock_match(struct obd_export *exp, __u64 flags, in md_lock_match()
1678 ldlm_mode_t mode, in md_lock_match()
Dlustre_net.h466 ldlm_mode_t rs_modes[RS_MAX_LOCKS];
/drivers/staging/lustre/lustre/mdc/
Dmdc_internal.h95 struct list_head *cancels, ldlm_mode_t mode,
137 ldlm_policy_data_t *policy, ldlm_mode_t mode,
147 ldlm_mode_t mdc_lock_match(struct obd_export *exp, __u64 flags,
149 ldlm_policy_data_t *policy, ldlm_mode_t mode,
Dmdc_locks.c154 ldlm_mode_t mdc_lock_match(struct obd_export *exp, __u64 flags, in mdc_lock_match()
156 ldlm_policy_data_t *policy, ldlm_mode_t mode, in mdc_lock_match()
160 ldlm_mode_t rc; in mdc_lock_match()
173 ldlm_mode_t mode, in mdc_cancel_unused()
1043 ldlm_mode_t mode; in mdc_revalidate_lock()
Dmdc_reint.c70 struct list_head *cancels, ldlm_mode_t mode, in mdc_resource_get_unused()
/drivers/staging/lustre/lustre/ldlm/
Dldlm_lock.c1060 ldlm_mode_t *mode, in search_queue()
1069 ldlm_mode_t match; in search_queue()
1202 ldlm_mode_t ldlm_lock_match(struct ldlm_namespace *ns, __u64 flags, in ldlm_lock_match()
1204 ldlm_policy_data_t *policy, ldlm_mode_t mode, in ldlm_lock_match()
1327 ldlm_mode_t ldlm_revalidate_lock_handle(struct lustre_handle *lockh, in ldlm_revalidate_lock_handle()
1331 ldlm_mode_t mode = 0; in ldlm_revalidate_lock_handle()
1464 ldlm_mode_t mode, in ldlm_lock_create()
Dldlm_flock.c95 ldlm_flock_destroy(struct ldlm_lock *lock, ldlm_mode_t mode, __u64 flags) in ldlm_flock_destroy()
146 ldlm_mode_t mode = req->l_req_mode; in ldlm_process_flock_lock()
Dldlm_extent.c147 static inline int lock_mode_to_index(ldlm_mode_t mode) in lock_mode_to_index()
Dldlm_internal.h136 ldlm_type_t type, ldlm_mode_t,
Dldlm_request.c334 ldlm_type_t type, __u8 with_policy, ldlm_mode_t mode, in ldlm_cli_enqueue_fini()
1471 ldlm_mode_t mode, __u64 lock_flags, in ldlm_cancel_resource_local()
1584 ldlm_mode_t mode, in ldlm_cli_cancel_unused_resource()
Dldlm_lib.c763 ldlm_mode_t lck_compat_array[] = {
/drivers/staging/lustre/lustre/osc/
Dosc_cl_internal.h525 static inline ldlm_mode_t osc_cl_lock2ldlm(enum cl_lock_mode mode) in osc_cl_lock2ldlm()
536 static inline enum cl_lock_mode osc_ldlm2cl_lock(ldlm_mode_t mode) in osc_ldlm2cl_lock()
Dosc_request.c634 ldlm_mode_t mode, __u64 lock_flags) in osc_resource_get_unused()
2200 ldlm_mode_t mode; in osc_enqueue_base()
2343 ldlm_mode_t rc; in osc_match_base()
2737 ldlm_mode_t mode = 0; in osc_get_info()
Dosc_page.c72 ldlm_mode_t dlmmode;
/drivers/staging/lustre/lustre/llite/
Dllite_internal.h708 ldlm_mode_t l_req_mode);
709 ldlm_mode_t ll_take_md_lock(struct inode *inode, __u64 bits,
711 ldlm_mode_t mode);
Dxattr_cache.c271 ldlm_mode_t mode; in ll_xattr_find_get_lock()
Dfile.c2785 int ll_have_md_lock(struct inode *inode, __u64 *bits, ldlm_mode_t l_req_mode) in ll_have_md_lock()
2789 ldlm_mode_t mode = (l_req_mode == LCK_MINMODE) ? in ll_have_md_lock()
2825 ldlm_mode_t ll_take_md_lock(struct inode *inode, __u64 bits, in ll_take_md_lock()
2827 ldlm_mode_t mode) in ll_take_md_lock()
2831 ldlm_mode_t rc; in ll_take_md_lock()
3357 static int ll_layout_lock_set(struct lustre_handle *lockh, ldlm_mode_t mode, in ll_layout_lock_set()
3480 ldlm_mode_t mode; in ll_layout_refresh()
Ddir.c342 ldlm_mode_t mode; in ll_get_dir_page()
Dllite_lib.c1602 ldlm_mode_t mode; in ll_update_inode()
/drivers/staging/lustre/lustre/lmv/
Dlmv_obd.c1845 int op_tgt, ldlm_mode_t mode, int bits, int flag) in lmv_early_cancel()
2488 ldlm_policy_data_t *policy, ldlm_mode_t mode, in lmv_cancel_unused()
2522 static ldlm_mode_t lmv_lock_match(struct obd_export *exp, __u64 flags, in lmv_lock_match()
2524 ldlm_policy_data_t *policy, ldlm_mode_t mode, in lmv_lock_match()
2529 ldlm_mode_t rc; in lmv_lock_match()
/drivers/staging/lustre/lustre/include/lustre/
Dlustre_idl.h2701 } ldlm_mode_t; typedef
2778 ldlm_mode_t l_req_mode;
2779 ldlm_mode_t l_granted_mode;