函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:sk_under_memory_pressure

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

返回类型:bool

参数:

类型参数名称
const struct sock *sk
1260  如果非memory_pressure则返回:false
1263  如果mem_cgroup_sockets_enabledsk_memcgmem_cgroup_under_socket_pressure(sk_memcg)则返回:true
1267  返回:非非memory_pressure