Lines Matching refs:bcache
369 struct pt_block_cache *bcache; in pt_section_bcache_memsize() local
374 bcache = section->bcache; in pt_section_bcache_memsize()
375 if (!bcache) { in pt_section_bcache_memsize()
380 *psize = sizeof(*bcache) + in pt_section_bcache_memsize()
381 (bcache->nentries * sizeof(struct pt_bcache_entry)); in pt_section_bcache_memsize()
446 struct pt_block_cache *bcache; in pt_section_alloc_bcache() local
481 bcache = pt_section_bcache(section); in pt_section_alloc_bcache()
482 if (bcache) { in pt_section_alloc_bcache()
487 bcache = pt_bcache_alloc(csize); in pt_section_alloc_bcache()
488 if (!bcache) { in pt_section_alloc_bcache()
499 section->bcache = bcache; in pt_section_alloc_bcache()
619 pt_bcache_free(section->bcache); in pt_section_unmap()
620 section->bcache = NULL; in pt_section_unmap()