Home
last modified time | relevance | path

Searched refs:total_pages (Results 1 – 23 of 23) sorted by relevance

/titanic_41/usr/src/uts/common/os/
H A Dvm_pageout.c194 #define LOOPPAGES total_pages
765 if (handspreadpages >= total_pages) in pageout_scanner()
766 fronthand = page_nextn(backhand, total_pages - 1); in pageout_scanner()
789 if (handspreadpages >= total_pages) in pageout_scanner()
790 fronthand = page_nextn(backhand, total_pages - 1); in pageout_scanner()
808 nscan_limit = total_pages; in pageout_scanner()
H A Dmem_config.c505 total_pages += npgs; in kphysm_add_memory_dynamic()
2695 ASSERT(npgs < total_pages); in kphysm_del_cleanup()
2696 total_pages -= npgs; in kphysm_del_cleanup()
H A Dmem_cage.c1125 kcage_lotsfree = MAX(32, total_pages / 256); in kcage_recalc_thresholds()
H A Dkstat_fr.c914 system_pages_kstat.pagestotal.value.ul = (ulong_t)total_pages; in system_pages_kstat_update()
/titanic_41/usr/src/uts/common/vm/
H A Dvm_rm.c93 ulong_t total = total_pages; in rm_pctmemory()
H A Dpage.h672 extern pgcnt_t total_pages; /* total pages in the system */
H A Dvm_page.c83 pgcnt_t total_pages = 0; /* total number of pages (used by /proc) */ variable
466 set_max_page_get(total_pages - pending_delete); in page_mem_config_post_add()
479 set_max_page_get(total_pages - nv); in page_mem_config_pre_del()
493 set_max_page_get(total_pages - nv); in page_mem_config_post_del()
581 total_pages += num; in add_physmem()
582 set_max_page_get(total_pages); in add_physmem()
H A Dseg_vn.c8699 page_limit = (total_pages >> 1) + (total_pages >> 3); in segvn_vpage()
/titanic_41/usr/src/uts/common/fs/
H A Dfsflush.c145 if (total_pages != last_total_pages) { in fsflush_do_pages()
146 last_total_pages = total_pages; in fsflush_do_pages()
/titanic_41/usr/src/uts/sun4u/starfire/os/
H A Dstarfire.c147 extern pgcnt_t total_pages; in set_platform_cage_params()
154 MAX(starfire_startup_cage_size, total_pages / 256); in set_platform_cage_params()
/titanic_41/usr/src/uts/common/avs/ns/sdbc/
H A Dsd_bio.c934 static int total_pages, total_pages_combined, total_norm; in sd_start_io() local
956 total_pages += hook->PAGE_IO; in sd_start_io()
1040 total_pages, total_pages_combined, total_norm, in sd_start_io()
1044 total_pages = 0; in sd_start_io()
/titanic_41/usr/src/cmd/mdb/common/modules/genunix/
H A Dmemory.c500 pgcnt_t total_pages, physmem; in memstat() local
532 if (mdb_readvar(&total_pages, "total_pages") == -1) { in memstat()
577 #define MS_PCT_TOTAL(x) ((ulong_t)((((5 * total_pages) + ((x) * 1000ull))) / \ in memstat()
648 if (physmem != total_pages) { in memstat()
650 total_pages, in memstat()
651 (uint64_t)total_pages * PAGESIZE / (1024 * 1024)); in memstat()
/titanic_41/usr/src/uts/sun4u/starcat/os/
H A Dstarcat.c200 extern pgcnt_t total_pages; in set_platform_cage_params()
207 MAX(starcat_startup_cage_size, total_pages / 256); in set_platform_cage_params()
/titanic_41/usr/src/uts/common/xen/public/
H A Dsysctl.h99 uint64_aligned_t total_pages; member
/titanic_41/usr/src/uts/sun4u/serengeti/os/
H A Dserengeti.c261 extern pgcnt_t total_pages; in set_platform_cage_params()
268 MAX(serengeti_minimum_cage_size, total_pages / 256); in set_platform_cage_params()
/titanic_41/usr/src/uts/sun4u/lw8/os/
H A Dlw8_platmod.c268 extern pgcnt_t total_pages; in set_platform_cage_params()
275 MAX(serengeti_minimum_cage_size, total_pages / 256); in set_platform_cage_params()
/titanic_41/usr/src/uts/sun4u/opl/os/
H A Dopl.c356 extern pgcnt_t total_pages; in set_platform_cage_params()
364 total_pages / 256); in set_platform_cage_params()
/titanic_41/usr/src/uts/i86pc/os/
H A Dpmem.c303 if (npages == 0 || npages >= total_pages / 2) in devmap_pmem_alloc()
/titanic_41/usr/src/uts/i86xpv/os/
H A Dxen_machdep.c1383 return ((pgcnt_t)pi.total_pages); in xpv_nr_phys_pages()
/titanic_41/usr/src/lib/smbsrv/libmlsvc/common/
H A Dspoolss_svc.c928 pinfo0->total_pages = 21495865; in spoolss_s_GetPrinter()
/titanic_41/usr/src/uts/common/smbsrv/ndl/
H A Dspoolss.ndl188 DWORD total_pages;
/titanic_41/usr/src/uts/sun4/os/
H A Dstartup.c581 kcage_range_init(phys_avail, KCAGE_DOWN, total_pages / 256); in setup_cage_params()
/titanic_41/usr/src/uts/common/fs/proc/
H A Dprsubr.c3582 size_t total_pages = seg_pages(seg); in pr_pagev_create() local
3589 pagev->pg_npages = MIN(total_pages, pagev_lim); in pr_pagev_create()