Home
last modified time | relevance | path

Searched refs:_fifo (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/fs/bcachefs/
Dfifo.h113 #define fifo_for_each_entry(_entry, _fifo, _iter) \ argument
114 for (typecheck(typeof((_fifo)->front), _iter), \
115 (_iter) = (_fifo)->front; \
116 ((_iter != (_fifo)->back) && \
117 (_entry = (_fifo)->data[(_iter) & (_fifo)->mask], true)); \
120 #define fifo_for_each_entry_ptr(_ptr, _fifo, _iter) \ argument
121 for (typecheck(typeof((_fifo)->front), _iter), \
122 (_iter) = (_fifo)->front; \
123 ((_iter != (_fifo)->back) && \
124 (_ptr = &(_fifo)->data[(_iter) & (_fifo)->mask], true)); \
/linux-6.12.1/drivers/misc/
Dhpilo.h183 #define FIFOBARTOHANDLE(_fifo) \ argument
184 ((struct fifo *)(((char *)(_fifo)) - FIFOHANDLESIZE))