Searched refs:allocation_addr (Results 1 – 1 of 1) sorted by relevance
1848 mach_vm_address_t allocation_addr = 0; in vm_memory_entry_pgz_test() local1851 allocation_addr = (mach_vm_address_t) kalloc_data(size, Z_WAITOK); in vm_memory_entry_pgz_test()1852 if (!allocation_addr) { in vm_memory_entry_pgz_test()1861 if (!pgz_owned(allocation_addr)) { in vm_memory_entry_pgz_test()1862 zone_id_t zid = zone_id_for_element((void *) allocation_addr, size); in vm_memory_entry_pgz_test()1864 allocation_addr = pgz_protect_for_testing_only(zone, allocation_addr, __builtin_frame_address(0)); in vm_memory_entry_pgz_test()1869 if (!pgz_owned(allocation_addr)) { in vm_memory_entry_pgz_test()1874 …kr = mach_make_memory_entry(kernel_map, &size, (mach_vm_offset_t) allocation_addr, VM_PROT_READ | … in vm_memory_entry_pgz_test()1878 kfree_data(allocation_addr, size); in vm_memory_entry_pgz_test()