src/sys/amd64/amd64/pmap.c
/*
 * Zero an an area within a single hardware page.  off and size must not
 * cover an area beyond a single hardware page.
 */
Zero an an area within a single hardware page.  off and size must not
cover an area beyond a single hardware page.
Zero an an area within a single hardware page . off and size must not cover an area beyond a single hardware page .
void
pmap_zero_page_area(vm_page_t m, int off, int size)
{
	vm_offset_t va = PHYS_TO_DMAP(VM_PAGE_TO_PHYS(m));
	if (off == 0 && size == PAGE_SIZE)
		pagezero((void *)va);
	else
		bzero((char *)va + off, size);
}
void pmap_zero_page_area ( vm_page_t m , int off , int size ) { vm_offset_t va = PHYS_TO_DMAP ( VM_PAGE_TO_PHYS ( m ) ) ; if ( off == 0 && size == PAGE_SIZE ) pagezero ( ( void * ) va ) ; else bzero ( ( char * ) va + off , size ) ; }
Zero an an area within a single hardware page.
Zero an an area within a single hardware page .