Home
last modified time | relevance | path

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

/linux/arch/x86/xen/
H A Dsetup.c635 static void __init xen_e820_swap_entry_with_ram(struct e820_entry *swap_entry) in xen_e820_swap_entry_with_ram() argument
642 swap_addr = PAGE_ALIGN_DOWN(swap_entry->addr); in xen_e820_swap_entry_with_ram()
643 swap_size = PAGE_ALIGN(swap_entry->addr - swap_addr + swap_entry->size); in xen_e820_swap_entry_with_ram()
659 entry->type = swap_entry->type; in xen_e820_swap_entry_with_ram()
661 swap_addr - swap_entry->addr; in xen_e820_swap_entry_with_ram()
662 entry->size = swap_entry->size; in xen_e820_swap_entry_with_ram()
665 swap_entry->type = E820_TYPE_RAM; in xen_e820_swap_entry_with_ram()
666 swap_entry->addr = swap_addr; in xen_e820_swap_entry_with_ram()
667 swap_entry->size = swap_size; in xen_e820_swap_entry_with_ram()