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.h606 return container_of0(d, struct lov_device, ld_cl.cd_lu_dev); in lu2lov_dev()
622 return container_of0(d, struct lovsub_device, acid_cl.cd_lu_dev); in lu2lovsub_dev()
628 return container_of0(d, struct lovsub_device, acid_cl); in cl2lovsub_dev()
644 return container_of0(obj, struct lov_object, lo_cl.co_lu); in lu2lov()
650 return container_of0(obj, struct lov_object, lo_cl); in cl2lov()
666 return container_of0(obj, struct lovsub_object, lso_cl); in cl2lovsub()
672 return container_of0(obj, struct lovsub_object, lso_cl.co_lu); in lu2lovsub()
700 return container_of0(slice, struct lov_page, lps_cl); in cl2lov_page()
705 return container_of0(slice, struct lov_req, lr_cl); in cl2lov_req()
712 return container_of0(slice, struct lovsub_page, lsb_cl); in cl2lovsub_page()
[all …]
/drivers/staging/lustre/lustre/llite/
Dvvp_internal.h289 return container_of0(d, struct vvp_device, vdv_cl.cd_lu_dev); in lu2vvp_dev()
294 return container_of0(d, struct vvp_device, vdv_cl); in cl2vvp_dev()
299 return container_of0(obj, struct vvp_object, vob_cl); in cl2vvp()
304 return container_of0(obj, struct vvp_object, vob_cl.co_lu); in lu2vvp()
Dvvp_req.c40 return container_of0(slice, struct vvp_req, vrq_cl); in cl2vvp_req()
Dllite_nfs.c234 struct lu_dirent *lde = container_of0(name, struct lu_dirent, lde_name); in ll_nfs_get_name_filldir()
/drivers/staging/lustre/lustre/osc/
Dosc_cl_internal.h485 return container_of0(d, struct osc_device, od_cl.cd_lu_dev); in lu2osc_dev()
501 return container_of0(obj, struct osc_object, oo_cl); in cl2osc()
534 return container_of0(slice, struct osc_page, ops_cl); in cl2osc_page()
539 return container_of0(oap, struct osc_page, ops_oap); in oap2osc()
560 return container_of0(slice, struct osc_lock, ols_cl); in cl2osc_lock()
Dosc_internal.h178 return container_of0(d->obd_lu_dev, struct osc_device, od_cl.cd_lu_dev); in obd2osc_dev()
Dosc_object.c60 return container_of0(obj, struct osc_object, oo_cl.co_lu); in lu2osc()
Dosc_io.c55 return container_of0(slice, struct osc_req, or_cl); in cl2osc_req()
61 struct osc_io *oio = container_of0(slice, struct osc_io, oi_cl); in cl2osc_io()
/drivers/staging/lustre/include/linux/libcfs/
Dlibcfs.h115 #define container_of0(ptr, type, member) \ macro
/drivers/staging/lustre/lustre/include/
Dcl_object.h2091 return container_of0(d, struct cl_device, cd_lu_dev); in lu2cl_dev()
2102 return container_of0(o, struct cl_object, co_lu); in lu2cl()
2108 return container_of0(conf, struct cl_object_conf, coc_lu); in lu2cl_conf()
2119 return container_of0(o->co_lu.lo_dev, struct cl_device, cd_lu_dev); in cl_object_device()
2124 return container_of0(h, struct cl_object_header, coh_lu); in luh2coh()
Dlu_object.h737 return container_of0(h->loh_layers.next, struct lu_object, lo_linkage); in lu_object_top()
745 return container_of0(o->lo_linkage.next, struct lu_object, lo_linkage); in lu_object_next()
/drivers/staging/lustre/lustre/lmv/
Dlmv_internal.h67 return container_of0(lmv, struct obd_device, u.lmv); in lmv2obd_dev()
/drivers/staging/lustre/lustre/obdclass/
Dlu_object.c320 o = container_of0(splice.prev, struct lu_object, lo_linkage); in lu_object_free()
397 h = container_of0(dispose.next, in lu_site_purge()
572 h = container_of0(hnode, struct lu_object_header, loh_hash); in htable_lookup()
/drivers/staging/lustre/lustre/obdecho/
Decho_client.c101 return container_of0(dev, struct echo_device, ed_cl); in cl2echo_dev()