[go: nahoru, domu]

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

/drivers/staging/lustre/lustre/lov/
H A Dlov_obd.c995 unsigned ost_idx; local
1005 ost_idx = src_oa->o_nlink;
1011 if (ost_idx >= lov->desc.ld_tgt_count ||
1012 !lov->lov_tgts[ost_idx]) {
1018 if (lsm->lsm_oinfo[i]->loi_ost_idx == ost_idx) {
1032 rc = obd_create(NULL, lov->lov_tgts[ost_idx]->ltd_exp,
2035 __u64 ost_idx = *((__u64 *)val); local
2038 LASSERT(ost_idx < lov->desc.ld_tgt_count);
2039 tgt = lov->lov_tgts[ost_idx];
H A Dlov_internal.h207 int lov_check_and_wait_active(struct lov_obd *lov, int ost_idx);
H A Dlov_object.c231 int ost_idx = oinfo->loi_ost_idx; local
238 subdev = lovsub2cl_dev(dev->ld_target[ost_idx]);
240 LASSERTF(subdev != NULL, "not init ost %d\n", ost_idx);
H A Dlov_request.c159 int lov_check_and_wait_active(struct lov_obd *lov, int ost_idx) argument
168 tgt = lov->lov_tgts[ost_idx];
191 rc = l_wait_event(waitq, lov_check_set(lov, ost_idx), &lwi);
/drivers/staging/lustre/lustre/include/lustre/
H A Dlustre_idl.h541 static inline __u64 fid_idif_seq(__u64 id, __u32 ost_idx) argument
543 return FID_SEQ_IDIF | (ost_idx << 16) | ((id >> 32) & 0xffff);
669 __u32 ost_idx)
671 if (ost_idx > 0xffff) {
672 CERROR("bad ost_idx, "DOSTID" ost_idx:%u\n", POSTID(ostid),
673 ost_idx);
684 CERROR("bad MDT0 id, "DOSTID" ost_idx:%u\n",
685 POSTID(ostid), ost_idx);
688 fid->f_seq = fid_idif_seq(ostid_id(ostid), ost_idx);
668 ostid_to_fid(struct lu_fid *fid, struct ost_id *ostid, __u32 ost_idx) argument
[all...]
/drivers/staging/lustre/lustre/llite/
H A Dfile.c1275 static int ll_lov_recreate(struct inode *inode, struct ost_id *oi, u32 ost_idx) argument
1304 oa->o_nlink = ost_idx;
1344 u32 ost_idx; local
1353 ost_idx = (fid_seq(&fid) >> 16) & 0xffff;
1354 return ll_lov_recreate(inode, &oi, ost_idx);

Completed in 147 milliseconds