Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\include\asm\io.h Create Date:2022-07-28 05:46:04
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:phys_to_virt - map physical address to virtual*@address: address to remap* The returned virtual address is a current CPU mapping for* the memory address given. It is only valid to use this function on* addresses that have a kernel mapping

Proto:static inline void *phys_to_virt(phys_addr_t address)

Type:void

Parameter:

TypeParameterName
phys_addr_taddress
150  Return __va(address)
Caller
NameDescribe
kfree_via_phys
smpboot_setup_warm_reset_vector
smpboot_restore_warm_reset_vector
machine_kexecDo not allocate memory (or fail in any way) in machine_kexec().* We are past the point of no return, committed to rebooting now.
swiotlb_update_mem_attributesEarly SWIOTLB allocation may be too early to allow an architecture to* perform the desired operations. This function allows the architecture to* call SWIOTLB when the operations are possible. It needs to be called* before the SWIOTLB memory is used.
swiotlb_exit
swiotlb_bounceBounce: copy the swiotlb buffer from or back to the original dma location
memblock_alloc_internalmemblock_alloc_internal - allocate boot memory block*@size: size of memory block to be allocated in bytes*@align: alignment of the region and block's size*@min_addr: the lower bound of the memory region to allocate (phys address)*@max_addr: the upper