Searched refs:fifo_front (Results 1 – 2 of 2) sorted by relevance
314 atomic_set(&fifo_front(&j->pin), 0); in bch_journal_mark()319 i->pin = &fifo_front(&j->pin); in bch_journal_mark()436 fifo_front_p = &fifo_front(&c->journal.pin); in btree_flush_write()461 now_fifo_front_p = &fifo_front(&c->journal.pin); in btree_flush_write()658 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)