FreeBSD/sys/arm/arm/pmap-v6.c
/*
 *  After removing a L2 page table entry, this routine is used to
 *  conditionally free the page, and manage the hold/wire counts.
 */
After removing a L2 page table entry, this routine is used to
conditionally free the page, and manage the hold/wire counts.
After removing a L2 page table entry this routine is used to conditionally free the page and manage the hold / wire counts .
static boolean_t
pmap_unuse_pt2(pmap_t pmap, vm_offset_t va, struct spglist *free)
{
	pt1_entry_t pte1;
	vm_page_t mpte;
	if (va >= VM_MAXUSER_ADDRESS)
		return (FALSE);
	pte1 = pte1_load(pmap_pte1(pmap, va));
	mpte = PHYS_TO_VM_PAGE(pte1_link_pa(pte1));
	return (pmap_unwire_pt2(pmap, va, mpte, free));
}
static boolean_t pmap_unuse_pt2 ( pmap_t pmap , vm_offset_t va , struct spglist * free ) { pt1_entry_t pte1 ; vm_page_t mpte ; if ( va >= VM_MAXUSER_ADDRESS ) return ( FALSE ) ; pte1 = pte1_load ( pmap_pte1 ( pmap , va ) ) ; mpte = PHYS_TO_VM_PAGE ( pte1_link_pa ( pte1 ) ) ; return ( pmap_unwire_pt2 ( pmap , va , mpte , free ) ) ; }
After removing a L2 page table entry, this routine is used to
  conditionally free the page, and manage the hold/wire counts.
After removing a L2 page table entry this routine is used to conditionally free the page and manage the hold / wire counts .