Home
last modified time | relevance | path

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

/openbmc/qemu/hw/remote/
H A Dproxy-memory-listener.c83 uint64_t mrs_size, mrs_gpa, mrs_page; in try_merge() local
94 mrs_page = (uint64_t)qemu_ram_pagesize(mrs_rb); in try_merge()
104 mrs_host = mrs_host & ~(mrs_page - 1); in try_merge()
105 mrs_gpa = mrs_gpa & ~(mrs_page - 1); in try_merge()
106 mrs_size = ROUND_UP(mrs_size, mrs_page); in try_merge()
/openbmc/qemu/hw/virtio/
H A Dvhost.c759 size_t mrs_page = qemu_ram_pagesize(mrs_rb); in vhost_region_add_section() local
760 uint64_t alignage = mrs_host & (mrs_page - 1); in vhost_region_add_section()
767 alignage = mrs_size & (mrs_page - 1); in vhost_region_add_section()
769 mrs_size += mrs_page - alignage; in vhost_region_add_section()