Searched refs:lo_dev (Results 1 – 20 of 20) sorted by relevance
78 site = o->lo_dev->ld_site; in lu_object_put()178 struct cfs_hash *obj_hash = o->lo_dev->ld_site->ls_obj_hash; in lu_object_unhash()272 site = o->lo_dev->ld_site; in lu_object_free()507 o->lo_dev->ld_type->ldt_name, o); in lu_object_print()1160 o->lo_dev = d; in lu_object_init()1174 struct lu_device *dev = o->lo_dev; in lu_object_fini()1182 o->lo_dev = NULL; in lu_object_fini()1248 if (o->lo_dev->ld_type == dtype) in lu_object_locate()2074 struct lu_site *s = o->lo_dev->ld_site; in lu_object_assign_fid()
762 d = lu2dt_dev((*res)->lgh_obj->do_lu.lo_dev); in llog_open_create()829 dt = lu2dt_dev(loghandle->lgh_obj->do_lu.lo_dev); in llog_write()
623 if (slice->cls_obj->co_lu.lo_dev->ld_type == dtype) in cl_lock_at()1847 dtype = lock->cll_descr.cld_obj->co_lu.lo_dev->ld_type; in pgoff_at_lock()2221 slice->cls_obj->co_lu.lo_dev->ld_type->ldt_name, in cl_lock_print()
115 if (slice->cpl_obj->co_lu.lo_dev->ld_type == dtype) in cl_page_at_trusted()173 dtype = cl_object_top(obj)->co_lu.lo_dev->ld_type; in cl_page_gang_lookup()
693 slice = cl_page_at(page, ios->cis_obj->co_lu.lo_dev->ld_type); in cl_io_slice_page()1406 dev = lu2cl_dev(slice->cpl_obj->co_lu.lo_dev); in cl_req_init()
230 if (n->lo_dev == &dev->dd_lu_dev) in dt_locate_at()
496 return obj->lo_dev->ld_type == &osc_device_type; in osc_is_object()507 return lu2osc_dev(obj->oo_cl.co_lu.lo_dev)->od_exp; in osc_export()
211 struct osc_device *dev = lu2osc_dev(obj->oo_cl.co_lu.lo_dev); in osc_object_is_contended()
261 struct osc_device *dev = lu2osc_dev(slice->cpl_obj->co_lu.lo_dev); in osc_io_prepare_write()493 struct osc_device *osd = lu2osc_dev(obj->co_lu.lo_dev); in osc_io_setattr_end()
955 const struct osc_device *osd = lu2osc_dev(obj->co_lu.lo_dev); in osc_lock_to_lockless()
1321 struct lu_device *ld = opg->ops_cl.cpl_obj->co_lu.lo_dev; in osc_completion()
58 struct lovsub_device *dev = lu2lovsub_dev(obj->lo_dev); in lovsub_object_init()
670 return obj->lo_dev->ld_type == &lov_device_type; in lov_is_object()675 return obj->lo_dev->ld_type == &lovsub_device_type; in lovsub_is_object()
120 LASSERT(ergo(!IS_ERR(o), o->lo_dev->ld_type == &lovsub_device_type)); in lov_sub_find()304 site = sub->co_lu.lo_dev->ld_site; in lov_subobject_kill()697 lu2lov_dev(lov->lo_cl.co_lu.lo_dev), in lov_layout_change()722 struct lov_device *dev = lu2lov_dev(obj->lo_dev); in lov_object_init()
139 struct lov_device *ld = lu2lov_dev(lov2cl(lov)->co_lu.lo_dev); in lov_io_sub_init()576 struct lov_device *ld = lu2lov_dev(lov2cl(obj)->co_lu.lo_dev); in lov_io_submit()
468 struct lu_device *lo_dev; member770 return o->lo_dev->ld_ops; in lu_object_ops()
2672 LASSERT(o == NULL || IS_ERR(o) || lu_device_is_cl(o->lo_dev)); in lu2cl()2689 LASSERT(o == NULL || IS_ERR(o) || lu_device_is_cl(o->co_lu.lo_dev)); in cl_object_device()2690 return container_of0(o->co_lu.lo_dev, struct cl_device, cd_lu_dev); in cl_object_device()2700 return lu2cl_site(obj->co_lu.lo_dev->ld_site); in cl_object_site()
703 LASSERT(l == NULL || IS_ERR(l) || lu_device_is_dt(l->lo_dev)); in lu2dt()724 LASSERT(ergo(o != NULL, lu_device_is_dt(o->lo_dev))); in lu2dt_obj()
361 struct ccc_device *dev = lu2ccc_dev(obj->lo_dev); in ccc_object_init()1163 struct lu_site *site = obj->co_lu.lo_dev->ld_site; in cl_object_put_last()
432 struct echo_device *ed = cl2echo_dev(lu2cl_dev(obj->lo_dev)); in echo_object_init()