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.c230 struct napi_alloc_cache { struct
238 static DEFINE_PER_CPU(struct napi_alloc_cache, napi_alloc_cache) = { argument
244 struct napi_alloc_cache *nc = this_cpu_ptr(&napi_alloc_cache); in __napi_alloc_frag_align()
249 local_lock_nested_bh(&napi_alloc_cache.bh_lock); in __napi_alloc_frag_align()
252 local_unlock_nested_bh(&napi_alloc_cache.bh_lock); in __napi_alloc_frag_align()
285 struct napi_alloc_cache *nc = this_cpu_ptr(&napi_alloc_cache); in napi_skb_cache_get()
288 local_lock_nested_bh(&napi_alloc_cache.bh_lock); in napi_skb_cache_get()
296 local_unlock_nested_bh(&napi_alloc_cache.bh_lock); in napi_skb_cache_get()
304 local_unlock_nested_bh(&napi_alloc_cache.bh_lock); in napi_skb_cache_get()
328 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