Lines Matching defs:kernel
160 pr_do_mappage(caddr_t addr, size_t size, int mapin, enum seg_rw rw, int kernel)
206 if (kernel || (prot & PROT_USER))
215 if (!(kernel || (prot & PROT_USER)))
224 * all other lwps are held in the kernel.
246 if (kernel)
265 if (kernel) {
336 * If 'kernel' is non-zero, just do it for the kernel.
344 pr_mappage(const caddr_t addr, size_t size, enum seg_rw rw, int kernel)
346 return (pr_do_mappage(addr, size, 1, rw, kernel));
355 pr_unmappage(const caddr_t addr, size_t size, enum seg_rw rw, int kernel)
357 (void) pr_do_mappage(addr, size, 0, rw, kernel);