Home
last modified time | relevance | path

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

/xnu-11215.1.10/tests/vm/
H A Dvm_reclaim.c95 static const size_t kAllocationSize = (1UL << 20); // 1MB variable
101 uint64_t idx = allocate_and_defer_deallocate(kAllocationSize, &ringbuffer, 1, &addr);
203 static const size_t kAllocationSize = (1UL << 20); // 1MB in reuse_reclaimed_entry() local
210 uint64_t idx = allocate_and_defer_free(kAllocationSize, &ringbuffer, kValue, behavior, &addr); in reuse_reclaimed_entry()
214 bool usable = mach_vm_reclaim_mark_used(&ringbuffer, idx, addr, kAllocationSize); in reuse_reclaimed_entry()
220 assert_buffer_has_changed_and_crash(addr, kAllocationSize, kValue); in reuse_reclaimed_entry()
223 read_buffer(addr, kAllocationSize); in reuse_reclaimed_entry()
267 static const size_t kAllocationSize = (1UL << 20); // 1MB in allocate_and_suspend() local
278 …uint64_t idx = allocate_and_defer_deallocate(kAllocationSize, &ringbuffer, (unsigned char) i, &add… in allocate_and_suspend()
284 …mach_vm_reclaim_mark_free(&ringbuffer, addr, (uint32_t) kAllocationSize, MACH_VM_RECLAIM_DEALLOCAT… in allocate_and_suspend()
[all …]