Lines Matching refs:kAllocationSize

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;
379 uint64_t idx = allocate_and_defer_free(kAllocationSize, &ringbuffer, (unsigned char) i, &addr);
383 …size %zu bytes while staying under limit of %zu bytes", kNumEntries, kAllocationSize, kMemoryLimit…
390 const size_t kAllocationSize = vm_kernel_page_size; variable
403 kNumEntries = vm_reclaim_reclaimable_max_threshold / kAllocationSize * 1000;
408 uint64_t idx = allocate_and_defer_free(kAllocationSize, &ringbuffer, (unsigned char) i, &addr);
413 (int64_t) ((kNumEntries) * kAllocationSize), "Entries were reclaimed as we crossed threshold");
420 static const size_t kAllocationSize = (1UL << 20); // 1MB variable
429 uint64_t idx = allocate_and_defer_free(kAllocationSize, ringbuffer, 1, &addr);
451 static const size_t kAllocationSize = (1UL << 20); // 1MB variable
457 uint64_t idx = allocate_and_defer_free(kAllocationSize, &ringbuffer, 1, &addr);
479 static const size_t kAllocationSize = (1UL << 20); // 1MB variable
486 uint64_t idx = allocate_and_defer_free(kAllocationSize, &ringbuffer, 1, &addr);
488 …idx = mach_vm_reclaim_mark_free(&ringbuffer, addr, (uint32_t) kAllocationSize, &should_update_kern…
556 static const size_t kAllocationSize = (1UL << 20); // 1MB variable
563 uint64_t idx = allocate_and_defer_free(kAllocationSize, &ringbuffer, kValue, &addr);
571 assert_buffer_has_changed_and_crash(addr, kAllocationSize, kValue);