Lines Matching refs:prot
24 unsigned int prot; member
35 unsigned int prot; member
64 op->u.mmap.prot, op->u.mmap.fd, in do_ops()
73 op->u.mprotect.len, op->u.mprotect.prot, in do_ops()
88 unsigned int prot, struct host_vm_change *hvc) in add_mmap() argument
99 (last->u.mmap.prot == prot) && (last->u.mmap.fd == fd) && in add_mmap()
115 .prot = prot, in add_mmap()
153 unsigned int prot, struct host_vm_change *hvc) in add_mprotect() argument
162 (last->u.mprotect.prot == prot)) { in add_mprotect()
177 .prot = prot } } }); in add_mprotect()
188 int r, w, x, prot, ret = 0; in update_pte_range() local
204 prot = ((r ? UM_PROT_READ : 0) | (w ? UM_PROT_WRITE : 0) | in update_pte_range()
209 PAGE_SIZE, prot, hvc); in update_pte_range()
213 ret = add_mprotect(addr, PAGE_SIZE, prot, hvc); in update_pte_range()
391 int r, w, x, prot, err = 0; in flush_tlb_page() local
420 prot = ((r ? UM_PROT_READ : 0) | (w ? UM_PROT_WRITE : 0) | in flush_tlb_page()
428 err = map(mm_id, address, PAGE_SIZE, prot, fd, offset, in flush_tlb_page()
434 err = protect(mm_id, address, PAGE_SIZE, prot, 1, &flush); in flush_tlb_page()