Searched refs:kalloc_max (Results 1 - 1 of 1) sorted by relevance

/darwin-on-arm/xnu/osfmk/kern/
H A Dkalloc.c89 vm_size_t kalloc_max; variable
140 * All allocations of size less than kalloc_max are rounded to the
145 * We assume that kalloc_max is not greater than 64K;
147 * Note that kalloc_max is somewhat confusingly named.
374 kalloc_max = 16*1024;
376 kalloc_max = PAGE_SIZE;
377 kalloc_max_prerounded = kalloc_max / 2 + 1;
378 /* size it to be more than 16 times kalloc_max (256k) for allocations from kernel map */
379 kalloc_kernmap_size = (kalloc_max * 16) + 1;
388 for (i = 0; (size = k_zone_size[i]) < kalloc_max;
[all...]

Completed in 19 milliseconds