Searched refs:ld_tgt_count (Results 1 – 16 of 16) sorted by relevance
/linux-4.4.14/drivers/staging/lustre/lustre/lov/ |
D | lov_ea.c | 231 if (loi->loi_ost_idx >= lov->desc.ld_tgt_count) { in lsm_unpackmd_v1() 233 loi->loi_ost_idx, lov->desc.ld_tgt_count); in lsm_unpackmd_v1() 249 lsm->lsm_maxbytes = stripe_maxbytes * lov->desc.ld_tgt_count; in lsm_unpackmd_v1() 321 if (loi->loi_ost_idx >= lov->desc.ld_tgt_count) { in lsm_unpackmd_v3() 323 loi->loi_ost_idx, lov->desc.ld_tgt_count); in lsm_unpackmd_v3() 339 lsm->lsm_maxbytes = stripe_maxbytes * lov->desc.ld_tgt_count; in lsm_unpackmd_v3()
|
D | lov_obd.c | 91 for (i = 0; i < lov->desc.ld_tgt_count; i++) { in lov_putref() 230 for (i = 0; i < lov->desc.ld_tgt_count; i++) { in lov_connect() 321 for (i = 0; i < lov->desc.ld_tgt_count; i++) { in lov_disconnect() 353 for (index = 0; index < lov->desc.ld_tgt_count; index++) { in lov_set_osc_active() 378 if (index == lov->desc.ld_tgt_count) { in lov_set_osc_active() 479 for (i = 0; i < lov->desc.ld_tgt_count; i++) { in lov_notify() 587 if (index >= lov->desc.ld_tgt_count) in lov_add_target() 588 lov->desc.ld_tgt_count = index + 1; in lov_add_target() 593 index, tgt->ltd_gen, lov->desc.ld_tgt_count); in lov_add_target() 644 int count = lov->desc.ld_tgt_count; in lov_del_target() [all …]
|
D | lproc_lov.c | 181 return sprintf(buf, "%u\n", desc->ld_tgt_count); in numobd_show() 215 while (*pos < lov->desc.ld_tgt_count) { in lov_tgt_seq_start() 232 while (++*pos < lov->desc.ld_tgt_count) { in lov_tgt_seq_next()
|
D | lov_pool.c | 529 for (lov_idx = 0; lov_idx < lov->desc.ld_tgt_count; lov_idx++) { in lov_pool_add() 537 if (lov_idx == lov->desc.ld_tgt_count) { in lov_pool_add() 575 for (lov_idx = 0; lov_idx < lov->desc.ld_tgt_count; lov_idx++) { in lov_pool_remove() 585 if (lov_idx == lov->desc.ld_tgt_count) { in lov_pool_remove()
|
D | lov_pack.c | 162 if (stripe_count > lov->desc.ld_tgt_count) in lov_packmd() 163 stripe_count = lov->desc.ld_tgt_count; in lov_packmd()
|
D | lov_cl_internal.h | 812 return lov->ld_lov->desc.ld_tgt_count; in lov_targets_nr()
|
D | lov_request.c | 716 for (i = 0; i < lov->desc.ld_tgt_count; i++) { in lov_prep_statfs_set()
|
/linux-4.4.14/drivers/staging/lustre/lustre/lmv/ |
D | lmv_fld.c | 77 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()
|
D | lmv_internal.h | 107 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()
|
D | lmv_obd.c | 88 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() 262 for (i = 0; i < lmv->desc.ld_tgt_count; i++) { in lmv_set_timeouts() 303 for (i = 0; i < lmv->desc.ld_tgt_count; i++) { in lmv_init_ea_size() 431 if (lmv->desc.ld_tgt_count == 0) { in lmv_add_target() 494 if (index >= lmv->desc.ld_tgt_count) in lmv_add_target() 495 lmv->desc.ld_tgt_count = index + 1; in lmv_add_target() 501 lmv->desc.ld_tgt_count--; in lmv_add_target() 506 lmv->desc.ld_tgt_count * sizeof(struct lu_fid); in lmv_add_target() 532 if (lmv->desc.ld_tgt_count == 0) { in lmv_check_connect() [all …]
|
D | lproc_lmv.c | 53 return sprintf(buf, "%u\n", desc->ld_tgt_count); in numobd_show() 154 return (*pos >= lmv->desc.ld_tgt_count) ? NULL : lmv->tgts[*pos]; in lmv_tgt_seq_start() 167 return (*pos >= lmv->desc.ld_tgt_count) ? NULL : lmv->tgts[*pos]; in lmv_tgt_seq_next()
|
/linux-4.4.14/drivers/staging/lustre/lustre/lclient/ |
D | lcommon_misc.c | 65 stripes = min_t(__u32, desc.ld_tgt_count, LOV_MAX_STRIPE_COUNT); in cl_init_ea_size()
|
/linux-4.4.14/drivers/staging/lustre/lustre/ptlrpc/ |
D | wiretest.c | 2789 LASSERTF((int)offsetof(struct lmv_desc, ld_tgt_count) == 0, "found %lld\n", in lustre_assert_wire_constants() 2790 (long long)(int)offsetof(struct lmv_desc, ld_tgt_count)); in lustre_assert_wire_constants() 2791 LASSERTF((int)sizeof(((struct lmv_desc *)0)->ld_tgt_count) == 4, "found %lld\n", in lustre_assert_wire_constants() 2792 (long long)(int)sizeof(((struct lmv_desc *)0)->ld_tgt_count)); in lustre_assert_wire_constants() 2866 LASSERTF((int)offsetof(struct lov_desc, ld_tgt_count) == 0, "found %lld\n", in lustre_assert_wire_constants() 2867 (long long)(int)offsetof(struct lov_desc, ld_tgt_count)); in lustre_assert_wire_constants() 2868 LASSERTF((int)sizeof(((struct lov_desc *)0)->ld_tgt_count) == 4, "found %lld\n", in lustre_assert_wire_constants() 2869 (long long)(int)sizeof(((struct lov_desc *)0)->ld_tgt_count)); in lustre_assert_wire_constants()
|
D | pack_generic.c | 1896 __swab32s(&ld->ld_tgt_count); in lustre_swab_lov_desc()
|
/linux-4.4.14/drivers/staging/lustre/lustre/include/lustre/ |
D | lustre_idl.h | 2577 __u32 ld_tgt_count; /* how many MDS's */ member 2641 __u32 ld_tgt_count; /* how many OBD's */ member
|
/linux-4.4.14/drivers/staging/lustre/lustre/osc/ |
D | osc_request.c | 2631 desc->ld_tgt_count = 1; in osc_iocontrol()
|