函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:指定sg页入口

函数原型:static inline void sg_assign_page(struct scatterlist *sg, struct page *page)

返回类型:void

参数:

类型参数名称
struct scatterlist *sg
struct page *page
89  page_link等于page_link按位与Notes on SG table design按位或SG_END的值
95  BUG_ON((unsignedlong)page & (Notes on SG table design | SG_END))
99  page_link等于page_link按位或page
调用者
名称描述
sg_set_pagesg_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