Home
last modified time | relevance | path

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

1234

/xnu-10063.141.1/osfmk/vm/
H A Dvm_shared_region.h228 mach_vm_offset_t si_start __kernel_data_semantics; /* start offset in si_slide_object */
229 mach_vm_offset_t si_end __kernel_data_semantics;
246 mach_vm_offset_t sr_first_mapping;
247 mach_vm_offset_t sr_base_address;
249 mach_vm_offset_t sr_pmap_nesting_start;
283 mach_vm_offset_t uservaddr,
343 mach_vm_offset_t *start_address,
347 mach_vm_offset_t sr_base_address,
369 mach_vm_offset_t,
371 mach_vm_offset_t,
[all …]
H A Dvm_kern.h360 mach_vm_offset_t addr);
365 mach_vm_offset_t addr,
366 mach_vm_offset_t size);
376 mach_vm_offset_t addr,
377 mach_vm_offset_t size);
749 mach_vm_offset_t *addr,
1055 mach_vm_offset_t *addr,
1062 mach_vm_offset_t *address,
1064 mach_vm_offset_t mask,
1076 mach_vm_offset_t *address,
[all …]
H A Dvm_user.c252 mach_vm_offset_t address,
274 mach_vm_offset_t *addr, in mach_vm_allocate_external()
287 mach_vm_offset_t *addr, in mach_vm_allocate_kernel()
429 mach_vm_offset_t start, in mach_vm_deallocate()
436 if (size == (mach_vm_offset_t) 0) { in mach_vm_deallocate()
486 mach_vm_offset_t start, in mach_vm_inherit()
545 mach_vm_offset_t start, in mach_vm_protect()
1109 mach_vm_offset_t *address, in mach_vm_map_external()
1111 mach_vm_offset_t mask, in mach_vm_map_external()
1138 mach_vm_offset_t *address, in mach_vm_map_kernel()
[all …]
H A Dvm_shared_region.c216 mach_vm_offset_t start,
218 mach_vm_offset_t slid_mapping,
673 mach_vm_offset_t base_address, pmap_nesting_start; in vm_shared_region_create()
855 shared_region->sr_first_mapping = (mach_vm_offset_t) -1; in vm_shared_region_create()
997 mach_vm_offset_t *start_address, in vm_shared_region_start_address()
1001 mach_vm_offset_t sr_base_address; in vm_shared_region_start_address()
1002 mach_vm_offset_t sr_first_mapping; in vm_shared_region_start_address()
1026 if (sr_first_mapping == (mach_vm_offset_t) -1) { in vm_shared_region_start_address()
1261 (mach_vm_offset_t) 0, in vm_shared_region_auth_remap()
1316 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()
/xnu-10063.141.1/bsd/skywalk/channel/
H A Dos_channel_private.h200 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 */
397 const mach_vm_offset_t ring_def_buf_base
400 const mach_vm_offset_t ring_large_buf_base
402 const mach_vm_offset_t ring_md_base /* base of metadata region */
404 const mach_vm_offset_t ring_sd_base /* base of slot desc region */
410 const mach_vm_offset_t ring_bft_base
[all …]
/xnu-10063.141.1/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-10063.141.1/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-10063.141.1/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()
436 static inline mach_vm_offset_t
437 mach_vm_round_page(mach_vm_offset_t x) in mach_vm_round_page()
454 static inline mach_vm_offset_t
455 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.h142 mach_vm_offset_t min_address;
143 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,
732 PAD_ARG_(mach_vm_offset_t, mask);
742 PAD_ARG_(mach_vm_offset_t, address); /* 2 words */
/xnu-10063.141.1/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-10063.141.1/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()
200 kr = mach_vm_protect(map, (mach_vm_offset_t)addr, (mach_vm_size_t)size, 0, in dtrace_ptss_allocate_page()
206 kr = mach_vm_protect(map, (mach_vm_offset_t)addr, (mach_vm_size_t)size, 0, in dtrace_ptss_allocate_page()
221 …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-10063.141.1/tests/vm/
H A Dvm_ranges.c110 assert_in_range(struct mach_vm_range range, mach_vm_offset_t addr) in assert_in_range()
119 assert_in_heap_range(mach_vm_offset_t addr) in assert_in_heap_range()
153 assert_in_range(range, (mach_vm_offset_t)dst); in assert_allocate_in_range()
164 assert_in_range(range, (mach_vm_offset_t)dst); in assert_mmap_in_range()
380 (mach_vm_offset_t)0, VM_FLAGS_ANYWHERE, MACH_PORT_NULL,
398 (mach_vm_offset_t)0, VM_FLAGS_ANYWHERE, mach_task_self(),
415 (mach_vm_offset_t)0, VM_FLAGS_ANYWHERE, mach_task_self(),
433 (mach_vm_offset_t)0, VM_FLAGS_ANYWHERE, mach_task_self(),
/xnu-10063.141.1/bsd/kern/
H A Dkern_mman.c990 mach_vm_offset_t addr; in msync_nocancel()
998 addr = (mach_vm_offset_t) uap->addr; in msync_nocancel()
1066 mach_vm_offset_t user_addr; in munmap()
1072 user_addr = (mach_vm_offset_t) uap->addr; in munmap()
1103 mach_vm_offset_t user_addr; in mprotect()
1116 user_addr = (mach_vm_offset_t) uap->addr; in mprotect()
1209 mach_vm_offset_t addr; in minherit()
1220 addr = (mach_vm_offset_t)uap->addr; in minherit()
1241 mach_vm_offset_t start; in madvise()
1296 start = (mach_vm_offset_t) uap->addr; in madvise()
[all …]
/xnu-10063.141.1/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-10063.141.1/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-10063.141.1/bsd/skywalk/nexus/
H A Dnexus_adapter.c543 ASSERT(ch->ch_schema_offset != (mach_vm_offset_t)-1); in na_bind_channel()
546 ch->ch_schema_offset = (mach_vm_offset_t)-1; in na_bind_channel()
620 ch->ch_schema_offset = (mach_vm_offset_t)-1; in na_bind_channel()
694 ch->ch_schema_offset = (mach_vm_offset_t)-1; in na_unbind_channel()
757 mach_vm_offset_t roff[SKMEM_REGIONS]; in na_schema_alloc()
761 mach_vm_offset_t base; in na_schema_alloc()
899 *(mach_vm_offset_t *)(uintptr_t)&csm->csm_ring_ofs[i].ring_off = in na_schema_alloc()
906 *(mach_vm_offset_t *)(uintptr_t)&csm->csm_ring_ofs[i].sd_off = in na_schema_alloc()
920 *(mach_vm_offset_t *) in na_schema_alloc()
928 *(mach_vm_offset_t *) in na_schema_alloc()
[all …]
/xnu-10063.141.1/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-10063.141.1/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-10063.141.1/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…
/xnu-10063.141.1/bsd/sys/
H A Dpthread_shims.h127 mach_vm_offset_t *out_addr);
130 mach_vm_offset_t stackaddr);
271 kern_return_t (*thread_set_tsd_base)(thread_t thread, mach_vm_offset_t tsd_base);

1234