Home
last modified time | relevance | path

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

/openbmc/qemu/bsd-user/
H A Dmmap.c192 int prot1, prot_new; in mmap_frag() local
214 prot_new = prot | prot1; in mmap_frag()
232 if (prot_new != (prot1 | PROT_WRITE)) in mmap_frag()
233 mprotect(host_start, qemu_host_page_size, prot_new); in mmap_frag()
235 if (prot_new != prot1) { in mmap_frag()
236 mprotect(host_start, qemu_host_page_size, prot_new); in mmap_frag()
238 if (prot_new & PROT_WRITE) { in mmap_frag()
/openbmc/qemu/linux-user/
H A Dmmap.c336 int prot_old, prot_new; in mmap_frag() local
380 prot_new = prot | prot_old; in mmap_frag()
383 host_prot_new = target_to_host_prot(prot_new); in mmap_frag()