Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\dma\direct.c Create Date:2022-07-28 10:33:20
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:dma_direct_max_mapping_size

Proto:size_t dma_direct_max_mapping_size(struct device *dev)

Type:size_t

Parameter:

TypeParameterName
struct device *dev
501  If is_swiotlb_active() && (dma_addressing_limited - return if the device is addressing limited*@dev: device to check* Return %true if the devices DMA mask is too small to address all memory in* the system, else %false. Lack of addressing bits is the prime reason for || swiotlb_force == SWIOTLB_FORCE ) Then Return swiotlb_max_mapping_size(dev)
504  Return SIZE_MAX