Home
last modified time | relevance | path

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

/Linux-v4.19/net/core/
Dskbuff.c124 #define kmalloc_reserve(size, gfp, node, pfmemalloc) \ argument
125 __kmalloc_reserve(size, gfp, node, _RET_IP_, pfmemalloc)
128 unsigned long ip, bool *pfmemalloc) in __kmalloc_reserve() argument
148 if (pfmemalloc) in __kmalloc_reserve()
149 *pfmemalloc = ret_pfmemalloc; in __kmalloc_reserve()
184 bool pfmemalloc; in __alloc_skb() local
205 data = kmalloc_reserve(size, gfp_mask, node, &pfmemalloc); in __alloc_skb()
223 skb->pfmemalloc = pfmemalloc; in __alloc_skb()
317 skb->pfmemalloc = 1; in build_skb()
392 bool pfmemalloc; in __netdev_alloc_skb() local
[all …]
Ddev.c4756 static int __netif_receive_skb_core(struct sk_buff *skb, bool pfmemalloc, in __netif_receive_skb_core() argument
4794 if (pfmemalloc) in __netif_receive_skb_core()
4822 if (pfmemalloc && !skb_pfmemalloc_protocol(skb)) in __netif_receive_skb_core()
4905 static int __netif_receive_skb_one_core(struct sk_buff *skb, bool pfmemalloc) in __netif_receive_skb_one_core() argument
4911 ret = __netif_receive_skb_core(skb, pfmemalloc, &pt_prev); in __netif_receive_skb_one_core()
4961 static void __netif_receive_skb_list_core(struct list_head *head, bool pfmemalloc) in __netif_receive_skb_list_core() argument
4985 __netif_receive_skb_core(skb, pfmemalloc, &pt_prev); in __netif_receive_skb_list_core()
5032 bool pfmemalloc = false; /* Is current sublist PF_MEMALLOC? */ in __netif_receive_skb_list() local
5035 if ((sk_memalloc_socks() && skb_pfmemalloc(skb)) != pfmemalloc) { in __netif_receive_skb_list()
5041 __netif_receive_skb_list_core(&sublist, pfmemalloc); in __netif_receive_skb_list()
[all …]
/Linux-v4.19/include/linux/
Dmm_types.h224 bool pfmemalloc; member
Dskbuff.h744 pfmemalloc:1; member
873 return unlikely(skb->pfmemalloc); in skb_pfmemalloc()
1947 skb->pfmemalloc = true; in __skb_fill_page_desc()
2723 skb->pfmemalloc = true; in skb_propagate_pfmemalloc()
/Linux-v4.19/mm/
Dslab.c2865 struct page *page, bool pfmemalloc) in get_valid_first_slab() argument
2870 if (pfmemalloc) in get_valid_first_slab()
2906 static struct page *get_first_slab(struct kmem_cache_node *n, bool pfmemalloc) in get_first_slab() argument
2921 page = get_valid_first_slab(n, page, pfmemalloc); in get_first_slab()
Dpage_alloc.c4519 nc->pfmemalloc = page_is_pfmemalloc(page); in page_frag_alloc()
/Linux-v4.19/net/ipv4/
Dtcp_output.c1075 skb->pfmemalloc = 0; in __tcp_transmit_skb()