Home
last modified time | relevance | path

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

1234

/xnu-11215.41.3/osfmk/vm/
H A Dvm_shared_region_internal.h41 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 Dvm_kern_internal.h54 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 Dvm_shared_region_xnu.h173 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 Dvm_shared_region.c218 mach_vm_offset_t start,
220 mach_vm_offset_t slid_mapping,
675 mach_vm_offset_t base_address, pmap_nesting_start; in vm_shared_region_create()
857 shared_region->sr_first_mapping = (mach_vm_offset_t) -1; in vm_shared_region_create()
999 mach_vm_offset_t *start_address, in vm_shared_region_start_address()
1003 mach_vm_offset_t sr_base_address; in vm_shared_region_start_address()
1004 mach_vm_offset_t sr_first_mapping; in vm_shared_region_start_address()
1028 if (sr_first_mapping == (mach_vm_offset_t) -1) { in vm_shared_region_start_address()
1318 mach_vm_offset_t sr_base_address, in vm_shared_region_undo_mappings()
1336 shared_region->sr_first_mapping = (mach_vm_offset_t) -1; in vm_shared_region_undo_mappings()
[all …]
H A Dvm_user.c184 mach_vm_offset_t *start, in mach_vm_deallocate_sanitize()
185 mach_vm_offset_t *end, in mach_vm_deallocate_sanitize()
204 mach_vm_offset_t start, end; in mach_vm_deallocate()
250 mach_vm_offset_t start, in mach_vm_inherit()
309 mach_vm_offset_t start, in mach_vm_protect()
1265 mach_vm_offset_t start, in mach_vm_behavior_set()
1327 (mach_vm_offset_t) start, in vm_behavior_set()
1349 mach_vm_offset_t *address, /* IN/OUT */ in mach_vm_region()
1610 mach_vm_offset_t address, in mach_vm_purgable_control()
1632 mach_vm_offset_t address, in mach_vm_purgable_control_external()
[all …]
H A Dvm_sanitize_internal.h610 mach_vm_offset_t vm_sanitize_offset_in_page(
726 mach_vm_offset_t mask,
763 mach_vm_offset_t mask = vm_map_page_mask(map); in vm_sanitize_addr_size()
/xnu-11215.41.3/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 */
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-11215.41.3/osfmk/kern/
H A Dkext_alloc.c52 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-11215.41.3/osfmk/mach/arm/
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)
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…
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;
/xnu-11215.41.3/tests/vm/
H A Dmach_vm_map.c24 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 Dvm_ranges.c138 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-11215.41.3/osfmk/mach/
H A Dvm_param.h124 #define mach_vm_round_page(x) (((mach_vm_offset_t)(x) + PAGE_MASK) & ~((signed)PAGE_MASK))
125 #define mach_vm_trunc_page(x) ((mach_vm_offset_t)(x) & ~((signed)PAGE_MASK))
134 mach_vm_round_page_overflow(mach_vm_offset_t in, mach_vm_offset_t *out) in mach_vm_round_page_overflow()
438 static inline mach_vm_offset_t
439 mach_vm_round_page(mach_vm_offset_t x) in mach_vm_round_page()
456 static inline mach_vm_offset_t
457 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.h143 mach_vm_offset_t min_address;
144 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,
742 PAD_ARG_(mach_vm_offset_t, address); /* 2 words */
/xnu-11215.41.3/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-11215.41.3/bsd/dev/dtrace/
H A Ddtrace_ptss.c178 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-11215.41.3/bsd/kern/
H A Dkern_mman.c1000 mach_vm_offset_t addr; in msync_nocancel()
1008 addr = (mach_vm_offset_t) uap->addr; in msync_nocancel()
1077 mach_vm_offset_t *user_addr, in munmap_sanitize()
1078 mach_vm_offset_t *user_end, in munmap_sanitize()
1090 mach_vm_offset_t user_addr, user_end; in munmap()
1124 mach_vm_offset_t user_addr; in mprotect()
1137 user_addr = (mach_vm_offset_t) uap->addr; in mprotect()
1230 mach_vm_offset_t addr; in minherit()
1241 addr = (mach_vm_offset_t)uap->addr; in minherit()
1262 mach_vm_offset_t start; in madvise()
[all …]
/xnu-11215.41.3/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-11215.41.3/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-11215.41.3/bsd/skywalk/nexus/
H A Dnexus_adapter.c535 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()
893 *(mach_vm_offset_t *)(uintptr_t)&csm->csm_ring_ofs[i].ring_off = in na_schema_alloc()
900 *(mach_vm_offset_t *)(uintptr_t)&csm->csm_ring_ofs[i].sd_off = in na_schema_alloc()
914 *(mach_vm_offset_t *) in na_schema_alloc()
922 *(mach_vm_offset_t *) in na_schema_alloc()
[all …]
/xnu-11215.41.3/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-11215.41.3/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;

1234