Searched refs:alloc_addr (Results 1 – 3 of 3) sorted by relevance
| /xnu-11215/tests/ |
| H A D | voucher_traps.c | 68 mach_vm_address_t alloc_addr; variable 79 alloc_addr = (mach_vm_address_t)round_page(MACH_VOUCHER_ATTR_MAX_RAW_RECIPE_ARRAY_SIZE + 1); 80 kr = mach_vm_allocate(mach_task_self(), &alloc_addr, 88 T_ASSERT_GT_ULLONG((uint64_t)alloc_addr, 91 (uint64_t)alloc_sz, (uint64_t)alloc_addr, 96 recipe_size = (mach_msg_type_number_t *)((uintptr_t)alloc_addr); 137 kr = mach_vm_deallocate(mach_task_self(), alloc_addr, alloc_sz);
|
| /xnu-11215/bsd/kern/ |
| H A D | kern_codesigning.c | 62 vm_address_t alloc_addr = 0; in code_signing_allocate() local 71 &alloc_addr, aligned_size, in code_signing_allocate() 77 } else if (alloc_addr == 0) { in code_signing_allocate() 81 return alloc_addr; in code_signing_allocate() 86 vm_address_t *alloc_addr, in code_signing_deallocate() argument 89 if (alloc_addr == NULL) { in code_signing_deallocate() 91 } else if ((*alloc_addr == 0) || ((*alloc_addr & PAGE_MASK) != 0)) { in code_signing_deallocate() 92 panic("%s: address provided: %p", __FUNCTION__, (void*)(*alloc_addr)); in code_signing_deallocate() 99 kmem_free(kernel_map, *alloc_addr, aligned_size); in code_signing_deallocate() 102 *alloc_addr = 0; in code_signing_deallocate()
|
| /xnu-11215/bsd/sys/ |
| H A D | code_signing.h | 151 vm_address_t *alloc_addr,
|