Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name: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

Proto: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)

Type:dma_addr_t

Parameter:

TypeParameterName
struct device *dev
const skb_frag_t *frag
size_toffset
size_tsize
enum dma_data_directiondir
3072  Return dma_map_page(dev, skb_frag_page - retrieve the page referred to by a paged fragment*@frag: the paged fragment* Returns the &struct page associated with @frag., skb_frag_off() - Returns the offset of a skb fragment*@frag: the paged fragment + offset, size, dir)