Searched refs:kAllocationSize (Results 1 – 1 of 1) sorted by relevance
| /xnu-10002.41.9/tests/vm/ |
| H A D | vm_reclaim.c | 80 static const size_t kAllocationSize = (1UL << 20); // 1MB variable 86 uint64_t idx = allocate_and_defer_free(kAllocationSize, &ringbuffer, 1, &addr); 175 static const size_t kAllocationSize = (1UL << 20); // 1MB variable 182 uint64_t idx = allocate_and_defer_free(kAllocationSize, &ringbuffer, kValue, &addr); 186 assert_buffer_has_changed_and_crash(addr, kAllocationSize, kValue); 202 static const size_t kAllocationSize = (1UL << 20); // 1MB in allocate_and_suspend() local 213 uint64_t idx = allocate_and_defer_free(kAllocationSize, &ringbuffer, (unsigned char) i, &addr); in allocate_and_suspend() 219 …mach_vm_reclaim_mark_free(&ringbuffer, addr, (uint32_t) kAllocationSize, &should_update_kernel_acc… in allocate_and_suspend() 398 static const size_t kAllocationSize = (1UL << 20); // 1MB variable 399 static const size_t kMemoryLimit = kNumEntries / 10 * kAllocationSize; [all …]
|