Lines Matching refs:bcache
44 struct pt_block_cache *bcache;
70 bfix->bcache = NULL;
79 bfix->bcache = pt_bcache_alloc(bfix_nentries);
80 ptu_ptr(bfix->bcache);
94 pt_bcache_free(bfix->bcache);
137 struct pt_block_cache bcache;
143 errcode = pt_bcache_lookup(NULL, &bcache, 0ull);
151 bfix->bcache = pt_bcache_alloc(0x10000ull);
152 ptu_ptr(bfix->bcache);
159 bfix->bcache = pt_bcache_alloc(1ull);
160 ptu_ptr(bfix->bcache);
167 bfix->bcache = pt_bcache_alloc(UINT32_MAX + 1ull);
168 ptu_null(bfix->bcache);
175 bfix->bcache = pt_bcache_alloc(0ull);
176 ptu_null(bfix->bcache);
191 status = pt_bcache_lookup(&bce, bfix->bcache, index);
208 errcode = pt_bcache_add(bfix->bcache, bfix_nentries, bce);
219 errcode = pt_bcache_lookup(&bce, bfix->bcache, bfix_nentries);
239 errcode = pt_bcache_add(bfix->bcache, index, exp);
242 errcode = pt_bcache_lookup(&bce, bfix->bcache, index);
257 struct pt_block_cache *bcache;
260 bcache = arg;
261 if (!bcache)
278 errcode = pt_bcache_lookup(&bce, bcache, index);
283 errcode = pt_bcache_add(bcache, index, exp);
288 errcode = pt_bcache_lookup(&bce, bcache, index);
325 bfix->bcache);
329 errcode = worker(bfix->bcache);