/drivers/staging/lustre/lustre/osc/ |
H A D | osc_object.c | 140 struct lov_oinfo *oinfo = osc->oo_oinfo; local 141 struct osc_async_rc *ar = &oinfo->loi_ar; 145 POSTID(&oinfo->loi_oi), oinfo->loi_ost_idx, 146 oinfo->loi_ost_gen, oinfo->loi_kms_valid, oinfo->loi_kms, 148 osc_lvb_print(env, cookie, p, &oinfo->loi_lvb); 156 struct lov_oinfo *oinfo = cl2osc(obj)->oo_oinfo; local 158 cl_lvb2attr(attr, &oinfo 166 struct lov_oinfo *oinfo = cl2osc(obj)->oo_oinfo; local 190 struct lov_oinfo *oinfo = cl2osc(obj)->oo_oinfo; local [all...] |
H A D | osc_io.c | 405 struct obd_info oinfo = { { { 0 } } }; local 459 oinfo.oi_oa = oa; 460 oinfo.oi_capa = io->u.ci_setattr.sa_capa; 465 &oinfo, osc_async_upcall, 469 &oinfo, NULL, 549 struct obd_info *oinfo = &oio->oi_info; local 565 memset(oinfo, 0, sizeof(*oinfo)); 566 oinfo->oi_oa = oa; 567 oinfo 719 struct lov_oinfo *oinfo; local [all...] |
H A D | osc_lock.c | 342 struct lov_oinfo *oinfo; local 351 oinfo = cl2osc(obj)->oo_oinfo; 371 if (size >= oinfo->loi_kms) { 378 lvb->lvb_size, oinfo->loi_kms, 384 lvb->lvb_size, oinfo->loi_kms);
|
H A D | osc_request.c | 210 struct obd_info *oinfo) 218 oinfo->oi_oa); 219 osc_pack_capa(req, body, oinfo->oi_capa); 261 static int osc_getattr_async(struct obd_export *exp, struct obd_info *oinfo, argument 272 osc_set_capa_size(req, &RMF_CAPA1, oinfo->oi_capa); 279 osc_pack_req_body(req, oinfo); 286 aa->aa_oi = oinfo; 293 struct obd_info *oinfo) 303 osc_set_capa_size(req, &RMF_CAPA1, oinfo->oi_capa); 310 osc_pack_req_body(req, oinfo); 209 osc_pack_req_body(struct ptlrpc_request *req, struct obd_info *oinfo) argument 292 osc_getattr(const struct lu_env *env, struct obd_export *exp, struct obd_info *oinfo) argument 336 osc_setattr(const struct lu_env *env, struct obd_export *exp, struct obd_info *oinfo, struct obd_trans_info *oti) argument 400 osc_setattr_async_base(struct obd_export *exp, struct obd_info *oinfo, struct obd_trans_info *oti, obd_enqueue_update_f upcall, void *cookie, struct ptlrpc_request_set *rqset) argument 450 osc_setattr_async(struct obd_export *exp, struct obd_info *oinfo, struct obd_trans_info *oti, struct ptlrpc_request_set *rqset) argument 546 osc_punch_base(struct obd_export *exp, struct obd_info *oinfo, obd_enqueue_update_f upcall, void *cookie, struct ptlrpc_request_set *rqset) argument 613 osc_sync_base(struct obd_export *exp, struct obd_info *oinfo, obd_enqueue_update_f upcall, void *cookie, struct ptlrpc_request_set *rqset) argument 2481 osc_statfs_async(struct obd_export *exp, struct obd_info *oinfo, __u64 max_age, struct ptlrpc_request_set *rqset) argument [all...] |
/drivers/staging/lustre/lustre/lov/ |
H A D | lov_request.c | 275 struct obd_info *oinfo = cookie; local 278 lovreq = container_of(oinfo, struct lov_request, rq_oi); 282 int lov_prep_getattr_set(struct obd_export *exp, struct obd_info *oinfo, argument 295 set->set_oi = oinfo; 297 for (i = 0; i < oinfo->oi_md->lsm_stripe_count; i++) { 301 loi = oinfo->oi_md->lsm_oinfo[i]; 304 if (oinfo->oi_oa->o_valid & OBD_MD_FLEPOCH) { 327 memcpy(req->rq_oi.oi_oa, oinfo->oi_oa, 331 req->rq_oi.oi_capa = oinfo->oi_capa; 360 int lov_prep_destroy_set(struct obd_export *exp, struct obd_info *oinfo, argument 470 struct obd_info *oinfo = cookie; local 477 lov_prep_setattr_set(struct obd_export *exp, struct obd_info *oinfo, struct obd_trans_info *oti, struct lov_request_set **reqset) argument 655 struct obd_info *oinfo = cookie; local 703 lov_prep_statfs_set(struct obd_device *obd, struct obd_info *oinfo, struct lov_request_set **reqset) argument [all...] |
H A D | lov_object.c | 130 struct lov_oinfo *oinfo; local 147 oinfo = lov->lo_lsm->lsm_oinfo[idx]; 151 PFID(&hdr->coh_lu.loh_fid), hdr, POSTID(&oinfo->loi_oi), 152 oinfo->loi_ost_idx, oinfo->loi_ost_gen); 230 struct lov_oinfo *oinfo = lsm->lsm_oinfo[i]; local 231 int ost_idx = oinfo->loi_ost_idx; 233 result = ostid_to_fid(ofid, &oinfo->loi_oi, 234 oinfo->loi_ost_idx); 239 subconf->u.coc_oinfo = oinfo; [all...] |
H A D | lov_obd.c | 1086 struct obd_info oinfo; local 1104 rc = lov_prep_destroy_set(exp, &oinfo, oa, lsm, oti, &set); 1151 static int lov_getattr_async(struct obd_export *exp, struct obd_info *oinfo, argument 1160 LASSERT(oinfo); 1161 ASSERT_LSM_MAGIC(oinfo->oi_md); 1168 rc = lov_prep_getattr_set(exp, oinfo, &lovset); 1173 POSTID(&oinfo->oi_md->lsm_oi), oinfo->oi_md->lsm_stripe_count, 1174 oinfo->oi_md->lsm_stripe_size); 1180 "%u\n", POSTID(&oinfo 1223 lov_setattr_async(struct obd_export *exp, struct obd_info *oinfo, struct obd_trans_info *oti, struct ptlrpc_request_set *rqset) argument 1338 lov_statfs_async(struct obd_export *exp, struct obd_info *oinfo, __u64 max_age, struct ptlrpc_request_set *rqset) argument 1382 struct obd_info oinfo = { { { 0 } } }; local [all...] |
/drivers/mtd/ |
H A D | mtdchar.c | 935 struct otp_info oinfo; local 939 if (copy_from_user(&oinfo, argp, sizeof(oinfo))) 941 ret = mtd_lock_user_prot_reg(mtd, oinfo.start, oinfo.length);
|
H A D | mtdswap.c | 1420 struct nand_ecclayout *oinfo; local 1450 oinfo = mtd->ecclayout; 1451 if (!oinfo) { 1457 if (!mtd->oobsize || oinfo->oobavail < MTDSWAP_OOBSIZE) { 1460 MTDSWAP_PREFIX, oinfo->oobavail, MTDSWAP_OOBSIZE);
|
/drivers/regulator/ |
H A D | ti-abb-regulator.c | 327 struct ti_abb_info *info, *oinfo; local 357 oinfo = &abb->info[abb->current_info_idx]; 358 if (!memcmp(info, oinfo, sizeof(*info))) {
|
/drivers/staging/lustre/lustre/llite/ |
H A D | llite_lib.c | 1933 struct obd_info oinfo = { { { 0 } } }; local 1961 OBDO_ALLOC(oinfo.oi_oa); 1962 if (!oinfo.oi_oa) { 1966 oinfo.oi_md = lsm; 1967 oinfo.oi_oa->o_oi = lsm->lsm_oi; 1968 oinfo.oi_oa->o_flags = flags; 1969 oinfo.oi_oa->o_valid = OBD_MD_FLID | OBD_MD_FLFLAGS | 1971 oinfo.oi_capa = ll_mdscapa_get(inode); 1972 obdo_set_parent_fid(oinfo.oi_oa, &ll_i2info(inode)->lli_fid); 1973 rc = obd_setattr_rqset(sbi->ll_dt_exp, &oinfo, NUL [all...] |
H A D | file.c | 932 struct obd_info oinfo = { { { 0 } } }; local 937 oinfo.oi_md = lsm; 938 oinfo.oi_oa = obdo; 939 oinfo.oi_oa->o_oi = lsm->lsm_oi; 940 oinfo.oi_oa->o_mode = S_IFREG; 941 oinfo.oi_oa->o_ioepoch = ioepoch; 942 oinfo.oi_oa->o_valid = OBD_MD_FLID | OBD_MD_FLTYPE | 948 oinfo.oi_capa = capa; 950 oinfo.oi_oa->o_valid |= OBD_MD_FLFLAGS; 951 oinfo [all...] |
/drivers/staging/lustre/lustre/include/ |
H A D | obd_class.h | 807 struct obd_info *oinfo) 814 rc = OBP(exp->exp_obd, getattr)(env, exp, oinfo); 819 struct obd_info *oinfo, 827 rc = OBP(exp->exp_obd, getattr_async)(exp, oinfo, set); 832 struct obd_info *oinfo, 840 rc = OBP(exp->exp_obd, setattr)(env, exp, oinfo, oti); 846 struct obd_info *oinfo, 859 rc = OBP(exp->exp_obd, setattr_async)(exp, oinfo, oti, set); 869 struct obd_info *oinfo, 878 rc = OBP(exp->exp_obd, setattr_async)(exp, oinfo, ot 806 obd_getattr(const struct lu_env *env, struct obd_export *exp, struct obd_info *oinfo) argument 818 obd_getattr_async(struct obd_export *exp, struct obd_info *oinfo, struct ptlrpc_request_set *set) argument 831 obd_setattr(const struct lu_env *env, struct obd_export *exp, struct obd_info *oinfo, struct obd_trans_info *oti) argument 845 obd_setattr_rqset(struct obd_export *exp, struct obd_info *oinfo, struct obd_trans_info *oti) argument 868 obd_setattr_async(struct obd_export *exp, struct obd_info *oinfo, struct obd_trans_info *oti, struct ptlrpc_request_set *set) argument 1096 obd_statfs_async(struct obd_export *exp, struct obd_info *oinfo, __u64 max_age, struct ptlrpc_request_set *rqset) argument 1136 struct obd_info oinfo = { { { 0 } } }; local [all...] |
H A D | obd.h | 78 static inline void loi_kms_set(struct lov_oinfo *oinfo, __u64 kms) argument 80 oinfo->loi_kms = kms; 81 oinfo->loi_kms_valid = 1; 1154 int (*o_statfs_async)(struct obd_export *exp, struct obd_info *oinfo, 1171 struct obd_info *oinfo, struct obd_trans_info *oti); 1172 int (*o_setattr_async)(struct obd_export *exp, struct obd_info *oinfo, 1176 struct obd_info *oinfo); 1177 int (*o_getattr_async)(struct obd_export *exp, struct obd_info *oinfo, 1400 static inline struct lustre_capa *oinfo_capa(struct obd_info *oinfo) argument 1402 return oinfo [all...] |
/drivers/staging/lustre/lustre/obdecho/ |
H A D | echo_client.c | 955 struct lov_oinfo *oinfo = lsm->lsm_oinfo[0]; local 956 LASSERT(oinfo != NULL); 957 oinfo->loi_oi = lsm->lsm_oi; 958 conf->eoc_cl.u.coc_oinfo = oinfo; 1894 struct obd_info oinfo = { { { 0 } } }; local 1895 oinfo.oi_md = eco->eo_lsm; 1896 oinfo.oi_oa = oa; 1897 rc = obd_getattr(env, ec->ec_exp, &oinfo); 1908 struct obd_info oinfo = { { { 0 } } }; local 1909 oinfo [all...] |