Lines Matching refs:maxphys
102 u_long maxphys; /* max raw I/O transfer size */ variable
314 maxphys = MAXPHYS; in init_param2()
315 TUNABLE_ULONG_FETCH("kern.maxphys", &maxphys); in init_param2()
316 if (maxphys == 0) { in init_param2()
317 maxphys = MAXPHYS; in init_param2()
318 } else if (__bitcountl(maxphys) != 1) { /* power of two */ in init_param2()
319 if (flsl(maxphys) == NBBY * sizeof(maxphys)) in init_param2()
320 maxphys = MAXPHYS; in init_param2()
322 maxphys = 1UL << flsl(maxphys); in init_param2()
324 if (maxphys < PAGE_SIZE) in init_param2()
325 maxphys = MAXPHYS; in init_param2()