Lines Matching refs:bcache
358 struct pt_block_cache *bcache; in pt_section_bcache_memsize() local
363 bcache = section->bcache; in pt_section_bcache_memsize()
364 if (!bcache) { in pt_section_bcache_memsize()
369 *psize = sizeof(*bcache) + in pt_section_bcache_memsize()
370 (bcache->nentries * sizeof(struct pt_bcache_entry)); in pt_section_bcache_memsize()
435 struct pt_block_cache *bcache; in pt_section_alloc_bcache() local
470 bcache = pt_section_bcache(section); in pt_section_alloc_bcache()
471 if (bcache) { in pt_section_alloc_bcache()
476 bcache = pt_bcache_alloc(csize); in pt_section_alloc_bcache()
477 if (!bcache) { in pt_section_alloc_bcache()
488 section->bcache = bcache; in pt_section_alloc_bcache()
608 pt_bcache_free(section->bcache); in pt_section_unmap()
609 section->bcache = NULL; in pt_section_unmap()