Searched refs:kAllocationSize (Results 1 – 1 of 1) sorted by relevance
| /xnu-8796.121.2/tests/vm/ |
| H A D | vm_reclaim.c | 63 static const size_t kAllocationSize = (1UL << 20); // 1MB variable 69 uint64_t idx = allocate_and_defer_free(kAllocationSize, &ringbuffer, 1, &addr); 149 static const size_t kAllocationSize = (1UL << 20); // 1MB variable 156 uint64_t idx = allocate_and_defer_free(kAllocationSize, &ringbuffer, kValue, &addr); 160 assert_buffer_has_changed_and_crash(addr, kAllocationSize, kValue); 175 static const size_t kAllocationSize = (1UL << 20); // 1MB in allocate_and_suspend() local 186 uint64_t idx = allocate_and_defer_free(kAllocationSize, &ringbuffer, (unsigned char) i, &addr); in allocate_and_suspend() 192 …mach_vm_reclaim_mark_free(&ringbuffer, addr, (uint32_t) kAllocationSize, &should_update_kernel_acc… in allocate_and_suspend() 368 static const size_t kAllocationSize = (1UL << 20); // 1MB variable 369 static const size_t kMemoryLimit = kNumEntries / 10 * kAllocationSize; [all …]
|