Home
last modified time | relevance | path

Searched refs:freemem (Results 1 – 25 of 51) sorted by relevance

123

/titanic_41/usr/src/uts/common/os/
H A Dvm_pageout.c529 if (freemem < lotsfree + needfree + kmem_reapahead) in schedpaging()
532 if (freemem < lotsfree + needfree) in schedpaging()
541 vavail = freemem - deficit; in schedpaging()
582 if (freemem < lotsfree + needfree || in schedpaging()
585 "pageout_cv_signal:freemem %ld", freemem); in schedpaging()
800 freemem, lotsfree, nscan, desscan); in pageout_scanner()
804 tnf_ulong, pages_free, freemem, tnf_ulong, pages_needed, needfree); in pageout_scanner()
824 while (nscan < nscan_limit && (freemem < lotsfree + needfree || in pageout_scanner()
873 freemem, FRONT); in pageout_scanner()
908 freemem, lotsfree, nscan, desscan, count); in pageout_scanner()
[all …]
H A Dvm_meter.c90 ave(avefree, freemem, 5); in vmmeter()
91 ave(avefree30, freemem, 30); in vmmeter()
H A Dsched.c190 " pginrate: %d\n", avefree, avefree30, freemem, pginrate); in sched()
256 avefree < desfree && freemem > desfree) in sched()
311 nswapped, avefree, freemem); in sched()
351 avail = freemem - deficit; in sched()
371 if (freemem > needs) { in sched()
401 avefree < minfree && freemem > desfree) { in sched()
486 nswapped, avefree, freemem); in sched()
783 if (avefree > desfree || avefree < desfree && freemem > desfree) { in swapout_lwp()
H A Dmem_cage.c1207 } else if (freemem < minfree) { in kcage_create_throttle()
1257 if (NOMEMWAIT() && freemem < minfree) { in kcage_create_throttle()
1265 (freemem < limit + npages)) { in kcage_create_throttle()
1466 } else if (freemem < pageout_reserve + wanted) { in kcage_expand()
1706 KCAGE_STAT_SET_SCAN(kt_freemem_start, freemem); in kcage_cageout()
1826 KCAGE_STAT_SET_SCAN(kt_freemem_end, freemem); in kcage_cageout()
H A Dkstat_fr.c188 kstat_named_t freemem; member
902 system_pages_kstat.freemem.value.ul = (ulong_t)freemem; in system_pages_kstat_update()
911 system_pages_kstat.pagesfree.value.ul = (ulong_t)freemem; in system_pages_kstat_update()
H A Dmain.c92 pgcnt_t freemem; /* Current available memory in pages. */ variable
H A Dexec.c1195 prefltmem = freemem - desfree; in execmap()
1205 availm = freemem - lotsfree; in execmap()
1215 freemem, len); in execmap()
/titanic_41/usr/src/uts/common/syscall/
H A Dsysconfig.c194 return (freemem); in sysconfig()
208 return (MIN(free, freemem)); in sysconfig()
211 return (freemem); in sysconfig()
/titanic_41/usr/src/uts/common/inet/sctp/
H A Dsctp_misc.c172 if ((freemem >= lotsfree + needfree) || tot_assoc < maxusers) { in sctp_reclaim_timer()
207 if (freemem >= lotsfree + needfree) in sctp_conn_reclaim()
/titanic_41/usr/src/cmd/mdb/common/modules/genunix/
H A Dmemory.c501 ulong_t freemem; in memstat() local
617 freemem = physmem - stats.ms_total; in memstat()
619 freemem = 0; in memstat()
624 if (freemem > bln_stats.bln_hv_pages) in memstat()
625 freemem -= bln_stats.bln_hv_pages; in memstat()
627 freemem = 0; in memstat()
631 mdb_printf("Free (freelist) %16lu %16llu %3lu%%\n", freemem, in memstat()
632 (uint64_t)freemem * PAGESIZE / (1024 * 1024), in memstat()
633 MS_PCT_TOTAL(freemem)); in memstat()
/titanic_41/usr/src/uts/common/vm/
H A Dvm_page.c523 freemem += npages; in page_free_large_ctr()
1362 freemem = t; in set_freemem()
1389 freemem = t; in get_freemem()
1479 return (freemem >= npages + throttlefree); in page_create_throttle()
1500 return (freemem >= npages + pageout_reserve); in page_create_throttle()
1517 freemem = fm; in page_create_throttle()
1518 if (freemem >= npages + tf) { in page_create_throttle()
1560 if (freemem < npages + throttlefree) in page_create_wait()
1582 freemem = total; in page_create_wait()
1588 "page_create_nomem:npages %ld freemem %ld", npages, freemem); in page_create_wait()
[all …]
H A Dvm_pvn.c114 pagesavail = freemem - minfree; in pvn_read_kluster()
384 if (write_free && freemem < lotsfree + pages_before_pager && in pvn_write_done()
H A Dvm_seg.c763 if (freemem < desfree) { in seg_pinsert_check()
965 if (freemem < lotsfree + needfree) { in seg_ppurge_async()
966 spgcnt_t fmem = MAX((spgcnt_t)(freemem - needfree), 0); in seg_ppurge_async()
1114 if (freemem >= lotsfree + needfree) { in seg_ppurge_async()
/titanic_41/usr/src/cmd/mdb/demo/common/
H A Dexample1.c83 mdb_printf("%8llu pages of free memory\n", vm.freemem); in vminfo()
/titanic_41/usr/src/cmd/lgrpinfo/
H A Dlgrpinfo.pl530 my $freemem = $l->mem_size($lgrp, LGRP_MEM_SZ_FREE, $hier) || 0;
533 my $freemem_r = memory_to_string($freemem);
534 my $usedmem = memory_to_string($memory - $freemem);
/titanic_41/usr/src/cmd/sa/
H A Dsar.c779 ax.vmi.freemem += dx.vmi.freemem = nx.vmi.freemem - ox.vmi.freemem; in update_counters()
983 (double)xx->vmi.freemem / (float)xx->si.updates, in prt_r_opt()
/titanic_41/usr/src/uts/common/sys/
H A Dvmsystm.h52 extern pgcnt_t freemem; /* remaining blocks of free memory */
H A Dsysinfo.h180 uint64_t freemem; /* (1 sec) += freemem in pages */ member
H A Dsystm.h86 extern pgcnt_t freemem; /* Current free memory. */
/titanic_41/usr/src/uts/i86pc/vm/
H A Dvm_machdep.c239 (physmax4g && (freemem4g < DESFREE4G) && ((freemem4g << 1) < freemem))
262 #define RESTRICT16M_ALLOC(freemem, pgcnt, flags) \ argument
263 ((freemem != 0) && ((flags & PG_PANIC) == 0) && \
264 ((freemem >= (FREEMEM16M)) || \
1482 } else if (RESTRICT16M_ALLOC(freemem, btop(pgsz), *flags)) { in mtype_init()
1501 if (RESTRICT16M_ALLOC(freemem, pgcnt, *flags)) { in mtype_pgr_init()
1946 if (!(flags & PG_WAIT) && freemem < desfree) in page_create_update_flags_x86()
2150 contig_pfn_max = freemem + (freemem / 10); in create_contig_pfnlist()
3455 if (nscan < desscan && freemem < minfree) { in page_create_io()
3457 "pageout_cv_signal:freemem %ld", freemem); in page_create_io()
/titanic_41/usr/src/uts/sun4/os/
H A Dlgrpplat.c280 return ((pgcnt_t)freemem); in lgrp_plat_mem_size_default()
H A Dstartup.c1457 availrmem_initial = availrmem = freemem; in startup_memlist()
1919 avmem = (uint64_t)freemem << PAGESHIFT; in startup_vm()
2120 i = mmu_ptob((freemem * segmap_percent) / 100); in startup_vm()
2125 if (i > MIN(SEGMAPSIZE, mmu_ptob(freemem))) in startup_vm()
2126 i = MIN(SEGMAPSIZE, mmu_ptob(freemem)); in startup_vm()
2278 maxmem = freemem; in post_startup()
/titanic_41/usr/src/cmd/stat/vmstat/
H A Dvmstat.c284 pgtok((int)(DELTA(s_sys.ss_vminfo.freemem) / vm_updates))); in dovmstats()
321 adjprintf(" %*u", 5, pgtok((int)(DELTA(s_sys.ss_vminfo.freemem) in dovmstats()
/titanic_41/usr/src/uts/common/inet/tcp/
H A Dtcp_misc.c522 if ((freemem >= lotsfree + needfree) || tot_conn < maxusers) { in tcp_reclaim_timer()
558 if (freemem >= lotsfree + needfree) in tcp_conn_reclaim()
/titanic_41/usr/src/cmd/fs.d/ufs/fsdb/
H A Dfsdb.c311 static void freemem(struct filenames *, int);
683 freemem(filenames, nfiles); in main()
707 freemem(filenames, nfiles); in main()
2169 freemem(filenames, nfiles); in find()
2564 freemem(top, 1); in follow_path()
2625 freemem(fn, 1); in follow_path()
2783 freemem(struct filenames *p, int numb) in freemem() function
3387 freemem(filenames, nfiles); in err()

123