函数逻辑报告

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

函数名称:sk_rmem_schedule

函数原型:static inline bool sk_rmem_schedule(struct sock *sk, struct sk_buff *skb, int size)

返回类型:bool

参数:

类型参数名称
struct sock *sk
struct sk_buff *skb
intsize
1428  如果非sk_has_account(sk)则返回:true
1430  返回:size小于等于sk_forward_alloc__sk_mem_schedule(sk, size, SK_MEM_RECV)或skb_pfmemalloc - Test if the skb was allocated from PFMEMALLOC reserves*@skb: buffer