/darwin-on-arm/xnu/osfmk/mach/ |
H A D | vm_region.h | 76 vm_prot_t protection; member in struct:vm_region_basic_info_64 104 vm_prot_t protection; member in struct:vm_region_basic_info 140 vm_prot_t protection; member in struct:vm_region_extended_info 198 vm_prot_t protection; /* present access protection */ member in struct:vm_region_submap_info 224 vm_prot_t protection; /* present access protection */ member in struct:vm_region_submap_info_64 250 vm_prot_t protection; /* present access protection */ member in struct:vm_region_submap_short_info_64
|
H A D | shared_memory_server.h | 97 vm_prot_t protection; /* read/write/execute/COW/ZF */ member in struct:sf_mapping
|
/darwin-on-arm/xnu/osfmk/vm/ |
H A D | pmap.h | 380 #define PMAP_ENTER(pmap, virtual_address, page, protection, fault_type, flags, wired) \ 389 (protection), \ 397 #define PMAP_ENTER_OPTIONS(pmap, virtual_address, page, protection, fault_type, \ 407 (protection), \
|
H A D | vm_fault.h | 117 vm_prot_t *protection, /* Protection for mapping */
|
H A D | vm_user.c | 355 * Sets the protection of the specified range in the 383 * Sets the protection of the specified range in the 1575 info->protection = info64.protection; 1889 if((access != GET_MAP_MEM(parent_entry->protection)) && 1890 !(parent_entry->protection & VM_PROT_WRITE)) { 1894 SET_MAP_MEM(access, parent_entry->protection); 1897 SET_MAP_MEM(access, parent_entry->protection); 1900 SET_MAP_MEM(access, parent_entry->protection); 1903 SET_MAP_MEM(access, parent_entry->protection); [all...] |
H A D | vm_map.c | 136 vm_prot_t protection); 382 * Virtual memory maps provide for the mapping, protection, 572 map_entry->protection, 1327 new_entry->protection = VM_PROT_DEFAULT; 1387 vm_prot_t protection) 1419 kr = vm_fault_enter(m, map->pmap, addr, protection, protection, 1887 entry->protection != cur_protection || 1981 (entry->protection == cur_protection) && 2026 * allocation into 4GB chunks if the max protection i 1381 vm_map_pmap_enter( vm_map_t map, register vm_map_offset_t addr, register vm_map_offset_t end_addr, register vm_object_t object, vm_object_offset_t offset, vm_prot_t protection) argument 11833 vm_map_check_protection(vm_map_t map, vm_map_offset_t start, vm_map_offset_t end, vm_prot_t protection) argument [all...] |
H A D | vm_map.h | 177 vm_prot_t protection; /* access permissions */ member in struct:vm_named_entry 194 * and user-exported inheritance and protection information. 225 /* vm_prot_t */ protection:3, /* protection code */ member in struct:vm_map_entry 226 /* vm_prot_t */ max_protection:3,/* maximum protection */ 500 /* Find the VM object, offset, and protection for a given virtual address 888 /* Change protection */ 896 /* Check protection */ 901 vm_prot_t protection); 1048 * usual form; it handles a copyin based on the current protection [all...] |
H A D | vm32_user.c | 449 info->protection = info64.protection;
|
H A D | vm_debug.c | 181 region.vir_protection = entry->protection; 383 region.vir_protection = entry->protection;
|
H A D | memory_object.c | 227 * (pmap_page_protect may not increase protection). 414 * same as memory_object_lock_request but page protection 678 vm_prot_t protection) 1027 should_flush, should_return, should_iosync, protection)) 1480 if((named_entry->protection & VM_PROT_READ) 1485 if((named_entry->protection & 670 vm_object_update( vm_object_t object, vm_object_offset_t offset, vm_object_size_t size, vm_object_offset_t *resid_offset, int *io_errno, memory_object_return_t should_return, int flags, vm_prot_t protection) argument
|
H A D | vm_pageout.h | 397 vm_prot_t protection,
|
H A D | vm_protos.h | 54 vm_prot_t protection,
|
H A D | bsd_vm.c | 1184 pinfo->pri_protection = entry->protection; 1199 extended.protection = entry->protection;
|
H A D | vm_kern.c | 106 vm_prot_t protection); 772 vm_prot_t protection) 821 PMAP_ENTER(kernel_pmap, map_start, mem, protection, VM_PROT_NONE, 0, TRUE); 767 kmem_remap_pages( register vm_object_t object, register vm_object_offset_t offset, register vm_offset_t start, register vm_offset_t end, vm_prot_t protection) argument
|
H A D | vm_fault.c | 725 * in "protection". 775 vm_prot_t *protection, /* Protection for mapping */ 909 object, offset, fault_type, *protection, 0); 1880 *protection &= (~VM_PROT_WRITE); 1903 *protection &= ~VM_PROT_WRITE; 2413 * we can disconnect it everywhere and remove the executable protection 2847 * If the page is wired, we must fault for the current protection 3841 * Check whether the protection has changed or the object 3935 /* While we do not worry about execution protection in */ 3938 /* to execute, we return with a protection failur 768 vm_fault_page( vm_object_t first_object, vm_object_offset_t first_offset, vm_prot_t fault_type, boolean_t must_be_resident, vm_prot_t *protection, vm_page_t *result_page, vm_page_t *top_page, int *type_of_fault, kern_return_t *error_code, boolean_t no_zero_fill, boolean_t data_supply, vm_object_fault_info_t fault_info) argument [all...] |
H A D | vm_shared_region.c | 667 mem_entry->protection = VM_PROT_ALL; 1687 mem_entry->protection = VM_PROT_ALL;
|
H A D | vm_pageout.c | 4401 if (!(entry->protection & VM_PROT_WRITE)) { 4424 prot = entry->protection & ~VM_PROT_WRITE; 6677 map_entry->protection = VM_PROT_NONE; 6709 vm_prot_t protection, 6789 protection, 6833 protection, 6879 protection, 6703 vm_paging_map_object( vm_map_offset_t *address, vm_page_t page, vm_object_t object, vm_object_offset_t offset, vm_map_size_t *size, vm_prot_t protection, boolean_t can_unlock_object) argument
|
/darwin-on-arm/xnu/tools/tests/xnu_quick_test/ |
H A D | machvm_tests.c | 207 if (basic->protection != VM_PROT_READ) { 208 warnx("vm_region(VM_REGION_BASIC_INFO) returned a bad protection"); 236 if (basic64->protection != VM_PROT_READ) { 237 warnx("vm_region_64(VM_REGION_BASIC_INFO) returned a bad protection");
|
/darwin-on-arm/xnu/osfmk/kdp/ |
H A D | kdp_protocol.h | 274 uint32_t protection; /* vm_prot_t */ member in struct:__anon1019
|
H A D | kdp.c | 753 r->protection = VM_PROT_ALL; r++; rp->nregions++;
|
/darwin-on-arm/xnu/bsd/kern/ |
H A D | kern_core.c | 396 prot = vbr.protection;
|
/darwin-on-arm/xnu/bsd/dev/dtrace/ |
H A D | dtrace_glue.c | 179 if (!(info.protection & VM_PROT_WRITE)) { 180 /* Save the original protection values for restoration later */ 181 reprotect = info.protection;
|
/darwin-on-arm/xnu/osfmk/x86_64/ |
H A D | pmap.c | 84 * this module may delay invalidate or reduced protection 167 int nx_enabled = 1; /* enable no-execute protection */ 1241 * Set the physical protection on the 2303 prot = vbr.protection; 2324 kprintf("PTE/map entry permissions mismatch at address 0x%lx, pte: 0x%llx, protection: 0x%x\n", pcv, *ptep, prot);
|
/darwin-on-arm/xnu/iokit/Kernel/ |
H A D | IOMemoryDescriptor.cpp | 186 vm_prot_t protection, 183 device_data_action( uintptr_t device_handle, ipc_port_t device_pager, vm_prot_t protection, vm_object_offset_t offset, vm_size_t size) argument
|
/darwin-on-arm/xnu/libkern/c++/ |
H A D | OSKext.cpp | 5549 if (!(info.protection & VM_PROT_EXECUTE)) {
|