Searched defs:physmem (Results 1 - 9 of 9) sorted by relevance

/illumos-gate/usr/src/cmd/fm/modules/sun4v/cpumem-diagnosis/
H A Dcmd_memerr_arch.c551 uint64_t bmem, physmem = 0; local
580 physmem = 0;
583 physmem += bmem;
585 npage = (ulong_t)(physmem / cmd.cmd_pagesize);
/illumos-gate/usr/src/uts/common/os/
H A Dkstat_fr.c181 kstat_named_t physmem; member in struct:__anon370
202 { "physmem", KSTAT_DATA_ULONG },
883 system_pages_kstat.physmem.value.ul = (ulong_t)physmem;
/illumos-gate/usr/src/cmd/prstat/
H A Dprstat.c239 size_t physmem = sysconf(_SC_PHYS_PAGES) * pagesize; local
338 (float)physmem;
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dmemory.c504 pgcnt_t total_pages, physmem; local
542 if (mdb_readvar(&physmem, "physmem") == -1) {
543 mdb_warn("unable to read physmem");
562 * If physmem != total_pages, then the administrator has limited the
582 ((physmem) * 10)))
628 if (physmem > stats.ms_total)
629 freemem = physmem - stats.ms_total;
657 physmem,
658 (uint64_t)physmem * PAGESIZ
[all...]
/illumos-gate/usr/src/lib/libzpool/common/
H A Dkernel.c49 uint64_t physmem; variable
934 physmem = sysconf(_SC_PHYS_PAGES);
936 dprintf("physmem = %llu pages (%.2f GB)\n", physmem,
937 (double)physmem * sysconf(_SC_PAGE_SIZE) / (1ULL << 30));
/illumos-gate/usr/src/uts/sun4/os/
H A Dstartup.c120 pgcnt_t physmem = 0; /* memory size in pages, patch if you want less */ variable
433 * | segmap segment | SEGMAPSIZE (1/8th physmem,
1314 * If physmem is patched to be non-zero, use it instead of
1315 * the monitor value unless physmem is larger than the total
1318 if (physmem == 0 || physmem > npages)
1319 physmem = npages;
1328 * a significant portion of memory), physmem is adjusted.
1336 physmem -= ramdisk_npages;
1549 maxmem = physmem;
[all...]
/illumos-gate/usr/src/uts/i86pc/os/
H A Dstartup.c208 * than PHYSMEM is required in 32 bit mode, physmem can be set to the desired
232 pgcnt_t physmem = PHYSMEM; variable
1156 * If physmem is patched to be non-zero, use it instead of the computed
1159 if (physmem == 0 || physmem > npages) {
1160 physmem = npages;
1161 } else if (physmem < npages) {
1163 npages = physmem;
1165 PRM_DEBUG(physmem);
1236 pse_shift = size_pse_array(physmem, max_ncpu
[all...]
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_sendrecv.c242 uint64_t physmem = sysconf(_SC_PHYS_PAGES) * sysconf(_SC_PAGESIZE); local
246 MAX((physmem * MAX_DDT_PHYSMEM_PERCENT) / 100,
/illumos-gate/usr/src/cmd/zonestat/zonestatd/
H A Dzonestatd.c3227 uint64_t physmem; local
3341 knp = kstat_data_lookup(kstat, "physmem");
3343 zsd_warn(gettext("Unable to read physmem"));
3346 physmem = knp->value.ui64;
3348 physmem = knp->value.ui32;
3364 physmem *= ctl->zsctl_pagesize;
3542 if ((phys_total - physmem) > 0)
3543 sys->zss_locked_kern += phys_total - physmem;

Completed in 108 milliseconds