Lines Matching refs:ps
248 static __init int __setup_hugepagesz(unsigned long ps) in __setup_hugepagesz() argument
250 int log_ps = __builtin_ctzl(ps); in __setup_hugepagesz()
253 if ((1UL << log_ps) != ps || (log_ps & 1) != 0) { in __setup_hugepagesz()
255 ps); in __setup_hugepagesz()
259 if (ps > 64*1024*1024*1024UL) { in __setup_hugepagesz()
261 ps >> 20); in __setup_hugepagesz()
263 } else if (ps >= PUD_SIZE) { in __setup_hugepagesz()
274 } else if (ps >= PMD_SIZE) { in __setup_hugepagesz()
277 } else if (ps > PAGE_SIZE) { in __setup_hugepagesz()
281 pr_err("hugepagesz: huge page size %ld too small\n", ps); in __setup_hugepagesz()
290 ps >> 20, (1UL << old_shift) >> 20); in __setup_hugepagesz()
295 ps >> 20); in __setup_hugepagesz()
298 printk(KERN_DEBUG "Enabled %ld MB huge pages\n", ps >> 20); in __setup_hugepagesz()