/illumos-gate/usr/src/uts/i86xpv/sys/ |
H A D | balloon_impl.h | 66 spgcnt_t bln_hv_pages; /* number of total pages given to hypervisor */ 67 spgcnt_t bln_hard_limit; /* domain's max-mem limit */
|
/illumos-gate/usr/src/uts/common/vm/ |
H A D | seg_vn.h | 104 spgcnt_t softlockcnt; /* # of pages SOFTLOCKED in seg */ 113 spgcnt_t softlockcnt_sbase; /* # of softlocks for seg start addr */ 114 spgcnt_t softlockcnt_send; /* # of softlocks for seg end addr */
|
H A D | anon.h | 315 spgcnt_t a_softlockcnt; /* number of pages locked in pcache */ 362 (k_anoninfo.ani_max + MAX((spgcnt_t)(availrmem - swapfs_minfree), 0)) 369 MAX((spgcnt_t)(availrmem - swapfs_minfree), 0)) 400 spgcnt_t *, struct seg *, caddr_t,
|
H A D | seg_spt.h | 76 spgcnt_t shm_softlockcnt; /* # outstanding lock operations */ 79 spgcnt_t shm_lckpgs; /* # of locked pages per attached seg */
|
H A D | page.h | 701 spgcnt_t *, int); 707 void page_needfree(spgcnt_t); 716 void page_create_putback(spgcnt_t npages); 837 int page_relocate(page_t **, page_t **, int, int, spgcnt_t *, struct lgrp *); 838 int do_page_relocate(page_t **, page_t **, int, spgcnt_t *, struct lgrp *);
|
H A D | vm_swap.c | 163 (spgcnt_t)sip->si_nfpgs > 0) { in swap_phys_alloc() 203 ASSERT((spgcnt_t)sip->si_nfpgs >= 0); in swap_phys_alloc() 460 spgcnt_t avail; in swapctl() 488 avail = MAX((spgcnt_t)(availrmem - swapfs_minfree), 0); in swapctl() 808 spgcnt_t avail; in swapctl32() 836 avail = MAX((spgcnt_t)(availrmem - swapfs_minfree), 0); in swapctl32() 1400 spgcnt_t pages; in swapdel() 1438 MAX((spgcnt_t)(availrmem - swapfs_minfree), 0)) < pages) { in swapdel()
|
H A D | vm_anon.c | 925 spgcnt_t mem_free_pages = 0; in anon_unresvmem() 949 mem_free_pages = MIN((spgcnt_t)(k_anoninfo.ani_mem_resv - in anon_unresvmem() 1343 spgcnt_t npages; in anon_dup() 1395 spgcnt_t npages; in anon_dup_fill_holes() 1506 spgcnt_t npages; in anon_fill_cow_holes() 1592 spgcnt_t npages; in anon_free() 1625 spgcnt_t npages; in anon_free_pages() 1675 spgcnt_t npages = btopr(size); in anon_disclaim() 1995 spgcnt_t nreloc = 0; in anon_map_getpages() 2230 spgcnt_t npgs = nreloc; in anon_map_getpages() [all …]
|
H A D | vm_page.c | 488 nv = atomic_add_long_nv(&pending_delete, (spgcnt_t)delta_pages); in page_mem_config_pre_del() 502 nv = atomic_add_long_nv(&pending_delete, -(spgcnt_t)delta_pages); in page_mem_config_post_del() 740 spgcnt_t *nrelocp, in page_lookup_create() 1442 page_needfree(spgcnt_t npages) in page_needfree() 1645 page_create_putback(spgcnt_t npages) in page_create_putback() 3964 page_needfree(-(spgcnt_t)npages); in page_xresv() 3969 page_needfree(-(spgcnt_t)npages); in page_xresv() 4789 spgcnt_t *nrelocp, in do_page_relocate() 4799 spgcnt_t npgs, i; in do_page_relocate() 4802 spgcnt_t dofree = 0; in do_page_relocate() [all …]
|
H A D | vm_pvn.c | 104 spgcnt_t pagesavail; in pvn_read_kluster() 122 if (pagesavail < (spgcnt_t)btopr(vp_len)) { in pvn_read_kluster()
|
H A D | seg_kmem.c | 454 spgcnt_t pg; in segkmem_fault() 698 spgcnt_t pg; in segkmem_pagelock()
|
H A D | vm_seg.c | 966 spgcnt_t fmem = MAX((spgcnt_t)(freemem - needfree), 0); in seg_ppurge_async()
|
/illumos-gate/usr/src/uts/common/fs/swapfs/ |
H A D | swap_subr.c | 367 nv = atomic_add_long_nv(&swapfs_pending_delete, (spgcnt_t)delta_swaps); in swap_mem_config_pre_del() 389 nv = atomic_add_long_nv(&swapfs_pending_delete, -(spgcnt_t)delta_swaps); in swap_mem_config_post_del()
|
H A D | swap_vnops.c | 71 uint_t *pszc, spgcnt_t *nreloc, struct seg *seg, caddr_t addr, 316 spgcnt_t *nreloc, in swap_getconpage()
|
/illumos-gate/usr/src/uts/i86xpv/os/ |
H A D | balloon.c | 376 static spgcnt_t 497 static spgcnt_t 663 spgcnt_t rv; in balloon_worker_thread() 755 bln_stats.bln_hard_limit = (spgcnt_t)HYPERVISOR_memory_op( in balloon_init()
|
/illumos-gate/usr/src/uts/sun4/vm/ |
H A D | vm_dep.h | 442 spgcnt_t _cnt = (spgcnt_t)(cnt); \ 473 spgcnt_t _cnt = (spgcnt_t)(cnt); \
|
/illumos-gate/usr/src/uts/i86pc/vm/ |
H A D | vm_dep.h | 181 spgcnt_t _cnt = (spgcnt_t)(cnt); \
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | sched.c | 157 spgcnt_t avail; in sched() 352 if (avail > (spgcnt_t)needs) { in sched()
|
H A D | vm_pageout.c | 809 spgcnt_t vavail; in schedpaging() 848 spgcnt_t faststmp, slowstmp, result; in schedpaging()
|
H A D | mem_cage.c | 1443 spgcnt_t wanted; in kcage_expand() 1562 spgcnt_t npgs; in kcage_relocate_page()
|
H A D | mem_config.c | 1648 page_needfree(-(spgcnt_t)free_get); in delthr_get_freemem() 1723 spgcnt_t freemem_left; in delete_memory_thread() 1818 spgcnt_t pgcnt; in delete_memory_thread()
|
H A D | mmapobj.c | 1024 spgcnt_t availm, npages; in mmapobj_map_ptload() 1062 npages = (spgcnt_t)btopr(len); in mmapobj_map_ptload()
|
H A D | exec.c | 1281 spgcnt_t prefltmem, availm, npages; in execmap() 1307 npages = (spgcnt_t)btopr(len); in execmap()
|
H A D | kmem.c | 3605 spgcnt_t rmem = availrmem - tune.t_minarmem; in kmem_avail() 3606 spgcnt_t fmem = freemem - minfree; in kmem_avail() 3622 spgcnt_t pmem = availrmem - tune.t_minarmem; in kmem_maxavail() 3623 spgcnt_t vmem = btop(vmem_size(heap_arena, VMEM_FREE)); in kmem_maxavail()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | types.h | 125 typedef long spgcnt_t; /* signed number of pages */ typedef
|
/illumos-gate/usr/src/uts/sun4v/vm/ |
H A D | mach_vm_dep.c | 432 spgcnt_t i = 0; in contig_mem_span_alloc()
|