函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\net\tcp.h Create Date:2022-07-27 07:40:08
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:ptimized version of sk_under_memory_pressure() for TCP sockets

函数原型:static inline bool tcp_under_memory_pressure(const struct sock *sk)

返回类型:bool

参数:

类型参数名称
const struct sock *sk
257  如果mem_cgroup_sockets_enabledsk_memcgmem_cgroup_under_socket_pressure(sk_memcg)则返回:true
261  返回:READ_ONCE(tcp_memory_pressure)