| /xnu-11417.140.69/osfmk/vm/ |
| H A D | vm_shared_region_internal.h | 41 mach_vm_offset_t uservaddr, 74 mach_vm_offset_t *start_address, 78 mach_vm_offset_t sr_base_address, 94 mach_vm_offset_t, 96 mach_vm_offset_t, 98 mach_vm_offset_t,
|
| H A D | vm_kern_internal.h | 54 mach_vm_offset_t addr); 59 mach_vm_offset_t addr, 60 mach_vm_offset_t size); 70 mach_vm_offset_t addr, 71 mach_vm_offset_t size);
|
| H A D | vm_shared_region_xnu.h | 173 mach_vm_offset_t si_start __kernel_data_semantics; /* start offset in si_slide_object */ 174 mach_vm_offset_t si_end __kernel_data_semantics; 191 mach_vm_offset_t sr_first_mapping; 192 mach_vm_offset_t sr_base_address; 194 mach_vm_offset_t sr_pmap_nesting_start;
|
| H A D | vm_sanitize_internal.h | 659 mach_vm_offset_t vm_sanitize_offset_in_page( 675 static inline mach_vm_offset_t 796 mach_vm_offset_t mask, 827 mach_vm_offset_t mask, in vm_sanitize_addr_size() 869 mach_vm_offset_t mask = vm_map_page_mask(map); in vm_sanitize_addr_size() 898 mach_vm_offset_t mask, 929 mach_vm_offset_t mask, in vm_sanitize_addr_end() 970 mach_vm_offset_t mask = vm_map_page_mask(map); in vm_sanitize_addr_end()
|
| H A D | vm_shared_region.c | 225 mach_vm_offset_t start, 227 mach_vm_offset_t slid_mapping, 682 mach_vm_offset_t base_address, pmap_nesting_start; in vm_shared_region_create() 864 shared_region->sr_first_mapping = (mach_vm_offset_t) -1; in vm_shared_region_create() 1006 mach_vm_offset_t *start_address, in vm_shared_region_start_address() 1010 mach_vm_offset_t sr_base_address; in vm_shared_region_start_address() 1011 mach_vm_offset_t sr_first_mapping; in vm_shared_region_start_address() 1035 if (sr_first_mapping == (mach_vm_offset_t) -1) { in vm_shared_region_start_address() 1324 mach_vm_offset_t sr_base_address, in vm_shared_region_undo_mappings() 1342 shared_region->sr_first_mapping = (mach_vm_offset_t) -1; in vm_shared_region_undo_mappings() [all …]
|
| H A D | vm_sanitize.c | 251 mach_vm_offset_t 413 mach_vm_offset_t pgmask, in vm_sanitize_err_compat_addr_size() 456 mach_vm_offset_t pgmask, in vm_sanitize_addr_size() 576 const mach_vm_offset_t va_range_upper_bound = (1ULL << max_va_bits); in vm_sanitize_addr_size() 577 const mach_vm_offset_t va_mask = va_range_upper_bound - 1; in vm_sanitize_addr_size() 615 mach_vm_offset_t mask, in vm_sanitize_addr_end()
|
| /xnu-11417.140.69/bsd/skywalk/channel/ |
| H A D | os_channel_private.h | 200 const mach_vm_offset_t csm_flowadv_ofs 218 const mach_vm_offset_t csm_stats_ofs 227 const mach_vm_offset_t csm_nexusadv_ofs 244 const mach_vm_offset_t ring_off; /* __user_channel_ring */ 245 const mach_vm_offset_t sd_off; /* __slot_desc */ 399 const mach_vm_offset_t ring_def_buf_base 402 const mach_vm_offset_t ring_large_buf_base 404 const mach_vm_offset_t ring_md_base /* base of metadata region */ 406 const mach_vm_offset_t ring_sd_base /* base of slot desc region */ 412 const mach_vm_offset_t ring_bft_base [all …]
|
| /xnu-11417.140.69/osfmk/kern/ |
| H A D | kext_alloc.c | 52 SECURITY_READ_ONLY_LATE(mach_vm_offset_t) kext_alloc_base = 0; 53 SECURITY_READ_ONLY_LATE(mach_vm_offset_t) kext_alloc_max = 0; 55 static SECURITY_READ_ONLY_LATE(mach_vm_offset_t) kext_alloc_base = 0; 56 static SECURITY_READ_ONLY_LATE(mach_vm_offset_t) kext_alloc_max = 0; 58 static SECURITY_READ_ONLY_LATE(mach_vm_offset_t) kext_post_boot_base = 0; 74 mach_vm_offset_t text_end, text_start; in kext_alloc_init() 165 mach_vm_offset_t addr = (fixed) ? *_addr : kext_post_boot_base; in kext_alloc() 167 mach_vm_offset_t addr = (fixed) ? *_addr : kext_alloc_base; in kext_alloc()
|
| /xnu-11417.140.69/osfmk/mach/arm/ |
| H A D | vm_types.h | 108 typedef uint64_t mach_vm_offset_t __kernel_ptr_semantics; 132 typedef uint32_t mach_vm_offset_t; typedef 136 typedef uint64_t mach_vm_offset_t __kernel_ptr_semantics; 154 typedef mach_vm_offset_t mach_port_context64_t;
|
| H A D | vm_param.h | 126 #define MACH_VM_MIN_ADDRESS ((mach_vm_offset_t) 0) 127 #define MACH_VM_MAX_ADDRESS ((mach_vm_offset_t) VM_MAX_ADDRESS) 153 #define MACH_VM_JUMBO_ADDRESS ((mach_vm_offset_t) 0x0000000FC0000000ULL) 156 #define MACH_VM_MIN_ADDRESS ((mach_vm_offset_t) MACH_VM_MIN_ADDRESS_RAW) 157 #define MACH_VM_MAX_ADDRESS ((mach_vm_offset_t) MACH_VM_MAX_ADDRESS_RAW) 161 #define MACH_VM_MIN_GPU_CARVEOUT_ADDRESS ((mach_vm_offset_t) MACH_VM_MIN_GPU_CARVEOUT_ADDRESS_R… 162 #define MACH_VM_MAX_GPU_CARVEOUT_ADDRESS ((mach_vm_offset_t) MACH_VM_MAX_GPU_CARVEOUT_ADDRESS_R…
|
| /xnu-11417.140.69/tests/vm/ |
| H A D | mach_vm_map.c | 24 mach_vm_offset_t start; 25 mach_vm_offset_t end; 28 static const mach_vm_offset_t sz16k = 16 << 10; 31 static const mach_vm_offset_t mo_offset = sz16k - 128; 91 mach_vm_offset_t map_offset, in mach_vm_map_unaligned_test() 100 mach_vm_offset_t used_offset_for_size; in mach_vm_map_unaligned_test() 101 mach_vm_offset_t mo_start; in mach_vm_map_unaligned_test() 102 mach_vm_offset_t mo_end; in mach_vm_map_unaligned_test()
|
| H A D | vm_ranges.c | 138 assert_in_range(struct mach_vm_range range, mach_vm_offset_t addr) in assert_in_range() 147 assert_in_heap_range(mach_vm_offset_t addr) in assert_in_heap_range() 181 assert_in_range(range, (mach_vm_offset_t)dst); in assert_allocate_in_range() 192 assert_in_range(range, (mach_vm_offset_t)dst); in assert_mmap_in_range() 416 (mach_vm_offset_t)0, VM_FLAGS_ANYWHERE, MACH_PORT_NULL, 434 (mach_vm_offset_t)0, VM_FLAGS_ANYWHERE, mach_task_self(), 451 (mach_vm_offset_t)0, VM_FLAGS_ANYWHERE, mach_task_self(), 469 (mach_vm_offset_t)0, VM_FLAGS_ANYWHERE, mach_task_self(),
|
| /xnu-11417.140.69/bsd/kern/ |
| H A D | kern_mman.c | 1002 mach_vm_offset_t *addr, in msync_sanitize() 1003 mach_vm_offset_t *size) in msync_sanitize() 1005 mach_vm_offset_t end; in msync_sanitize() 1033 mach_vm_offset_t addr; in msync_nocancel() 1108 mach_vm_offset_t *user_addr, in munmap_sanitize() 1109 mach_vm_offset_t *user_end, in munmap_sanitize() 1122 mach_vm_offset_t user_addr, user_end; in munmap() 1159 mach_vm_offset_t *user_addr, in mprotect_sanitize() 1160 mach_vm_offset_t *user_end_aligned, in mprotect_sanitize() 1195 mach_vm_offset_t user_addr; in mprotect() [all …]
|
| /xnu-11417.140.69/osfmk/mach/ |
| H A D | vm_param.h | 122 #define mach_vm_round_page(x) (((mach_vm_offset_t)(x) + PAGE_MASK) & ~((signed)PAGE_MASK)) 123 #define mach_vm_trunc_page(x) ((mach_vm_offset_t)(x) & ~((signed)PAGE_MASK)) 132 mach_vm_round_page_overflow(mach_vm_offset_t in, mach_vm_offset_t *out) in mach_vm_round_page_overflow() 448 static inline mach_vm_offset_t 449 mach_vm_round_page(mach_vm_offset_t x) in mach_vm_round_page() 466 static inline mach_vm_offset_t 467 round_page_64(mach_vm_offset_t x) in round_page_64()
|
| H A D | vm_types.h | 125 typedef mach_vm_offset_t *mach_vm_offset_list_t; 158 mach_vm_offset_t min_address; 159 mach_vm_offset_t max_address;
|
| H A D | shared_region.h | 166 mach_vm_offset_t sfm_file_offset; 177 mach_vm_offset_t sms_file_offset __kernel_data_semantics;
|
| H A D | mach_traps.h | 167 mach_vm_offset_t *addr, 192 mach_vm_offset_t *address, 194 mach_vm_offset_t mask, 201 mach_vm_offset_t address, 743 PAD_ARG_(mach_vm_offset_t, address); /* 2 words */
|
| /xnu-11417.140.69/osfmk/mach_debug/ |
| H A D | vm_info.h | 80 mach_vm_offset_t vir_start; /* start of region */ 81 mach_vm_offset_t vir_end; /* end of region */ 82 mach_vm_offset_t vir_object; /* the mapped object(kernal addr) */
|
| /xnu-11417.140.69/bsd/dev/dtrace/ |
| H A D | dtrace_ptss.c | 178 mach_vm_offset_t addr = 0; in dtrace_ptss_allocate_page() 179 mach_vm_offset_t write_addr = 0; in dtrace_ptss_allocate_page() 201 kr = mach_vm_protect(map, (mach_vm_offset_t)addr, (mach_vm_size_t)size, 0, in dtrace_ptss_allocate_page() 207 kr = mach_vm_protect(map, (mach_vm_offset_t)addr, (mach_vm_size_t)size, 0, in dtrace_ptss_allocate_page() 224 …kr = mach_vm_protect(map, (mach_vm_offset_t)write_addr, (mach_vm_size_t)size, 0, VM_PROT_READ | VM… in dtrace_ptss_allocate_page()
|
| /xnu-11417.140.69/libsyscall/mach/mach/ |
| H A D | vm_page_size.h | 55 #define mach_vm_trunc_page(x) ((mach_vm_offset_t)(x) & ~((signed)vm_page_mask)) 56 #define mach_vm_round_page(x) (((mach_vm_offset_t)(x) + vm_page_mask) & ~((signed)vm_page_mask))
|
| /xnu-11417.140.69/libsyscall/mach/ |
| H A D | mach_vm.c | 165 mach_vm_offset_t mask, in mach_vm_map() 201 mach_vm_offset_t mask, in mach_vm_remap() 230 mach_vm_offset_t mask, in mach_vm_remap_new() 389 mach_vm_offset_t address, in mach_vm_purgable_control() 412 (mach_vm_offset_t) address, in vm_purgable_control()
|
| /xnu-11417.140.69/bsd/skywalk/nexus/ |
| H A D | nexus_adapter.c | 535 ASSERT(ch->ch_schema_offset != (mach_vm_offset_t)-1); in na_bind_channel() 538 ch->ch_schema_offset = (mach_vm_offset_t)-1; in na_bind_channel() 612 ch->ch_schema_offset = (mach_vm_offset_t)-1; in na_bind_channel() 686 ch->ch_schema_offset = (mach_vm_offset_t)-1; in na_unbind_channel() 749 mach_vm_offset_t roff[SKMEM_REGIONS]; in na_schema_alloc() 753 mach_vm_offset_t base; in na_schema_alloc() 915 *(mach_vm_offset_t *)(uintptr_t)&csm->csm_ring_ofs[i].ring_off = in na_schema_alloc() 922 *(mach_vm_offset_t *)(uintptr_t)&csm->csm_ring_ofs[i].sd_off = in na_schema_alloc() 936 *(mach_vm_offset_t *) in na_schema_alloc() 944 *(mach_vm_offset_t *) in na_schema_alloc() [all …]
|
| /xnu-11417.140.69/libsyscall/wrappers/ |
| H A D | stackshot.c | 290 …mach_vm_deallocate(mach_task_self(), (mach_vm_offset_t)s_config->sc_buffer, (mach_vm_size_t)s_conf… in stackshot_config_dealloc_buffer() 318 …mach_vm_deallocate(mach_task_self(), (mach_vm_offset_t)s_config->sc_buffer, (mach_vm_size_t)s_conf… in stackshot_config_dealloc()
|
| /xnu-11417.140.69/osfmk/mach/i386/ |
| H A D | vm_param.h | 191 #define MACH_VM_MIN_ADDRESS ((mach_vm_offset_t) 0) 192 #define MACH_VM_MAX_ADDRESS ((mach_vm_offset_t) VM_MAX_PAGE_ADDRESS)
|
| H A D | vm_types.h | 127 typedef uint64_t mach_vm_offset_t __kernel_ptr_semantics;
|