| /src/sys/fs/tmpfs/ |
| tmpfs_mem.c | 104 if (size > uvmexp.wired) { 105 size -= uvmexp.wired;
|
| /src/sys/ufs/chfs/ |
| chfs_subr.c | 84 if (size > uvmexp.wired) { 85 size -= uvmexp.wired;
|
| /src/sys/uvm/ |
| uvm_stat.c | 81 (*pr)(" %d VM pages: %d active, %d inactive, %d wired, %d free\n", 82 uvmexp.npages, active, inactive, uvmexp.wired, freepg); 85 (*pr)(" freemin=%d, free-target=%d, wired-max=%d\n",
|
| uvm_extern.h | 197 #define UVM_KMF_WIRED 0x1 /* allocation type: wired */ 323 int wired; /* number of wired pages */ member in struct:uvmexp 343 int wiredmax; /* max number of wired pages */ 434 int64_t wired; member in struct:uvmexp_sysctl
|
| uvm_meter.c | 113 u.wired = uvmexp.wired;
|
| uvm_page.c | 1121 * => caller must activate/deactivate page if it is not wired. 1513 * if the page was wired, unwire it now. 1518 atomic_dec_uint(&uvmexp.wired); 1770 atomic_inc_uint(&uvmexp.wired); 1795 KASSERT(uvmexp.wired != 0); 1796 atomic_dec_uint(&uvmexp.wired); 1804 * => caller must check to make sure page is not wired
|
| uvm_mmap.c | 760 if (atop(size) + uvmexp.wired > uvmexp.wiredmax) 775 * sys_munlock: unlock wired pages 969 if (atop(size) + uvmexp.wired > uvmexp.wiredmax ||
|
| uvm_pdaemon.c | 976 * XXX assume the worst case, ie. all wired pages are file-backed. 985 cpu_count_get(CPU_COUNT_FILEDIRTY) - uvmexp.wired);
|
| uvm_map.c | 2399 * must be wired and entered with pmap_kenter_pa(), 3467 * => regions specified as not pageable require lock-down (wired) memory 3528 * really wired down and that there are no holes. 3568 * be wired and increment its wiring count. 3571 * in the pages for any newly wired area (wired_count == 1). 3575 * the pages to be wired (it would mark the page busy, blocking 3585 if (VM_MAPENT_ISWIRED(entry) == 0) { /* not already wired? */ 3619 * be undone, but the wired counts need to be restored. 3680 * which haven't actually been wired yet. 3691 * wired above [all...] |
| /src/sys/arch/m68k/m68k/ |
| pmap_motorola.c | 1116 * If specified, the page will be wired down, meaning 1132 bool wired = (flags & PMAP_WIRED) != 0; local 1137 pmap, va, pa, prot, wired)); 1183 * Hence, if a user page is wired, the PT page will be also. 1185 if (pmap_pte_w_chg(pte, wired ? PG_W : 0)) { 1187 ("enter: wiring change -> %x\n", wired)); 1188 if (wired) 1215 * on this PT page. PT pages are wired down as long as there 1347 if (wired) 1365 if (wired) [all...] |
| /src/sys/arch/sun3/sun3x/ |
| pmap.c | 1105 * Clear its parent entry. Set its wired and valid 1147 b_tbl->bt_wcnt = 0; /* wired entry count, */ 1179 c_tbl->ct_wcnt = 0; /* wired entry count, */ 1255 * asks for a "wired" mapping that would run us short of 1668 bool wired; /* is the mapping to be wired? */ local 1677 * Determine if the mapping should be wired. 1679 wired = ((flags & PMAP_WIRED) != 0); 1688 * dependent (pmap) system. The argument it replaces, 'wired', is now 1760 if (!wired) [all...] |
| /src/sys/arch/ia64/ia64/ |
| pmap.c | 727 * Destroy every non-wired, 8 KB page mapping in the chunk. 1195 bool wired, bool managed) 1201 pte->pte |= (wired) ? PTE_WIRED : 0; 1307 * Note that this memory will never be freed, and in essence it is wired 1567 * Query the ``wired pages'' statistic for pmap. 1667 bool icache_inval, managed, wired, canfail; local 1675 /* wired = (flags & PMAP_ENTER_WIRED) != 0; */ 1676 wired = (flags & PMAP_WIRED) != 0; 1735 * are valid mappings in them. Hence, if a user page is wired, 1738 if (wired && !pmap_wired(&origpte) 2086 const bool wired = true; \/* pmap_kenter_pa always wired *\/ local [all...] |
| /src/sys/arch/sun2/sun2/ |
| pmap.c | 561 * XXX - Need to reload wired pmegs though... 825 * XXX - Skip this one if it is wired? 1922 * If specified, the page will be wired down, meaning 1933 bool wired = (flags & PMAP_WIRED) != 0; local 1939 pmap, va, pa, prot, wired); 1969 pmap_enter_kernel(va, new_pte, wired); 1971 pmap_enter_user(pmap, va, new_pte, wired); 1978 pmap_enter_kernel(vaddr_t pgva, int new_pte, bool wired) 2099 pmeg_set_wiring(pmegp, pgva, wired); 2124 pmap_enter_user(pmap_t pmap, vaddr_t pgva, int new_pte, bool wired) [all...] |
| /src/sys/arch/sun3/sun3/ |
| pmap.c | 569 * XXX - Need to reload wired pmegs though... 833 * XXX - Skip this one if it is wired? 1953 * If specified, the page will be wired down, meaning 1964 bool wired = (flags & PMAP_WIRED) != 0; local 1970 pmap, va, pa, prot, wired); 2000 pmap_enter_kernel(va, new_pte, wired); 2002 pmap_enter_user(pmap, va, new_pte, wired); 2009 pmap_enter_kernel(vaddr_t pgva, int new_pte, bool wired) 2128 pmeg_set_wiring(pmegp, pgva, wired); 2152 pmap_enter_user(pmap_t pmap, vaddr_t pgva, int new_pte, bool wired) [all...] |
| /src/sys/arch/hppa/hppa/ |
| pmap.c | 1363 * translation is wired then we can not allow a page fault to occur 1373 bool wired = (flags & PMAP_WIRED) != 0; local 1399 if (wired && !(pte & PTE_PROT(TLB_WIRED))) 1401 else if (!wired && (pte & PTE_PROT(TLB_WIRED))) 1423 if (wired) 1466 if (wired)
|
| /src/sys/arch/alpha/alpha/ |
| pmap.c | 1479 * Note that this memory will never be freed, and in essence it is wired 1896 * ==> (4) Zero the wired and resident count. 2169 * If specified, the page will be wired down, meaning 2192 const bool wired = (flags & PMAP_WIRED) != 0; local 2291 if (pmap_pte_w_chg(pte, wired ? PG_WIRED : 0)) { 2295 wired); 2298 if (wired) 2350 if (wired) 2383 if (wired) 2532 * Clear the wired attribute for a map/virtual-address pair [all...] |
| /src/sys/arch/x86/x86/ |
| pmap.c | 3119 int wired; local 3135 wired = 0; 3156 wired -= (opte & PTE_WIRED); 3222 pmap_stats_update(pmap, -(ptp->wire_count - 1), wired / PTE_WIRED); 4908 * pmap_unwire: clear the wired bit in the PTE. 4996 bool wired = (flags & PMAP_WIRED) != 0; local 5017 if (wired) 6295 bool wired = (flags & PMAP_WIRED) != 0; local 6307 if (wired)
|
| /src/sys/kern/ |
| init_sysctl.c | 1429 * current wired count. 1441 if ((ui = physmem - uvmexp.wired) > (UINT_MAX / PAGE_SIZE)) 1448 uq = (u_quad_t)(physmem - uvmexp.wired) * PAGE_SIZE;
|
| /src/sys/arch/vax/vax/ |
| pmap.c | 117 pmap_decrement_stats(struct pmap *pm, bool wired) 120 if (wired) 1065 PMDEBUG(("pmap_enter: pmap %p v %lx p %lx prot %x wired %d access %x\n", 1662 * removes the wired bit from a bunch of PTE's.
|
| /src/sys/uvm/pmap/ |
| pmap.c | 559 * Note that this memory will never be freed, and in essence it is wired 1395 * If specified, the page will be wired down, meaning 1405 const bool wired = (flags & PMAP_WIRED) != 0; local 1526 if (wired) { 1739 * Function: Clear the wired attribute for a map/virtual-address
|
| /src/usr.bin/systat/ |
| vmstat.c | 343 mvprintw(MEMROW + 1, MEMCOL, "Exec %% wired "); 510 putint(pgtokb(s.uvmexp.wired), MEMROW + 1, MEMCOL + 30, 8);
|
| /src/usr.bin/vmstat/ |
| vmstat.c | 920 COPY(wired); 1001 (void)printf("%9" PRIu64 " pages wired\n", uvmexp.wired); 1013 (void)printf("%9" PRIu64 " maximum wired pages\n", uvmexp.wiredmax);
|
| /src/sys/arch/i386/i386/ |
| machdep.c | 1276 uvmexp.wired += atop(avail_start);
|
| /src/sys/arch/sparc64/sparc64/ |
| pmap.c | 1658 tte.data |= TLB_TSB_LOCK; /* wired */ 1777 bool wired = (flags & PMAP_WIRED) != 0; local 1882 if (wired) 2870 * Function: Clear the wired attribute for a map/virtual-address 3128 * count wired pages in pmap -- this can be slow.
|
| /src/sys/arch/mips/mips/ |
| mipsX_subr.S | 1922 _EXT k0, k0, 0, WIRED_POS # get rid of "wired" bit 1924 _SLL k0, k0, WIRED_SHIFT # get rid of "wired" bit 1969 _SLL k0, k0, WIRED_SHIFT # get rid of wired bit 2431 * Invalidate the non-wired TLB entries belonging to kernel space while 2488 * Invalidate all of non-wired TLB entries.
|