Searched refs:init_fifo (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/md/bcache/ |
H A D | util.h | 146 #define init_fifo(fifo, _size, gfp) \ macro
|
H A D | super.c | 2259 if (!init_fifo(&ca->free[RESERVE_BTREE], btree_buckets, in cache_alloc() 2271 if (!init_fifo(&ca->free[RESERVE_MOVINGGC], free, GFP_KERNEL)) { in cache_alloc() 2276 if (!init_fifo(&ca->free[RESERVE_NONE], free, GFP_KERNEL)) { in cache_alloc() 2281 if (!init_fifo(&ca->free_inc, free << 2, GFP_KERNEL)) { in cache_alloc()
|
H A D | journal.c | 994 if (!(init_fifo(&j->pin, JOURNAL_PIN, GFP_KERNEL)) || in bch_journal_alloc()
|