Searched refs:SOCK_MEMALLOC (Results 1 – 3 of 3) sorted by relevance
964 SOCK_MEMALLOC, /* VM depends on this socket for swapping */ enumerator 1127 * allow SOCK_MEMALLOC sockets to use it as this socket is in sk_add_backlog() 1130 if (skb_pfmemalloc(skb) && !sock_flag(sk, SOCK_MEMALLOC)) in sk_add_backlog()
295 * sk_set_memalloc - sets %SOCK_MEMALLOC298 * Set %SOCK_MEMALLOC on a socket for access to emergency reserves.304 sock_set_flag(sk, SOCK_MEMALLOC); in sk_set_memalloc() 312 sock_reset_flag(sk, SOCK_MEMALLOC); in sk_clear_memalloc() 317 * SOCK_MEMALLOC is allowed to ignore rmem limits to ensure forward in sk_clear_memalloc() 318 * progress of swapping. SOCK_MEMALLOC may be cleared while in sk_clear_memalloc() 333 BUG_ON(!sock_flag(sk, SOCK_MEMALLOC)); in __sk_backlog_rcv()
142 * allow SOCK_MEMALLOC sockets to use it as this socket is in sk_filter_trim_cap() 145 if (skb_pfmemalloc(skb) && !sock_flag(sk, SOCK_MEMALLOC)) { in sk_filter_trim_cap()