Home
last modified time | relevance | path

Searched refs:spgcnt_t (Results 1 – 25 of 36) sorted by relevance

12

/illumos-gate/usr/src/uts/i86xpv/sys/
H A Dballoon_impl.h66 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 Dseg_vn.h104 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 Danon.h315 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 Dseg_spt.h76 spgcnt_t shm_softlockcnt; /* # outstanding lock operations */
79 spgcnt_t shm_lckpgs; /* # of locked pages per attached seg */
H A Dpage.h701 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 Dvm_swap.c163 (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 Dvm_anon.c925 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 Dvm_page.c488 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 Dvm_pvn.c104 spgcnt_t pagesavail; in pvn_read_kluster()
122 if (pagesavail < (spgcnt_t)btopr(vp_len)) { in pvn_read_kluster()
H A Dseg_kmem.c454 spgcnt_t pg; in segkmem_fault()
698 spgcnt_t pg; in segkmem_pagelock()
H A Dvm_seg.c966 spgcnt_t fmem = MAX((spgcnt_t)(freemem - needfree), 0); in seg_ppurge_async()
/illumos-gate/usr/src/uts/common/fs/swapfs/
H A Dswap_subr.c367 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 Dswap_vnops.c71 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 Dballoon.c376 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 Dvm_dep.h442 spgcnt_t _cnt = (spgcnt_t)(cnt); \
473 spgcnt_t _cnt = (spgcnt_t)(cnt); \
/illumos-gate/usr/src/uts/i86pc/vm/
H A Dvm_dep.h181 spgcnt_t _cnt = (spgcnt_t)(cnt); \
/illumos-gate/usr/src/uts/common/os/
H A Dsched.c157 spgcnt_t avail; in sched()
352 if (avail > (spgcnt_t)needs) { in sched()
H A Dvm_pageout.c809 spgcnt_t vavail; in schedpaging()
848 spgcnt_t faststmp, slowstmp, result; in schedpaging()
H A Dmem_cage.c1443 spgcnt_t wanted; in kcage_expand()
1562 spgcnt_t npgs; in kcage_relocate_page()
H A Dmem_config.c1648 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 Dmmapobj.c1024 spgcnt_t availm, npages; in mmapobj_map_ptload()
1062 npages = (spgcnt_t)btopr(len); in mmapobj_map_ptload()
H A Dexec.c1281 spgcnt_t prefltmem, availm, npages; in execmap()
1307 npages = (spgcnt_t)btopr(len); in execmap()
H A Dkmem.c3605 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 Dtypes.h125 typedef long spgcnt_t; /* signed number of pages */ typedef
/illumos-gate/usr/src/uts/sun4v/vm/
H A Dmach_vm_dep.c432 spgcnt_t i = 0; in contig_mem_span_alloc()

12