Home
last modified time | relevance | path

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

/xnu-12377.1.9/tests/vm/
H A Dvm_reclaim.c136 static const size_t kAllocationSize = (1UL << 20); // 1MB variable
140 mach_vm_reclaim_id_t idx = allocate_and_defer_deallocate(kAllocationSize, ringbuffer, 1, &addr);
242 static const size_t kAllocationSize = (1UL << 20); // 1MB in reuse_reclaimed_entry() local
248 …mach_vm_reclaim_id_t idx = allocate_and_defer_free(kAllocationSize, ringbuffer, kValue, behavior, … in reuse_reclaimed_entry()
252 bool usable = try_cancel(ringbuffer, idx, addr, kAllocationSize, behavior); in reuse_reclaimed_entry()
256 assert_buffer_has_changed_and_crash(addr, kAllocationSize, kValue); in reuse_reclaimed_entry()
260 read_buffer(addr, kAllocationSize); in reuse_reclaimed_entry()
304 static const mach_vm_reclaim_count_t kAllocationSize = (1UL << 20); // 1MB in allocate_and_suspend() local
318 …mach_vm_reclaim_id_t idx = allocate_and_defer_deallocate(kAllocationSize, ringbuffer, (unsigned ch… in allocate_and_suspend()
326 …kr = mach_vm_reclaim_try_enter(ringbuffer, addr, kAllocationSize, VM_RECLAIM_DEALLOCATE, &id, &sho… in allocate_and_suspend()
[all …]