Home
last modified time | relevance | path

Searched refs:global_addr (Results 1 – 1 of 1) sorted by relevance

/xnu-8792.61.2/tools/tests/superpages/
H A Dtestsp.c178 mach_vm_address_t global_addr = 0; variable
193 global_addr = 0; in test_allocate()
196 …kr = mach_vm_allocate(mach_task_self(), &global_addr, global_size, VM_FLAGS_ANYWHERE | VM_FLAGS_SU… in test_allocate()
200 if (!(ret = check_addr0(global_addr, "mach_vm_allocate"))) { in test_allocate()
203 if (!(ret = check_align(global_addr))) { in test_allocate()
206 if (!(ret = check_rw(global_addr, global_size))) { in test_allocate()
224 if (!global_addr) { in test_deallocate()
228 kr = mach_vm_deallocate(mach_task_self(), global_addr, global_size); in test_deallocate()
232 if (!(ret = check_nr(global_addr, size, NULL))) { in test_deallocate()