Lines Matching defs:mem_vtop
446 mem_vtop_t mem_vtop;
454 if (copyin((void *)data, &mem_vtop, sizeof (mem_vtop_t)))
461 mem_vtop.m_as = (struct as *)(uintptr_t)vtop32.m_as;
462 mem_vtop.m_va = (void *)(uintptr_t)vtop32.m_va;
464 if (mem_vtop.m_as != NULL)
469 if (mem_vtop.m_as == &kas) {
470 pfn = hat_getpfnum(kas.a_hat, mem_vtop.m_va);
472 if (mem_vtop.m_as == NULL) {
480 mem_vtop.m_as = p->p_as;
485 if (p->p_as == mem_vtop.m_as) {
497 if (as == mem_vtop.m_as) {
502 if ((uintptr_t)mem_vtop.m_va -
506 pfn = hat_getpfnum(as->a_hat, mem_vtop.m_va);
512 mem_vtop.m_pfn = pfn;
517 if (copyout(&mem_vtop, (void *)data, sizeof (mem_vtop_t)))
522 vtop32.m_pfn = mem_vtop.m_pfn;