Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/staging/lustre/lustre/obdclass/
Dlu_object.c79 site = o->lo_dev->ld_site; in lu_object_put()
170 struct lu_site *site = o->lo_dev->ld_site; in lu_object_unhash()
272 site = o->lo_dev->ld_site; in lu_object_free()
509 o->lo_dev->ld_type->ldt_name, o); in lu_object_print()
1133 o->lo_dev = d; in lu_object_init()
1147 struct lu_device *dev = o->lo_dev; in lu_object_fini()
1155 o->lo_dev = NULL; in lu_object_fini()
1221 if (o->lo_dev->ld_type == dtype) in lu_object_locate()
Dcl_page.c109 if (slice->cpl_obj->co_lu.lo_dev->ld_type == dtype) in cl_page_at_trusted()
167 dtype = cl_object_top(obj)->co_lu.lo_dev->ld_type; in cl_page_gang_lookup()
Dcl_lock.c623 if (slice->cls_obj->co_lu.lo_dev->ld_type == dtype) in cl_lock_at()
1822 dtype = lock->cll_descr.cld_obj->co_lu.lo_dev->ld_type; in pgoff_at_lock()
2196 slice->cls_obj->co_lu.lo_dev->ld_type->ldt_name, in cl_lock_print()
Dcl_io.c693 slice = cl_page_at(page, ios->cis_obj->co_lu.lo_dev->ld_type); in cl_io_slice_page()
1338 dev = lu2cl_dev(slice->cpl_obj->co_lu.lo_dev); in cl_req_init()
/linux-4.4.14/drivers/staging/lustre/lustre/osc/
Dosc_cl_internal.h495 return obj->lo_dev->ld_type == &osc_device_type; in osc_is_object()
506 return lu2osc_dev(obj->oo_cl.co_lu.lo_dev)->od_exp; in osc_export()
Dosc_object.c209 struct osc_device *dev = lu2osc_dev(obj->oo_cl.co_lu.lo_dev); in osc_object_is_contended()
Dosc_io.c260 struct osc_device *dev = lu2osc_dev(slice->cpl_obj->co_lu.lo_dev); in osc_io_prepare_write()
491 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.c1322 struct lu_device *ld = opg->ops_cl.cpl_obj->co_lu.lo_dev; in osc_completion()
/linux-4.4.14/drivers/staging/lustre/lustre/lov/
Dlovsub_object.c58 struct lovsub_device *dev = lu2lovsub_dev(obj->lo_dev); in lovsub_object_init()
Dlov_cl_internal.h665 return obj->lo_dev->ld_type == &lov_device_type; in lov_is_object()
670 return obj->lo_dev->ld_type == &lovsub_device_type; in lovsub_is_object()
Dlov_object.c119 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.c138 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.4.14/drivers/staging/lustre/lustre/include/
Dlu_object.h466 struct lu_device *lo_dev; member
762 return o->lo_dev->ld_ops; in lu_object_ops()
Dcl_object.h2667 LASSERT(o == NULL || IS_ERR(o) || lu_device_is_cl(o->lo_dev)); in lu2cl()
2684 LASSERT(o == NULL || IS_ERR(o) || lu_device_is_cl(o->co_lu.lo_dev)); in cl_object_device()
2685 return container_of0(o->co_lu.lo_dev, struct cl_device, cd_lu_dev); in cl_object_device()
2695 return lu2cl_site(obj->co_lu.lo_dev->ld_site); in cl_object_site()
/linux-4.4.14/drivers/staging/lustre/lustre/lclient/
Dlcommon_cl.c360 struct ccc_device *dev = lu2ccc_dev(obj->lo_dev); in ccc_object_init()
1082 struct lu_site *site = obj->co_lu.lo_dev->ld_site; in cl_object_put_last()
/linux-4.4.14/drivers/staging/lustre/lustre/obdecho/
Decho_client.c433 struct echo_device *ed = cl2echo_dev(lu2cl_dev(obj->lo_dev)); in echo_object_init()