other versions
- stretch 4.9.168-1
VIRT_TO_PHYS(9) | Public Functions Provided | VIRT_TO_PHYS(9) |
NAME¶
virt_to_phys - map virtual addresses to physicalSYNOPSIS¶
phys_addr_t virt_to_phys(volatile void * address);
ARGUMENTS¶
addressaddress to remap
DESCRIPTION¶
The returned physical address is the physical (CPU) mapping for the memory address given. It is only valid to use this function on addresses directly mapped or allocated via kmalloc.This function does not give bus mappings for DMA transfers. In almost all conceivable cases a device driver should not be using this function
AUTHORS¶
Matthew Wilcox <matthew@wil.cx>Author.
Alan Cox <alan@lxorguk.ukuu.org.uk>
Author.
COPYRIGHT¶
April 2019 | Kernel Hackers Manual 4.9. |