Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\skmsg.h Create Date:2022-07-28 13:16:42
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:sk_msg_page_add

Proto:static inline void sk_msg_page_add(struct sk_msg *msg, struct page *page, u32 len, u32 offset)

Type:void

Parameter:

TypeParameterName
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  sg_unmark_end - Undo setting the end of the scatterlist*@sg: SG entryScatterlist* Description:* Removes the termination marker from the given entry of the scatterlist.
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)