Home
last modified time | relevance | path

Searched refs:container_of0 (Results 1 – 14 of 14) sorted by relevance

/drivers/staging/lustre/lustre/lov/
Dlov_cl_internal.h686 return container_of0(d, struct lov_device, ld_cl.cd_lu_dev); in lu2lov_dev()
702 return container_of0(d, struct lovsub_device, acid_cl.cd_lu_dev); in lu2lovsub_dev()
708 return container_of0(d, struct lovsub_device, acid_cl); in cl2lovsub_dev()
724 return container_of0(obj, struct lov_object, lo_cl.co_lu); in lu2lov()
730 return container_of0(obj, struct lov_object, lo_cl); in cl2lov()
746 return container_of0(obj, struct lovsub_object, lso_cl); in cl2lovsub()
752 return container_of0(obj, struct lovsub_object, lso_cl.co_lu); in lu2lovsub()
780 return container_of0(slice, struct lov_page, lps_cl); in cl2lov_page()
785 return container_of0(slice, struct lov_req, lr_cl); in cl2lov_req()
792 return container_of0(slice, struct lovsub_page, lsb_cl); in cl2lovsub_page()
[all …]
/drivers/staging/lustre/lustre/osc/
Dosc_cl_internal.h502 return container_of0(d, struct osc_device, od_cl.cd_lu_dev); in lu2osc_dev()
518 return container_of0(obj, struct osc_object, oo_cl); in cl2osc()
551 return container_of0(slice, struct osc_page, ops_cl); in cl2osc_page()
556 return container_of0(oap, struct osc_page, ops_oap); in oap2osc()
572 return container_of0(slice, struct osc_lock, ols_cl); in cl2osc_lock()
Dosc_internal.h186 return container_of0(d->obd_lu_dev, struct osc_device, od_cl.cd_lu_dev); in obd2osc_dev()
Dosc_object.c63 return container_of0(obj, struct osc_object, oo_cl.co_lu); in lu2osc()
Dosc_io.c59 return container_of0(slice, struct osc_req, or_cl); in cl2osc_req()
65 struct osc_io *oio = container_of0(slice, struct osc_io, oi_cl); in cl2osc_io()
/drivers/staging/lustre/lustre/lclient/
Dlcommon_cl.c994 return container_of0(d, struct ccc_device, cdv_cl.cd_lu_dev); in lu2ccc_dev()
999 return container_of0(d, struct ccc_device, cdv_cl); in cl2ccc_dev()
1009 return container_of0(obj, struct ccc_object, cob_cl.co_lu); in lu2ccc()
1014 return container_of0(obj, struct ccc_object, cob_cl); in cl2ccc()
1034 return container_of0(slice, struct ccc_req, crq_cl); in cl2ccc_req()
/drivers/staging/lustre/include/linux/libcfs/
Dlibcfs.h179 #define container_of0(ptr, type, member) \ macro
/drivers/staging/lustre/lustre/include/
Dcl_object.h2662 return container_of0(d, struct cl_device, cd_lu_dev); in lu2cl_dev()
2673 return container_of0(o, struct cl_object, co_lu); in lu2cl()
2679 return container_of0(conf, struct cl_object_conf, coc_lu); in lu2cl_conf()
2690 return container_of0(o->co_lu.lo_dev, struct cl_device, cd_lu_dev); in cl_object_device()
2695 return container_of0(h, struct cl_object_header, coh_lu); in luh2coh()
Dlu_object.h745 return container_of0(h->loh_layers.next, struct lu_object, lo_linkage); in lu_object_top()
753 return container_of0(o->lo_linkage.next, struct lu_object, lo_linkage); in lu_object_next()
Ddt_object.h673 return container_of0(l, struct dt_device, dd_lu_dev); in lu2dt_dev()
704 return container_of0(l, struct dt_object, do_lu); in lu2dt()
725 return container_of0(o, struct dt_object, do_lu); in lu2dt_obj()
/drivers/staging/lustre/lustre/llite/
Dllite_nfs.c215 struct lu_dirent *lde = container_of0(name, struct lu_dirent, lde_name); in ll_nfs_get_name_filldir()
/drivers/staging/lustre/lustre/obdclass/
Dlu_object.c297 o = container_of0(splice.prev, struct lu_object, lo_linkage); in lu_object_free()
369 h = container_of0(dispose.next, in lu_site_purge()
560 h = container_of0(hnode, struct lu_object_header, loh_hash); in htable_lookup()
Ddt_object.c231 return container_of0(n, struct dt_object, do_lu); in dt_locate_at()
/drivers/staging/lustre/lustre/obdecho/
Decho_client.c107 return container_of0(dev, struct echo_device, ed_cl); in cl2echo_dev()