Home
last modified time | relevance | path

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

/Linux-v5.15/include/linux/
Dskb_array.h25 struct skb_array { struct
32 static inline bool __skb_array_full(struct skb_array *a) in __skb_array_full() argument
37 static inline bool skb_array_full(struct skb_array *a) in skb_array_full()
42 static inline int skb_array_produce(struct skb_array *a, struct sk_buff *skb) in skb_array_produce()
47 static inline int skb_array_produce_irq(struct skb_array *a, struct sk_buff *skb) in skb_array_produce_irq()
52 static inline int skb_array_produce_bh(struct skb_array *a, struct sk_buff *skb) in skb_array_produce_bh()
57 static inline int skb_array_produce_any(struct skb_array *a, struct sk_buff *skb) in skb_array_produce_any()
66 static inline bool __skb_array_empty(struct skb_array *a) in __skb_array_empty()
71 static inline struct sk_buff *__skb_array_peek(struct skb_array *a) in __skb_array_peek()
76 static inline bool skb_array_empty(struct skb_array *a) in skb_array_empty()
[all …]
/Linux-v5.15/net/sched/
Dsch_generic.c661 struct skb_array q[PFIFO_FAST_BANDS];
664 static inline struct skb_array *band2list(struct pfifo_fast_priv *priv, in band2list()
675 struct skb_array *q = band2list(priv, band); in pfifo_fast_enqueue()
701 struct skb_array *q = band2list(priv, band); in pfifo_fast_dequeue()
740 struct skb_array *q = band2list(priv, band); in pfifo_fast_peek()
754 struct skb_array *q = band2list(priv, band); in pfifo_fast_reset()
803 struct skb_array *q = band2list(priv, prio); in pfifo_fast_init()
822 struct skb_array *q = band2list(priv, prio); in pfifo_fast_destroy()
840 struct skb_array *bands[PFIFO_FAST_BANDS]; in pfifo_fast_change_tx_queue_len()
844 struct skb_array *q = band2list(priv, prio); in pfifo_fast_change_tx_queue_len()
/Linux-v5.15/drivers/net/ethernet/ibm/ehea/
Dehea_main.c560 static inline struct sk_buff *get_skb_by_index(struct sk_buff **skb_array, in get_skb_by_index() argument
572 pref = skb_array[x]; in get_skb_by_index()
577 pref = (skb_array[x]->data); in get_skb_by_index()
584 skb = skb_array[skb_index]; in get_skb_by_index()
585 skb_array[skb_index] = NULL; in get_skb_by_index()
589 static inline struct sk_buff *get_skb_by_index_ll(struct sk_buff **skb_array, in get_skb_by_index_ll() argument
599 pref = skb_array[x]; in get_skb_by_index_ll()
604 pref = (skb_array[x]->data); in get_skb_by_index_ll()
609 skb = skb_array[wqe_index]; in get_skb_by_index_ll()
610 skb_array[wqe_index] = NULL; in get_skb_by_index_ll()