Searched refs:allocation_addr (Results 1 – 1 of 1) sorted by relevance
1837 mach_vm_address_t allocation_addr = 0; in vm_memory_entry_pgz_test() local1840 allocation_addr = (mach_vm_address_t) kalloc_data(size, Z_WAITOK); in vm_memory_entry_pgz_test()1841 if (!allocation_addr) { in vm_memory_entry_pgz_test()1850 if (!pgz_owned(allocation_addr)) { in vm_memory_entry_pgz_test()1851 zone_id_t zid = zone_id_for_element((void *) allocation_addr, size); in vm_memory_entry_pgz_test()1853 allocation_addr = pgz_protect_for_testing_only(zone, allocation_addr, __builtin_frame_address(0)); in vm_memory_entry_pgz_test()1858 if (!pgz_owned(allocation_addr)) { in vm_memory_entry_pgz_test()1863 …kr = mach_make_memory_entry(kernel_map, &size, (mach_vm_offset_t) allocation_addr, VM_PROT_READ | … in vm_memory_entry_pgz_test()1867 kfree_data(allocation_addr, size); in vm_memory_entry_pgz_test()