Home
last modified time | relevance | path

Searched refs:mach_vm_size_t (Results 1 – 25 of 137) sorted by relevance

123456

/xnu-11417.140.69/osfmk/mach/
H A Dexclaves.h204 mach_vm_address_t msg_buffer, mach_vm_size_t size, exclaves_tag_t *tag,
234 mach_vm_size_t size, mach_port_t *outbound_buffer_port);
271 mach_vm_address_t dst_buffer, mach_vm_size_t size1, mach_vm_size_t offset1,
272 mach_vm_size_t size2, mach_vm_size_t offset2);
301 mach_vm_size_t size, mach_port_t *inbound_buffer_port);
340 mach_vm_address_t src_buffer, mach_vm_size_t size1, mach_vm_size_t offset1,
341 mach_vm_size_t size2, mach_vm_size_t offset2);
370 mach_vm_size_t size, mach_port_t* named_buffer_port);
397 mach_vm_address_t src_buffer, mach_vm_size_t size, mach_vm_size_t offset);
424 mach_vm_address_t dst_buffer, mach_vm_size_t size, mach_vm_size_t offset);
[all …]
H A Dtask_info.h121 mach_vm_size_t virtual_size; /* virtual memory size (bytes) */
122 mach_vm_size_t resident_size; /* resident memory size (bytes) */
125 mach_vm_size_t virtual_size; /* virtual memory size (bytes) */
126 mach_vm_size_t resident_size; /* resident memory size (bytes) */
283 mach_vm_size_t all_image_info_size;
301 mach_vm_size_t virtual_size; /* virtual memory size (bytes) */
302 mach_vm_size_t resident_size; /* resident memory size (bytes) */
329 mach_vm_size_t virtual_size; /* virtual memory size (bytes) */
330 mach_vm_size_t resident_size; /* resident memory size (bytes) */
331 mach_vm_size_t resident_size_max; /* maximum resident memory size (bytes) */
[all …]
H A Dmach_vm.defs114 size : mach_vm_size_t;
125 size : mach_vm_size_t;
141 size : mach_vm_size_t);
151 size : mach_vm_size_t);
170 size : mach_vm_size_t;
184 size : mach_vm_size_t;
206 size : mach_vm_size_t;
223 size : mach_vm_size_t;
272 size : mach_vm_size_t;
290 size : mach_vm_size_t;
[all …]
/xnu-11417.140.69/libsyscall/wrappers/
H A Dexclaves.c46 mach_vm_address_t msg_buffer, mach_vm_size_t size, exclaves_tag_t *tag, in exclaves_endpoint_call()
70 mach_vm_size_t size, mach_port_t *out_outbound_buffer_port) in exclaves_outbound_buffer_create()
80 mach_vm_address_t dst_buffer, mach_vm_size_t size1, mach_vm_size_t offset1, in exclaves_outbound_buffer_copyout()
81 mach_vm_size_t size2, mach_vm_size_t offset2) in exclaves_outbound_buffer_copyout()
90 mach_vm_size_t size, mach_port_t *out_inbound_buffer_port) in exclaves_inbound_buffer_create()
100 mach_vm_address_t src_buffer, mach_vm_size_t size1, mach_vm_size_t offset1, in exclaves_inbound_buffer_copyin()
101 mach_vm_size_t size2, mach_vm_size_t offset2) in exclaves_inbound_buffer_copyin()
110 mach_vm_size_t size, mach_port_t *out_named_buffer_port) in exclaves_named_buffer_create()
118 mach_vm_address_t src_buffer, mach_vm_size_t size, mach_vm_size_t offset) in exclaves_named_buffer_copyin()
126 mach_vm_address_t dst_buffer, mach_vm_size_t size, mach_vm_size_t offset) in exclaves_named_buffer_copyout()
[all …]
/xnu-11417.140.69/osfmk/kern/
H A Dexclaves_resource.h755 user_addr_t ubuffer, mach_vm_size_t usize1, mach_vm_size_t uoffset1,
756 mach_vm_size_t usize2, mach_vm_size_t uoffset2);
787 user_addr_t ubuffer, mach_vm_size_t usize1, mach_vm_size_t uoffset1,
788 mach_vm_size_t usize2, mach_vm_size_t uoffset2);
873 user_addr_t ubuffer, mach_vm_size_t usize1, mach_vm_size_t uoffset1,
874 mach_vm_size_t usize2, mach_vm_size_t uoffset2, user_addr_t ustatus);
/xnu-11417.140.69/bsd/sys/
H A Dkern_sysctl.h39 mach_vm_size_t virtual_size;
40 mach_vm_size_t resident_size;
41 mach_vm_size_t wired_size;
42 mach_vm_size_t reusable_size;
43 mach_vm_size_t compressed_size;
/xnu-11417.140.69/osfmk/kdp/ml/i386/
H A Dkdp_x86_common.c88 mach_vm_size_t
89 kdp_machine_vm_read( mach_vm_address_t src, caddr_t dst, mach_vm_size_t len) in kdp_machine_vm_read()
94 mach_vm_size_t resid = len; in kdp_machine_vm_read()
95 mach_vm_size_t cnt = 0, cnt_src, cnt_dst; in kdp_machine_vm_read()
104 mach_vm_size_t ret; in kdp_machine_vm_read()
164 mach_vm_size_t
169 mach_vm_size_t len = rq->nbytes; in kdp_machine_phys_read()
173 mach_vm_size_t resid = len; in kdp_machine_phys_read()
174 mach_vm_size_t cnt = 0, cnt_src, cnt_dst; in kdp_machine_phys_read()
177 return (mach_vm_size_t) in kdp_machine_phys_read()
[all …]
/xnu-11417.140.69/tests/vm/
H A Dvm_allocation.c322 #define DEFAULT_VM_SIZE ((mach_vm_size_t)(1024ULL * 4096ULL))
397 typedef kern_return_t (*allocate_fn_t)(vm_map_t, mach_vm_address_t *, mach_vm_size_t, int);
404 static mach_vm_size_t fixed_vm_size = 0;
407 void assert_deallocate_success(mach_vm_address_t address, mach_vm_size_t size);
413 check_fixed_address(mach_vm_address_t *address, mach_vm_size_t size) in check_fixed_address()
425 wrapper_mach_vm_allocate(vm_map_t map, mach_vm_address_t * address, mach_vm_size_t size, int flags) in wrapper_mach_vm_allocate()
432 wrapper_mach_vm_map(vm_map_t map, mach_vm_address_t * address, mach_vm_size_t size, int flags) in wrapper_mach_vm_map()
441 wrapper_mach_vm_map_4kB(vm_map_t map, mach_vm_address_t * address, mach_vm_size_t size, int flags) in wrapper_mach_vm_map_4kB()
449 wrapper_mach_vm_map_2MB(vm_map_t map, mach_vm_address_t * address, mach_vm_size_t size, int flags) in wrapper_mach_vm_map_2MB()
457 memory_entry(mach_vm_size_t * size, mach_port_t *object_handle) in memory_entry()
[all …]
H A Dvm_parameter_validation.c199 call_munmap(MAP_T map __unused, mach_vm_address_t start, mach_vm_size_t size) in call_munmap()
216 make_a_mem_object(mach_vm_size_t size) in make_a_mem_object()
376 call_ ## FN ## __size(MAP_T map __unused, mach_vm_size_t size) \
389 call_ ## FN ## __vm_prot(MAP_T map __unused, mach_vm_size_t size, vm_prot_t prot) \
410 check_vm_read_outparam_changes(kern_return_t * kr, mach_vm_size_t size, mach_vm_size_t requested_si… in IMPL()
427 call_mach_vm_read(MAP_T map, mach_vm_address_t start, mach_vm_size_t size) in call_mach_vm_read()
454 call_mach_vm_read_list(MAP_T map, mach_vm_address_t start, mach_vm_size_t size) in call_mach_vm_read_list()
477 check_vm_read_overwrite_outparam_changes(kern_return_t * kr, mach_vm_size_t size, mach_vm_size_t re… in check_vm_read_overwrite_outparam_changes()
487 …_overwrite__ssz(MAP_T map, mach_vm_address_t start, mach_vm_address_t start_2, mach_vm_size_t size) in call_mach_vm_read_overwrite__ssz()
489 mach_vm_size_t out_size; in call_mach_vm_read_overwrite__ssz()
[all …]
H A Dvm_memory_entry_parent_test.c8 #define KB4 ((mach_vm_size_t)4*1024)
9 #define KB16 ((mach_vm_size_t)16*1024)
38 mach_vm_size_t size, parent_offset;
57 mach_vm_size_t parent_entry_size = size;
72 mach_vm_size_t child_entry_size = KB4 * 1;
H A Dmach_vm_map.c30 static const mach_vm_size_t scratch_size = 3 * sz16k;
32 static const mach_vm_size_t mo_size = sz16k + 256;
92 mach_vm_size_t map_size) in mach_vm_map_unaligned_test()
97 mach_vm_size_t size; in mach_vm_map_unaligned_test()
166 mach_vm_size_t want_size, r_size; in mach_vm_map_unaligned_test()
263 mach_vm_size_t size_16kb, entry_size;
295 kr = mach_vm_map(mach_task_self(), &target_addr, (mach_vm_size_t) -1, 0,
/xnu-11417.140.69/osfmk/kdp/
H A Dkdp_internal.h187 mach_vm_size_t
188 kdp_machine_vm_read( mach_vm_address_t, caddr_t, mach_vm_size_t);
190 mach_vm_size_t
191 kdp_machine_vm_write( caddr_t, mach_vm_address_t, mach_vm_size_t);
193 mach_vm_size_t
197 mach_vm_size_t
/xnu-11417.140.69/osfmk/arm64/
H A Dalternate_debugger.c74 static mach_vm_size_t alt_size;
76 static mach_vm_size_t alt_pages_size;
79 typedef void (*t_call_altdbg_fn)(mach_vm_size_t size, mach_vm_address_t pages, mach_vm_size_t pages…
82 …ernate_debugger_just_return(__unused mach_vm_size_t size, __unused mach_vm_address_t pages, __unus…
/xnu-11417.140.69/tools/tests/superpages/
H A Dtestsp.c90 check_r(mach_vm_address_t addr, mach_vm_size_t size, int *res) in check_r()
113 check_nr(mach_vm_address_t addr, mach_vm_size_t size, int *res) in check_nr()
127 check_w(mach_vm_address_t addr, mach_vm_size_t size) in check_w()
145 check_nw(mach_vm_address_t addr, mach_vm_size_t size) in check_nw()
160 check_rw(mach_vm_address_t addr, mach_vm_size_t size) in check_rw()
179 mach_vm_size_t global_size = 0;
221 mach_vm_size_t size = SUPERPAGE_SIZE; in test_deallocate()
253 mach_vm_size_t size = 2 * PAGE_SIZE; /* will be rounded up to some superpage size */ in test_allocate_size_any()
290 mach_vm_size_t size = SUPERPAGE_SIZE; in test_allocatefixed()
322 mach_vm_size_t size = SUPERPAGE_SIZE; in test_allocateunalignedfixed()
[all …]
/xnu-11417.140.69/osfmk/tests/
H A Dvm_parameter_validation_kern.c76 … (*func)(MAP_T dst_map, vm_map_copy_t copy, mach_vm_address_t start, mach_vm_size_t size), const c… in test_vm_map_copy_overwrite()
165 call_mach_vm_read(MAP_T map, mach_vm_address_t start, mach_vm_size_t size) in call_mach_vm_read()
192 call_vm_map_copyin(MAP_T map, mach_vm_address_t start, mach_vm_size_t size) in call_vm_map_copyin()
214 call_mach_vm_allocate__flags(MAP_T map, mach_vm_address_t * start, mach_vm_size_t size, int flags) in call_mach_vm_allocate__flags()
223 call_mach_vm_allocate__start_size_fixed(MAP_T map, mach_vm_address_t * start, mach_vm_size_t size) in call_mach_vm_allocate__start_size_fixed()
232 call_mach_vm_allocate__start_size_anywhere(MAP_T map, mach_vm_address_t * start, mach_vm_size_t siz… in call_mach_vm_allocate__start_size_anywhere()
241 call_mach_vm_allocate_kernel__flags(MAP_T map, mach_vm_address_t * start, mach_vm_size_t size, int … in call_mach_vm_allocate_kernel__flags()
251 call_mach_vm_allocate_kernel__start_size_fixed(MAP_T map, mach_vm_address_t * start, mach_vm_size_t in call_mach_vm_allocate_kernel__start_size_fixed()
265 …_vm_allocate_kernel__start_size_anywhere(MAP_T map, mach_vm_address_t * start, mach_vm_size_t size) in call_mach_vm_allocate_kernel__start_size_anywhere()
281 call_vm_allocate__flags(MAP_T map, mach_vm_address_t * start, mach_vm_size_t size, int flags) in call_vm_allocate__flags()
[all …]
/xnu-11417.140.69/tests/vm_memory_tests_src/
H A Dcommon.c57 …kr = mach_vm_allocate(mach_task_self(), (mach_vm_address_t *)buffer, (mach_vm_size_t)sb.st_size, V… in mach_server_data_setup()
64 mach_server_data_cleanup(void *buffer, mach_vm_address_t src, mach_vm_size_t size) in mach_server_data_cleanup()
71 mach_vm_deallocate(mach_task_self(), (mach_vm_address_t)buffer, (mach_vm_size_t)sb.st_size); in mach_server_data_cleanup()
98 mach_vm_size_t size, in mach_server_contruct_payload()
120 mach_server_create_allocation(mach_vm_address_t *src, mach_vm_size_t size, void *buffer) in mach_server_create_allocation()
123 mach_vm_size_t chunk_size = 0; in mach_server_create_allocation()
130 chunk_size = MIN(size, (mach_vm_size_t)sb.st_size); in mach_server_create_allocation()
137 chunk_count = (unsigned int)(size / (mach_vm_size_t)sb.st_size); in mach_server_create_allocation()
H A Dmach_vm_tests.h55 void mach_server_data_cleanup(void *, mach_vm_address_t, mach_vm_size_t);
57 void mach_server_create_allocation(mach_vm_address_t *, mach_vm_size_t, void *);
58 void mach_server_contruct_payload(ipc_message_t *, mach_vm_address_t, mach_port_t, mach_vm_size_t, …
/xnu-11417.140.69/iokit/IOKit/
H A DIOMemoryDescriptor.h550 mach_vm_size_t length,
767 mach_vm_size_t offset = 0,
768 mach_vm_size_t length = 0 );
824 mach_vm_size_t sourceOffset,
825 mach_vm_size_t length);
831 mach_vm_size_t sourceOffset,
832 mach_vm_size_t length,
891 mach_vm_size_t fOffset;
893 mach_vm_size_t fLength;
992 mach_vm_size_t offset = 0);
[all …]
H A DIOBufferMemoryDescriptor.h102 mach_vm_size_t capacity,
118 mach_vm_size_t capacity,
137 mach_vm_size_t capacity);
142 mach_vm_size_t capacity);
190 mach_vm_size_t size);
267 mach_vm_size_t capacity,
/xnu-11417.140.69/osfmk/kdp/ml/arm/
H A Dkdp_vm.c91 mach_vm_size_t
92 kdp_machine_vm_read( mach_vm_address_t src, caddr_t dst, mach_vm_size_t len) in kdp_machine_vm_read()
96 mach_vm_size_t resid, cnt; in kdp_machine_vm_read()
108 mach_vm_size_t ret; in kdp_machine_vm_read()
168 mach_vm_size_t
172 mach_vm_size_t len = rq->nbytes; in kdp_machine_phys_read()
176 mach_vm_size_t resid = len; in kdp_machine_phys_read()
177 mach_vm_size_t cnt = 0, cnt_src, cnt_dst; in kdp_machine_phys_read()
217 mach_vm_size_t
218 kdp_machine_vm_write( caddr_t src, mach_vm_address_t dst, mach_vm_size_t len) in kdp_machine_vm_write()
[all …]
/xnu-11417.140.69/osfmk/mach/arm/
H A Dvm_types.h109 typedef uint64_t mach_vm_size_t; typedef
133 typedef uint32_t mach_vm_size_t; typedef
137 typedef uint64_t mach_vm_size_t; typedef
/xnu-11417.140.69/iokit/IOKit/skywalk/
H A DIOSkywalkSupport.h93 IOSKMemoryBufferRef IOSKMemoryBufferCreate( mach_vm_size_t capacity,
105 mach_vm_size_t * mapSize );
109 mach_vm_size_t * mapSize );
158 mach_vm_address_t * address, mach_vm_size_t * size );
/xnu-11417.140.69/iokit/Kernel/
H A DIOKitKernelInternal.h56 mach_vm_size_t size;
69 mach_vm_size_t size,
71 mach_vm_size_t alignment,
77 mach_vm_size_t size);
82 mach_vm_address_t * address, mach_vm_size_t * size);
/xnu-11417.140.69/tests/
H A Dperf_exit_proc.c34 allocate_and_wire_memory(mach_vm_size_t size) in allocate_and_wire_memory()
74 mach_vm_size_t wired_mem = 0; in main()
80 wired_mem = (mach_vm_size_t)strtoul(argv[2], NULL, 10); in main()
/xnu-11417.140.69/bsd/kern/
H A Dmach_loader.h68 mach_vm_size_t user_stack_size;
72 mach_vm_size_t user_stack_alloc_size;
75 mach_vm_size_t all_image_info_size;

123456