Lines Matching refs:maxphys
107 u_long maxphys; /* max raw I/O transfer size */ variable
299 maxphys = MAXPHYS; in init_param2()
300 TUNABLE_ULONG_FETCH("kern.maxphys", &maxphys); in init_param2()
301 if (maxphys == 0) { in init_param2()
302 maxphys = MAXPHYS; in init_param2()
303 } else if (__bitcountl(maxphys) != 1) { /* power of two */ in init_param2()
304 if (flsl(maxphys) == NBBY * sizeof(maxphys)) in init_param2()
305 maxphys = MAXPHYS; in init_param2()
307 maxphys = 1UL << flsl(maxphys); in init_param2()
309 if (maxphys < PAGE_SIZE) in init_param2()
310 maxphys = MAXPHYS; in init_param2()