函数逻辑报告

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

函数名称:tcp_too_many_orphans

函数原型:static inline bool tcp_too_many_orphans(struct sock *sk, int shift)

返回类型:bool

参数:

类型参数名称
struct sock *sk
intshift
292  ocp等于orphan_count
293  orphans等于percpu_counter is intended to track positive numbers. In the UP case the* number should never be negative.
295  如果orphans左移shift位大于sysctl variables for tcp
296  orphans等于percpu_counter_sum_positive(ocp)
297  如果orphans左移shift位大于sysctl variables for tcp 则返回:true
300  返回:false