Home
last modified time | relevance | path

Searched refs:ld_tgt_count (Results 1 – 16 of 16) sorted by relevance

/linux-4.1.27/drivers/staging/lustre/lustre/lov/
Dlov_ea.c233 if (loi->loi_ost_idx >= lov->desc.ld_tgt_count) { in lsm_unpackmd_v1()
235 loi->loi_ost_idx, lov->desc.ld_tgt_count); in lsm_unpackmd_v1()
251 lsm->lsm_maxbytes = stripe_maxbytes * lov->desc.ld_tgt_count; in lsm_unpackmd_v1()
323 if (loi->loi_ost_idx >= lov->desc.ld_tgt_count) { in lsm_unpackmd_v3()
325 loi->loi_ost_idx, lov->desc.ld_tgt_count); in lsm_unpackmd_v3()
341 lsm->lsm_maxbytes = stripe_maxbytes * lov->desc.ld_tgt_count; in lsm_unpackmd_v3()
Dlov_obd.c90 for (i = 0; i < lov->desc.ld_tgt_count; i++) { in lov_putref()
242 for (i = 0; i < lov->desc.ld_tgt_count; i++) { in lov_connect()
334 for (i = 0; i < lov->desc.ld_tgt_count; i++) { in lov_disconnect()
365 for (index = 0; index < lov->desc.ld_tgt_count; index++) { in lov_set_osc_active()
390 if (index == lov->desc.ld_tgt_count) { in lov_set_osc_active()
491 for (i = 0; i < lov->desc.ld_tgt_count; i++) { in lov_notify()
600 if (index >= lov->desc.ld_tgt_count) in lov_add_target()
601 lov->desc.ld_tgt_count = index + 1; in lov_add_target()
606 index, tgt->ltd_gen, lov->desc.ld_tgt_count); in lov_add_target()
657 int count = lov->desc.ld_tgt_count; in lov_del_target()
[all …]
Dlproc_lov.c176 seq_printf(m, "%u\n", desc->ld_tgt_count); in lov_numobd_seq_show()
210 while (*pos < lov->desc.ld_tgt_count) { in lov_tgt_seq_start()
227 while (++*pos < lov->desc.ld_tgt_count) { in lov_tgt_seq_next()
Dlov_pool.c554 for (lov_idx = 0; lov_idx < lov->desc.ld_tgt_count; lov_idx++) { in lov_pool_add()
562 if (lov_idx == lov->desc.ld_tgt_count) { in lov_pool_add()
600 for (lov_idx = 0; lov_idx < lov->desc.ld_tgt_count; lov_idx++) { in lov_pool_remove()
610 if (lov_idx == lov->desc.ld_tgt_count) { in lov_pool_remove()
Dlov_pack.c182 if (stripe_count > lov->desc.ld_tgt_count) in lov_packmd()
183 stripe_count = lov->desc.ld_tgt_count; in lov_packmd()
Dlov_cl_internal.h817 return lov->ld_lov->desc.ld_tgt_count; in lov_targets_nr()
Dlov_request.c728 for (i = 0; i < lov->desc.ld_tgt_count; i++) { in lov_prep_statfs_set()
/linux-4.1.27/drivers/staging/lustre/lustre/lmv/
Dlmv_fld.c77 if (*mds >= lmv->desc.ld_tgt_count) { in lmv_fld_lookup()
78 …CERROR("FLD lookup got invalid mds #%x (max: %x) for fid=" DFID "\n", *mds, lmv->desc.ld_tgt_count, in lmv_fld_lookup()
Dlmv_internal.h107 lmv->desc.ld_tgt_count * in lmv_get_easize()
114 int count = lmv->desc.ld_tgt_count; in lmv_get_target()
134 if (lmv->desc.ld_tgt_count > 1) { in lmv_find_target()
Dlmv_obd.c88 for (i = 0; i < lmv->desc.ld_tgt_count; i++) { in lmv_set_mdc_active()
100 if (i == lmv->desc.ld_tgt_count) { in lmv_set_mdc_active()
276 for (i = 0; i < lmv->desc.ld_tgt_count; i++) { in lmv_set_timeouts()
317 for (i = 0; i < lmv->desc.ld_tgt_count; i++) { in lmv_init_ea_size()
461 if (lmv->desc.ld_tgt_count == 0) { in lmv_add_target()
525 if (index >= lmv->desc.ld_tgt_count) in lmv_add_target()
526 lmv->desc.ld_tgt_count = index + 1; in lmv_add_target()
532 lmv->desc.ld_tgt_count--; in lmv_add_target()
537 lmv->desc.ld_tgt_count * sizeof(struct lu_fid); in lmv_add_target()
563 if (lmv->desc.ld_tgt_count == 0) { in lmv_check_connect()
[all …]
Dlproc_lmv.c52 seq_printf(m, "%u\n", desc->ld_tgt_count); in lmv_numobd_seq_show()
157 return (*pos >= lmv->desc.ld_tgt_count) ? NULL : lmv->tgts[*pos]; in lmv_tgt_seq_start()
170 return (*pos >= lmv->desc.ld_tgt_count) ? NULL : lmv->tgts[*pos]; in lmv_tgt_seq_next()
/linux-4.1.27/drivers/staging/lustre/lustre/lclient/
Dlcommon_misc.c66 stripes = min_t(__u32, desc.ld_tgt_count, LOV_MAX_STRIPE_COUNT); in cl_init_ea_size()
/linux-4.1.27/drivers/staging/lustre/lustre/ptlrpc/
Dwiretest.c2791 LASSERTF((int)offsetof(struct lmv_desc, ld_tgt_count) == 0, "found %lld\n", in lustre_assert_wire_constants()
2792 (long long)(int)offsetof(struct lmv_desc, ld_tgt_count)); in lustre_assert_wire_constants()
2793 LASSERTF((int)sizeof(((struct lmv_desc *)0)->ld_tgt_count) == 4, "found %lld\n", in lustre_assert_wire_constants()
2794 (long long)(int)sizeof(((struct lmv_desc *)0)->ld_tgt_count)); in lustre_assert_wire_constants()
2868 LASSERTF((int)offsetof(struct lov_desc, ld_tgt_count) == 0, "found %lld\n", in lustre_assert_wire_constants()
2869 (long long)(int)offsetof(struct lov_desc, ld_tgt_count)); in lustre_assert_wire_constants()
2870 LASSERTF((int)sizeof(((struct lov_desc *)0)->ld_tgt_count) == 4, "found %lld\n", in lustre_assert_wire_constants()
2871 (long long)(int)sizeof(((struct lov_desc *)0)->ld_tgt_count)); in lustre_assert_wire_constants()
Dpack_generic.c2059 __swab32s(&ld->ld_tgt_count); in lustre_swab_lov_desc()
2072 __swab32s(&ld->ld_tgt_count); in lustre_swab_lmv_desc()
/linux-4.1.27/drivers/staging/lustre/lustre/include/lustre/
Dlustre_idl.h2589 __u32 ld_tgt_count; /* how many MDS's */ member
2657 __u32 ld_tgt_count; /* how many OBD's */ member
/linux-4.1.27/drivers/staging/lustre/lustre/osc/
Dosc_request.c2687 desc->ld_tgt_count = 1; in osc_iocontrol()