函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:skb_frag_dma_map - maps a paged fragment via the DMA API*@dev: the device to map the fragment to*@frag: the paged fragment to map*@offset: the offset within the fragment (starting at the* fragment's own offset)*@size: the number of bytes to map*@dir: the

函数原型:static inline dma_addr_t skb_frag_dma_map(struct device *dev, const skb_frag_t *frag, size_t offset, size_t size, enum dma_data_direction dir)

返回类型:dma_addr_t

参数:

类型参数名称
struct device *dev
const skb_frag_t *frag
size_toffset
size_tsize
enum dma_data_directiondir
3072  返回:dma_map_page(dev, 检索页面被分页片段, skb_frag_off() - Returns the offset of a skb fragment*@frag: the paged fragment + offset, size, dir)