Home
last modified time | relevance | path

Searched refs:swap_entry (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/x86/xen/
H A Dsetup.c636 static void __init xen_e820_swap_entry_with_ram(struct e820_entry *swap_entry) in xen_e820_swap_entry_with_ram() argument
643 swap_addr = PAGE_ALIGN_DOWN(swap_entry->addr); in xen_e820_swap_entry_with_ram()
644 swap_size = PAGE_ALIGN(swap_entry->addr - swap_addr + swap_entry->size); in xen_e820_swap_entry_with_ram()
660 entry->type = swap_entry->type; in xen_e820_swap_entry_with_ram()
662 swap_addr - swap_entry->addr; in xen_e820_swap_entry_with_ram()
663 entry->size = swap_entry->size; in xen_e820_swap_entry_with_ram()
666 swap_entry->type = E820_TYPE_RAM; in xen_e820_swap_entry_with_ram()
667 swap_entry->addr = swap_addr; in xen_e820_swap_entry_with_ram()
668 swap_entry->size = swap_size; in xen_e820_swap_entry_with_ram()