函数逻辑报告

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:34
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Use global flush state to avoid races with multiple flushers.

函数原型:static void flush_gart(void)

返回类型:void

参数:

144  spin_lock_irqsave( & Allocation bitmap for the remapping area: , flags)
145  如果global flush state. set for each gart wrap
146  amd_flush_garts()
147  global flush state. set for each gart wrap = false
149  spin_unlock_irqrestore( & Allocation bitmap for the remapping area: , flags)
调用者
名称描述
gart_map_pageMap a single area into the IOMMU
dma_map_sg_nonforceFallback for dma_map_sg in case of overflow
gart_map_sgDMA map all entries in a scatterlist.* Merge chunks that have page aligned sizes into a continuous mapping.
gart_alloc_coherentallocate and map a coherent mapping
init_amd_gattPrivate Northbridge GATT initialization in case we cannot use the* AGP driver for some reason.
gart_iommu_init