函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__skb_fill_page_desc - initialise a paged fragment in an skb*@skb: buffer containing fragment to be initialised*@i: paged fragment index to initialise*@page: the page to use for this fragment*@off: the offset to the data with @page*@size: the length of

函数原型:static inline void __skb_fill_page_desc(struct sk_buff *skb, int i, struct page *page, int off, int size)

返回类型:void

参数:

类型参数名称
struct sk_buff *skb
inti
struct page *page
intoff
intsize
2105  frag等于must be last field, see pskb_expand_head() [i]
2112  bv_page等于page
2113  bv_offset等于off
2114  skb_frag_size_set() - Sets the size of a skb fragment*@frag: skb fragment*@size: size of fragment
2116  page等于compound_head(page)
2117  如果Return true only if the page has been allocated with* ALLOC_NO_WATERMARKS and the low watermark was not* met implying that the system is under some pressure.pfmemalloc = true
调用者
名称描述
skb_fill_page_descskb_fill_page_desc - initialise a paged fragment in an skb*@skb: buffer containing fragment to be initialised*@i: paged fragment index to initialise*@page: the page to use for this fragment*@off: the offset to the data with @page*@size: the length of the