Lines Matching refs:xsk_queue
38 struct xsk_queue {
112 static inline bool xskq_cons_read_addr_unchecked(struct xsk_queue *q, u64 *addr)
174 static inline bool xskq_cons_is_valid_desc(struct xsk_queue *q,
185 static inline bool xskq_cons_read_desc(struct xsk_queue *q,
205 static inline void __xskq_cons_release(struct xsk_queue *q)
211 static inline void __xskq_cons_peek(struct xsk_queue *q)
218 static inline void xskq_cons_get_entries(struct xsk_queue *q)
224 static inline bool xskq_cons_has_entries(struct xsk_queue *q, u32 cnt)
237 static inline bool xskq_cons_peek_addr_unchecked(struct xsk_queue *q, u64 *addr)
244 static inline bool xskq_cons_peek_desc(struct xsk_queue *q,
253 static inline void xskq_cons_release(struct xsk_queue *q)
263 static inline bool xskq_cons_is_full(struct xsk_queue *q)
270 static inline u32 xskq_cons_present_entries(struct xsk_queue *q)
278 static inline bool xskq_prod_is_full(struct xsk_queue *q)
292 static inline void xskq_prod_cancel(struct xsk_queue *q)
297 static inline int xskq_prod_reserve(struct xsk_queue *q)
307 static inline int xskq_prod_reserve_addr(struct xsk_queue *q, u64 addr)
319 static inline int xskq_prod_reserve_desc(struct xsk_queue *q,
336 static inline void __xskq_prod_submit(struct xsk_queue *q, u32 idx)
343 static inline void xskq_prod_submit(struct xsk_queue *q)
348 static inline void xskq_prod_submit_addr(struct xsk_queue *q, u64 addr)
358 static inline void xskq_prod_submit_n(struct xsk_queue *q, u32 nb_entries)
363 static inline bool xskq_prod_is_empty(struct xsk_queue *q)
371 static inline u64 xskq_nb_invalid_descs(struct xsk_queue *q)
376 static inline u64 xskq_nb_queue_empty_descs(struct xsk_queue *q)
381 struct xsk_queue *xskq_create(u32 nentries, bool umem_queue);
382 void xskq_destroy(struct xsk_queue *q_ops);