Lines Matching refs:minsize
395 int64 minsize = 0; in FindFreeMemSize() local
423 minsize = min_hugepages_bytes_; in FindFreeMemSize()
425 minsize = hugepagesize; in FindFreeMemSize()
429 minsize = ((pages * 85) / 100) * pagesize; in FindFreeMemSize()
431 minsize = ((pages * 95) / 100) * pagesize - (192 * kMegabyte); in FindFreeMemSize()
440 } else if (reserve_kb > totalsize - minsize) { in FindFreeMemSize()
442 "current %lld\n", minsize, totalsize - reserve_kb); in FindFreeMemSize()
443 minsize = totalsize - reserve_kb; in FindFreeMemSize()
450 if (hugepagesize < minsize) { in FindFreeMemSize()
454 minsize / kMegabyte); in FindFreeMemSize()
456 size = minsize; in FindFreeMemSize()
463 size = minsize; in FindFreeMemSize()