函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:skb_zcopy

函数原型:static inline struct ubuf_info *skb_zcopy(struct sk_buff *skb)

返回类型:struct ubuf_info

参数:

类型参数名称
struct sk_buff *skb
1412  is_zcopy等于skbtx_flags按位与SKBTX_DEV_ZEROCOPY
1414  返回:is_zcopy ? skb_uarg(skb) : NULL
调用者
名称描述
skb_zcopy_set
skb_zcopy_clearRelease a reference on a zerocopy structure
skb_zcopy_abortAbort a zerocopy operation and revert zckey on error in send syscall
skb_orphan_fragsskb_orphan_frags - orphan the frags contained in a buffer*@skb: buffer to orphan frags from*@gfp_mask: allocation mask for replacement pages* For each frag in the SKB which needs a destructor (i
skb_orphan_frags_rxFrags must be orphaned, even if refcounted, if skb might loop to rx path
skb_can_coalesce