Searched refs:fifo_front (Results 1 – 2 of 2) sorted by relevance
315 atomic_set(&fifo_front(&j->pin), 0); in bch_journal_mark()320 i->pin = &fifo_front(&j->pin); in bch_journal_mark()437 fifo_front_p = &fifo_front(&c->journal.pin); in btree_flush_write()462 now_fifo_front_p = &fifo_front(&c->journal.pin); in btree_flush_write()659 while (!atomic_read(&fifo_front(&c->journal.pin))) in journal_reclaim()
166 #define fifo_front(fifo) ((fifo)->data[(fifo)->front]) macro170 #define fifo_idx(fifo, p) (((p) - &fifo_front(fifo)) & (fifo)->mask)