Lines Matching refs:kAllocationSize

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;
409 uint64_t idx = allocate_and_defer_free(kAllocationSize, &ringbuffer, (unsigned char) i, &addr);
413 …size %zu bytes while staying under limit of %zu bytes", kNumEntries, kAllocationSize, kMemoryLimit…
421 const size_t kAllocationSize = vm_kernel_page_size; variable
434 kNumEntries = vm_reclaim_reclaimable_max_threshold / kAllocationSize * 1000;
439 uint64_t idx = allocate_and_defer_free(kAllocationSize, &ringbuffer, (unsigned char) i, &addr);
444 (int64_t) ((kNumEntries) * kAllocationSize), "Entries were reclaimed as we crossed threshold");
451 static const size_t kAllocationSize = (1UL << 20); // 1MB variable
457 uint64_t idx = allocate_and_defer_free(kAllocationSize, &ringbuffer, 1, &addr);
481 static const size_t kAllocationSize = (1UL << 20); // 1MB variable
488 uint64_t idx = allocate_and_defer_free(kAllocationSize, &ringbuffer, 1, &addr);
490 …idx = mach_vm_reclaim_mark_free(&ringbuffer, addr, (uint32_t) kAllocationSize, &should_update_kern…
560 static const size_t kAllocationSize = (1UL << 20); // 1MB variable
567 uint64_t idx = allocate_and_defer_free(kAllocationSize, &ringbuffer, kValue, &addr);
575 assert_buffer_has_changed_and_crash(addr, kAllocationSize, kValue);