Home
last modified time | relevance | path

Searched refs:mach_vm_offset_t (Results 1 – 25 of 83) sorted by relevance

1234

/xnu-8792.61.2/osfmk/vm/ !
H A Dvm_shared_region.h211 mach_vm_offset_t si_start __kernel_data_semantics; /* start offset in si_slide_object */
212 mach_vm_offset_t si_end __kernel_data_semantics;
229 mach_vm_offset_t sr_first_mapping;
230 mach_vm_offset_t sr_base_address;
232 mach_vm_offset_t sr_pmap_nesting_start;
266 mach_vm_offset_t uservaddr,
326 mach_vm_offset_t *start_address,
330 mach_vm_offset_t sr_base_address,
352 mach_vm_offset_t,
354 mach_vm_offset_t,
[all …]
H A Dvm_kern.h342 mach_vm_offset_t addr);
347 mach_vm_offset_t addr,
348 mach_vm_offset_t size);
358 mach_vm_offset_t addr,
359 mach_vm_offset_t size);
717 mach_vm_offset_t *addr,
968 mach_vm_offset_t *addr,
975 mach_vm_offset_t *address,
977 mach_vm_offset_t mask,
1006 mach_vm_offset_t *address,
[all …]
H A Dvm_user.c148 mach_vm_offset_t address,
170 mach_vm_offset_t *addr, in mach_vm_allocate_external()
183 mach_vm_offset_t *addr, in mach_vm_allocate_kernel()
332 mach_vm_offset_t start, in mach_vm_deallocate()
339 if (size == (mach_vm_offset_t) 0) { in mach_vm_deallocate()
389 mach_vm_offset_t start, in mach_vm_inherit()
448 mach_vm_offset_t start, in mach_vm_protect()
1012 mach_vm_offset_t *address, in mach_vm_map_external()
1014 mach_vm_offset_t mask, in mach_vm_map_external()
1038 mach_vm_offset_t *address, in mach_vm_map_kernel()
[all …]
H A Dvm_shared_region.c212 mach_vm_offset_t start,
214 mach_vm_offset_t slid_mapping,
669 mach_vm_offset_t base_address, pmap_nesting_start; in vm_shared_region_create()
851 shared_region->sr_first_mapping = (mach_vm_offset_t) -1; in vm_shared_region_create()
993 mach_vm_offset_t *start_address, in vm_shared_region_start_address()
997 mach_vm_offset_t sr_base_address; in vm_shared_region_start_address()
998 mach_vm_offset_t sr_first_mapping; in vm_shared_region_start_address()
1022 if (sr_first_mapping == (mach_vm_offset_t) -1) { in vm_shared_region_start_address()
1236 (mach_vm_offset_t) 0, in vm_shared_region_auth_remap()
1292 mach_vm_offset_t sr_base_address, in vm_shared_region_undo_mappings()
[all …]
H A Dvm32_user.c112 mach_vm_offset_t maddr; in vm32_allocate()
267 mach_vm_offset_t maddress; in vm32_map_64()
312 mach_vm_offset_t maddress; in vm32_remap()
358 mach_vm_offset_t maddress; in vm32_region_64()
H A Dvm_kern.c237 mach_vm_offset_t addr, in __mach_vm_range_overflow()
238 mach_vm_offset_t size) in __mach_vm_range_overflow()
247 mach_vm_offset_t min_address, in __mach_vm_range_invalid()
248 mach_vm_offset_t max_address) in __mach_vm_range_invalid()
257 mach_vm_offset_t rmin, rmax; in mach_vm_range_size()
265 mach_vm_range_contains(const struct mach_vm_range *r, mach_vm_offset_t addr) in mach_vm_range_contains()
267 mach_vm_offset_t rmin, rmax; in mach_vm_range_contains()
287 mach_vm_offset_t addr, in mach_vm_range_contains()
288 mach_vm_offset_t size) in mach_vm_range_contains()
290 mach_vm_offset_t rmin, rmax; in mach_vm_range_contains()
[all …]
/xnu-8792.61.2/bsd/skywalk/channel/ !
H A Dos_channel_private.h199 const mach_vm_offset_t csm_flowadv_ofs
217 const mach_vm_offset_t csm_stats_ofs
226 const mach_vm_offset_t csm_nexusadv_ofs
243 const mach_vm_offset_t ring_off; /* __user_channel_ring */
244 const mach_vm_offset_t sd_off; /* __slot_desc */
395 const mach_vm_offset_t ring_def_buf_base
398 const mach_vm_offset_t ring_large_buf_base
400 const mach_vm_offset_t ring_md_base /* base of metadata region */
402 const mach_vm_offset_t ring_sd_base /* base of slot desc region */
408 const mach_vm_offset_t ring_bft_base
[all …]
/xnu-8792.61.2/osfmk/kern/ !
H A Dkext_alloc.c50 SECURITY_READ_ONLY_LATE(mach_vm_offset_t) kext_alloc_base = 0;
51 SECURITY_READ_ONLY_LATE(mach_vm_offset_t) kext_alloc_max = 0;
53 static SECURITY_READ_ONLY_LATE(mach_vm_offset_t) kext_alloc_base = 0;
54 static SECURITY_READ_ONLY_LATE(mach_vm_offset_t) kext_alloc_max = 0;
56 static SECURITY_READ_ONLY_LATE(mach_vm_offset_t) kext_post_boot_base = 0;
72 mach_vm_offset_t text_end, text_start; in kext_alloc_init()
163 mach_vm_offset_t addr = (fixed) ? *_addr : kext_post_boot_base; in kext_alloc()
165 mach_vm_offset_t addr = (fixed) ? *_addr : kext_alloc_base; in kext_alloc()
/xnu-8792.61.2/osfmk/mach/arm/ !
H A Dvm_types.h108 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 Dvm_param.h126 #define MACH_VM_MIN_ADDRESS ((mach_vm_offset_t) 0)
127 #define MACH_VM_MAX_ADDRESS ((mach_vm_offset_t) VM_MAX_ADDRESS)
142 #define MACH_VM_MIN_ADDRESS ((mach_vm_offset_t) MACH_VM_MIN_ADDRESS_RAW)
143 #define MACH_VM_MAX_ADDRESS ((mach_vm_offset_t) MACH_VM_MAX_ADDRESS_RAW)
147 #define MACH_VM_MIN_GPU_CARVEOUT_ADDRESS ((mach_vm_offset_t) MACH_VM_MIN_GPU_CARVEOUT_ADDRESS_R…
148 #define MACH_VM_MAX_GPU_CARVEOUT_ADDRESS ((mach_vm_offset_t) MACH_VM_MAX_GPU_CARVEOUT_ADDRESS_R…
/xnu-8792.61.2/tests/vm/ !
H A Dvm_ranges.c119 assert_in_range(struct mach_vm_range range, mach_vm_offset_t addr) in assert_in_range()
128 assert_in_heap_range(mach_vm_offset_t addr) in assert_in_heap_range()
162 assert_in_range(range, (mach_vm_offset_t)dst); in assert_allocate_in_range()
173 assert_in_range(range, (mach_vm_offset_t)dst); in assert_mmap_in_range()
338 (mach_vm_offset_t)0, VM_FLAGS_ANYWHERE, MACH_PORT_NULL,
358 (mach_vm_offset_t)0, VM_FLAGS_ANYWHERE, mach_task_self(),
377 (mach_vm_offset_t)0, VM_FLAGS_ANYWHERE, mach_task_self(),
397 (mach_vm_offset_t)0, VM_FLAGS_ANYWHERE, mach_task_self(),
/xnu-8792.61.2/osfmk/mach/ !
H A Dvm_param.h122 #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()
382 static inline mach_vm_offset_t
383 mach_vm_round_page(mach_vm_offset_t x) in mach_vm_round_page()
400 static inline mach_vm_offset_t
401 round_page_64(mach_vm_offset_t x) in round_page_64()
H A Dshared_region.h166 mach_vm_offset_t sfm_file_offset;
177 mach_vm_offset_t sms_file_offset __kernel_data_semantics;
H A Dvm_types.h141 mach_vm_offset_t min_address;
142 mach_vm_offset_t max_address;
H A Dmach_traps.h167 mach_vm_offset_t *addr,
192 mach_vm_offset_t *address,
194 mach_vm_offset_t mask,
201 mach_vm_offset_t address,
720 PAD_ARG_(mach_vm_offset_t, mask);
730 PAD_ARG_(mach_vm_offset_t, address); /* 2 words */
/xnu-8792.61.2/osfmk/mach_debug/ !
H A Dvm_info.h80 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-8792.61.2/bsd/kern/ !
H A Dkern_mman.c920 mach_vm_offset_t addr; in msync_nocancel()
928 addr = (mach_vm_offset_t) uap->addr; in msync_nocancel()
996 mach_vm_offset_t user_addr; in munmap()
1002 user_addr = (mach_vm_offset_t) uap->addr; in munmap()
1033 mach_vm_offset_t user_addr; in mprotect()
1046 user_addr = (mach_vm_offset_t) uap->addr; in mprotect()
1139 mach_vm_offset_t addr; in minherit()
1149 addr = (mach_vm_offset_t)uap->addr; in minherit()
1171 mach_vm_offset_t start; in madvise()
1222 start = (mach_vm_offset_t) uap->addr; in madvise()
[all …]
/xnu-8792.61.2/libsyscall/mach/mach/ !
H A Dvm_page_size.h55 #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-8792.61.2/libsyscall/mach/ !
H A Dmach_vm.c165 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-8792.61.2/bsd/dev/dtrace/ !
H A Ddtrace_ptss.c177 mach_vm_offset_t addr = 0; in dtrace_ptss_allocate_page()
178 mach_vm_offset_t write_addr = 0; in dtrace_ptss_allocate_page()
199 …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-8792.61.2/bsd/skywalk/nexus/ !
H A Dnexus_adapter.c534 ASSERT(ch->ch_schema_offset != (mach_vm_offset_t)-1); in na_bind_channel()
537 ch->ch_schema_offset = (mach_vm_offset_t)-1; in na_bind_channel()
614 ch->ch_schema_offset = (mach_vm_offset_t)-1; in na_bind_channel()
688 ch->ch_schema_offset = (mach_vm_offset_t)-1; in na_unbind_channel()
751 mach_vm_offset_t roff[SKMEM_REGIONS]; in na_schema_alloc()
755 mach_vm_offset_t base; in na_schema_alloc()
887 *(mach_vm_offset_t *)(uintptr_t)&csm->csm_ring_ofs[i].ring_off = in na_schema_alloc()
894 *(mach_vm_offset_t *)(uintptr_t)&csm->csm_ring_ofs[i].sd_off = in na_schema_alloc()
908 *(mach_vm_offset_t *) in na_schema_alloc()
916 *(mach_vm_offset_t *) in na_schema_alloc()
[all …]
/xnu-8792.61.2/libsyscall/wrappers/
H A Dstackshot.c290 …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-8792.61.2/osfmk/mach/i386/
H A Dvm_param.h191 #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 Dvm_types.h127 typedef uint64_t mach_vm_offset_t __kernel_ptr_semantics;
/xnu-8792.61.2/tests/vm_memory_tests_src/
H A Dmach_vm_tests.h58 …ad(ipc_message_t *, mach_vm_address_t, mach_port_t, mach_vm_size_t, mach_vm_offset_t, boolean_t, i…

1234