Home
last modified time | relevance | path

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

/openbmc/qemu/linux-user/
H A Dmmap.c337 int host_prot_old, host_prot_new; in mmap_frag() local
382 host_prot_old = target_to_host_prot(prot_old); in mmap_frag()
386 if (!(host_prot_old & PROT_WRITE)) { in mmap_frag()
387 host_prot_old |= PROT_WRITE; in mmap_frag()
388 mprotect(host_start, host_page_size, host_prot_old); in mmap_frag()
400 if (host_prot_new != host_prot_old) { in mmap_frag()