Home
last modified time | relevance | path

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

/xnu-12377.41.6/tests/vm/
H A Dvm_reclaim.c128 static const size_t kAllocationSize = (1UL << 20); // 1MB variable
132 mach_vm_reclaim_id_t idx = allocate_and_defer_deallocate(kAllocationSize, ringbuffer, 1, &addr);
234 static const size_t kAllocationSize = (1UL << 20); // 1MB in reuse_reclaimed_entry() local
240 …mach_vm_reclaim_id_t idx = allocate_and_defer_free(kAllocationSize, ringbuffer, kValue, behavior, … in reuse_reclaimed_entry()
244 bool usable = try_cancel(ringbuffer, idx, addr, kAllocationSize, behavior); in reuse_reclaimed_entry()
248 assert_buffer_has_changed_and_crash(addr, kAllocationSize, kValue); in reuse_reclaimed_entry()
252 read_buffer(addr, kAllocationSize); in reuse_reclaimed_entry()
296 static const mach_vm_reclaim_count_t kAllocationSize = (1UL << 20); // 1MB in allocate_and_suspend() local
310 …mach_vm_reclaim_id_t idx = allocate_and_defer_deallocate(kAllocationSize, ringbuffer, (unsigned ch… in allocate_and_suspend()
318 …kr = mach_vm_reclaim_try_enter(ringbuffer, addr, kAllocationSize, VM_RECLAIM_DEALLOCATE, &id, &sho… in allocate_and_suspend()
[all …]