Home
last modified time | relevance | path

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

/linux/include/net/
H A Dproto_memory.h13 return sk->sk_prot->memory_pressure != NULL; in sk_has_memory_pressure()
19 if (!prot->memory_pressure) in proto_memory_pressure()
21 return !!READ_ONCE(*prot->memory_pressure); in proto_memory_pressure()
31 if (!sk->sk_prot->memory_pressure) in sk_under_memory_pressure()
38 return !!READ_ONCE(*sk->sk_prot->memory_pressure); in sk_under_memory_pressure()
H A Dsock.h1306 unsigned long *memory_pressure; member
/linux/net/core/
H A Dsock.c2988 unsigned long *memory_pressure = sk->sk_prot->memory_pressure; in sk_leave_memory_pressure() local
2990 if (memory_pressure && READ_ONCE(*memory_pressure)) in sk_leave_memory_pressure()
2991 WRITE_ONCE(*memory_pressure, 0); in sk_leave_memory_pressure()
4153 return proto->memory_pressure != NULL ? in sock_prot_memory_pressure()
/linux/net/ipv6/
H A Dtcp_ipv6.c2357 .memory_pressure = &tcp_memory_pressure,
/linux/net/ipv4/
H A Dtcp_ipv4.c3383 .memory_pressure = &tcp_memory_pressure,
/linux/net/sctp/
H A Dsocket.c9706 .memory_pressure = &sctp_memory_pressure,
9763 .memory_pressure = &sctp_memory_pressure,
/linux/net/mptcp/
H A Dprotocol.c3849 .memory_pressure = &tcp_memory_pressure,