Home
last modified time | relevance | path

Searched refs:cp_type (Results 1 – 11 of 11) sorted by relevance

/drivers/misc/
Dlkdtm.c122 static char* cp_type[] = { variable
249 for (i = 0; i < ARRAY_SIZE(cp_type); i++) { in parse_cp_type()
250 if (!strcmp(what, cp_type[i])) in parse_cp_type()
259 if (type == CT_NONE || type < 0 || type > ARRAY_SIZE(cp_type)) in cp_type_to_str()
262 return cp_type[type - 1]; in cp_type_to_str()
688 for (i = 0; i < ARRAY_SIZE(cp_type); i++) in lkdtm_debugfs_read()
689 n += snprintf(buf + n, PAGE_SIZE - n, "%s\n", cp_type[i]); in lkdtm_debugfs_read()
/drivers/staging/lustre/lustre/obdclass/
Dcl_page.c178 LASSERT(page->cp_type == CPT_CACHEABLE); in cl_page_gang_lookup()
299 page->cp_type = type; in cl_page_alloc()
448 return cl_page_find0(env, o, idx, vmpage, parent->cp_type, parent); in cl_page_find_sub()
482 ergo(pg->cp_state < CPS_FREEING && pg->cp_type == CPT_CACHEABLE, in cl_page_invariant()
651 LASSERT(ergo(page, page->cp_type == CPT_CACHEABLE)); in cl_vmpage_page()
1034 if (tmp->cp_type == CPT_CACHEABLE) { in cl_page_delete0()
1440 pg->cp_state, pg->cp_error, pg->cp_type, in cl_page_header_print()
Dcl_lock.c1874 KLASSERT(ergo(page->cp_type == CPT_CACHEABLE, in discard_cb()
1876 KLASSERT(ergo(page->cp_type == CPT_CACHEABLE, in discard_cb()
/drivers/scsi/
Dch.c666 if (0 != ch_checkrange(ch, pos.cp_type, pos.cp_unit)) { in ch_ioctl()
672 ch->firsts[pos.cp_type] + pos.cp_unit, in ch_ioctl()
/drivers/staging/lustre/lustre/llite/
Drw26.c270 if (clp->cp_type == CPT_CACHEABLE) { in ll_direct_rw_pages()
Dvvp_page.c543 if (page->cp_type == CPT_CACHEABLE) { in vvp_page_init()
Drw.c1246 LASSERT(page->cp_type == CPT_CACHEABLE); in ll_readpage()
/drivers/staging/lustre/lustre/include/
Dcl_object.h751 enum cl_page_type cp_type; member
1117 if (page->cp_type == CPT_CACHEABLE) in __page_in_use()
/drivers/staging/lustre/lustre/osc/
Dosc_page.c530 if (page->cp_type == CPT_CACHEABLE && result == 0) in osc_page_init()
Dosc_cache.c1843 if (oap2cl_page(oap)->cp_type != oap2cl_page(oap2)->cp_type) { in try_to_add_extent_for_io()
/drivers/staging/lustre/lustre/obdecho/
Decho_client.c1223 LASSERT(clp->cp_type == CPT_TRANSIENT); in cl_echo_object_brw()