Home
last modified time | relevance | path

Searched refs:ost_idx (Results 1 – 6 of 6) sorted by relevance

/drivers/staging/lustre/lustre/lov/
Dlov_obd.c972 unsigned ost_idx; in lov_recreate() local
982 ost_idx = src_oa->o_nlink; in lov_recreate()
988 if (ost_idx >= lov->desc.ld_tgt_count || in lov_recreate()
989 !lov->lov_tgts[ost_idx]) { in lov_recreate()
1000 if (loi->loi_ost_idx == ost_idx) { in lov_recreate()
1013 rc = obd_create(NULL, lov->lov_tgts[ost_idx]->ltd_exp, in lov_recreate()
2032 __u64 ost_idx = *((__u64 *)val); in lov_get_info() local
2035 LASSERT(ost_idx < lov->desc.ld_tgt_count); in lov_get_info()
2036 tgt = lov->lov_tgts[ost_idx]; in lov_get_info()
Dlov_request.c147 int lov_check_and_wait_active(struct lov_obd *lov, int ost_idx) in lov_check_and_wait_active() argument
156 tgt = lov->lov_tgts[ost_idx]; in lov_check_and_wait_active()
179 rc = l_wait_event(waitq, lov_check_set(lov, ost_idx), &lwi); in lov_check_and_wait_active()
Dlov_object.c232 int ost_idx = oinfo->loi_ost_idx; in lov_init_raid0() local
242 subdev = lovsub2cl_dev(dev->ld_target[ost_idx]); in lov_init_raid0()
244 LASSERTF(subdev != NULL, "not init ost %d\n", ost_idx); in lov_init_raid0()
Dlov_internal.h170 int lov_check_and_wait_active(struct lov_obd *lov, int ost_idx);
/drivers/staging/lustre/lustre/include/lustre/
Dlustre_idl.h551 static inline __u64 fid_idif_seq(__u64 id, __u32 ost_idx) in fid_idif_seq() argument
553 return FID_SEQ_IDIF | (ost_idx << 16) | ((id >> 32) & 0xffff); in fid_idif_seq()
679 __u32 ost_idx) in ostid_to_fid() argument
681 if (ost_idx > 0xffff) { in ostid_to_fid()
683 ost_idx); in ostid_to_fid()
695 POSTID(ostid), ost_idx); in ostid_to_fid()
698 fid->f_seq = fid_idif_seq(ostid_id(ostid), ost_idx); in ostid_to_fid()
710 POSTID(ostid), ost_idx); in ostid_to_fid()
/drivers/staging/lustre/lustre/llite/
Dfile.c1254 static int ll_lov_recreate(struct inode *inode, struct ost_id *oi, u32 ost_idx) in ll_lov_recreate() argument
1283 oa->o_nlink = ost_idx; in ll_lov_recreate()
1323 u32 ost_idx; in ll_lov_recreate_fid() local
1332 ost_idx = (fid_seq(&fid) >> 16) & 0xffff; in ll_lov_recreate_fid()
1333 return ll_lov_recreate(inode, &oi, ost_idx); in ll_lov_recreate_fid()