/darwin-on-arm/xnu/libsyscall/mach/ |
H A D | mig_allocate.c | 62 if (vm_allocate(mach_task_self_,
|
H A D | port_obj.c | 50 kr = vm_allocate(mach_task_self_, 55 panic("port_obj_init: can't vm_allocate");
|
H A D | mach_vm.c | 96 vm_allocate( function
|
H A D | mach_msg.c | 396 kr = vm_allocate(self, 406 kr = vm_allocate(self, 514 kr = vm_allocate(self, 531 kr = vm_allocate(self,
|
/darwin-on-arm/xnu/tools/tests/libMicro/apple/ |
H A D | Makefile.benchmarks | 55 vm_allocate \
|
H A D | vm_allocate.c | 58 #pragma ident "@(#)vm_allocate.c 1.0 09/17/06 Apple Inc." 197 vm_allocate( mach_task_self(), (vm_address_t *) &arena, arenaSize * vm_page_size, 1); 229 if (vm_allocate( mach_task_self(), (vm_address_t *) &arena, arenaSize * vm_page_size, 1))
|
/darwin-on-arm/xnu/tools/tests/libMicro/ |
H A D | Makefile.benchmarks | 135 vm_allocate
|
H A D | README | 122 vm_allocate
|
/darwin-on-arm/xnu/tools/tests/xnu_quick_test/ |
H A D | 32bit_inode_tests.c | 65 my_kr = vm_allocate((vm_map_t) mach_task_self(), (vm_address_t*)&my_bufp, (1024 * 5), VM_FLAGS_ANYWHERE); 67 printf( "vm_allocate failed with error %d - \"%s\" \n", errno, strerror( errno) ); 71 my_kr = vm_allocate((vm_map_t) mach_task_self(), (vm_address_t*)&my_pathp, PATH_MAX, VM_FLAGS_ANYWHERE); 73 printf( "vm_allocate failed with error %d - \"%s\" \n", errno, strerror( errno) ); 178 my_kr = vm_allocate((vm_map_t) mach_task_self(), (vm_address_t*)&my_bufferp, my_buffer_size, VM_FLAGS_ANYWHERE); 180 printf( "vm_allocate failed with error %d - \"%s\" \n", errno, strerror( errno) );
|
H A D | memory_tests.c | 117 my_kr = vm_allocate((vm_map_t) mach_task_self(), (vm_address_t*)&my_pathp, PATH_MAX, VM_FLAGS_ANYWHERE); 119 printf( "vm_allocate failed with error %d - \"%s\" \n", errno, strerror( errno) ); 134 my_kr = vm_allocate((vm_map_t) mach_task_self(), (vm_address_t*)&my_test_page_p, my_page_size, VM_FLAGS_ANYWHERE); 136 printf( "vm_allocate failed with error %d - \"%s\" \n", errno, strerror( errno) ); 179 my_kr = vm_allocate((vm_map_t) mach_task_self(), (vm_address_t*)&my_bufp, (my_page_size * 10), VM_FLAGS_ANYWHERE); 181 printf( "vm_allocate failed with error %d - \"%s\" \n", errno, strerror( errno) );
|
H A D | tests.c | 77 my_kr = vm_allocate((vm_map_t) mach_task_self(), (vm_address_t*)&my_pathp, PATH_MAX, VM_FLAGS_ANYWHERE); 79 printf( "vm_allocate failed with error %d - \"%s\" \n", errno, strerror( errno) ); 196 my_kr = vm_allocate((vm_map_t) mach_task_self(), (vm_address_t*)&my_pathp, PATH_MAX, VM_FLAGS_ANYWHERE); 198 printf( "vm_allocate failed with error %d - \"%s\" \n", errno, strerror( errno) ); 202 my_kr = vm_allocate((vm_map_t) mach_task_self(), (vm_address_t*)&my_bufp, MY_BUFFER_SIZE, VM_FLAGS_ANYWHERE); 204 printf( "vm_allocate failed with error %d - \"%s\" \n", errno, strerror( errno) ); 460 my_kr = vm_allocate((vm_map_t) mach_task_self(), (vm_address_t*)&my_pathp, PATH_MAX, VM_FLAGS_ANYWHERE); 462 printf( "vm_allocate failed with error %d - \"%s\" \n", errno, strerror( errno) ); 639 my_kr = vm_allocate((vm_map_t) mach_task_self(), (vm_address_t*)&my_pathp, PATH_MAX, VM_FLAGS_ANYWHERE); 641 printf( "vm_allocate faile [all...] |
H A D | kqueue_tests.c | 36 my_kr = vm_allocate( mach_task_self(), 65 my_kr = vm_allocate( mach_task_self(), 162 kr = vm_allocate((vm_map_t) mach_task_self(), (vm_address_t*)&my_pathp, PATH_MAX, VM_FLAGS_ANYWHERE); 164 printf( "vm_allocate failed with error %d - \"%s\" \n", errno, strerror( errno) );
|
H A D | xattr_tests.c | 33 my_kr = vm_allocate((vm_map_t) mach_task_self(), (vm_address_t*)&my_pathp, PATH_MAX, VM_FLAGS_ANYWHERE); 35 printf( "vm_allocate failed with error %d - \"%s\" \n", errno, strerror( errno) );
|
H A D | machvm_tests.c | 24 /* Use vm_allocate to grab some memory */ 28 kret = vm_allocate(mach_task_self(), &addr, regionsizes[i]*pagesize, VM_FLAGS_ANYWHERE); 30 warnx("vm_allocate of %d pages failed: %d", regionsizes[i], kret); 287 kret = vm_allocate(mach_task_self(), &addr1, size, VM_FLAGS_ANYWHERE); 289 warnx("vm_allocate failed: %d", kret);
|
H A D | socket_tests.c | 40 my_kr = vm_allocate((vm_map_t) mach_task_self(), (vm_address_t*)&my_parent_pathp, 128, VM_FLAGS_ANYWHERE); 42 printf( "vm_allocate failed with error %d - \"%s\" \n", errno, strerror( errno) ); 46 my_kr = vm_allocate((vm_map_t) mach_task_self(), (vm_address_t*)&my_child_pathp, 128, VM_FLAGS_ANYWHERE); 48 printf( "vm_allocate failed with error %d - \"%s\" \n", errno, strerror( errno) );
|
H A D | misc.c | 90 my_kr = vm_allocate((vm_map_t) mach_task_self(), (vm_address_t*)&my_pathp, PATH_MAX, VM_FLAGS_ANYWHERE); 92 printf( "vm_allocate failed with error %d - \"%s\" \n", errno, strerror( errno) );
|
/darwin-on-arm/xnu/osfmk/vm/ |
H A D | vm_debug.c | 272 kr = vm_allocate(ipc_kernel_map, &addr, size, VM_FLAGS_ANYWHERE); 474 kr = vm_allocate(ipc_kernel_map, &addr, size, VM_FLAGS_ANYWHERE); 540 (void) vm_allocate(ipc_kernel_map, &addr, size, VM_FLAGS_ANYWHERE);
|
H A D | vm_user.c | 67 * the kernel: mach_vm_allocate (for any task on the platform), vm_allocate 69 * and vm32_vm_allocate (for the specific case of a 32-bit task). vm_allocate 81 * the MIG glue should never call into vm_allocate directly, because the calling 194 * vm_allocate 199 vm_allocate( function
|
/darwin-on-arm/xnu/osfmk/mach/ |
H A D | mach_vm.defs | 104 routine PREFIX(vm_allocate) (
|
H A D | vm_map.defs | 112 routine PREFIX(vm_allocate)( 488 * created via a call to vm_allocate() with VM_FLAGS_PURGABLE
|
/darwin-on-arm/xnu/osfmk/default_pager/ |
H A D | default_pager.c | 176 kr = vm_allocate(kernel_map, &((dpt_array[id])->dpt_buffer),
|
/darwin-on-arm/xnu/osfmk/ipc/ |
H A D | mach_port.c | 276 kr = vm_allocate(ipc_kernel_map, &addr1, size, VM_FLAGS_ANYWHERE); 280 kr = vm_allocate(ipc_kernel_map, &addr2, size, VM_FLAGS_ANYWHERE); 1157 kr = vm_allocate(ipc_kernel_map, &addr, size, VM_FLAGS_ANYWHERE);
|
/darwin-on-arm/xnu/osfmk/i386/ |
H A D | mp_desc.c | 969 if (vm_allocate(kernel_map, &vaddr, 1024 if (vm_allocate(kernel_map, &phys_window,
|
/darwin-on-arm/xnu/bsd/kern/ |
H A D | kern_exec.c | 3504 (void) vm_allocate(current_map(), &init_addr, PAGE_SIZE, 3675 kern_return_t kr = vm_allocate(bsd_pageable_map, (vm_offset_t *)execarg_address, BSD_PAGEABLE_SIZE_PER_EXEC, VM_FLAGS_ANYWHERE | VM_FLAGS_PURGABLE);
|
/darwin-on-arm/xnu/bsd/nfs/ |
H A D | nfs_gss.c | 2845 kr = vm_allocate(ipc_kernel_map, &kmem_buf, tbuflen, VM_FLAGS_ANYWHERE); 2847 printf("nfs_gss_mach_alloc_buffer: vm_allocate failed\n"); 2860 // Shouldn't need to bzero below since vm_allocate returns zeroed pages
|