Lines Matching refs:n_slabs_available
118 u64 n_slabs_available; member
184 bp->n_slabs_available = n_slabs; in bpool_init()
323 u64 n_slabs_available; in bcache_cons_check() local
341 n_slabs_available = bp->n_slabs_available; in bcache_cons_check()
342 if (!n_slabs_available) { in bcache_cons_check()
347 n_slabs_available--; in bcache_cons_check()
348 slab_full = bp->slabs[n_slabs_available]; in bcache_cons_check()
349 bp->slabs[n_slabs_available] = bc->slab_cons; in bcache_cons_check()
350 bp->n_slabs_available = n_slabs_available; in bcache_cons_check()
375 u64 n_slabs_available; in bcache_prod() local
395 n_slabs_available = bp->n_slabs_available; in bcache_prod()
396 slab_empty = bp->slabs[n_slabs_available]; in bcache_prod()
397 bp->slabs[n_slabs_available] = bc->slab_prod; in bcache_prod()
398 bp->n_slabs_available = n_slabs_available + 1; in bcache_prod()