Home
last modified time | relevance | path

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

/linux-4.1.27/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()
139 struct lov_ost_data_v1 *lmm_objects; in lov_packmd() local
232 lmm_objects = lmmv3->lmm_objects; in lov_packmd()
234 lmm_objects = lmmv1->lmm_objects; in lov_packmd()
243 ostid_cpu_to_le(&loi->loi_oi, &lmm_objects[i].l_ost_oi); in lov_packmd()
244 lmm_objects[i].l_ost_gen = cpu_to_le32(loi->loi_ost_gen); in lov_packmd()
245 lmm_objects[i].l_ost_idx = cpu_to_le32(loi->loi_ost_idx); in lov_packmd()
464 CLASSERT(sizeof(lum.lmm_objects[0]) == sizeof(lmmk->lmm_objects[0])); in lov_getstripe()
471 (struct lov_user_ost_data *)lmmk->lmm_objects, in lov_getstripe()
[all …]
Dlov_ea.c227 ostid_le_to_cpu(&lmm->lmm_objects[i].l_ost_oi, &loi->loi_oi); in lsm_unpackmd_v1()
228 loi->loi_ost_idx = le32_to_cpu(lmm->lmm_objects[i].l_ost_idx); in lsm_unpackmd_v1()
229 loi->loi_ost_gen = le32_to_cpu(lmm->lmm_objects[i].l_ost_gen); in lsm_unpackmd_v1()
317 ostid_le_to_cpu(&lmm->lmm_objects[i].l_ost_oi, &loi->loi_oi); in lsm_unpackmd_v3()
318 loi->loi_ost_idx = le32_to_cpu(lmm->lmm_objects[i].l_ost_idx); in lsm_unpackmd_v3()
319 loi->loi_ost_gen = le32_to_cpu(lmm->lmm_objects[i].l_ost_gen); in lsm_unpackmd_v3()
/linux-4.1.27/drivers/staging/lustre/lustre/include/lustre/
Dlustre_user.h332 struct lov_user_ost_data_v1 lmm_objects[0]; /* per-stripe data */ member
348 struct lov_user_ost_data_v1 lmm_objects[0]; /* per-stripe data */ member
Dlustre_idl.h1520 struct lov_ost_data_v1 lmm_objects[0]; /* per-stripe data */ member
1616 struct lov_ost_data_v1 lmm_objects[0]; /* per-stripe data */ member
1639 return (buf_size - sizeof(lmm)) / sizeof(lmm.lmm_objects[0]); in lov_mds_md_max_stripe_count()
1647 return (buf_size - sizeof(lmm)) / sizeof(lmm.lmm_objects[0]); in lov_mds_md_max_stripe_count()
/linux-4.1.27/drivers/staging/lustre/lustre/osc/
Dosc_request.c2595 struct lov_user_ost_data_v1 *lmm_objects; in osc_getstripe() local
2614 LASSERT(sizeof(lum.lmm_objects[0]) == sizeof(lumk->lmm_objects[0])); in osc_getstripe()
2625 lmm_objects = in osc_getstripe()
2626 &(((struct lov_user_md_v1 *)lumk)->lmm_objects[0]); in osc_getstripe()
2628 lmm_objects = &(lumk->lmm_objects[0]); in osc_getstripe()
2629 lmm_objects->l_ost_oi = lsm->lsm_oi; in osc_getstripe()
/linux-4.1.27/drivers/staging/lustre/lustre/llite/
Ddir.c1381 LASSERT(sizeof(lumv3.lmm_objects[0]) == in ll_dir_ioctl()
1382 sizeof(lumv3p->lmm_objects[0])); in ll_dir_ioctl()
1593 ((struct lov_user_md_v1 *)lmm)->lmm_objects, in ll_dir_ioctl()
1602 ((struct lov_user_md_v3 *)lmm)->lmm_objects, in ll_dir_ioctl()
Dfile.c1450 ((struct lov_user_md_v1 *)lmm)->lmm_objects, in ll_lov_getstripe_ea_info()
1456 ((struct lov_user_md_v3 *)lmm)->lmm_objects, in ll_lov_getstripe_ea_info()
/linux-4.1.27/drivers/staging/lustre/lustre/ptlrpc/
Dwiretest.c1392 LASSERTF((int)offsetof(struct lov_mds_md_v1, lmm_objects[0]) == 32, "found %lld\n", in lustre_assert_wire_constants()
1393 (long long)(int)offsetof(struct lov_mds_md_v1, lmm_objects[0])); in lustre_assert_wire_constants()
1394 LASSERTF((int)sizeof(((struct lov_mds_md_v1 *)0)->lmm_objects[0]) == 24, "found %lld\n", in lustre_assert_wire_constants()
1395 (long long)(int)sizeof(((struct lov_mds_md_v1 *)0)->lmm_objects[0])); in lustre_assert_wire_constants()
1430 LASSERTF((int)offsetof(struct lov_mds_md_v3, lmm_objects[0]) == 48, "found %lld\n", in lustre_assert_wire_constants()
1431 (long long)(int)offsetof(struct lov_mds_md_v3, lmm_objects[0])); in lustre_assert_wire_constants()
1432 LASSERTF((int)sizeof(((struct lov_mds_md_v3 *)0)->lmm_objects[0]) == 24, "found %lld\n", in lustre_assert_wire_constants()
1433 (long long)(int)sizeof(((struct lov_mds_md_v3 *)0)->lmm_objects[0])); in lustre_assert_wire_constants()