FreeBSD/sys/arm64/arm64/pmap.c
/*
 * After removing an l3 entry, this routine is used to
 * conditionally free the page, and manage the hold/wire counts.
 */
After removing an l3 entry, this routine is used to
conditionally free the page, and manage the hold/wire counts.
After removing an l3 entry this routine is used to conditionally free the page and manage the hold / wire counts .
static int
pmap_unuse_l3(pmap_t pmap, vm_offset_t va, pd_entry_t ptepde,
    struct spglist *free)
{
	vm_page_t mpte;
	if (va >= VM_MAXUSER_ADDRESS)
		return (0);
	KASSERT(ptepde != 0, ("pmap_unuse_pt: ptepde != 0"));
	mpte = PHYS_TO_VM_PAGE(ptepde & ~ATTR_MASK);
	return (pmap_unwire_l3(pmap, va, mpte, free));
}
static int pmap_unuse_l3 ( pmap_t pmap , vm_offset_t va , pd_entry_t ptepde , struct spglist * free ) { vm_page_t mpte ; if ( va >= VM_MAXUSER_ADDRESS ) return ( 0 ) ; KASSERT ( ptepde != 0 , ( " " ) ) ; mpte = PHYS_TO_VM_PAGE ( ptepde & ~ ATTR_MASK ) ; return ( pmap_unwire_l3 ( pmap , va , mpte , free ) ) ; }
After removing an l3 entry, this routine is used to
 conditionally free the page, and manage the hold/wire counts.
After removing an l3 entry this routine is used to conditionally free the page and manage the hold / wire counts .