virt_to_phys(9)

virt_to_phys9

Map virtual addresses to physical

Usage

phys_addr_t virt_to_phys(volatile void * address);

Arguments

address

address to remap

Overview

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

Releases

5 releases since Debian 4.0 (Etch); the text changed 4 times.

  1. 4.0
  2. 5.0
  3. 7
  4. 8
  5. 9

Authors

Matthew Wilcox <[email protected]>

Author.

Alan Cox <[email protected]>

Author.

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.