Lines Matching refs:maxphys
101 u_long maxphys; /* max raw I/O transfer size */ variable
331 maxphys = MAXPHYS; in init_param2()
332 TUNABLE_ULONG_FETCH("kern.maxphys", &maxphys); in init_param2()
333 if (maxphys == 0) { in init_param2()
334 maxphys = MAXPHYS; in init_param2()
335 } else if (__bitcountl(maxphys) != 1) { /* power of two */ in init_param2()
336 if (flsl(maxphys) == NBBY * sizeof(maxphys)) in init_param2()
337 maxphys = MAXPHYS; in init_param2()
339 maxphys = 1UL << flsl(maxphys); in init_param2()
341 if (maxphys < PAGE_SIZE) in init_param2()
342 maxphys = MAXPHYS; in init_param2()