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.h149 extern ldlm_mode_t lck_compat_array[];
151 static inline void lockmode_verify(ldlm_mode_t mode) in lockmode_verify()
156 static inline int lockmode_compat(ldlm_mode_t exist_mode, ldlm_mode_t new_mode) in lockmode_compat()
269 void *req_cookie, ldlm_mode_t mode, __u64 flags,
598 ldlm_mode_t lit_mode; /* lock mode */
711 ldlm_mode_t l_req_mode;
715 ldlm_mode_t l_granted_mode;
927 ldlm_mode_t lr_most_restr;
1259 ldlm_mode_t ldlm_lock_match(struct ldlm_namespace *ns, __u64 flags,
1261 ldlm_policy_data_t *, ldlm_mode_t mode,
[all …]
Dobd.h1336 ldlm_mode_t (*m_lock_match)(struct obd_export *, __u64,
1338 ldlm_policy_data_t *, ldlm_mode_t,
1342 ldlm_policy_data_t *, ldlm_mode_t,
Dobd_class.h1736 ldlm_mode_t mode, in md_cancel_unused()
1750 static inline ldlm_mode_t md_lock_match(struct obd_export *exp, __u64 flags, in md_lock_match()
1754 ldlm_mode_t mode, in md_lock_match()
Dlustre_net.h468 ldlm_mode_t rs_modes[RS_MAX_LOCKS];
/drivers/staging/lustre/lustre/mdc/
Dmdc_internal.h105 struct list_head *cancels, ldlm_mode_t mode,
147 ldlm_policy_data_t *policy, ldlm_mode_t mode,
168 ldlm_mode_t mdc_lock_match(struct obd_export *exp, __u64 flags,
170 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()
1077 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/osc/
Dosc_cl_internal.h526 static inline ldlm_mode_t osc_cl_lock2ldlm(enum cl_lock_mode mode) in osc_cl_lock2ldlm()
537 static inline enum cl_lock_mode osc_ldlm2cl_lock(ldlm_mode_t mode) in osc_ldlm2cl_lock()
Dosc_request.c662 ldlm_mode_t mode, __u64 lock_flags) in osc_resource_get_unused()
2261 ldlm_mode_t mode; in osc_enqueue_base()
2400 ldlm_mode_t rc; in osc_match_base()
2796 ldlm_mode_t mode = 0; in osc_get_info()
Dosc_page.c72 ldlm_mode_t dlmmode;
/drivers/staging/lustre/lustre/ldlm/
Dldlm_lock.c1084 ldlm_mode_t *mode, in search_queue()
1093 ldlm_mode_t match; in search_queue()
1234 ldlm_mode_t ldlm_lock_match(struct ldlm_namespace *ns, __u64 flags, in ldlm_lock_match()
1236 ldlm_policy_data_t *policy, ldlm_mode_t mode, in ldlm_lock_match()
1363 ldlm_mode_t ldlm_revalidate_lock_handle(struct lustre_handle *lockh, in ldlm_revalidate_lock_handle()
1367 ldlm_mode_t mode = 0; in ldlm_revalidate_lock_handle()
1499 ldlm_mode_t mode, in ldlm_lock_create()
Dldlm_extent.c148 static inline int lock_mode_to_index(ldlm_mode_t mode) in lock_mode_to_index()
Dldlm_flock.c132 ldlm_flock_destroy(struct ldlm_lock *lock, ldlm_mode_t mode, __u64 flags) in ldlm_flock_destroy()
256 ldlm_mode_t mode = req->l_req_mode; in ldlm_process_flock_lock()
Dldlm_internal.h145 ldlm_type_t type, ldlm_mode_t,
Dldlm_request.c403 ldlm_mode_t mode, __u64 *flags, in ldlm_cli_enqueue_local()
513 ldlm_type_t type, __u8 with_policy, ldlm_mode_t mode, in ldlm_cli_enqueue_fini()
1772 ldlm_mode_t mode, __u64 lock_flags, in ldlm_cancel_resource_local()
1886 ldlm_mode_t mode, in ldlm_cli_cancel_unused_resource()
Dldlm_lib.c765 ldlm_mode_t lck_compat_array[] = {
/drivers/staging/lustre/lustre/llite/
Dllite_internal.h742 ldlm_mode_t l_req_mode);
743 extern ldlm_mode_t ll_take_md_lock(struct inode *inode, __u64 bits,
745 ldlm_mode_t mode);
Dfile.c2825 int ll_have_md_lock(struct inode *inode, __u64 *bits, ldlm_mode_t l_req_mode) in ll_have_md_lock()
2829 ldlm_mode_t mode = (l_req_mode == LCK_MINMODE) ? in ll_have_md_lock()
2865 ldlm_mode_t ll_take_md_lock(struct inode *inode, __u64 bits, in ll_take_md_lock()
2867 ldlm_mode_t mode) in ll_take_md_lock()
2871 ldlm_mode_t rc; in ll_take_md_lock()
3414 static int ll_layout_lock_set(struct lustre_handle *lockh, ldlm_mode_t mode, in ll_layout_lock_set()
3537 ldlm_mode_t mode; in ll_layout_refresh()
Dxattr_cache.c290 ldlm_mode_t mode; in ll_xattr_find_get_lock()
Ddir.c343 ldlm_mode_t mode; in ll_get_dir_page()
Dllite_lib.c1770 ldlm_mode_t mode; in ll_update_inode()
/drivers/staging/lustre/lustre/lmv/
Dlmv_obd.c1890 int op_tgt, ldlm_mode_t mode, int bits, int flag) in lmv_early_cancel()
2535 ldlm_policy_data_t *policy, ldlm_mode_t mode, in lmv_cancel_unused()
2569 ldlm_mode_t lmv_lock_match(struct obd_export *exp, __u64 flags, in lmv_lock_match()
2571 ldlm_policy_data_t *policy, ldlm_mode_t mode, in lmv_lock_match()
2576 ldlm_mode_t rc; in lmv_lock_match()
/drivers/staging/lustre/lustre/include/lustre/
Dlustre_idl.h2714 } ldlm_mode_t; typedef
2795 ldlm_mode_t l_req_mode;
2796 ldlm_mode_t l_granted_mode;