Lines Matching refs:skbuff_cache
281 nc->skb_count = kmem_cache_alloc_bulk(net_hotdata.skbuff_cache, in napi_skb_cache_get()
293 kasan_mempool_unpoison_object(skb, kmem_cache_size(net_hotdata.skbuff_cache)); in napi_skb_cache_get()
326 nc->skb_count += kmem_cache_alloc_bulk(net_hotdata.skbuff_cache, in napi_skb_cache_get_bulk()
333 n -= kmem_cache_alloc_bulk(net_hotdata.skbuff_cache, in napi_skb_cache_get_bulk()
345 u32 cache_size = kmem_cache_size(net_hotdata.skbuff_cache); in napi_skb_cache_get_bulk()
413 skb = kmem_cache_alloc(net_hotdata.skbuff_cache, in slab_build_skb()
465 skb = kmem_cache_alloc(net_hotdata.skbuff_cache, in __build_skb()
648 ? net_hotdata.skbuff_fclone_cache : net_hotdata.skbuff_cache; in __alloc_skb()
1120 kmem_cache_free(net_hotdata.skbuff_cache, skb); in kfree_skbmem()
1239 kmem_cache_free_bulk(net_hotdata.skbuff_cache, KFREE_SKB_BULK_SIZE, in kfree_skb_add_bulk()
1264 kmem_cache_free_bulk(net_hotdata.skbuff_cache, sa.skb_count, sa.skb_array); in kfree_skb_list_reason()
1441 kmem_cache_size(net_hotdata.skbuff_cache)); in napi_skb_cache_put()
1443 kmem_cache_free_bulk(net_hotdata.skbuff_cache, NAPI_SKB_CACHE_HALF, in napi_skb_cache_put()
2056 n = kmem_cache_alloc(net_hotdata.skbuff_cache, gfp_mask); in skb_clone()
5076 net_hotdata.skbuff_cache = kmem_cache_create_usercopy("skbuff_head_cache", in skb_init()
6021 kmem_cache_free(net_hotdata.skbuff_cache, skb); in kfree_skb_partial()