Home
last modified time | relevance | path

Searched refs:clob (Results 1 – 8 of 8) sorted by relevance

/drivers/staging/lustre/lustre/lclient/
Dglimpse.c87 struct inode *inode, struct cl_object *clob, int agl) in cl_glimpse_lock() argument
91 const struct lu_fid *fid = lu_object_fid(&clob->co_lu); in cl_glimpse_lock()
114 descr->cld_obj = clob; in cl_glimpse_lock()
170 struct cl_object *clob = lli->lli_clob; in cl_io_get() local
177 io->ci_obj = clob; in cl_io_get()
234 struct cl_object *clob; in cl_local_size() local
247 clob = io->ci_obj; in cl_local_size()
248 result = cl_io_init(env, io, CIT_MISC, clob); in cl_local_size()
256 descr->cld_obj = clob; in cl_local_size()
Dlcommon_cl.c1012 struct cl_object *clob; in cl_file_inode_init() local
1043 clob = cl_object_find(env, lu2cl_dev(site->ls_top_dev), in cl_file_inode_init()
1045 if (!IS_ERR(clob)) { in cl_file_inode_init()
1050 lli->lli_clob = clob; in cl_file_inode_init()
1052 lu_object_ref_add(&clob->co_lu, "inode", inode); in cl_file_inode_init()
1054 result = PTR_ERR(clob); in cl_file_inode_init()
1108 struct cl_object *clob = lli->lli_clob; in cl_inode_fini() local
1112 if (clob != NULL) { in cl_inode_fini()
1129 cl_object_kill(env, clob); in cl_inode_fini()
1130 lu_object_ref_del(&clob->co_lu, "inode", inode); in cl_inode_fini()
[all …]
/drivers/staging/lustre/lustre/llite/
Dvvp_dev.c347 struct cl_object *clob; in vvp_pgcache_find() local
357 clob = vvp_pgcache_obj(env, dev, &id); in vvp_pgcache_find()
358 if (clob != NULL) { in vvp_pgcache_find()
364 hdr = cl_object_header(clob); in vvp_pgcache_find()
377 lu_object_ref_del(&clob->co_lu, "dump", current); in vvp_pgcache_find()
378 cl_object_put(env, clob); in vvp_pgcache_find()
432 struct cl_object *clob; in vvp_pgcache_show() local
445 clob = vvp_pgcache_obj(env, &sbi->ll_cl->cd_lu_dev, &id); in vvp_pgcache_show()
446 if (clob != NULL) { in vvp_pgcache_show()
447 hdr = cl_object_header(clob); in vvp_pgcache_show()
[all …]
Drw.c93 struct cl_object *clob; in ll_cl_init() local
99 clob = ll_i2info(vmpage->mapping->host)->lli_clob; in ll_cl_init()
100 LASSERT(clob != NULL); in ll_cl_init()
174 page = cl_page_find(env, clob, vmpage->index, vmpage, in ll_cl_init()
189 vmpage->index, PFID(lu_object_fid(&clob->co_lu)), result, in ll_cl_init()
469 struct cl_object *clob = ll_i2info(mapping->host)->lli_clob; in ll_read_ahead_page() local
479 page = cl_page_find(env, clob, vmpage->index, in ll_read_ahead_page()
673 struct cl_object *clob; in ll_readahead() local
679 clob = lli->lli_clob; in ll_readahead()
683 cl_object_attr_lock(clob); in ll_readahead()
[all …]
/drivers/staging/lustre/lustre/include/
Dlclient.h50 struct inode *inode, struct cl_object *clob, int agl);
361 # define CLOBINVRNT(env, clob, expr) \ argument
362 ((void)sizeof(env), (void)sizeof(clob), (void)sizeof(!!(expr)))
389 int lov_read_and_clear_async_rc(struct cl_object *clob);
Dcl_object.h2758 static inline void cl_object_page_init(struct cl_object *clob, int size) in cl_object_page_init() argument
2760 clob->co_slice_off = cl_object_header(clob)->coh_page_bufsize; in cl_object_page_init()
2761 cl_object_header(clob)->coh_page_bufsize += ALIGN(size, 8); in cl_object_page_init()
2764 static inline void *cl_object_page_slice(struct cl_object *clob, in cl_object_page_slice() argument
2767 return (void *)((char *)page + clob->co_slice_off); in cl_object_page_slice()
/drivers/staging/lustre/lustre/osc/
Dosc_io.c376 struct cl_object *clob; in osc_trunc_check() local
380 clob = oio->oi_cl.cis_obj; in osc_trunc_check()
381 start = cl_index(clob, size); in osc_trunc_check()
382 partial = cl_offset(clob, start) < size; in osc_trunc_check()
387 cl_page_gang_lookup(env, clob, io, start + partial, CL_PAGE_EOF, in osc_trunc_check()
/drivers/staging/lustre/lustre/lov/
Dlov_object.c949 int lov_read_and_clear_async_rc(struct cl_object *clob) in lov_read_and_clear_async_rc() argument
954 luobj = lu_object_locate(&cl_object_header(clob)->coh_lu, in lov_read_and_clear_async_rc()