Home
last modified time | relevance | path

Searched refs:lmm_bytes (Results 1 – 5 of 5) sorted by relevance

/drivers/staging/lustre/lustre/lov/
Dlov_ea.c56 static int lsm_lmm_verify_common(struct lov_mds_md *lmm, int lmm_bytes, in lsm_lmm_verify_common() argument
187 static int lsm_lmm_verify_v1(struct lov_mds_md_v1 *lmm, int lmm_bytes, in lsm_lmm_verify_v1() argument
190 if (lmm_bytes < sizeof(*lmm)) { in lsm_lmm_verify_v1()
192 lmm_bytes, (int)sizeof(*lmm)); in lsm_lmm_verify_v1()
200 if (lmm_bytes < lov_mds_md_size(*stripe_count, LOV_MAGIC_V1)) { in lsm_lmm_verify_v1()
202 lmm_bytes, lov_mds_md_size(*stripe_count, LOV_MAGIC_V1)); in lsm_lmm_verify_v1()
207 return lsm_lmm_verify_common(lmm, lmm_bytes, *stripe_count); in lsm_lmm_verify_v1()
263 static int lsm_lmm_verify_v3(struct lov_mds_md *lmmv1, int lmm_bytes, in lsm_lmm_verify_v3() argument
270 if (lmm_bytes < sizeof(*lmm)) { in lsm_lmm_verify_v3()
272 lmm_bytes, (int)sizeof(*lmm)); in lsm_lmm_verify_v3()
[all …]
Dlov_pack.c256 static int lov_verify_lmm(void *lmm, int lmm_bytes, __u16 *stripe_count) in lov_verify_lmm() argument
265 le32_to_cpu(*(__u32 *)lmm), lmm_bytes); in lov_verify_lmm()
266 sz = lmm_bytes * 2 + 1; in lov_verify_lmm()
271 for (i = 0; i < lmm_bytes; i++) in lov_verify_lmm()
280 lmm_bytes, stripe_count); in lov_verify_lmm()
333 struct lov_mds_md *lmm, int lmm_bytes) in lov_unpackmd() argument
344 rc = lov_verify_lmm(lmm, lmm_bytes, &stripe_count); in lov_unpackmd()
Dlov_internal.h213 struct lov_mds_md *lmm, int lmm_bytes);
/drivers/staging/lustre/lustre/include/
Dobd.h1226 int (*lsm_lmm_verify)(struct lov_mds_md *lmm, int lmm_bytes,
/drivers/staging/lustre/lustre/osc/
Dosc_request.c141 struct lov_mds_md *lmm, int lmm_bytes) in osc_unpackmd() argument
147 if (lmm_bytes < sizeof(*lmm)) { in osc_unpackmd()
149 exp->exp_obd->obd_name, lmm_bytes, in osc_unpackmd()