/drivers/staging/lustre/lustre/lmv/ |
H A D | Makefile | 1 obj-$(CONFIG_LUSTRE_FS) += lmv.o 2 lmv-y := lmv_obd.o lmv_intent.o lmv_fld.o 3 lmv-$(CONFIG_PROC_FS) += lproc_lmv.o
|
H A D | lmv_internal.h | 45 #define lmv_init_lock(lmv) mutex_lock(&lmv->init_mutex); 46 #define lmv_init_unlock(lmv) mutex_unlock(&lmv->init_mutex); 73 int lmv_fld_lookup(struct lmv_obd *lmv, const struct lu_fid *fid, u32 *mds); 74 int __lmv_fid_alloc(struct lmv_obd *lmv, struct lu_fid *fid, u32 mds); 104 static inline int lmv_get_easize(struct lmv_obd *lmv) argument 107 lmv->desc.ld_tgt_count * 112 lmv_get_target(struct lmv_obd *lmv, u32 mds) argument 114 int count = lmv 129 lmv_find_target(struct lmv_obd *lmv, const struct lu_fid *fid) argument [all...] |
H A D | lmv_obd.c | 58 static void lmv_activate_target(struct lmv_obd *lmv, argument 66 lmv->desc.ld_active_tgt_count += (activate ? 1 : -1); 76 static int lmv_set_mdc_active(struct lmv_obd *lmv, struct obd_uuid *uuid, argument 84 CDEBUG(D_INFO, "Searching in lmv %p for uuid %s (activate=%d)\n", 85 lmv, uuid->uuid, activate); 87 spin_lock(&lmv->lmv_lock); 88 for (i = 0; i < lmv->desc.ld_tgt_count; i++) { 89 tgt = lmv->tgts[i]; 100 if (i == lmv->desc.ld_tgt_count) { 124 lmv_activate_target(lmv, tg 133 struct lmv_obd *lmv = &exp->exp_obd->u.lmv; local 142 struct lmv_obd *lmv = &obd->u.lmv; local 203 struct lmv_obd *lmv = &obd->u.lmv; local 266 struct lmv_obd *lmv; local 290 struct lmv_obd *lmv = &obd->u.lmv; local 341 struct lmv_obd *lmv = &obd->u.lmv; local 441 lmv_del_target(struct lmv_obd *lmv, int index) argument 454 struct lmv_obd *lmv = &obd->u.lmv; local 549 struct lmv_obd *lmv = &obd->u.lmv; local 617 struct lmv_obd *lmv = &obd->u.lmv; local 661 struct lmv_obd *lmv = &obd->u.lmv; local 704 struct lmv_obd *lmv = &obddev->u.lmv; local 790 lmv_hsm_req_count(struct lmv_obd *lmv, const struct hsm_user_request *hur, const struct lmv_tgt_desc *tgt_mds) argument 806 lmv_hsm_req_build(struct lmv_obd *lmv, struct hsm_user_request *hur_in, const struct lmv_tgt_desc *tgt_mds, struct hsm_user_request *hur_out) argument 831 lmv_hsm_ct_unregister(struct lmv_obd *lmv, unsigned int cmd, int len, struct lustre_kernelcomm *lk, void *uarg) argument 851 lmv_hsm_ct_register(struct lmv_obd *lmv, unsigned int cmd, int len, struct lustre_kernelcomm *lk, void *uarg) argument 911 struct lmv_obd *lmv = &obddev->u.lmv; local 1217 struct lmv_obd *lmv = &obd->u.lmv; local 1254 __lmv_fid_alloc(struct lmv_obd *lmv, struct lu_fid *fid, u32 mds) argument 1292 struct lmv_obd *lmv = &obd->u.lmv; local 1317 struct lmv_obd *lmv = &obd->u.lmv; local 1377 struct lmv_obd *lmv = &obd->u.lmv; local 1435 struct lmv_obd *lmv = &obd->u.lmv; local 1489 struct lmv_obd *lmv = &obd->u.lmv; local 1506 struct lmv_obd *lmv = &obd->u.lmv; local 1531 struct lmv_obd *lmv = &obd->u.lmv; local 1554 struct lmv_obd *lmv = &obd->u.lmv; local 1579 struct lmv_obd *lmv = &obd->u.lmv; local 1607 struct lmv_obd *lmv = &obd->u.lmv; local 1638 struct lmv_obd *lmv = &obd->u.lmv; local 1656 lmv_locate_mds(struct lmv_obd *lmv, struct md_op_data *op_data, struct lu_fid *fid) argument 1676 struct lmv_obd *lmv = &obd->u.lmv; local 1716 struct lmv_obd *lmv = &obd->u.lmv; local 1740 struct lmv_obd *lmv = &obd->u.lmv; local 1800 struct lmv_obd *lmv = &obd->u.lmv; local 1834 struct lmv_obd *lmv = &obd->u.lmv; local 1894 struct lmv_obd *lmv = &obd->u.lmv; local 1930 struct lmv_obd *lmv = &obd->u.lmv; local 1970 struct lmv_obd *lmv = &obd->u.lmv; local 2038 struct lmv_obd *lmv = &obd->u.lmv; local 2064 struct lmv_obd *lmv = &obd->u.lmv; local 2187 struct lmv_obd *lmv = &obd->u.lmv; local 2227 struct lmv_obd *lmv = &obd->u.lmv; local 2312 struct lmv_obd *lmv = &obd->u.lmv; local 2335 struct lmv_obd *lmv; local 2401 struct lmv_obd *lmv; local 2437 struct lmv_obd *lmv = &obd->u.lmv; local 2487 struct lmv_obd *lmv = &obd->u.lmv; local 2539 struct lmv_obd *lmv = &obd->u.lmv; local 2562 struct lmv_obd *lmv = &exp->exp_obd->u.lmv; local 2575 struct lmv_obd *lmv = &obd->u.lmv; local 2606 struct lmv_obd *lmv = &exp->exp_obd->u.lmv; local 2614 struct lmv_obd *lmv = &obd->u.lmv; local 2626 struct lmv_obd *lmv = &obd->u.lmv; local 2640 struct lmv_obd *lmv = &obd->u.lmv; local 2656 struct lmv_obd *lmv = &obd->u.lmv; local 2676 struct lmv_obd *lmv = &obd->u.lmv; local 2695 struct lmv_obd *lmv = &exp->exp_obd->u.lmv; local 2706 struct lmv_obd *lmv = &obd->u.lmv; local 2726 struct lmv_obd *lmv = &obd->u.lmv; local 2751 struct lmv_obd *lmv = &obd->u.lmv; local 2798 struct lmv_obd *lmv = &obd->u.lmv; local [all...] |
H A D | lproc_lmv.c | 50 desc = &dev->u.lmv.desc; 81 struct lmv_obd *lmv; local 84 lmv = &dev->u.lmv; 85 return seq_printf(m, "%s\n", placement_policy2name(lmv->lmv_placement)); 98 struct lmv_obd *lmv; local 104 lmv = &dev->u.lmv; 115 spin_lock(&lmv->lmv_lock); 116 lmv 140 struct lmv_obd *lmv; local 151 struct lmv_obd *lmv = &dev->u.lmv; local 163 struct lmv_obd *lmv = &dev->u.lmv; local [all...] |
H A D | lmv_fld.c | 54 int lmv_fld_lookup(struct lmv_obd *lmv, argument 66 rc = fld_client_lookup(&lmv->lmv_fld, fid_seq(fid), mds, 77 if (*mds >= lmv->desc.ld_tgt_count) { 79 "for fid="DFID"\n", *mds, lmv->desc.ld_tgt_count,
|
H A D | lmv_intent.c | 62 struct lmv_obd *lmv = &obd->u.lmv; local 96 tgt = lmv_find_target(lmv, &body->fid1); 166 struct lmv_obd *lmv = &obd->u.lmv; local 171 tgt = lmv_locate_mds(lmv, op_data, &op_data->op_fid1); 249 struct lmv_obd *lmv = &obd->u.lmv; local 254 tgt = lmv_locate_mds(lmv, op_data, &op_data->op_fid1);
|
/drivers/staging/lustre/lustre/ |
H A D | Makefile | 2 fid/ lov/ mdc/ lmv/ llite/ obdecho/
|
/drivers/staging/lustre/lustre/mdc/ |
H A D | mdc_request.c | 555 struct lov_mds_md *lmv; local 571 lmv = req_capsule_server_sized_get(pill, &RMF_MDT_MD, 573 if (!lmv) { 578 rc = obd_unpackmd(md_exp, (void *)&md->mea, lmv,
|
/drivers/staging/lustre/lustre/include/ |
H A D | obd.h | 633 #define LUSTRE_LMV_NAME "lmv" 907 struct lmv_obd lmv; member in union:obd_device::__anon6604 1236 /* lmv structures */
|