Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\rdma\ib_verbs.h Create Date:2022-07-28 07:15:21
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:ib_dma_map_sg_attrs

Proto:static inline int ib_dma_map_sg_attrs(struct ib_device *dev, struct scatterlist *sg, int nents, enum dma_data_direction direction, unsigned long dma_attrs)

Type:int

Parameter:

TypeParameterName
struct ib_device *dev
struct scatterlist *sg
intnents
enum dma_data_directiondirection
unsigned longdma_attrs
4077  Return dma_maps_sg_attrs returns 0 on error and > 0 on success.* It should never return a value < 0.