network/uinet/sys/i386/i386/vm_machdep.c
/*
 * Convert kernel VA to physical address
 */
Convert kernel VA to physical address
Convert kernel VA to physical address
vm_paddr_t
kvtop(void *addr)
{
	vm_paddr_t pa;
	pa = pmap_kextract((vm_offset_t)addr);
	if (pa == 0)
		panic("kvtop: zero page frame");
	return (pa);
}
vm_paddr_t kvtop ( void * addr ) { vm_paddr_t pa ; pa = pmap_kextract ( ( vm_offset_t ) addr ) ; if ( pa == 0 ) panic ( " " ) ; return ( pa ) ; }
Convert kernel VA to physical address
Convert kernel VA to physical address