Home
last modified time | relevance | path

Searched refs:fifo_used (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/drivers/md/bcache/
Dutil.h160 #define fifo_used(fifo) (((fifo)->back - (fifo)->front) & (fifo)->mask) macro
161 #define fifo_free(fifo) ((fifo)->size - fifo_used(fifo))
163 #define fifo_empty(fifo) (!fifo_used(fifo))
Dmovinggc.c210 fifo_used(&ca->free[RESERVE_MOVINGGC]); in bch_moving_gc()
Djournal.c568 #define last_seq(j) ((j)->seq - fifo_used(&(j)->pin) + 1)
714 pr_debug("journal_pin full (%zu)\n", fifo_used(&j->pin)); in bch_journal_next()
Dsuper.c617 fifo_used(&ca->free[RESERVE_PRIO]), in bch_prio_write()
618 fifo_used(&ca->free[RESERVE_NONE]), in bch_prio_write()
619 fifo_used(&ca->free_inc)); in bch_prio_write()
627 size_t avail = fifo_used(&ca->free[RESERVE_PRIO]) + in bch_prio_write()
628 fifo_used(&ca->free[RESERVE_NONE]); in bch_prio_write()
Dsysfs.c790 sysfs_print(active_journal_entries, fifo_used(&c->journal.pin)); in SHOW()
Dbtree.c1178 if (fifo_used(&ca->free[RESERVE_BTREE]) < reserve) { in btree_check_reserve()
/linux-6.1.9/include/trace/events/
Dbcache.h480 __entry->free = fifo_used(&ca->free[reserve]);
481 __entry->free_inc = fifo_used(&ca->free_inc);