Home
last modified time | relevance | path

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

/xnu-11417.121.6/tests/vm/
H A Dvm_reclaim.c135 static const size_t kAllocationSize = (1UL << 20); // 1MB variable
139 mach_vm_reclaim_id_t idx = allocate_and_defer_deallocate(kAllocationSize, ringbuffer, 1, &addr);
241 static const size_t kAllocationSize = (1UL << 20); // 1MB in reuse_reclaimed_entry() local
247 …mach_vm_reclaim_id_t idx = allocate_and_defer_free(kAllocationSize, ringbuffer, kValue, behavior, … in reuse_reclaimed_entry()
251 bool usable = try_cancel(ringbuffer, idx, addr, kAllocationSize, behavior); in reuse_reclaimed_entry()
255 assert_buffer_has_changed_and_crash(addr, kAllocationSize, kValue); in reuse_reclaimed_entry()
259 read_buffer(addr, kAllocationSize); in reuse_reclaimed_entry()
303 static const mach_vm_reclaim_count_t kAllocationSize = (1UL << 20); // 1MB in allocate_and_suspend() local
317 …mach_vm_reclaim_id_t idx = allocate_and_defer_deallocate(kAllocationSize, ringbuffer, (unsigned ch… in allocate_and_suspend()
325 …kr = mach_vm_reclaim_try_enter(ringbuffer, addr, kAllocationSize, VM_RECLAIM_DEALLOCATE, &id, &sho… in allocate_and_suspend()
[all …]