Lines Matching refs:qh
987 struct qdisc_skb_head *qh) in __qdisc_enqueue_tail() argument
989 struct sk_buff *last = qh->tail; in __qdisc_enqueue_tail()
994 qh->tail = skb; in __qdisc_enqueue_tail()
996 qh->tail = skb; in __qdisc_enqueue_tail()
997 qh->head = skb; in __qdisc_enqueue_tail()
999 qh->qlen++; in __qdisc_enqueue_tail()
1010 struct qdisc_skb_head *qh) in __qdisc_enqueue_head() argument
1012 skb->next = qh->head; in __qdisc_enqueue_head()
1014 if (!qh->head) in __qdisc_enqueue_head()
1015 qh->tail = skb; in __qdisc_enqueue_head()
1016 qh->head = skb; in __qdisc_enqueue_head()
1017 qh->qlen++; in __qdisc_enqueue_head()
1020 static inline struct sk_buff *__qdisc_dequeue_head(struct qdisc_skb_head *qh) in __qdisc_dequeue_head() argument
1022 struct sk_buff *skb = qh->head; in __qdisc_dequeue_head()
1025 qh->head = skb->next; in __qdisc_dequeue_head()
1026 qh->qlen--; in __qdisc_dequeue_head()
1027 if (qh->head == NULL) in __qdisc_dequeue_head()
1028 qh->tail = NULL; in __qdisc_dequeue_head()
1098 struct qdisc_skb_head *qh, in __qdisc_queue_drop_head() argument
1101 struct sk_buff *skb = __qdisc_dequeue_head(qh); in __qdisc_queue_drop_head()
1116 const struct qdisc_skb_head *qh = &sch->q; in qdisc_peek_head() local
1118 return qh->head; in qdisc_peek_head()
1188 static inline void __qdisc_reset_queue(struct qdisc_skb_head *qh) in __qdisc_reset_queue() argument
1195 if (qh->qlen) { in __qdisc_reset_queue()
1196 rtnl_kfree_skbs(qh->head, qh->tail); in __qdisc_reset_queue()
1198 qh->head = NULL; in __qdisc_reset_queue()
1199 qh->tail = NULL; in __qdisc_reset_queue()
1200 qh->qlen = 0; in __qdisc_reset_queue()