Searched refs:SOCK_MEMALLOC (Results 1 - 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/include/net/ |
H A D | sock.h | 885 SOCK_MEMALLOC, /* VM depends on this socket for swapping */ enumerator 1029 * allow SOCK_MEMALLOC sockets to use it as this socket is in sk_add_backlog() 1032 if (skb_pfmemalloc(skb) && !sock_flag(sk, SOCK_MEMALLOC)) in sk_add_backlog()
|
/kernel/linux/linux-5.10/net/core/ |
H A D | sock.c | 286 * sk_set_memalloc - sets %SOCK_MEMALLOC 289 * Set %SOCK_MEMALLOC on a socket for access to emergency reserves. 295 sock_set_flag(sk, SOCK_MEMALLOC); in sk_set_memalloc() 303 sock_reset_flag(sk, SOCK_MEMALLOC); in sk_clear_memalloc() 308 * SOCK_MEMALLOC is allowed to ignore rmem limits to ensure forward in sk_clear_memalloc() 309 * progress of swapping. SOCK_MEMALLOC may be cleared while in sk_clear_memalloc() 324 BUG_ON(!sock_flag(sk, SOCK_MEMALLOC)); in __sk_backlog_rcv()
|
H A D | filter.c | 133 * allow SOCK_MEMALLOC sockets to use it as this socket is in sk_filter_trim_cap() 136 if (skb_pfmemalloc(skb) && !sock_flag(sk, SOCK_MEMALLOC)) { in sk_filter_trim_cap()
|
/kernel/linux/linux-6.6/net/core/ |
H A D | sock.c | 297 * sk_set_memalloc - sets %SOCK_MEMALLOC 300 * Set %SOCK_MEMALLOC on a socket for access to emergency reserves. 306 sock_set_flag(sk, SOCK_MEMALLOC); in sk_set_memalloc() 314 sock_reset_flag(sk, SOCK_MEMALLOC); in sk_clear_memalloc() 319 * SOCK_MEMALLOC is allowed to ignore rmem limits to ensure forward in sk_clear_memalloc() 320 * progress of swapping. SOCK_MEMALLOC may be cleared while in sk_clear_memalloc() 335 BUG_ON(!sock_flag(sk, SOCK_MEMALLOC)); in __sk_backlog_rcv()
|
H A D | filter.c | 133 * allow SOCK_MEMALLOC sockets to use it as this socket is in sk_filter_trim_cap() 136 if (skb_pfmemalloc(skb) && !sock_flag(sk, SOCK_MEMALLOC)) { in sk_filter_trim_cap()
|
/kernel/linux/linux-6.6/include/net/ |
H A D | sock.h | 945 SOCK_MEMALLOC, /* VM depends on this socket for swapping */ enumerator 1100 * allow SOCK_MEMALLOC sockets to use it as this socket is in sk_add_backlog() 1103 if (skb_pfmemalloc(skb) && !sock_flag(sk, SOCK_MEMALLOC)) in sk_add_backlog()
|
Completed in 43 milliseconds