Home
last modified time | relevance | path

Searched refs:skb_array (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/include/linux/
Dskb_array.h29 struct skb_array { struct
36 static inline bool __skb_array_full(struct skb_array *a) in __skb_array_full() argument
41 static inline bool skb_array_full(struct skb_array *a) in skb_array_full()
46 static inline int skb_array_produce(struct skb_array *a, struct sk_buff *skb) in skb_array_produce()
51 static inline int skb_array_produce_irq(struct skb_array *a, struct sk_buff *skb) in skb_array_produce_irq()
56 static inline int skb_array_produce_bh(struct skb_array *a, struct sk_buff *skb) in skb_array_produce_bh()
61 static inline int skb_array_produce_any(struct skb_array *a, struct sk_buff *skb) in skb_array_produce_any()
70 static inline bool __skb_array_empty(struct skb_array *a) in __skb_array_empty()
75 static inline struct sk_buff *__skb_array_peek(struct skb_array *a) in __skb_array_peek()
80 static inline bool skb_array_empty(struct skb_array *a) in skb_array_empty()
[all …]
/Linux-v4.19/net/sched/
Dsch_generic.c613 struct skb_array q[PFIFO_FAST_BANDS];
616 static inline struct skb_array *band2list(struct pfifo_fast_priv *priv, in band2list()
627 struct skb_array *q = band2list(priv, band); in pfifo_fast_enqueue()
651 struct skb_array *q = band2list(priv, band); in pfifo_fast_dequeue()
674 struct skb_array *q = band2list(priv, band); in pfifo_fast_peek()
688 struct skb_array *q = band2list(priv, band); in pfifo_fast_reset()
734 struct skb_array *q = band2list(priv, prio); in pfifo_fast_init()
753 struct skb_array *q = band2list(priv, prio); in pfifo_fast_destroy()
771 struct skb_array *bands[PFIFO_FAST_BANDS]; in pfifo_fast_change_tx_queue_len()
775 struct skb_array *q = band2list(priv, prio); in pfifo_fast_change_tx_queue_len()
/Linux-v4.19/drivers/net/ethernet/ibm/ehea/
Dehea_main.c573 static inline struct sk_buff *get_skb_by_index(struct sk_buff **skb_array, in get_skb_by_index() argument
585 pref = skb_array[x]; in get_skb_by_index()
590 pref = (skb_array[x]->data); in get_skb_by_index()
597 skb = skb_array[skb_index]; in get_skb_by_index()
598 skb_array[skb_index] = NULL; in get_skb_by_index()
602 static inline struct sk_buff *get_skb_by_index_ll(struct sk_buff **skb_array, in get_skb_by_index_ll() argument
612 pref = skb_array[x]; in get_skb_by_index_ll()
617 pref = (skb_array[x]->data); in get_skb_by_index_ll()
622 skb = skb_array[wqe_index]; in get_skb_by_index_ll()
623 skb_array[wqe_index] = NULL; in get_skb_by_index_ll()