1VIRT_TO_PHYS(9)            Public Functions Provided           VIRT_TO_PHYS(9)
2
3
4

NAME

6       virt_to_phys - map virtual addresses to physical
7

SYNOPSIS

9       phys_addr_t virt_to_phys(volatile void * address);
10

ARGUMENTS

12       address
13           address to remap
14

DESCRIPTION

16       The returned physical address is the physical (CPU) mapping for the
17       memory address given. It is only valid to use this function on
18       addresses directly mapped or allocated via kmalloc.
19
20       This function does not give bus mappings for DMA transfers. In almost
21       all conceivable cases a device driver should not be using this function
22

AUTHORS

24       Matthew Wilcox <matthew@wil.cx>
25           Author.
26
27       Alan Cox <alan@lxorguk.ukuu.org.uk>
28           Author.
29
31Kernel Hackers Manual 3.10         June 2019                   VIRT_TO_PHYS(9)
Impressum