Home
last modified time | relevance | path

Searched refs:ldlm_res_id (Results 1 – 21 of 21) sorted by relevance

/drivers/staging/lustre/lustre/include/
Dlustre_fid.h397 static inline struct ldlm_res_id *
398 fid_build_reg_res_name(const struct lu_fid *fid, struct ldlm_res_id *res) in fid_build_reg_res_name()
411 const struct ldlm_res_id *res) in fid_res_name_eq()
421 fid_extract_from_res_name(struct lu_fid *fid, const struct ldlm_res_id *res) in fid_extract_from_res_name()
434 static inline struct ldlm_res_id *
436 struct ldlm_res_id *res) in fid_build_quota_res_name()
450 const struct ldlm_res_id *res) in fid_extract_from_quota_res()
459 static inline struct ldlm_res_id *
461 struct ldlm_res_id *res) in fid_build_pdo_res_name()
488 struct ldlm_res_id *name) in ostid_build_res_name()
[all …]
Dlustre_dlm.h860 struct ldlm_res_id lr_name;
1048 int ldlm_resource_iterate(struct ldlm_namespace *, const struct ldlm_res_id *,
1174 const struct ldlm_res_id *, ldlm_type_t type,
1197 const struct ldlm_res_id *,
1209 const struct ldlm_res_id *);
1235 const struct ldlm_res_id *res_id,
1255 int ldlm_cli_cancel_unused(struct ldlm_namespace *, const struct ldlm_res_id *,
1258 const struct ldlm_res_id *res_id,
Dlustre_disk.h395 int mgc_fsname2resid(char *fsname, struct ldlm_res_id *res_id, int type);
Dobd_class.h152 struct ldlm_res_id cld_resid;
/drivers/staging/lustre/lustre/osc/
Dosc_internal.h108 int osc_enqueue_base(struct obd_export *exp, struct ldlm_res_id *res_id,
117 int osc_match_base(struct obd_export *exp, struct ldlm_res_id *res_id,
Dosc_cl_internal.h103 struct ldlm_res_id oti_resname;
Dosc_request.c637 struct ldlm_res_id res_id; in osc_resource_get_unused()
2070 struct ldlm_res_id res_id; in osc_find_cbdata()
2188 int osc_enqueue_base(struct obd_export *exp, struct ldlm_res_id *res_id, in osc_enqueue_base()
2336 int osc_match_base(struct obd_export *exp, struct ldlm_res_id *res_id, in osc_match_base()
2734 struct ldlm_res_id res_id; in osc_get_info()
Dosc_page.c69 struct ldlm_res_id *resname;
Dosc_lock.c1121 struct ldlm_res_id *resname = &info->oti_resname; in osc_lock_enqueue()
/drivers/staging/lustre/lustre/mdc/
Dmdc_locks.c159 struct ldlm_res_id res_id; in mdc_lock_match()
177 struct ldlm_res_id res_id; in mdc_cancel_unused()
190 struct ldlm_res_id res_id; in mdc_null_inode()
218 struct ldlm_res_id res_id; in mdc_find_cbdata()
764 struct ldlm_res_id res_id; in mdc_enqueue()
1040 struct ldlm_res_id res_id; in mdc_revalidate_lock()
1235 struct ldlm_res_id res_id; in mdc_intent_getattr_async()
Dmdc_reint.c75 struct ldlm_res_id res_id; in mdc_resource_get_unused()
/drivers/staging/lustre/lustre/ldlm/
Dldlm_resource.c446 const struct ldlm_res_id *id = key; in ldlm_res_hop_hash()
458 const struct ldlm_res_id *id = key; in ldlm_res_hop_fid_hash()
498 return ldlm_res_eq((const struct ldlm_res_id *)key, in ldlm_res_hop_keycmp()
499 (const struct ldlm_res_id *)&res->lr_name); in ldlm_res_hop_keycmp()
1068 const struct ldlm_res_id *name, ldlm_type_t type, int create) in ldlm_resource_get()
Dldlm_request.c655 const struct ldlm_res_id *res_id, in ldlm_cli_enqueue()
1582 const struct ldlm_res_id *res_id, in ldlm_cli_cancel_unused_resource()
1640 const struct ldlm_res_id *res_id, in ldlm_cli_cancel_unused()
1740 const struct ldlm_res_id *res_id, in ldlm_resource_iterate()
Dldlm_internal.h135 ldlm_lock_create(struct ldlm_namespace *ns, const struct ldlm_res_id *,
Dldlm_lock.c465 const struct ldlm_res_id *new_resid) in ldlm_lock_change_resource()
1203 const struct ldlm_res_id *res_id, ldlm_type_t type, in ldlm_lock_match()
1462 const struct ldlm_res_id *res_id, in ldlm_lock_create()
/drivers/staging/lustre/lustre/ptlrpc/
Dptlrpc_internal.h46 struct ldlm_res_id;
Dwiretest.c2913 LASSERTF((int)sizeof(struct ldlm_res_id) == 32, "found %lld\n", in lustre_assert_wire_constants()
2914 (long long)(int)sizeof(struct ldlm_res_id)); in lustre_assert_wire_constants()
2916 LASSERTF((int)offsetof(struct ldlm_res_id, name[4]) == 32, "found %lld\n", in lustre_assert_wire_constants()
2917 (long long)(int)offsetof(struct ldlm_res_id, name[4])); in lustre_assert_wire_constants()
2918 LASSERTF((int)sizeof(((struct ldlm_res_id *)0)->name[4]) == 8, "found %lld\n", in lustre_assert_wire_constants()
2919 (long long)(int)sizeof(((struct ldlm_res_id *)0)->name[4])); in lustre_assert_wire_constants()
Dpack_generic.c1977 static void lustre_swab_ldlm_res_id(struct ldlm_res_id *id) in lustre_swab_ldlm_res_id()
/drivers/staging/lustre/lustre/mgc/
Dmgc_request.c53 static int mgc_name2resid(char *name, int len, struct ldlm_res_id *res_id, in mgc_name2resid()
90 int mgc_fsname2resid(char *fsname, struct ldlm_res_id *res_id, int type) in mgc_fsname2resid()
98 static int mgc_logname2resid(char *logname, struct ldlm_res_id *res_id, int type) in mgc_logname2resid()
/drivers/staging/lustre/lustre/include/lustre/
Dlustre_idl.h2675 struct ldlm_res_id { struct
2683 static inline int ldlm_res_eq(const struct ldlm_res_id *res0, in ldlm_res_eq() argument
2684 const struct ldlm_res_id *res1) in ldlm_res_eq()
2773 struct ldlm_res_id lr_name;
/drivers/staging/lustre/lustre/lov/
Dlov_obd.c1969 struct ldlm_res_id *res_id = &data->lock->l_resource->lr_name; in lov_get_info()