Home
last modified time | relevance | path

Searched refs:lo_dev (Results 1 – 20 of 20) sorted by relevance

/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/
Dlu_object.c78 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()
Dllog.c762 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()
Dcl_lock.c623 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()
Dcl_page.c115 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()
Dcl_io.c693 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()
Ddt_object.c230 if (n->lo_dev == &dev->dd_lu_dev) in dt_locate_at()
/linux-4.1.27/drivers/staging/lustre/lustre/osc/
Dosc_cl_internal.h496 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()
Dosc_object.c211 struct osc_device *dev = lu2osc_dev(obj->oo_cl.co_lu.lo_dev); in osc_object_is_contended()
Dosc_io.c261 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()
Dosc_lock.c955 const struct osc_device *osd = lu2osc_dev(obj->co_lu.lo_dev); in osc_lock_to_lockless()
Dosc_cache.c1321 struct lu_device *ld = opg->ops_cl.cpl_obj->co_lu.lo_dev; in osc_completion()
/linux-4.1.27/drivers/staging/lustre/lustre/lov/
Dlovsub_object.c58 struct lovsub_device *dev = lu2lovsub_dev(obj->lo_dev); in lovsub_object_init()
Dlov_cl_internal.h670 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()
Dlov_object.c120 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()
Dlov_io.c139 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()
/linux-4.1.27/drivers/staging/lustre/lustre/include/
Dlu_object.h468 struct lu_device *lo_dev; member
770 return o->lo_dev->ld_ops; in lu_object_ops()
Dcl_object.h2672 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()
Ddt_object.h703 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()
/linux-4.1.27/drivers/staging/lustre/lustre/lclient/
Dlcommon_cl.c361 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()
/linux-4.1.27/drivers/staging/lustre/lustre/obdecho/
Decho_client.c432 struct echo_device *ed = cl2echo_dev(lu2cl_dev(obj->lo_dev)); in echo_object_init()