函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:sk_msg_page_add

函数原型:static inline void sk_msg_page_add(struct sk_msg *msg, struct page *page, u32 len, u32 offset)

返回类型:void

参数:

类型参数名称
struct sk_msg *msg
struct page *page
u32len
u32offset
248  get_page(page)
249  sge等于sk_msg_elem(msg, end)
250  sg_set_page - Set sg entry to point at given page*@sg: SG entry*@page: The page*@len: Length of data*@offset: Offset into page* Description:* Use this function to set an sg entry pointing at a page, never assign* the page directly
251  取消设置的散列表结束标记
253  __set_bit - Set a bit in memory*@nr: the bit to set*@addr: the address to start counting from* Unlike set_bit(), this function is non-atomic. If it is called on the same* region of memory concurrently, the effect may be that only one operation* succeeds.
254  size加等于len
255  sk_msg_iter_next(msg, end)