Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/staging/lustre/lustre/include/
Dlustre_fid.h494 static inline struct ldlm_res_id *
495 fid_build_reg_res_name(const struct lu_fid *fid, struct ldlm_res_id *res) in fid_build_reg_res_name()
508 const struct ldlm_res_id *res) in fid_res_name_eq()
518 fid_extract_from_res_name(struct lu_fid *fid, const struct ldlm_res_id *res) in fid_extract_from_res_name()
531 static inline struct ldlm_res_id *
533 struct ldlm_res_id *res) in fid_build_quota_res_name()
547 const struct ldlm_res_id *res) in fid_extract_from_quota_res()
556 static inline struct ldlm_res_id *
558 struct ldlm_res_id *res) in fid_build_pdo_res_name()
585 struct ldlm_res_id *name) in ostid_build_res_name()
[all …]
Dlustre_dlm.h933 struct ldlm_res_id lr_name;
1126 int ldlm_resource_iterate(struct ldlm_namespace *, const struct ldlm_res_id *,
1260 const struct ldlm_res_id *, ldlm_type_t type,
1297 const struct ldlm_res_id *,
1310 const struct ldlm_res_id *);
1341 const struct ldlm_res_id *res_id,
1363 const struct ldlm_res_id *res_id,
1378 int ldlm_cli_cancel_unused(struct ldlm_namespace *, const struct ldlm_res_id *,
1381 const struct ldlm_res_id *res_id,
Dlustre_disk.h543 int mgc_fsname2resid(char *fsname, struct ldlm_res_id *res_id, int type);
Dobd_class.h186 struct ldlm_res_id cld_resid;
/linux-4.1.27/drivers/staging/lustre/lustre/osc/
Dosc_internal.h104 int osc_enqueue_base(struct obd_export *exp, struct ldlm_res_id *res_id,
113 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.c665 struct ldlm_res_id res_id; in osc_resource_get_unused()
2130 struct ldlm_res_id res_id; in osc_find_cbdata()
2247 int osc_enqueue_base(struct obd_export *exp, struct ldlm_res_id *res_id, in osc_enqueue_base()
2391 int osc_match_base(struct obd_export *exp, struct ldlm_res_id *res_id, in osc_match_base()
2791 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()
/linux-4.1.27/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()
797 struct ldlm_res_id res_id; in mdc_enqueue()
1073 struct ldlm_res_id res_id; in mdc_revalidate_lock()
1268 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()
/linux-4.1.27/drivers/staging/lustre/lustre/ldlm/
Dldlm_resource.c397 const struct ldlm_res_id *id = key; in ldlm_res_hop_hash()
409 const struct ldlm_res_id *id = key; in ldlm_res_hop_fid_hash()
449 return ldlm_res_eq((const struct ldlm_res_id *)key, in ldlm_res_hop_keycmp()
450 (const struct ldlm_res_id *)&res->lr_name); in ldlm_res_hop_keycmp()
1051 const struct ldlm_res_id *name, ldlm_type_t type, int create) in ldlm_resource_get()
Dldlm_request.c396 const struct ldlm_res_id *res_id, in ldlm_cli_enqueue_local()
849 const struct ldlm_res_id *res_id, in ldlm_cli_enqueue()
1882 const struct ldlm_res_id *res_id, in ldlm_cli_cancel_unused_resource()
1940 const struct ldlm_res_id *res_id, in ldlm_cli_cancel_unused()
2051 const struct ldlm_res_id *res_id, in ldlm_resource_iterate()
Dldlm_internal.h145 ldlm_lock_create(struct ldlm_namespace *ns, const struct ldlm_res_id *,
Dldlm_lock.c485 const struct ldlm_res_id *new_resid) in ldlm_lock_change_resource()
1226 const struct ldlm_res_id *res_id, ldlm_type_t type, in ldlm_lock_match()
1491 const struct ldlm_res_id *res_id, in ldlm_lock_create()
/linux-4.1.27/drivers/staging/lustre/lustre/ptlrpc/
Dptlrpc_internal.h46 struct ldlm_res_id;
Dwiretest.c2915 LASSERTF((int)sizeof(struct ldlm_res_id) == 32, "found %lld\n", in lustre_assert_wire_constants()
2916 (long long)(int)sizeof(struct ldlm_res_id)); in lustre_assert_wire_constants()
2918 LASSERTF((int)offsetof(struct ldlm_res_id, name[4]) == 32, "found %lld\n", in lustre_assert_wire_constants()
2919 (long long)(int)offsetof(struct ldlm_res_id, name[4])); in lustre_assert_wire_constants()
2920 LASSERTF((int)sizeof(((struct ldlm_res_id *)0)->name[4]) == 8, "found %lld\n", in lustre_assert_wire_constants()
2921 (long long)(int)sizeof(((struct ldlm_res_id *)0)->name[4])); in lustre_assert_wire_constants()
Dpack_generic.c2180 void lustre_swab_ldlm_res_id(struct ldlm_res_id *id) in lustre_swab_ldlm_res_id()
/linux-4.1.27/drivers/staging/lustre/lustre/include/lustre/
Dlustre_idl.h2691 struct ldlm_res_id { struct
2699 extern void lustre_swab_ldlm_res_id (struct ldlm_res_id *id); argument
2701 static inline int ldlm_res_eq(const struct ldlm_res_id *res0, in ldlm_res_eq()
2702 const struct ldlm_res_id *res1) in ldlm_res_eq()
2793 struct ldlm_res_id lr_name;
/linux-4.1.27/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()
/linux-4.1.27/drivers/staging/lustre/lustre/lov/
Dlov_obd.c1987 struct ldlm_res_id *res_id = &data->lock->l_resource->lr_name; in lov_get_info()