/dragonfly/sys/platform/vkernel64/platform/ |
H A D | copyio.c | 61 VM_PROT_READ|VM_PROT_WRITE, in casu64() 99 VM_PROT_READ|VM_PROT_WRITE, in casu32() 136 VM_PROT_READ|VM_PROT_WRITE, in swapu64() 168 VM_PROT_READ|VM_PROT_WRITE, in swapu32() 200 VM_PROT_READ|VM_PROT_WRITE, in fuwordadd64() 232 VM_PROT_READ|VM_PROT_WRITE, in fuwordadd32() 322 VM_PROT_READ, in copyin() 363 VM_PROT_READ|VM_PROT_WRITE, in copyout()
|
H A D | pmap.c | 128 (protection_codes[p & (VM_PROT_READ|VM_PROT_WRITE|VM_PROT_EXECUTE)]) 360 VM_PROT_READ|VM_PROT_WRITE, in uservtophys() 2175 if ((prot & (VM_PROT_READ | VM_PROT_EXECUTE)) == VM_PROT_NONE) { in pmap_protect() 2464 if ((prot & VM_PROT_READ) == 0 || pmap == NULL || object == NULL) in pmap_object_init_pt() 2544 VM_PROT_READ, FALSE, info->entry); in pmap_object_init_pt_callback() 2966 if (prot & (VM_PROT_READ | VM_PROT_EXECUTE)) { in pmap_page_protect() 3079 if (prot & VM_PROT_READ) in x86_64_protection_init()
|
/dragonfly/sys/vm/ |
H A D | vm.h | 80 #define VM_PROT_READ ((vm_prot_t) 0x01) macro 86 #define VM_PROT_RW (VM_PROT_READ|VM_PROT_WRITE) 87 #define VM_PROT_ALL (VM_PROT_READ|VM_PROT_WRITE|VM_PROT_EXECUTE)
|
H A D | vm_page2.h | 527 } else if ((prot == VM_PROT_READ) && in vm_page_protect() 530 pmap_page_protect(m, VM_PROT_READ); in vm_page_protect()
|
H A D | vm_swapcache.c | 586 vm_page_protect(m, VM_PROT_READ); in vm_swapcached_flush() 613 vm_page_protect(m, VM_PROT_READ); in vm_swapcached_flush() 637 vm_page_protect(m, VM_PROT_READ); in vm_swapcached_flush()
|
H A D | vm_fault.c | 490 VM_PROT_READ | VM_PROT_WRITE | in vm_fault() 1135 VM_PROT_READ | VM_PROT_WRITE | in vm_fault_page() 2305 wire_prot = VM_PROT_READ; in vm_fault_wire() 2308 wire_prot = VM_PROT_READ | VM_PROT_WRITE; in vm_fault_wire() 2421 VM_PROT_READ | VM_PROT_WRITE | VM_PROT_OVERRIDE_WRITE; in vm_fault_collapse()
|
/dragonfly/sys/platform/pc64/x86_64/ |
H A D | efirt.c | 216 VM_PROT_READ | VM_PROT_WRITE, in efi_create_1t1_map() 227 VM_PROT_READ | VM_PROT_WRITE | VM_PROT_EXECUTE, in efi_create_1t1_map() 228 VM_PROT_READ | VM_PROT_WRITE | VM_PROT_EXECUTE, in efi_create_1t1_map()
|
H A D | pmap.c | 2532 [VM_PROT_READ | VM_PROT_NONE | VM_PROT_NONE ] = 0, in pmap_ept_transform() 2533 [VM_PROT_READ | VM_PROT_NONE | VM_PROT_EXECUTE] = 0, in pmap_ept_transform() 2539 [VM_PROT_READ | VM_PROT_WRITE | VM_PROT_NONE ] = in pmap_ept_transform() 2541 [VM_PROT_READ | VM_PROT_WRITE | VM_PROT_EXECUTE] = in pmap_ept_transform() 2592 [VM_PROT_READ | VM_PROT_WRITE | VM_PROT_NONE ] = in pmap_npt_transform() 2594 [VM_PROT_READ | VM_PROT_WRITE | VM_PROT_EXECUTE] = in pmap_npt_transform() 5453 VM_PROT_READ, FALSE, info->entry); 5861 if (prot & (VM_PROT_READ | VM_PROT_EXECUTE)) { in pmap_page_protect() 5989 case VM_PROT_READ | VM_PROT_NONE | VM_PROT_NONE: in x86_64_protection_init() 5996 case VM_PROT_READ | VM_PROT_NONE | VM_PROT_EXECUTE: in x86_64_protection_init() [all …]
|
/dragonfly/sys/dev/virtual/nvmm/ |
H A D | nvmm_dragonfly.c | 131 vmprot |= VM_PROT_READ; in os_vmobj_map() 140 vmmaxprot |= VM_PROT_READ; in os_vmobj_map()
|
H A D | nvmm_netbsd.c | 203 VM_PROT_READ | VM_PROT_WRITE, PMAP_WRITE_BACK); in os_contigpa_zalloc()
|
/dragonfly/sys/libprop/ |
H A D | prop_kern.c | 522 VM_PROT_READ|VM_PROT_WRITE, in _prop_object_copyout() 523 VM_PROT_READ|VM_PROT_WRITE, in _prop_object_copyout()
|
/dragonfly/sys/kern/ |
H A D | sys_process.c | 81 rv = vm_map_lookup(&tmap, pageno, VM_PROT_READ, &out_entry, 185 rv = vm_fault(map, pageno, VM_PROT_WRITE|VM_PROT_READ, FALSE); 208 VM_PROT_READ|VM_PROT_EXECUTE, 0);
|
H A D | kern_exec.c | 993 VM_PROT_READ|VM_PROT_WRITE, in exec_new_vmspace() 994 VM_PROT_READ|VM_PROT_WRITE|VM_PROT_EXECUTE, in exec_new_vmspace() 1263 VM_PROT_READ|VM_PROT_EXECUTE, FALSE); in exec_copyout_strings()
|
H A D | imgact_elf.c | 370 VM_PROT_READ, 0, &shared, &error); in __elfN() 1171 if (entry->protection & VM_PROT_READ) in cb_put_fp() 1895 prot |= VM_PROT_READ; in __elfN() 1907 if (prot & VM_PROT_READ) in __elfN() 1920 base = vm_map_hint(p, 0, VM_PROT_READ | VM_PROT_EXECUTE); in pie_base_hint()
|
H A D | sysv_shm.c | 325 prot = VM_PROT_READ | VM_PROT_EXECUTE; in sys_shmat() 327 prot = VM_PROT_READ; in sys_shmat()
|
H A D | kern_fp.c | 514 maxprot |= VM_PROT_READ; in fp_mmap()
|
H A D | kern_memio.c | 282 prot = VM_PROT_READ; in mmrw()
|
/dragonfly/sys/vfs/procfs/ |
H A D | procfs_mem.c | 97 reqprot = VM_PROT_READ; in procfs_rwmem()
|
H A D | procfs_map.c | 217 (e_prot & VM_PROT_READ) ? "r" : "-", in procfs_domap()
|
/dragonfly/sys/dev/drm/ |
H A D | linux_shmem.c | 132 int fault_type = VM_PROT_READ; in get_user_pages()
|
H A D | drm_gem.c | 197 VM_PROT_READ | VM_PROT_WRITE, 0); in drm_gem_object_init()
|
/dragonfly/usr.bin/gcore/ |
H A D | elfcore.c | 182 if (entry->protection & VM_PROT_READ) in cb_put_phdr() 529 ent->protection = VM_PROT_READ | VM_PROT_WRITE; in readmap()
|
/dragonfly/sys/ddb/ |
H A D | db_watch.c | 229 VM_PROT_READ); in db_set_watchpoints()
|
/dragonfly/sys/platform/vkernel64/x86_64/ |
H A D | trap.c | 816 ftype = VM_PROT_READ | VM_PROT_WRITE; in trap_pfault() 820 ftype = VM_PROT_READ; in trap_pfault()
|
/dragonfly/usr.bin/fstat/ |
H A D | fstat.c | 443 fflags = (prot & VM_PROT_READ ? FREAD : 0) | in dommap()
|