Home
last modified time | relevance | path

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

/drivers/staging/lustre/lustre/lov/
Dlov_cl_internal.h708 return &lov->lo_cl.co_lu; in lov2lu()
719 return container_of0(obj, struct lov_object, lo_cl.co_lu); in lu2lov()
724 LINVRNT(lov_is_object(&obj->co_lu)); in cl2lov()
730 return &los->lso_cl.co_lu; in lovsub2lu()
740 LINVRNT(lovsub_is_object(&obj->co_lu)); in cl2lovsub()
747 return container_of0(obj, struct lovsub_object, lso_cl.co_lu); in lu2lovsub()
753 LINVRNT(lovsub_is_object(&slice->cls_obj->co_lu)); in cl2lovsub_lock()
768 LINVRNT(lov_is_object(&slice->cls_obj->co_lu)); in cl2lov_lock()
774 LINVRNT(lov_is_object(&slice->cpl_obj->co_lu)); in cl2lov_page()
786 LINVRNT(lovsub_is_object(&slice->cpl_obj->co_lu)); in cl2lovsub_page()
Dlov_object.c161 lu_object_ref_add(&stripe->co_lu, "lov-parent", lov); in lov_init_sub()
178 lu_object_unhash(env, &stripe->co_lu); in lov_init_sub()
185 LU_OBJECT_DEBUG(mask, env, &stripe->co_lu, in lov_init_sub()
304 site = sub->co_lu.lo_dev->ld_site; in lov_subobject_kill()
305 bkt = lu_site_bkt_from_fid(site, &sub->co_lu.lo_header->loh_fid); in lov_subobject_kill()
309 lu_object_ref_del(&sub->co_lu, "lov-parent", lov); in lov_subobject_kill()
697 lu2lov_dev(lov->lo_cl.co_lu.lo_dev), in lov_layout_change()
Dlov_io.c138 struct lov_device *ld = lu2lov_dev(lov2cl(lov)->co_lu.lo_dev); in lov_io_sub_init()
253 lu_object_locate(page->cp_child->cp_obj->co_lu.lo_header, in lov_page_stripe()
576 struct lov_device *ld = lu2lov_dev(lov2cl(obj)->co_lu.lo_dev); in lov_io_submit()
939 PFID(lu_object_fid(&obj->co_lu))); in lov_io_init_empty()
/drivers/staging/lustre/lustre/obdclass/
Dcl_object.c127 lu_object_put(env, &o->co_lu); in cl_object_put()
141 lu_object_get(&o->co_lu); in cl_object_get()
217 top = obj->co_lu.lo_header; in cl_object_attr_get()
219 list_for_each_entry(obj, &top->loh_layers, co_lu.lo_linkage) { in cl_object_attr_get()
248 top = obj->co_lu.lo_header; in cl_object_attr_set()
251 co_lu.lo_linkage) { in cl_object_attr_set()
279 top = obj->co_lu.lo_header; in cl_object_glimpse()
282 co_lu.lo_linkage) { in cl_object_glimpse()
306 top = obj->co_lu.lo_header; in cl_conf_set()
308 list_for_each_entry(obj, &top->loh_layers, co_lu.lo_linkage) { in cl_conf_set()
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()
262 lu_object_ref_del_at(&obj->co_lu, &page->cp_obj_ref, "cl_page", page); in cl_page_free()
295 lu_object_ref_add_at(&o->co_lu, &page->cp_obj_ref, "cl_page", in cl_page_alloc()
305 head = o->co_lu.lo_header; in cl_page_alloc()
307 co_lu.lo_linkage) { in cl_page_alloc()
Dcl_lock.c268 lu_object_ref_del_at(&obj->co_lu, &lock->cll_obj_ref, "cl_lock", lock); in cl_lock_free()
370 lu_object_ref_add_at(&obj->co_lu, &lock->cll_obj_ref, "cl_lock", in cl_lock_alloc()
380 head = obj->co_lu.lo_header; in cl_lock_alloc()
386 co_lu.lo_linkage) { in cl_lock_alloc()
623 if (slice->cls_obj->co_lu.lo_dev->ld_type == dtype) in cl_lock_at()
1534 PDESCR(desc), PFID(lu_object_fid(&desc->cld_obj->co_lu))); in cl_lock_modify()
1822 dtype = lock->cll_descr.cld_obj->co_lu.lo_dev->ld_type; in pgoff_at_lock()
2175 fid = lu_object_fid(&descr->cld_obj->co_lu); in cl_lock_descr_print()
2196 slice->cls_obj->co_lu.lo_dev->ld_type->ldt_name, in cl_lock_print()
Dcl_io.c229 LU_OBJECT_HEADER(D_VFSTRACE, env, &io->ci_obj->co_lu, in cl_io_rw_init()
242 return lu_object_fid(&descr->cld_obj->co_lu); in cl_lock_descr_fid()
693 slice = cl_page_at(page, ios->cis_obj->co_lu.lo_dev->ld_type); in cl_io_slice_page()
1316 lu_object_ref_del_at(&obj->co_lu, in cl_req_free()
1338 dev = lu2cl_dev(slice->cpl_obj->co_lu.lo_dev); in cl_req_init()
1434 lu_object_ref_add_at(&obj->co_lu, &rqo->ro_obj_ref, in cl_req_page_add()
/drivers/staging/lustre/lustre/include/
Dcl_object.h249 struct lu_object co_lu; member
448 &(obj)->co_lu.lo_header->loh_layers, \
449 co_lu.lo_linkage)
456 &(obj)->co_lu.lo_header->loh_layers, \
457 co_lu.lo_linkage)
2668 return container_of0(o, struct cl_object, co_lu); in lu2cl()
2679 return obj ? lu2cl(lu_object_next(&obj->co_lu)) : NULL; in cl_object_next()
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()
[all …]
/drivers/staging/lustre/lustre/osc/
Dosc_cl_internal.h506 return lu2osc_dev(obj->oo_cl.co_lu.lo_dev)->od_exp; in osc_export()
516 LINVRNT(osc_is_object(&obj->co_lu)); in cl2osc()
549 LINVRNT(osc_is_object(&slice->cpl_obj->co_lu)); in cl2osc_page()
570 LINVRNT(osc_is_object(&slice->cls_obj->co_lu)); in cl2osc_lock()
Dosc_object.c57 return &osc->oo_cl.co_lu; in osc2lu()
63 return container_of0(obj, struct osc_object, oo_cl.co_lu); in lu2osc()
209 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_cache.c1322 struct lu_device *ld = opg->ops_cl.cpl_obj->co_lu.lo_dev; in osc_completion()
2103 lu_object_ref_add_at(&obj->co_lu, &link, "check", in osc_check_rpcs()
2145 lu_object_ref_del_at(&obj->co_lu, &link, "check", in osc_check_rpcs()
Dosc_lock.c955 const struct osc_device *osd = lu2osc_dev(obj->co_lu.lo_dev); in osc_lock_to_lockless()
/drivers/staging/lustre/lustre/llite/
Dvvp_io.c125 PFID(lu_object_fid(&obj->co_lu)), in vvp_io_fini()
165 PFID(lu_object_fid(&obj->co_lu)), in vvp_io_fini()
501 LU_OBJECT_HEADER(D_INODE, env, &obj->co_lu, in vvp_io_read_start()
665 PFID(lu_object_fid(&obj->co_lu))); in vvp_io_fault_start()
986 LU_OBJECT_HEADER(D_INODE, env, &obj->co_lu, "committing page write\n"); in vvp_io_commit_write()
1077 PFID(lu_object_fid(&obj->co_lu)), in vvp_io_commit_write()
1142 PFID(lu_object_fid(&obj->co_lu)), in vvp_io_init()
1194 PFID(lu_object_fid(&obj->co_lu)), result); in vvp_io_init()
Dvvp_dev.c377 lu_object_ref_del(&clob->co_lu, "dump", current); in vvp_pgcache_find()
460 lu_object_ref_del(&clob->co_lu, "dump", current); in vvp_pgcache_show()
Dvvp_object.c190 lu = lu_object_locate(obj->co_lu.lo_header, &vvp_device_type); in cl_inode2ccc()
Drw.c189 vmpage->index, PFID(lu_object_fid(&clob->co_lu)), result, in ll_cl_init()
/drivers/staging/lustre/lustre/lclient/
Dlcommon_cl.c783 PFID(lu_object_fid(&obj->co_lu)), in ccc_prep_size()
930 return &vob->cob_cl.co_lu; in ccc2lu()
935 return container_of0(obj, struct ccc_object, cob_cl.co_lu); in lu2ccc()
1052 lu_object_ref_add(&clob->co_lu, "inode", inode); in cl_file_inode_init()
1078 struct lu_object_header *header = obj->co_lu.lo_header; in cl_object_put_last()
1082 struct lu_site *site = obj->co_lu.lo_dev->ld_site; in cl_object_put_last()
1130 lu_object_ref_del(&clob->co_lu, "inode", inode); in cl_inode_fini()
Dglimpse.c91 const struct lu_fid *fid = lu_object_fid(&clob->co_lu); in cl_glimpse_lock()
/drivers/staging/lustre/lustre/obdecho/
Decho_client.c574 obj = &echo_obj2cl(eco)->co_lu; in echo_object_alloc()
1022 struct lu_object_header *loh = obj->co_lu.lo_header; in cl_echo_object_put()