Home
last modified time | relevance | path

Searched refs:lsm_stripe_count (Results 1 – 13 of 13) sorted by relevance

/drivers/staging/lustre/lustre/lov/
Dlov_ea.c108 lsm->lsm_stripe_count = stripe_count; in lsm_alloc_plain()
120 __u16 stripe_count = lsm->lsm_stripe_count; in lsm_free_plain()
147 *swidth = (u64)lsm->lsm_stripe_size * lsm->lsm_stripe_count; in lsm_stripe_by_index_plain()
155 *swidth = (u64)lsm->lsm_stripe_size * lsm->lsm_stripe_count; in lsm_stripe_by_offset_plain()
220 stripe_count = lsm_is_released(lsm) ? 0 : lsm->lsm_stripe_count; in lsm_unpackmd_v1()
247 lsm->lsm_maxbytes = stripe_maxbytes * lsm->lsm_stripe_count; in lsm_unpackmd_v1()
248 if (lsm->lsm_stripe_count == 0) in lsm_unpackmd_v1()
305 stripe_count = lsm_is_released(lsm) ? 0 : lsm->lsm_stripe_count; in lsm_unpackmd_v3()
337 lsm->lsm_maxbytes = stripe_maxbytes * lsm->lsm_stripe_count; in lsm_unpackmd_v3()
338 if (lsm->lsm_stripe_count == 0) in lsm_unpackmd_v3()
[all …]
Dlov_pack.c147 lsm->lsm_stripe_count); in lov_packmd()
148 lsm->lsm_stripe_count = stripe_count; in lov_packmd()
150 stripe_count = lsm->lsm_stripe_count; in lov_packmd()
300 (*lsmp)->lsm_stripe_count = stripe_count; in lov_alloc_memmd()
419 (lum.lmm_stripe_count < lsm->lsm_stripe_count)) { in lov_getstripe()
421 lum.lmm_stripe_count = lsm->lsm_stripe_count; in lov_getstripe()
Dlov_obd.c994 for (i = 0; i < lsm->lsm_stripe_count; i++) { in lov_recreate()
1008 if (i == lsm->lsm_stripe_count) { in lov_recreate()
1153 POSTID(&oinfo->oi_md->lsm_oi), oinfo->oi_md->lsm_stripe_count, in lov_getattr_async()
1230 oinfo->oi_md->lsm_stripe_count, in lov_setattr_async()
1289 for (i = 0; i < lsm->lsm_stripe_count; i++) { in lov_find_cbdata()
1302 submd.lsm_stripe_count = 0; in lov_find_cbdata()
1608 for (i = 0; i < lsm->lsm_stripe_count; i++) { in fiemap_calc_fm_end_offset()
1633 *start_stripe = (stripe_no + 1) % lsm->lsm_stripe_count; in fiemap_calc_fm_end_offset()
1663 if (fm_end - fm_start > lsm->lsm_stripe_size * lsm->lsm_stripe_count) { in fiemap_calc_last_stripe()
1664 last_stripe = start_stripe < 1 ? lsm->lsm_stripe_count - 1 : in fiemap_calc_last_stripe()
[all …]
Dlov_merge.c67 for (i = 0; i < lsm->lsm_stripe_count; i++) { in lov_merge_lvb_kms()
124 for (; stripe < lsm->lsm_stripe_count; stripe++) { in lov_adjust_kms()
Dlov_request.c227 (set->set_oi->oi_md->lsm_stripe_count != attrset)) { in common_attr_done()
285 for (i = 0; i < oinfo->oi_md->lsm_stripe_count; i++) { in lov_prep_getattr_set()
373 for (i = 0; i < lsm->lsm_stripe_count; i++) { in lov_prep_destroy_set()
491 for (i = 0; i < oinfo->oi_md->lsm_stripe_count; i++) { in lov_prep_setattr_set()
Dlovsub_lock.c158 if (lov->lo_lsm->lsm_stripe_count > 1) { in lovsub_lock_descr_map()
160 skip = (lov->lo_lsm->lsm_stripe_count - 1) * size; in lovsub_lock_descr_map()
Dlov_object.c217 r0->lo_nr = lsm->lsm_stripe_count; in lov_init_raid0()
411 lsm->lsm_stripe_count, lsm->lsm_layout_gen); in lov_print_raid0()
435 lsm->lsm_stripe_count, lsm->lsm_layout_gen); in lov_print_released()
967 for (i = 0; i < lsm->lsm_stripe_count; i++) { in lov_read_and_clear_async_rc()
Dlov_io.c288 libcfs_kvzalloc(lsm->lsm_stripe_count * in lov_io_subio_init()
308 lio->lis_stripe_count = obj->lo_lsm->lsm_stripe_count; in lov_io_slice_init()
/drivers/staging/lustre/lustre/lclient/
Dlcommon_misc.c66 lsm.lsm_stripe_count = stripes; in cl_init_ea_size()
71 lsm.lsm_stripe_count = def_stripes; in cl_init_ea_size()
/drivers/staging/lustre/lustre/obdecho/
Decho_client.c1276 nob = offsetof(struct lov_stripe_md, lsm_oinfo[lsm->lsm_stripe_count]); in echo_copyout_lsm()
1283 for (i = 0, p = lsm->lsm_oinfo; i < lsm->lsm_stripe_count; i++, p++) { in echo_copyout_lsm()
1306 if (lsm->lsm_stripe_count > ec->ec_nstripes || in echo_copyin_lsm()
1309 ((__u64)lsm->lsm_stripe_size * lsm->lsm_stripe_count > ~0UL)) in echo_copyin_lsm()
1312 for (i = 0, p = lsm->lsm_oinfo; i < lsm->lsm_stripe_count; i++, p++) { in echo_copyin_lsm()
1351 if (lsm->lsm_stripe_count == 0) in echo_create_object()
1352 lsm->lsm_stripe_count = ec->ec_nstripes; in echo_create_object()
1360 for (i = 0; i < lsm->lsm_stripe_count; i++) { in echo_create_object()
1462 if (lsm->lsm_stripe_count <= 1) in echo_get_stripe_off_id()
1467 stripe_count = lsm->lsm_stripe_count; in echo_get_stripe_off_id()
/drivers/staging/lustre/lustre/include/
Dobd.h116 #define lsm_stripe_count lsm_wire.lw_stripe_count macro
/drivers/staging/lustre/lustre/llite/
Dnamei.c922 lsm->lsm_stripe_count); in ll_objects_destroy()
Dfile.c1274 (lsm->lsm_stripe_count)); in ll_lov_recreate()
1697 if (lsm->lsm_stripe_count > 1 && in ll_do_fiemap()