Home
last modified time | relevance | path

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

12

/titanic_50/usr/src/uts/i86xpv/sys/
H A Dballoon_impl.h68 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 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 Dseg_spt.h77 spgcnt_t shm_softlockcnt; /* # outstanding lock operations */
80 spgcnt_t shm_lckpgs; /* # of locked pages per attached seg */
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 Dpage.h700 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 Dvm_swap.c158 (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 Dvm_anon.c919 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 Dvm_page.c469 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 Dvm_pvn.c105 spgcnt_t pagesavail; in pvn_read_kluster()
123 if (pagesavail < (spgcnt_t)btopr(vp_len)) { in pvn_read_kluster()
H A Dseg_kmem.c446 spgcnt_t pg; in segkmem_fault()
684 spgcnt_t pg; in segkmem_pagelock()
H A Dvm_seg.c966 spgcnt_t fmem = MAX((spgcnt_t)(freemem - needfree), 0); in seg_ppurge_async()
/titanic_50/usr/src/uts/common/os/
H A Dvm_pageout.c217 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 Dsched.c157 spgcnt_t avail; in sched()
352 if (avail > (spgcnt_t)needs) { in sched()
H A Dmem_cage.c1443 spgcnt_t wanted; in kcage_expand()
1562 spgcnt_t npgs; in kcage_relocate_page()
H A Dmem_config.c1647 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 Dexec.c1168 spgcnt_t prefltmem, availm, npages; in execmap()
1194 npages = (spgcnt_t)btopr(len); in execmap()
H A Dkmem.c3521 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 Dmmapobj.c1025 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 Dswap_subr.c368 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 Dswap_vnops.c71 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 Dballoon.c374 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 Dvm_dep.h441 spgcnt_t _cnt = (spgcnt_t)(cnt); \
472 spgcnt_t _cnt = (spgcnt_t)(cnt); \
/titanic_50/usr/src/uts/i86pc/vm/
H A Dvm_dep.h179 spgcnt_t _cnt = (spgcnt_t)(cnt); \
/titanic_50/usr/src/uts/common/sys/
H A Dtypes.h124 typedef long spgcnt_t; /* signed number of pages */ typedef
/titanic_50/usr/src/uts/sun4v/vm/
H A Dmach_vm_dep.c410 spgcnt_t i = 0; in contig_mem_span_alloc()

12