Home
last modified time | relevance | path

Searched refs:lmm_objects (Results 1 – 8 of 8) sorted by relevance

/linux-4.4.14/drivers/staging/lustre/lustre/lov/
Dlov_pack.c91 lov_dump_lmm_objects(level, lmm->lmm_objects, in lov_dump_lmm_v1()
99 lov_dump_lmm_objects(level, lmm->lmm_objects, in lov_dump_lmm_v3()
119 struct lov_ost_data_v1 *lmm_objects; in lov_packmd() local
212 lmm_objects = lmmv3->lmm_objects; in lov_packmd()
214 lmm_objects = lmmv1->lmm_objects; in lov_packmd()
223 ostid_cpu_to_le(&loi->loi_oi, &lmm_objects[i].l_ost_oi); in lov_packmd()
224 lmm_objects[i].l_ost_gen = cpu_to_le32(loi->loi_ost_gen); in lov_packmd()
225 lmm_objects[i].l_ost_idx = cpu_to_le32(loi->loi_ost_idx); in lov_packmd()
443 CLASSERT(sizeof(lum.lmm_objects[0]) == sizeof(lmmk->lmm_objects[0])); in lov_getstripe()
450 (struct lov_user_ost_data *)lmmk->lmm_objects, in lov_getstripe()
[all …]
Dlov_ea.c225 ostid_le_to_cpu(&lmm->lmm_objects[i].l_ost_oi, &loi->loi_oi); in lsm_unpackmd_v1()
226 loi->loi_ost_idx = le32_to_cpu(lmm->lmm_objects[i].l_ost_idx); in lsm_unpackmd_v1()
227 loi->loi_ost_gen = le32_to_cpu(lmm->lmm_objects[i].l_ost_gen); in lsm_unpackmd_v1()
315 ostid_le_to_cpu(&lmm->lmm_objects[i].l_ost_oi, &loi->loi_oi); in lsm_unpackmd_v3()
316 loi->loi_ost_idx = le32_to_cpu(lmm->lmm_objects[i].l_ost_idx); in lsm_unpackmd_v3()
317 loi->loi_ost_gen = le32_to_cpu(lmm->lmm_objects[i].l_ost_gen); in lsm_unpackmd_v3()
/linux-4.4.14/drivers/staging/lustre/lustre/include/lustre/
Dlustre_user.h330 struct lov_user_ost_data_v1 lmm_objects[0]; /* per-stripe data */ member
346 struct lov_user_ost_data_v1 lmm_objects[0]; /* per-stripe data */ member
Dlustre_idl.h1526 struct lov_ost_data_v1 lmm_objects[0]; /* per-stripe data */ member
1622 struct lov_ost_data_v1 lmm_objects[0]; /* per-stripe data */ member
1645 return (buf_size - sizeof(lmm)) / sizeof(lmm.lmm_objects[0]); in lov_mds_md_max_stripe_count()
1653 return (buf_size - sizeof(lmm)) / sizeof(lmm.lmm_objects[0]); in lov_mds_md_max_stripe_count()
/linux-4.4.14/drivers/staging/lustre/lustre/osc/
Dosc_request.c2540 struct lov_user_ost_data_v1 *lmm_objects; in osc_getstripe() local
2559 LASSERT(sizeof(lum.lmm_objects[0]) == sizeof(lumk->lmm_objects[0])); in osc_getstripe()
2570 lmm_objects = in osc_getstripe()
2571 &(((struct lov_user_md_v1 *)lumk)->lmm_objects[0]); in osc_getstripe()
2573 lmm_objects = &(lumk->lmm_objects[0]); in osc_getstripe()
2574 lmm_objects->l_ost_oi = lsm->lsm_oi; in osc_getstripe()
/linux-4.4.14/drivers/staging/lustre/lustre/llite/
Ddir.c1377 LASSERT(sizeof(lumv3.lmm_objects[0]) == in ll_dir_ioctl()
1378 sizeof(lumv3p->lmm_objects[0])); in ll_dir_ioctl()
1559 ((struct lov_user_md_v1 *)lmm)->lmm_objects, in ll_dir_ioctl()
1568 ((struct lov_user_md_v3 *)lmm)->lmm_objects, in ll_dir_ioctl()
Dfile.c1441 ((struct lov_user_md_v1 *)lmm)->lmm_objects, in ll_lov_getstripe_ea_info()
1447 ((struct lov_user_md_v3 *)lmm)->lmm_objects, in ll_lov_getstripe_ea_info()
/linux-4.4.14/drivers/staging/lustre/lustre/ptlrpc/
Dwiretest.c1390 LASSERTF((int)offsetof(struct lov_mds_md_v1, lmm_objects[0]) == 32, "found %lld\n", in lustre_assert_wire_constants()
1391 (long long)(int)offsetof(struct lov_mds_md_v1, lmm_objects[0])); in lustre_assert_wire_constants()
1392 LASSERTF((int)sizeof(((struct lov_mds_md_v1 *)0)->lmm_objects[0]) == 24, "found %lld\n", in lustre_assert_wire_constants()
1393 (long long)(int)sizeof(((struct lov_mds_md_v1 *)0)->lmm_objects[0])); in lustre_assert_wire_constants()
1428 LASSERTF((int)offsetof(struct lov_mds_md_v3, lmm_objects[0]) == 48, "found %lld\n", in lustre_assert_wire_constants()
1429 (long long)(int)offsetof(struct lov_mds_md_v3, lmm_objects[0])); in lustre_assert_wire_constants()
1430 LASSERTF((int)sizeof(((struct lov_mds_md_v3 *)0)->lmm_objects[0]) == 24, "found %lld\n", in lustre_assert_wire_constants()
1431 (long long)(int)sizeof(((struct lov_mds_md_v3 *)0)->lmm_objects[0])); in lustre_assert_wire_constants()