函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\amd_gart_64.c Create Date:2022-07-27 09:51:49
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:check_iommu_size

函数原型:static __init unsigned long check_iommu_size(unsigned long aper, u64 aper_size)

返回类型:unsigned long

参数:

类型参数名称
unsigned longaper
u64aper_size
503  如果非size of remapping area bytes
504  size of remapping area bytes 等于aper_size
505  如果非no_agpsize of remapping area bytes 除等于2
509  a等于apersize of remapping area bytes
510  size of remapping area bytes 减等于und_up - round up to next specified power of 2*@x: the value to round*@y: multiple to round up to (must be a power of 2)* Rounds @x up to next multiple of @y (which must be a power of 2).* To perform arbitrary rounding up, use roundup() below.(a, PMD_PAGE_SIZE)减a
512  如果size of remapping area bytes 小于64乘1024乘1024则
513  打印警告信息("PCI-DMA: Warning: Small IOMMU %luMB. Consider increasing the AGP aperture in BIOS\n", size of remapping area bytes >> 20)
518  返回:size of remapping area bytes
调用者
名称描述
gart_iommu_init