Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\net\sock.h Create Date:2022-07-28 06:09:12
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:sk_rmem_schedule

Proto:static inline bool sk_rmem_schedule(struct sock *sk, struct sk_buff *skb, int size)

Type:bool

Parameter:

TypeParameterName
struct sock *sk
struct sk_buff *skb
intsize
1428  If Not sk_has_account(sk) Then Return true
1430  Return 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