Home
last modified time | relevance | path

Searched refs:RESERVE_PRIO (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/md/bcache/
H A Dalloc.c307 if (fifo_push(&ca->free[RESERVE_PRIO], bucket)) in bch_allocator_push()
451 if (reserve <= RESERVE_PRIO) { in bch_bucket_alloc()
H A Dsuper.c617 fifo_used(&ca->free[RESERVE_PRIO]), in bch_prio_write()
627 size_t avail = fifo_used(&ca->free[RESERVE_PRIO]) + in bch_prio_write()
659 bucket = bch_bucket_alloc(ca, RESERVE_PRIO, wait); in bch_prio_write()
2265 if (!init_fifo_exact(&ca->free[RESERVE_PRIO], prio_buckets(ca), in cache_alloc()
2331 free_fifo(&ca->free[RESERVE_PRIO]); in cache_alloc()
H A Dbcache.h410 RESERVE_PRIO, enumerator
H A Dbtree.c2137 if (fifo_full(&ca->free[RESERVE_PRIO]) && in bch_initial_gc_finish()
2144 if (!fifo_push(&ca->free[RESERVE_PRIO], in bch_initial_gc_finish()