函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:sysctl_mem values are in pages, we convert them in SK_MEM_QUANTUM units

函数原型:static inline long sk_prot_mem_limits(const struct sock *sk, int index)

返回类型:long

参数:

类型参数名称
const struct sock *sk
intindex
1396  val等于sysctl_mem[index]
1399  val左移等于PAGE_SHIFT determines the page size SK_MEM_QUANTUM_SHIFT
1403  返回:val
调用者
名称描述
tcp_out_of_memory