linux/fs/bcachefs/fifo.h

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _BCACHEFS_FIFO_H
#define _BCACHEFS_FIFO_H

#include "util.h"

#define FIFO(type)

#define DECLARE_FIFO(type, name)

#define fifo_buf_size(fifo)

#define init_fifo(fifo, _size, _gfp)

#define free_fifo(fifo)

#define fifo_swap(l, r)

#define fifo_move(dest, src)

#define fifo_used(fifo)
#define fifo_free(fifo)

#define fifo_empty(fifo)
#define fifo_full(fifo)

#define fifo_peek_front(fifo)
#define fifo_peek_back(fifo)

#define fifo_entry_idx_abs(fifo, p)

#define fifo_entry_idx(fifo, p)
#define fifo_idx_entry(fifo, i)

#define fifo_push_back_ref(f)

#define fifo_push_front_ref(f)

#define fifo_push_back(fifo, new)

#define fifo_push_front(fifo, new)

#define fifo_pop_front(fifo, i)

#define fifo_pop_back(fifo, i)

#define fifo_push_ref(fifo)
#define fifo_push(fifo, i)
#define fifo_pop(fifo, i)
#define fifo_peek(fifo)

#define fifo_for_each_entry(_entry, _fifo, _iter)

#define fifo_for_each_entry_ptr(_ptr, _fifo, _iter)

#endif /* _BCACHEFS_FIFO_H */