Searched refs:memory_pressure (Results 1 – 7 of 7) sorted by relevance
13 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()
1306 unsigned long *memory_pressure; member
2988 unsigned long *memory_pressure = sk->sk_prot->memory_pressure; in sk_leave_memory_pressure() local2990 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()
2357 .memory_pressure = &tcp_memory_pressure,
3383 .memory_pressure = &tcp_memory_pressure,
9706 .memory_pressure = &sctp_memory_pressure,9763 .memory_pressure = &sctp_memory_pressure,
3849 .memory_pressure = &tcp_memory_pressure,