Lines Matching refs:prot
23 unsigned int prot; member
34 unsigned int prot; member
63 op->u.mmap.prot, op->u.mmap.fd, in do_ops()
72 op->u.mprotect.len, op->u.mprotect.prot, in do_ops()
86 unsigned int prot, struct host_vm_change *hvc) in add_mmap() argument
97 (last->u.mmap.prot == prot) && (last->u.mmap.fd == fd) && in add_mmap()
113 .prot = prot, in add_mmap()
148 unsigned int prot, struct host_vm_change *hvc) in add_mprotect() argument
157 (last->u.mprotect.prot == prot)) { in add_mprotect()
172 .prot = prot } } }); in add_mprotect()
183 int r, w, x, prot, ret = 0; in update_pte_range() local
199 prot = ((r ? UM_PROT_READ : 0) | (w ? UM_PROT_WRITE : 0) | in update_pte_range()
204 PAGE_SIZE, prot, hvc); in update_pte_range()
208 ret = add_mprotect(addr, PAGE_SIZE, prot, hvc); in update_pte_range()
383 int r, w, x, prot, err = 0; in flush_tlb_page() local
412 prot = ((r ? UM_PROT_READ : 0) | (w ? UM_PROT_WRITE : 0) | in flush_tlb_page()
420 err = map(mm_id, address, PAGE_SIZE, prot, fd, offset, in flush_tlb_page()
426 err = protect(mm_id, address, PAGE_SIZE, prot, 1, &flush); in flush_tlb_page()