Home
last modified time | relevance | path

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

/linux/Documentation/translations/zh_CN/mm/
H A Dpage_frags.rst27 netdev_alloc_frag和__netdev_alloc_skb调用的调用者使用。napi_alloc_cache
/linux/net/core/
H A Dskbuff.c229 struct napi_alloc_cache { struct
237 static DEFINE_PER_CPU(struct napi_alloc_cache, napi_alloc_cache) = { argument
243 struct napi_alloc_cache *nc = this_cpu_ptr(&napi_alloc_cache); in __napi_alloc_frag_align()
248 local_lock_nested_bh(&napi_alloc_cache.bh_lock); in __napi_alloc_frag_align()
251 local_unlock_nested_bh(&napi_alloc_cache.bh_lock); in __napi_alloc_frag_align()
279 struct napi_alloc_cache *nc = this_cpu_ptr(&napi_alloc_cache); in napi_skb_cache_get()
282 local_lock_nested_bh(&napi_alloc_cache.bh_lock); in napi_skb_cache_get()
289 local_unlock_nested_bh(&napi_alloc_cache.bh_lock); in napi_skb_cache_get()
295 local_unlock_nested_bh(&napi_alloc_cache.bh_lock); in napi_skb_cache_get()
319 struct napi_alloc_cache *nc = this_cpu_ptr(&napi_alloc_cache); in napi_skb_cache_get_bulk()
[all …]
/linux/Documentation/mm/
H A Dpage_frags.rst27 netdev_alloc_frag and __netdev_alloc_skb calls. The napi_alloc_cache is