Lines Matching refs:bcache
93 struct pt_block_cache *bcache;
103 bcache = malloc(sizeof(*bcache));
104 if (bcache)
105 bcache->nentries = (uint32_t) nentries;
107 return bcache;
110 void pt_bcache_free(struct pt_block_cache *bcache)
112 free(bcache);
356 struct pt_block_cache *bcache;
358 bcache = pt_section_bcache(NULL);
359 ptu_null(bcache);
1069 struct pt_block_cache *bcache;
1079 bcache = pt_section_bcache(sfix->section);
1080 if (!bcache) {
1130 struct pt_block_cache *bcache;
1142 bcache = pt_section_bcache(sfix->section);
1143 ptu_null(bcache);
1154 struct pt_block_cache *bcache;
1169 bcache = pt_section_bcache(sfix->section);
1170 ptu_ptr(bcache);
1171 ptu_uint_eq(bcache->nentries, sfix->section->size);
1176 bcache = pt_section_bcache(sfix->section);
1177 ptu_null(bcache);