Home
last modified time | relevance | path

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

/xnu-10063.101.15/tests/vm/
H A Dvm_reclaim.c89 static const size_t kAllocationSize = (1UL << 20); // 1MB variable
95 uint64_t idx = allocate_and_defer_deallocate(kAllocationSize, &ringbuffer, 1, &addr);
197 static const size_t kAllocationSize = (1UL << 20); // 1MB in reuse_reclaimed_entry() local
204 uint64_t idx = allocate_and_defer_free(kAllocationSize, &ringbuffer, kValue, behavior, &addr); in reuse_reclaimed_entry()
208 bool usable = mach_vm_reclaim_mark_used(&ringbuffer, idx, addr, kAllocationSize); in reuse_reclaimed_entry()
214 assert_buffer_has_changed_and_crash(addr, kAllocationSize, kValue); in reuse_reclaimed_entry()
217 read_buffer(addr, kAllocationSize); in reuse_reclaimed_entry()
259 static const size_t kAllocationSize = (1UL << 20); // 1MB in allocate_and_suspend() local
270 …uint64_t idx = allocate_and_defer_deallocate(kAllocationSize, &ringbuffer, (unsigned char) i, &add… in allocate_and_suspend()
276 …mach_vm_reclaim_mark_free(&ringbuffer, addr, (uint32_t) kAllocationSize, MACH_VM_RECLAIM_DEALLOCAT… in allocate_and_suspend()
[all …]