Searched refs:allocation_addr (Results 1 – 1 of 1) sorted by relevance
1838 mach_vm_address_t allocation_addr = 0; in vm_memory_entry_pgz_test() local1841 allocation_addr = (mach_vm_address_t) kalloc_data(size, Z_WAITOK); in vm_memory_entry_pgz_test()1842 if (!allocation_addr) { in vm_memory_entry_pgz_test()1851 if (!pgz_owned(allocation_addr)) { in vm_memory_entry_pgz_test()1852 zone_id_t zid = zone_id_for_element((void *) allocation_addr, size); in vm_memory_entry_pgz_test()1854 allocation_addr = pgz_protect_for_testing_only(zone, allocation_addr, __builtin_frame_address(0)); in vm_memory_entry_pgz_test()1859 if (!pgz_owned(allocation_addr)) { in vm_memory_entry_pgz_test()1864 …kr = mach_make_memory_entry(kernel_map, &size, (mach_vm_offset_t) allocation_addr, VM_PROT_READ | … in vm_memory_entry_pgz_test()1868 kfree_data(allocation_addr, size); in vm_memory_entry_pgz_test()