函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\include\asm\io.h Create Date:2022-07-27 06:46:55
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:virt_to_phys - map virtual addresses to physical*@address: address to remap* The returned physical address is the physical (CPU) mapping for* the memory address given. It is only valid to use this function on

函数原型:static inline phys_addr_t virt_to_phys(volatile void *address)

返回类型:phys_addr_t

参数:

类型参数名称
volatile void *address
131  返回:__pa(address)
调用者
名称描述
kfree_via_phys
test_debug_virtual_init
switch_to_tboot_pt
gart_alloc_coherentallocate and map a coherent mapping
swiotlb_late_init_with_tbl
perf_virt_to_phys
__alloc_bootmem_huge_page
io_uring_mmap
isa_virt_to_busISA I/O bus memory addresses are 1:1 with the physical address.* However, we truncate the address to unsigned int to avoid undesirable* promitions in legacy drivers.
hv_do_hypercall