Home
last modified time | relevance | path

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

/linux/net/core/
H A Dskbuff.c233 unsigned int skb_count; member
289 if (unlikely(!nc->skb_count)) { in napi_skb_cache_get()
291 nc->skb_count = kmem_cache_alloc_bulk(net_hotdata.skbuff_cache, in napi_skb_cache_get()
295 if (unlikely(!nc->skb_count)) { in napi_skb_cache_get()
301 skb = nc->skb_cache[--nc->skb_count]; in napi_skb_cache_get()
302 if (nc->skb_count) in napi_skb_cache_get()
303 prefetch(nc->skb_cache[nc->skb_count - 1]); in napi_skb_cache_get()
333 if (nc->skb_count >= n) in napi_skb_cache_get_bulk()
337 bulk = min(NAPI_SKB_CACHE_SIZE - nc->skb_count, NAPI_SKB_CACHE_BULK); in napi_skb_cache_get_bulk()
338 nc->skb_count += kmem_cache_alloc_bulk(net_hotdata.skbuff_cache, in napi_skb_cache_get_bulk()
[all …]