Lines Matching refs:prot
24 unsigned int prot; member
35 unsigned int prot; member
71 op->u.mmap.prot, op->u.mmap.fd, in do_ops()
80 op->u.mprotect.len, op->u.mprotect.prot, in do_ops()
98 unsigned int prot, struct host_vm_change *hvc) in add_mmap() argument
109 (last->u.mmap.prot == prot) && (last->u.mmap.fd == fd) && in add_mmap()
125 .prot = prot, in add_mmap()
163 unsigned int prot, struct host_vm_change *hvc) in add_mprotect() argument
172 (last->u.mprotect.prot == prot)) { in add_mprotect()
187 .prot = prot } } }); in add_mprotect()
198 int r, w, x, prot, ret = 0; in update_pte_range() local
214 prot = ((r ? UM_PROT_READ : 0) | (w ? UM_PROT_WRITE : 0) | in update_pte_range()
219 PAGE_SIZE, prot, hvc); in update_pte_range()
223 ret = add_mprotect(addr, PAGE_SIZE, prot, hvc); in update_pte_range()
401 int r, w, x, prot, err = 0; in flush_tlb_page() local
430 prot = ((r ? UM_PROT_READ : 0) | (w ? UM_PROT_WRITE : 0) | in flush_tlb_page()
438 err = map(mm_id, address, PAGE_SIZE, prot, fd, offset, in flush_tlb_page()
444 err = protect(mm_id, address, PAGE_SIZE, prot, 1, &flush); in flush_tlb_page()