Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/staging/lustre/lustre/include/
Dcl_object.h394 struct cl_object_header { struct
422 struct cl_object_header *coh_parent; argument
2693 static inline struct cl_object_header *luh2coh(const struct lu_object_header *h) in luh2coh()
2695 return container_of0(h, struct cl_object_header, coh_lu); in luh2coh()
2704 struct cl_object_header *cl_object_header(const struct cl_object *obj) in cl_object_header() function
2739 int cl_object_header_init(struct cl_object_header *h);
2740 void cl_object_header_fini(struct cl_object_header *h);
2762 return cl_object_header(o0) == cl_object_header(o1); in cl_object_same()
2767 clob->co_slice_off = cl_object_header(clob)->coh_page_bufsize; in cl_object_page_init()
2768 cl_object_header(clob)->coh_page_bufsize += ALIGN(size, 8); in cl_object_page_init()
[all …]
Dlclient.h173 struct cl_object_header cob_header;
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/
Dcl_object.c78 int cl_object_header_init(struct cl_object_header *h) in cl_object_header_init()
103 void cl_object_header_fini(struct cl_object_header *h) in cl_object_header_fini()
162 struct cl_object_header *hdr = cl_object_header(o); in cl_object_top()
185 return &cl_object_header(cl_object_top(o))->coh_attr_guard; in cl_object_attr_guard()
338 struct cl_object_header *hdr; in cl_object_kill()
340 hdr = cl_object_header(obj); in cl_object_kill()
371 struct cl_object_header *head = cl_object_header(obj); in cl_object_has_locks()
Dcl_lock.c109 return cl_object_header(lock->cll_descr.cld_obj)->coh_nesting; in cl_lock_nesting()
131 struct cl_object_header *h = cl_object_header(lock->cll_descr.cld_obj); in cl_lock_trace0()
477 struct cl_object_header *head; in cl_lock_lookup()
479 head = cl_object_header(obj); in cl_lock_lookup()
516 struct cl_object_header *head; in cl_lock_find()
521 head = cl_object_header(obj); in cl_lock_find()
564 struct cl_object_header *head; in cl_lock_peek()
569 head = cl_object_header(obj); in cl_lock_peek()
659 struct cl_object_header *hdr; in cl_lock_mutex_get()
664 hdr = cl_object_header(lock->cll_descr.cld_obj); in cl_lock_mutex_get()
[all …]
Dcl_page.c129 struct cl_page *cl_page_lookup(struct cl_object_header *hdr, pgoff_t index) in cl_page_lookup()
158 struct cl_object_header *hdr; in cl_page_gang_lookup()
171 hdr = cl_object_header(obj); in cl_page_gang_lookup()
251 int pagesize = cl_object_header(obj)->coh_page_bufsize; in cl_page_free()
294 OBD_ALLOC_GFP(page, cl_object_header(o)->coh_page_bufsize, in cl_page_alloc()
357 struct cl_object_header *hdr; in cl_page_find0()
363 hdr = cl_object_header(o); in cl_page_find0()
469 struct cl_object_header *header; in cl_page_invariant()
479 header = cl_object_header(pg->cp_obj); in cl_page_invariant()
1060 struct cl_object_header *hdr; in cl_page_delete0()
[all …]
/linux-4.1.27/drivers/staging/lustre/lustre/lov/
Dlov_object.c128 struct cl_object_header *hdr; in lov_init_sub()
129 struct cl_object_header *subhdr; in lov_init_sub()
130 struct cl_object_header *parent; in lov_init_sub()
145 hdr = cl_object_header(lov2cl(lov)); in lov_init_sub()
146 subhdr = cl_object_header(stripe); in lov_init_sub()
662 struct cl_object_header *hdr = cl_object_header(&lov->lo_cl); in lov_layout_change()
945 luobj = lu_object_locate(&cl_object_header(clobj)->coh_lu, in lov_lsm_get()
965 luobj = lu_object_locate(&cl_object_header(clob)->coh_lu, in lov_read_and_clear_async_rc()
Dlovsub_object.c150 struct cl_object_header *hdr; in lovsub_object_alloc()
Dlov_cl_internal.h383 struct cl_object_header lso_header;
/linux-4.1.27/drivers/staging/lustre/lustre/llite/
Dvvp_dev.c362 struct cl_object_header *hdr; in vvp_pgcache_find()
367 hdr = cl_object_header(clob); in vvp_pgcache_find()
438 struct cl_object_header *hdr; in vvp_pgcache_show()
450 hdr = cl_object_header(clob); in vvp_pgcache_show()
/linux-4.1.27/drivers/staging/lustre/lustre/osc/
Dosc_io.c761 struct cl_object_header *head; in osc_req_attr_set()
764 head = cl_object_header(apage->cp_obj); in osc_req_attr_set()
Dosc_lock.c900 return cl_object_header(slice->cls_obj)->coh_pages; in osc_lock_weigh()
1011 struct cl_object_header *hdr = cl_object_header(descr->cld_obj); in osc_lock_enqueue_wait()
Dosc_page.c103 struct cl_object_header *hdr;
124 hdr = cl_object_header(opg->ops_cl.cpl_obj);
/linux-4.1.27/drivers/staging/lustre/lustre/lclient/
Dlcommon_cl.c333 struct cl_object_header *hdr; in ccc_object_alloc()
/linux-4.1.27/drivers/staging/lustre/lustre/obdecho/
Decho_client.c68 struct cl_object_header eo_hdr;
570 struct cl_object_header *hdr = &eco->eo_hdr; in echo_object_alloc()