| /freebsd-12-stable/sys/x86/iommu/ |
| D | intel_idpgtbl.c | 396 m->wire_count++; in domain_pgtbl_map_pte() 404 m->wire_count--; in domain_pgtbl_map_pte() 412 sf_buf_page(sfp)->wire_count += 1; in domain_pgtbl_map_pte() 413 m->wire_count--; in domain_pgtbl_map_pte() 493 sf_buf_page(sf)->wire_count += 1; in domain_map_buf_locked() 591 m->wire_count--; in domain_unmap_clear_pte() 592 if (m->wire_count != 0) in domain_unmap_clear_pte() 705 m->wire_count = 1; in domain_alloc_pgtbl() 738 m->wire_count = 0; in domain_free_pgtbl()
|
| /freebsd-12-stable/sys/arm64/arm64/ |
| D | pmap.c | 1358 --m->wire_count; in pmap_unwire_l3() 1359 if (m->wire_count == 0) { in pmap_unwire_l3() 1555 l1pg->wire_count++; in _pmap_alloc_l3() 1596 l2pg->wire_count++; in _pmap_alloc_l3() 1622 l2pg->wire_count++; in pmap_alloc_l2() 1680 m->wire_count++; in pmap_alloc_l3() 2045 m_pc->wire_count = 1; in reclaim_pv_chunk() 2483 KASSERT(ml3->wire_count == NL3PG, in pmap_remove_l2() 2485 ml3->wire_count = 0; in pmap_remove_l2() 3228 mpte->wire_count++; in pmap_enter() [all …]
|
| D | efirt_machdep.c | 77 m->wire_count = 0; in efi_destroy_1t1_map()
|
| /freebsd-12-stable/sys/amd64/amd64/ |
| D | pmap.c | 1923 mpte->wire_count = 1; in pmap_init() 3385 --m->wire_count; in pmap_unwire_ptp() 3386 if (m->wire_count == 0) { in pmap_unwire_ptp() 3729 pdppg->wire_count++; in _pmap_allocpte() 3774 pdpg->wire_count++; in _pmap_allocpte() 3803 pdpg->wire_count++; in pmap_allocpde() 3854 m->wire_count++; in pmap_allocpte() 4276 m_pc->wire_count = 1; in reclaim_pv_chunk() 4882 mpte->wire_count = NPTEPG; in pmap_demote_pde_locked() 5043 KASSERT(mpte->wire_count == NPTEPG, in pmap_remove_pde() [all …]
|
| D | efirt_machdep.c | 77 m->wire_count = 0; in efi_destroy_1t1_map()
|
| /freebsd-12-stable/sys/riscv/riscv/ |
| D | pmap.c | 1144 --m->wire_count; in pmap_unwire_ptp() 1145 if (m->wire_count == 0) { in pmap_unwire_ptp() 1335 pdpg->wire_count++; in _pmap_alloc_l3() 1365 l2pg->wire_count++; in pmap_alloc_l2() 1401 m->wire_count++; in pmap_alloc_l3() 2076 KASSERT(ml3->wire_count == Ln_ENTRIES, in pmap_remove_l2() 2078 ml3->wire_count = 1; in pmap_remove_l2() 2501 mpte->wire_count = Ln_ENTRIES; in pmap_demote_l2_locked() 2709 mpte->wire_count++; in pmap_enter() 2789 mpte->wire_count--; in pmap_enter() [all …]
|
| /freebsd-12-stable/sys/vm/ |
| D | vm_page.c | 516 m->wire_count = 0; in vm_page_init_page() 1202 m->wire_count = 1; in vm_page_initfake() 1905 m->wire_count = 1; in vm_page_alloc_domain_after() 1913 m->wire_count = 0; in vm_page_alloc_domain_after() 2107 m->wire_count = 1; in vm_page_alloc_contig_domain() 2120 m->wire_count = 0; in vm_page_alloc_contig_domain() 2238 m->wire_count = 1; in vm_page_alloc_freelist_domain() 2336 KASSERT((m->flags & PG_FICTITIOUS) == 0 || m->wire_count == 1, in vm_page_scan_contig() 3453 KASSERT(m->wire_count == 1, in vm_page_free_prep() 3574 KASSERT(m->wire_count == 1, in vm_page_wire() [all …]
|
| D | vm_page.h | 205 u_int wire_count; /* wired down maps refs (P) */ member 827 return (m->hold_count > 0 || m->wire_count > 0); in vm_page_held() 834 return (m->wire_count > 0); in vm_page_wired()
|
| /freebsd-12-stable/sys/i386/i386/ |
| D | pmap.c | 956 mpte->wire_count = 1; in pmap_init() 1997 --m->wire_count; in pmap_unwire_ptp() 1998 if (m->wire_count == 0) { in pmap_unwire_ptp() 2204 m->wire_count++; in pmap_allocpte() 2511 m_pc->wire_count = 1; in pmap_pv_reclaim() 2870 mpte->wire_count = NPTEPG; in pmap_demote_pde() 3065 KASSERT(mpte->wire_count == NPTEPG, in pmap_remove_pde() 3067 mpte->wire_count = 0; in pmap_remove_pde() 3802 mpte->wire_count--; in pmap_enter() 3803 KASSERT(mpte->wire_count > 0, in pmap_enter() [all …]
|
| /freebsd-12-stable/sys/arm/arm/ |
| D | pmap-v6.c | 2402 KASSERT(m->wire_count <= (NPTE2_IN_PG + 1), in pt2_wirecount_inc() 2405 m->wire_count++; in pt2_wirecount_inc() 2415 KASSERT(m->wire_count > 1, in pt2_wirecount_dec() 2418 m->wire_count--; in pt2_wirecount_dec() 2428 KASSERT(m->wire_count > m->md.pt2_wirecount[pte1_idx & PT2PG_MASK], in pt2_wirecount_set() 2429 ("%s: PT2PG corrupting (%u, %u) ...", __func__, m->wire_count, in pt2_wirecount_set() 2432 m->wire_count -= m->md.pt2_wirecount[pte1_idx & PT2PG_MASK]; in pt2_wirecount_set() 2433 m->wire_count += count; in pt2_wirecount_set() 2436 KASSERT(m->wire_count <= (NPTE2_IN_PG + 1), in pt2_wirecount_set() 2437 ("%s: PT2PG is overflowed (%u) ...", __func__, m->wire_count)); in pt2_wirecount_set() [all …]
|
| /freebsd-12-stable/sys/mips/mips/ |
| D | pmap.c | 1004 --m->wire_count; in pmap_unwire_ptp() 1005 if (m->wire_count == 0) { in pmap_unwire_ptp() 1224 pg->wire_count++; in _pmap_allocpte() 1260 m->wire_count++; in pmap_allocpte() 2207 mpte->wire_count--; in pmap_enter() 2248 mpte->wire_count--; in pmap_enter() 2249 KASSERT(mpte->wire_count > 0, in pmap_enter() 2359 mpte->wire_count++; in pmap_enter_quick_locked() 2373 mpte->wire_count++; in pmap_enter_quick_locked() 2388 mpte->wire_count--; in pmap_enter_quick_locked()
|
| /freebsd-12-stable/sys/powerpc/booke/ |
| D | pmap.c | 725 m->wire_count--; in pdir_unhold() 733 if (m->wire_count == 0) { in pdir_unhold() 760 m->wire_count++; in pdir_hold() 879 m->wire_count--; in ptbl_unhold() 887 if (m->wire_count == 0) { in ptbl_unhold() 925 m->wire_count++; in ptbl_hold() 1141 m->wire_count--; in ptbl_unhold() 1149 if (m->wire_count == 0) { in ptbl_unhold() 1187 m->wire_count++; in ptbl_hold()
|
| /freebsd-12-stable/sys/dev/xen/privcmd/ |
| D | privcmd.c | 172 KASSERT(page->wire_count == 1, ("wire_count not 1 %p", page)); in privcmd_pg_fault()
|
| /freebsd-12-stable/sys/dev/drm2/ttm/ |
| D | ttm_page_alloc.c | 134 KASSERT(m->wire_count == 1, ("ttm lost wire %p", m)); in ttm_vm_page_free()
|
| /freebsd-12-stable/sys/dev/agp/ |
| D | agp.c | 1006 KASSERT(m->wire_count > 0, in agp_bind_pages()
|
| D | agp_i810.c | 1959 MPASS(pages[i]->wire_count > 0); in agp_intel_gtt_insert_pages()
|
| /freebsd-12-stable/sys/dev/xen/gntdev/ |
| D | gntdev.c | 829 KASSERT(page->wire_count == 1, ("wire_count not 1 %p", page)); in gntdev_gmap_pg_fault()
|
| /freebsd-12-stable/sys/dev/drm2/i915/ |
| D | i915_gem.c | 1549 KASSERT(page->wire_count == 1, ("wire_count not 1 %p", page)); in i915_gem_pager_populate()
|
| /freebsd-12-stable/sys/kern/ |
| D | vfs_bio.c | 4896 p->wire_count--; in vm_hold_free_pages()
|
| /freebsd-12-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
| D | zfs_vnops.c | 597 if (pp->wire_count == 0 && pp->valid == 0 && in mappedread_sf()
|