/titanic_41/usr/src/uts/common/conf/ |
H A D | param.c | 568 original_physmem = physmem; in param_preset() 581 if (physmem > original_physmem) { in param_calc() 582 physmem = original_physmem; in param_calc() 583 cmn_err(CE_NOTE, "physmem limited to %ld", physmem); in param_calc() 587 pgcnt_t physmegs = physmem >> (20 - PAGESHIFT); in param_calc() 703 if (physmem != original_physmem) { in param_check() 706 physmem); in param_check() 707 physmem = original_physmem; in param_check()
|
/titanic_41/usr/src/uts/common/fs/swapfs/ |
H A D | swap_subr.c | 179 if (!swapfs_recalc(physmem)) in swapinit() 181 swapfs_minfree, physmem); in swapinit() 357 (void) swapfs_recalc(physmem - swapfs_pending_delete); in swap_mem_config_post_add() 369 if (!swapfs_recalc(physmem - nv)) { in swap_mem_config_pre_del() 391 (void) swapfs_recalc(physmem - nv); in swap_mem_config_post_del()
|
/titanic_41/usr/src/uts/common/io/ |
H A D | dump.c | 105 size = ptob((uint64_t)physmem) / DUMP_COMPRESS_RATIO; in dump_ioctl() 130 if (dumpsize_in_pages > (uint64_t)physmem) in dump_ioctl() 131 dumpsize_in_pages = (uint64_t)physmem; in dump_ioctl()
|
/titanic_41/usr/src/uts/sun4/os/ |
H A D | startup.c | 120 pgcnt_t physmem = 0; /* memory size in pages, patch if you want less */ variable 1318 if (physmem == 0 || physmem > npages) in startup_memlist() 1319 physmem = npages; in startup_memlist() 1336 physmem -= ramdisk_npages; in startup_memlist() 1549 maxmem = physmem; in startup_modules() 1887 if (physmem + ramdisk_npages < npages) { in startup_vm() 1892 cmn_err(CE_WARN, "limiting physmem to %ld pages", physmem); in startup_vm() 1895 diff = npages - (physmem + ramdisk_npages); in startup_vm() 1925 if (physmem < privm_lpg_min_physmem) { in startup_vm() 1950 max_phys_segkp = (physmem * 2); in startup_vm() [all …]
|
/titanic_41/usr/src/uts/intel/physmem/ |
H A D | Makefile | 42 MODULE = physmem
|
/titanic_41/usr/src/uts/sparc/physmem/ |
H A D | Makefile | 41 MODULE = physmem
|
/titanic_41/usr/src/uts/i86pc/os/ |
H A D | startup.c | 230 pgcnt_t physmem = PHYSMEM; variable 1095 if (physmem == 0 || physmem > npages) { in startup_memlist() 1096 physmem = npages; in startup_memlist() 1097 } else if (physmem < npages) { in startup_memlist() 1099 npages = physmem; in startup_memlist() 1101 PRM_DEBUG(physmem); in startup_memlist() 1172 pse_shift = size_pse_array(physmem, max_ncpus); in startup_memlist() 1570 maxmem = physmem; in startup_modules() 1811 sz = MIN(sz, MAX(SEGKPMINSIZE, mmu_ptob(physmem))); in layout_kernel_va() 1830 size_t physmem_size = mmu_ptob(physmem); in layout_kernel_va() [all …]
|
H A D | fakebop.c | 204 if (physmem != 0 && high_phys > pfn_to_pa(physmem)) in do_bop_phys_alloc() 205 high_phys = pfn_to_pa(physmem); in do_bop_phys_alloc() 739 if (0 < lvalue && (lvalue < physmem || physmem == 0)) { in boot_prop_finish() 740 physmem = (pgcnt_t)lvalue; in boot_prop_finish() 741 DBG(physmem); in boot_prop_finish()
|
H A D | memscrub.c | 174 if (physmem < memscrub_min_pages) in memscrub_init()
|
/titanic_41/usr/src/cmd/fm/modules/sun4v/cpumem-diagnosis/ |
H A D | cmd_memerr_arch.c | 552 uint64_t bmem, physmem = 0; in cmd_mem_get_phys_pages() local 581 physmem = 0; in cmd_mem_get_phys_pages() 584 physmem += bmem; in cmd_mem_get_phys_pages() 586 npage = (ulong_t)(physmem / cmd.cmd_pagesize); in cmd_mem_get_phys_pages()
|
/titanic_41/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | memory.c | 500 pgcnt_t total_pages, physmem; in memstat() local 538 if (mdb_readvar(&physmem, "physmem") == -1) { in memstat() 578 ((physmem) * 10))) in memstat() 616 if (physmem > stats.ms_total) in memstat() 617 freemem = physmem - stats.ms_total; in memstat() 645 physmem, in memstat() 646 (uint64_t)physmem * PAGESIZE / (1024 * 1024)); in memstat() 648 if (physmem != total_pages) { in memstat()
|
/titanic_41/usr/src/lib/libzpool/common/ |
H A D | kernel.c | 49 uint64_t physmem; variable 925 physmem = sysconf(_SC_PHYS_PAGES); in kernel_init() 927 dprintf("physmem = %llu pages (%.2f GB)\n", physmem, in kernel_init() 928 (double)physmem * sysconf(_SC_PAGE_SIZE) / (1ULL << 30)); in kernel_init()
|
/titanic_41/usr/src/uts/sun4/vm/ |
H A D | vm_dep.c | 617 if (maptype != MAPPGSZ_ISM && physmem < privm_lpg_min_physmem) { in map_pgsz() 655 if (physmem < min_physmem || max_lpsize <= MMU_PAGESIZE) { in map_szcvec() 1058 size_t memtotal = physmem * PAGESIZE; in get_segkmem_lpsize()
|
/titanic_41/usr/src/pkg/manifests/ |
H A D | system-kernel.man7d.inc | 32 file path=usr/share/man/man7d/physmem.7d
|
/titanic_41/usr/src/uts/common/vm/ |
H A D | vm_seg.c | 1403 physmegs = physmem >> (20 - PAGESHIFT); in seg_pinit() 1409 if (segpcache_hashsize_win == 0 || segpcache_hashsize_win > physmem) { in seg_pinit() 1415 segpcache_hashsize_win = MAX(1024, physmem / pages_per_bucket); in seg_pinit() 1448 segpcache_hashsize_wired > physmem / 4) { in seg_pinit()
|
/titanic_41/usr/src/man/man7d/ |
H A D | Makefile | 99 physmem.7d \
|
/titanic_41/usr/src/uts/common/sys/ |
H A D | systm.h | 73 extern pgcnt_t physmem; /* physical memory (pages) on this CPU */
|
/titanic_41/usr/src/uts/common/os/ |
H A D | kstat_fr.c | 181 kstat_named_t physmem; member 883 system_pages_kstat.physmem.value.ul = (ulong_t)physmem; in system_pages_kstat_update()
|
H A D | pid.c | 681 upc_hashsize = (1 << highbit(physmem >> (20 - PAGESHIFT))); in upcount_init()
|
/titanic_41/usr/src/uts/sparc/ |
H A D | Makefile.sparc | 215 DRV_KMODS += log logindmux kssl mm nca physmem pm poll pool
|
/titanic_41/usr/src/lib/libzpool/common/sys/ |
H A D | zfs_context.h | 531 extern uint64_t physmem;
|
/titanic_41/usr/src/uts/i86pc/vm/ |
H A D | vm_machdep.c | 378 if (maptype != MAPPGSZ_ISM && physmem < privm_lpg_min_physmem) { in map_pgsz() 437 if (physmem < min_physmem || max_lpsize <= MMU_PAGESIZE) { in map_szcvec() 2345 io_pool_cnt_max = physmem / (100 / io_pool_physmem_pct); in populate_io_pool() 2361 if (io_pool_cnt_max < physmem / 4) in populate_io_pool()
|
/titanic_41/usr/src/uts/intel/ |
H A D | Makefile.intel | 296 DRV_KMODS += physmem
|
/titanic_41/usr/src/cmd/zonestat/zonestatd/ |
H A D | zonestatd.c | 3227 uint64_t physmem; in zsd_refresh_memory() local 3346 physmem = knp->value.ui64; in zsd_refresh_memory() 3348 physmem = knp->value.ui32; in zsd_refresh_memory() 3364 physmem *= ctl->zsctl_pagesize; in zsd_refresh_memory() 3542 if ((phys_total - physmem) > 0) in zsd_refresh_memory() 3543 sys->zss_locked_kern += phys_total - physmem; in zsd_refresh_memory()
|
/titanic_41/usr/src/uts/common/io/1394/targets/av1394/ |
H A D | av1394_isoch_chan.c | 441 if (btopr(totalsz) > physmem / AV1394_MEM_MAX_PERCENT) { in av1394_ic_alloc_pool()
|