Lines Matching refs:pktq
62 struct pktq { struct
76 static inline int pktq_plen(struct pktq *pq, int prec) in pktq_plen() argument
81 static inline int pktq_pavail(struct pktq *pq, int prec) in pktq_pavail()
86 static inline bool pktq_pfull(struct pktq *pq, int prec) in pktq_pfull()
91 static inline bool pktq_pempty(struct pktq *pq, int prec) in pktq_pempty()
96 static inline struct sk_buff *pktq_ppeek(struct pktq *pq, int prec) in pktq_ppeek()
101 static inline struct sk_buff *pktq_ppeek_tail(struct pktq *pq, int prec) in pktq_ppeek_tail()
106 struct sk_buff *brcmu_pktq_penq(struct pktq *pq, int prec, struct sk_buff *p);
107 struct sk_buff *brcmu_pktq_penq_head(struct pktq *pq, int prec,
109 struct sk_buff *brcmu_pktq_pdeq(struct pktq *pq, int prec);
110 struct sk_buff *brcmu_pktq_pdeq_tail(struct pktq *pq, int prec);
111 struct sk_buff *brcmu_pktq_pdeq_match(struct pktq *pq, int prec,
122 void brcmu_pktq_pflush(struct pktq *pq, int prec, bool dir,
127 int brcmu_pktq_mlen(struct pktq *pq, uint prec_bmp);
128 struct sk_buff *brcmu_pktq_mdeq(struct pktq *pq, uint prec_bmp, int *prec_out);
132 static inline int pktq_len(struct pktq *pq) in pktq_len()
137 static inline int pktq_max(struct pktq *pq) in pktq_max()
142 static inline int pktq_avail(struct pktq *pq) in pktq_avail()
147 static inline bool pktq_full(struct pktq *pq) in pktq_full()
152 static inline bool pktq_empty(struct pktq *pq) in pktq_empty()
157 void brcmu_pktq_init(struct pktq *pq, int num_prec, int max_len);
159 struct sk_buff *brcmu_pktq_peek_tail(struct pktq *pq, int *prec_out);
160 void brcmu_pktq_flush(struct pktq *pq, bool dir,