/titanic_50/usr/src/uts/i86xpv/sys/ |
H A D | balloon_impl.h | 68 spgcnt_t bln_hv_pages; /* number of total pages given to hypervisor */ 69 spgcnt_t bln_hard_limit; /* domain's max-mem limit */
|
/titanic_50/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 | seg_spt.h | 77 spgcnt_t shm_softlockcnt; /* # outstanding lock operations */ 80 spgcnt_t shm_lckpgs; /* # of locked pages per attached seg */
|
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 | page.h | 700 spgcnt_t *, int); 706 void page_needfree(spgcnt_t); 715 void page_create_putback(spgcnt_t npages); 835 int page_relocate(page_t **, page_t **, int, int, spgcnt_t *, struct lgrp *); 836 int do_page_relocate(page_t **, page_t **, int, spgcnt_t *, struct lgrp *);
|
H A D | vm_swap.c | 158 (spgcnt_t)sip->si_nfpgs > 0) { in swap_phys_alloc() 198 ASSERT((spgcnt_t)sip->si_nfpgs >= 0); in swap_phys_alloc() 455 spgcnt_t avail; in swapctl() 483 avail = MAX((spgcnt_t)(availrmem - swapfs_minfree), 0); in swapctl() 792 spgcnt_t avail; in swapctl32() 820 avail = MAX((spgcnt_t)(availrmem - swapfs_minfree), 0); in swapctl32() 1373 spgcnt_t pages; in swapdel() 1411 MAX((spgcnt_t)(availrmem - swapfs_minfree), 0)) < pages) { in swapdel()
|
H A D | vm_anon.c | 919 spgcnt_t mem_free_pages = 0; in anon_unresvmem() 943 mem_free_pages = MIN((spgcnt_t)(k_anoninfo.ani_mem_resv - in anon_unresvmem() 1336 spgcnt_t npages; in anon_dup() 1388 spgcnt_t npages; in anon_dup_fill_holes() 1499 spgcnt_t npages; in anon_fill_cow_holes() 1585 spgcnt_t npages; in anon_free() 1618 spgcnt_t npages; in anon_free_pages() 1668 spgcnt_t npages = btopr(size); in anon_disclaim() 1988 spgcnt_t nreloc = 0; in anon_map_getpages() 2223 spgcnt_t npgs = nreloc; in anon_map_getpages() [all …]
|
H A D | vm_page.c | 469 nv = atomic_add_long_nv(&pending_delete, (spgcnt_t)delta_pages); in page_mem_config_pre_del() 483 nv = atomic_add_long_nv(&pending_delete, -(spgcnt_t)delta_pages); in page_mem_config_post_del() 721 spgcnt_t *nrelocp, in page_lookup_create() 1423 page_needfree(spgcnt_t npages) in page_needfree() 1624 page_create_putback(spgcnt_t npages) in page_create_putback() 3922 page_needfree(-(spgcnt_t)npages); in page_resv() 4748 spgcnt_t *nrelocp, in do_page_relocate() 4758 spgcnt_t npgs, i; in do_page_relocate() 4761 spgcnt_t dofree = 0; in do_page_relocate() 4970 spgcnt_t *nrelocp, in page_relocate() [all …]
|
H A D | vm_pvn.c | 105 spgcnt_t pagesavail; in pvn_read_kluster() 123 if (pagesavail < (spgcnt_t)btopr(vp_len)) { in pvn_read_kluster()
|
H A D | seg_kmem.c | 446 spgcnt_t pg; in segkmem_fault() 684 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()
|
/titanic_50/usr/src/uts/common/os/ |
H A D | vm_pageout.c | 217 static spgcnt_t init_lfree, init_dfree, init_mfree; in setupclock() 218 static spgcnt_t init_tfree, init_preserve, init_mpgio; in setupclock() 219 static spgcnt_t init_mfscan, init_fscan, init_sscan, init_hspages; in setupclock() 527 spgcnt_t vavail; in schedpaging() 570 spgcnt_t faststmp, slowstmp, result; in schedpaging()
|
H A D | sched.c | 157 spgcnt_t avail; in sched() 352 if (avail > (spgcnt_t)needs) { in sched()
|
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 | 1647 page_needfree(-(spgcnt_t)free_get); in delthr_get_freemem() 1722 spgcnt_t freemem_left; in delete_memory_thread() 1817 spgcnt_t pgcnt; in delete_memory_thread()
|
H A D | exec.c | 1168 spgcnt_t prefltmem, availm, npages; in execmap() 1194 npages = (spgcnt_t)btopr(len); in execmap()
|
H A D | kmem.c | 3521 spgcnt_t rmem = availrmem - tune.t_minarmem; in kmem_avail() 3522 spgcnt_t fmem = freemem - minfree; in kmem_avail() 3538 spgcnt_t pmem = availrmem - tune.t_minarmem; in kmem_maxavail() 3539 spgcnt_t vmem = btop(vmem_size(heap_arena, VMEM_FREE)); in kmem_maxavail()
|
H A D | mmapobj.c | 1025 spgcnt_t availm, npages; in mmapobj_map_ptload() 1063 npages = (spgcnt_t)btopr(len); in mmapobj_map_ptload()
|
/titanic_50/usr/src/uts/common/fs/swapfs/ |
H A D | swap_subr.c | 368 nv = atomic_add_long_nv(&swapfs_pending_delete, (spgcnt_t)delta_swaps); in swap_mem_config_pre_del() 390 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()
|
/titanic_50/usr/src/uts/i86xpv/os/ |
H A D | balloon.c | 374 static spgcnt_t 495 static spgcnt_t 661 spgcnt_t rv; in balloon_worker_thread() 753 bln_stats.bln_hard_limit = (spgcnt_t)HYPERVISOR_memory_op( in balloon_init()
|
/titanic_50/usr/src/uts/sun4/vm/ |
H A D | vm_dep.h | 441 spgcnt_t _cnt = (spgcnt_t)(cnt); \ 472 spgcnt_t _cnt = (spgcnt_t)(cnt); \
|
/titanic_50/usr/src/uts/i86pc/vm/ |
H A D | vm_dep.h | 179 spgcnt_t _cnt = (spgcnt_t)(cnt); \
|
/titanic_50/usr/src/uts/common/sys/ |
H A D | types.h | 124 typedef long spgcnt_t; /* signed number of pages */ typedef
|
/titanic_50/usr/src/uts/sun4v/vm/ |
H A D | mach_vm_dep.c | 410 spgcnt_t i = 0; in contig_mem_span_alloc()
|