Searched refs:fifo_used (Results 1 – 6 of 6) sorted by relevance
162 #define fifo_used(fifo) (((fifo)->back - (fifo)->front) & (fifo)->mask) macro163 #define fifo_free(fifo) ((fifo)->size - fifo_used(fifo))165 #define fifo_empty(fifo) (!fifo_used(fifo))
211 fifo_used(&ca->free[RESERVE_MOVINGGC]); in bch_moving_gc()
539 fifo_used(&ca->free[RESERVE_PRIO]), in bch_prio_write()540 fifo_used(&ca->free[RESERVE_NONE]), in bch_prio_write()541 fifo_used(&ca->free_inc)); in bch_prio_write()549 size_t avail = fifo_used(&ca->free[RESERVE_PRIO]) + in bch_prio_write()550 fifo_used(&ca->free[RESERVE_NONE]); in bch_prio_write()
505 #define last_seq(j) ((j)->seq - fifo_used(&(j)->pin) + 1)651 pr_debug("journal_pin full (%zu)", fifo_used(&j->pin)); in bch_journal_next()
742 sysfs_print(active_journal_entries, fifo_used(&c->journal.pin)); in SHOW()
1221 if (fifo_used(&ca->free[RESERVE_BTREE]) < reserve) { in btree_check_reserve()