Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/
H A 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()
66 static inline bool __skb_array_empty(struct skb_array *a) in __skb_array_empty()
76 static inline bool skb_array_empty(struct skb_array *a) in skb_array_empty()
81 static inline bool skb_array_empty_bh(struct skb_array *a) in skb_array_empty_bh()
86 static inline bool skb_array_empty_irq(struct skb_array *a) in skb_array_empty_irq()
91 static inline bool skb_array_empty_any(struct skb_array *a) in skb_array_empty_any()
160 static inline int skb_array_peek_len(struct skb_array *a) in skb_array_peek_len()
205 BUILD_BUG_ON(offsetof(struct skb_array, ring)); in skb_array_resize_multiple()
[all …]
/openbmc/linux/net/sched/
H A Dsch_generic.c713 struct skb_array q[PFIFO_FAST_BANDS];
716 static inline struct skb_array *band2list(struct pfifo_fast_priv *priv, in band2list()
727 struct skb_array *q = band2list(priv, band); in pfifo_fast_enqueue()
753 struct skb_array *q = band2list(priv, band); in pfifo_fast_dequeue()
792 struct skb_array *q = band2list(priv, band); in pfifo_fast_peek()
806 struct skb_array *q = band2list(priv, band); in pfifo_fast_reset()
855 struct skb_array *q = band2list(priv, prio); in pfifo_fast_init()
874 struct skb_array *q = band2list(priv, prio); in pfifo_fast_destroy()
892 struct skb_array *bands[PFIFO_FAST_BANDS]; in pfifo_fast_change_tx_queue_len()
896 struct skb_array *q = band2list(priv, prio); in pfifo_fast_change_tx_queue_len()
/openbmc/linux/drivers/net/ethernet/ibm/ehea/
H A Dehea_main.c563 static inline struct sk_buff *get_skb_by_index(struct sk_buff **skb_array, in get_skb_by_index() argument
575 pref = skb_array[x]; in get_skb_by_index()
580 pref = (skb_array[x]->data); in get_skb_by_index()
587 skb = skb_array[skb_index]; in get_skb_by_index()
588 skb_array[skb_index] = NULL; in get_skb_by_index()
592 static inline struct sk_buff *get_skb_by_index_ll(struct sk_buff **skb_array, in get_skb_by_index_ll() argument
602 pref = skb_array[x]; in get_skb_by_index_ll()
607 pref = (skb_array[x]->data); in get_skb_by_index_ll()
612 skb = skb_array[wqe_index]; in get_skb_by_index_ll()
613 skb_array[wqe_index] = NULL; in get_skb_by_index_ll()
/openbmc/linux/net/core/
H A Dskbuff.c1111 void *skb_array[KFREE_SKB_BULK_SIZE]; member
1125 sa->skb_array[sa->skb_count++] = skb; in kfree_skb_add_bulk()
1129 sa->skb_array); in kfree_skb_add_bulk()
1153 kmem_cache_free_bulk(skbuff_cache, sa.skb_count, sa.skb_array); in kfree_skb_list_reason()