Home
last modified time | relevance | path

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

/linux/net/core/
H A Dskbuff.c231 unsigned int skb_count; member
282 if (unlikely(!nc->skb_count)) { in napi_skb_cache_get()
283 nc->skb_count = kmem_cache_alloc_bulk(net_hotdata.skbuff_cache, in napi_skb_cache_get()
287 if (unlikely(!nc->skb_count)) { in napi_skb_cache_get()
293 skb = nc->skb_cache[--nc->skb_count]; in napi_skb_cache_get()
323 if (nc->skb_count >= n) in napi_skb_cache_get_bulk()
327 bulk = min(NAPI_SKB_CACHE_SIZE - nc->skb_count, NAPI_SKB_CACHE_BULK); in napi_skb_cache_get_bulk()
328 nc->skb_count += kmem_cache_alloc_bulk(net_hotdata.skbuff_cache, in napi_skb_cache_get_bulk()
330 &nc->skb_cache[nc->skb_count]); in napi_skb_cache_get_bulk()
331 if (likely(nc->skb_count >= n)) in napi_skb_cache_get_bulk()
[all …]