Lines Matching defs:as
53 #include <vm/as.h>
101 * The hypervisor doesn't allow r/w mappings to some pages, such as
159 gfxp_va2pa(struct as *as, caddr_t addr, uint64_t *pa)
163 *pa = pa_to_ma(pfn_to_pa(hat_getpfnum(as->a_hat, addr)));
165 *pa = pfn_to_pa(hat_getpfnum(as->a_hat, addr));
212 struct as *as = ttoproc(curthread)->p_as;
218 if (valid_usr_range(address, length, 0, as, as->a_userlimit) !=
222 error = as_ctl(as, address, length, MC_LOCK, 0, 0, NULL, 0);
232 struct as *as = ttoproc(curthread)->p_as;
238 if (valid_usr_range(address, length, 0, as, as->a_userlimit) !=
242 error = as_ctl(as, address, length, MC_UNLOCK, 0, 0, NULL, 0);