Searched refs:vm_allocate (Results 1 - 25 of 28) sorted by relevance

12

/darwin-on-arm/xnu/libsyscall/mach/
H A Dmig_allocate.c62 if (vm_allocate(mach_task_self_,
H A Dport_obj.c50 kr = vm_allocate(mach_task_self_,
55 panic("port_obj_init: can't vm_allocate");
H A Dmach_vm.c96 vm_allocate( function
H A Dmach_msg.c396 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 DMakefile.benchmarks55 vm_allocate \
H A Dvm_allocate.c58 #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 DMakefile.benchmarks135 vm_allocate
H A DREADME122 vm_allocate
/darwin-on-arm/xnu/tools/tests/xnu_quick_test/
H A D32bit_inode_tests.c65 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 Dmemory_tests.c117 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 Dtests.c77 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 Dkqueue_tests.c36 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 Dxattr_tests.c33 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 Dmachvm_tests.c24 /* 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 Dsocket_tests.c40 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 Dmisc.c90 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 Dvm_debug.c272 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 Dvm_user.c67 * 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 Dmach_vm.defs104 routine PREFIX(vm_allocate) (
H A Dvm_map.defs112 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 Ddefault_pager.c176 kr = vm_allocate(kernel_map, &((dpt_array[id])->dpt_buffer),
/darwin-on-arm/xnu/osfmk/ipc/
H A Dmach_port.c276 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 Dmp_desc.c969 if (vm_allocate(kernel_map, &vaddr,
1024 if (vm_allocate(kernel_map, &phys_window,
/darwin-on-arm/xnu/bsd/kern/
H A Dkern_exec.c3504 (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 Dnfs_gss.c2845 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

Completed in 375 milliseconds

12