fun_queue
struct fun_queue *funq = data;
static void fun_complete_admin_cmd(struct fun_queue *funq, void *data,
struct fun_queue *funq;
struct fun_queue *admq = fdev->admin_q;
struct fun_queue *funq = fdev->admin_q;
struct fun_queue;
struct fun_queue *admin_q;
static bool fun_sq_is_head_wb(const struct fun_queue *funq)
static void fun_clean_rq(struct fun_queue *funq)
static int fun_fill_rq(struct fun_queue *funq)
static void fun_rq_update_pos(struct fun_queue *funq, int buf_offset)
static void *fun_data_from_rq(struct fun_queue *funq,
unsigned int __fun_process_cq(struct fun_queue *funq, unsigned int max)
unsigned int fun_process_cq(struct fun_queue *funq, unsigned int max)
static int fun_alloc_sqes(struct fun_queue *funq)
static int fun_alloc_cqes(struct fun_queue *funq)
static int fun_alloc_rqes(struct fun_queue *funq)
void fun_free_queue(struct fun_queue *funq)
struct fun_queue *fun_alloc_queue(struct fun_dev *fdev, int qid,
struct fun_queue *funq = kzalloc_obj(*funq);
int fun_create_rq(struct fun_queue *funq)
static unsigned int funq_irq(struct fun_queue *funq)
int fun_request_irq(struct fun_queue *funq, const char *devname,
void fun_free_irq(struct fun_queue *funq)
static inline struct fun_cqe_info *funq_cqe_info(const struct fun_queue *funq,
static inline void funq_rq_post(struct fun_queue *funq)
struct fun_queue;
typedef void (*cq_callback_t)(struct fun_queue *funq, void *data, void *msg,
struct fun_queue *fun_alloc_queue(struct fun_dev *fdev, int qid,
void fun_free_queue(struct fun_queue *funq);
static inline void fun_set_cq_callback(struct fun_queue *funq, cq_callback_t cb,
int fun_create_rq(struct fun_queue *funq);
void fun_free_irq(struct fun_queue *funq);
int fun_request_irq(struct fun_queue *funq, const char *devname,
unsigned int __fun_process_cq(struct fun_queue *funq, unsigned int max);
unsigned int fun_process_cq(struct fun_queue *funq, unsigned int max);
static inline void *fun_sqe_at(const struct fun_queue *funq, unsigned int pos)
static inline void funq_sq_post_tail(struct fun_queue *funq, u16 tail)