/freebsd-13-stable/sys/mips/mediatek/ |
H A D | mtk_machdep.c | 120 physmem = btoc(val); 123 ctob(physmem) / (1024 * 1024)); 143 physmem = btoc(strtol(memsize, NULL, 0) << 20); 145 ctob(physmem) / (1024 * 1024)); 147 physmem = btoc(32 * 1024 * 1024); 149 ctob(physmem) / (1024 * 1024)); 154 dump_avail[1] = phys_avail[1] = ctob(physmem) 156 } else if (ctob(physmem) < (448 * 1024 * 1024)) { 161 dump_avail[1] = phys_avail[1] = ctob(physmem); 169 phys_avail[3] = phys_avail[2] + ctob(physmem) [all...] |
/freebsd-13-stable/sys/mips/ingenic/ |
H A D | jz4780_machdep.c | 131 physmem = realmem = btoc(32 * 1024 * 1024); 145 physmem = realmem = btoc(val); 166 init_param2(physmem);
|
/freebsd-13-stable/sys/contrib/openzfs/include/os/linux/spl/sys/ |
H A D | vmsystm.h | 48 #define physmem zfs_totalram_pages macro
|
/freebsd-13-stable/usr.sbin/bsnmpd/modules/snmp_hostres/ |
H A D | hostres_scalars.c | 283 u_long physmem; local 284 size_t len = sizeof(physmem); 286 if (sysctl(mib, 2, &physmem, &len, NULL, 0) == -1) { 292 phys_mem_size = physmem / 1024;
|
/freebsd-13-stable/sys/mips/broadcom/ |
H A D | bcm_machdep.c | 476 physmem = 0; 507 physmem += len; 510 BCM_TRACE("Total phys memory is : %ld\n", physmem); 511 realmem = btoc(physmem); 517 physmem = realmem; 520 init_param2(physmem);
|
/freebsd-13-stable/sys/vm/ |
H A D | vm_init.c | 100 long physmem; variable 181 physmem_est = lmin(physmem, btoc(vm_map_max(kernel_map) -
|
/freebsd-13-stable/sys/mips/beri/ |
H A D | beri_machdep.c | 115 physmem = realmem; 119 physmem = btoc(val); 140 init_param2(physmem);
|
/freebsd-13-stable/sys/kern/ |
H A D | subr_physmem.c | 42 #include <sys/physmem.h> 394 * Updates the kernel global 'physmem' with the number of physical pages 407 TUNABLE_ULONG_FETCH("hw.physmem", &hwphyssz); 412 PHYS_AVAIL_ENTRIES, hwphyssz, &physmem, &realmem); 421 DB_SHOW_COMMAND(physmem, db_show_physmem)
|
H A D | kern_mib.c | 203 if (physmem < p) 204 p = physmem; 208 SYSCTL_PROC(_hw, HW_PHYSMEM, physmem, 234 p1 = physmem - vm_wire_count(); 246 SYSCTL_LONG(_hw, OID_AUTO, availpages, CTLFLAG_RD, &physmem, 0,
|
/freebsd-13-stable/sbin/dumpon/ |
H A D | dumpon.c | 193 unsigned long physmem; local 202 len = sizeof(physmem); 203 if (sysctl(name, namelen, &physmem, &len, NULL, 0) != 0) 207 if ((uintmax_t)mediasize < (uintmax_t)physmem)
|
/freebsd-13-stable/sys/mips/cavium/ |
H A D | octeon_machdep.c | 223 realmem = physmem = btoc(phys_avail[1] - phys_avail[0]); 258 physmem += btoc(1 << 20); 274 realmem = physmem; 364 init_param2(physmem);
|
/freebsd-13-stable/sys/mips/atheros/ar531x/ |
H A D | ar5315_machdep.c | 231 physmem = realmem; 309 init_param2(physmem);
|
/freebsd-13-stable/sys/mips/atheros/ |
H A D | ar71xx_machdep.c | 361 physmem = realmem; 419 init_param2(physmem);
|
/freebsd-13-stable/sys/mips/malta/ |
H A D | malta_machdep.c | 210 physmem = realmem; 213 init_param2(physmem);
|
/freebsd-13-stable/contrib/xz/src/common/ |
H A D | tuklib_physmem.c | 143 ret = _system_configuration.physmem;
|
/freebsd-13-stable/sys/contrib/openzfs/module/os/freebsd/zfs/ |
H A D | arc_os.c | 200 return (ptob(physmem));
|
/freebsd-13-stable/sys/powerpc/powerpc/ |
H A D | machdep.c | 197 printf("real memory = %ju (%ju MB)\n", ptoa((uintmax_t)physmem), 198 ptoa((uintmax_t)physmem) / 1048576); 199 realmem = physmem; 468 init_param2(physmem);
|
H A D | minidump_machdep.c | 311 ptoa((uintmax_t)physmem) / 1048576);
|
/freebsd-13-stable/sys/contrib/openzfs/cmd/zstream/ |
H A D | zstream_redup.c | 201 uint64_t physmem = sysconf(_SC_PHYS_PAGES) * sysconf(_SC_PAGESIZE); local 203 MAX((physmem * MAX_RDT_PHYSMEM_PERCENT) / 100,
|
/freebsd-13-stable/sys/mips/nlm/ |
H A D | xlp_machdep.c | 350 init_param2(physmem); 502 realmem = physmem = btoc(physsz);
|
/freebsd-13-stable/sys/contrib/openzfs/lib/libzpool/ |
H A D | kernel.c | 54 uint64_t physmem; variable 797 physmem = sysconf(_SC_PHYS_PAGES); 799 dprintf("physmem = %llu pages (%.2f GB)\n", physmem, 800 (double)physmem * sysconf(_SC_PAGE_SIZE) / (1ULL << 30));
|
/freebsd-13-stable/sys/contrib/openzfs/module/os/linux/zfs/ |
H A D | arc_os.c | 455 return (ptob(physmem) / 2);
|
/freebsd-13-stable/sys/mips/mips/ |
H A D | minidump_machdep.c | 241 ptoa((uintmax_t)physmem) / 1048576);
|
/freebsd-13-stable/sys/compat/linuxkpi/common/src/ |
H A D | linux_page.c | 70 si->totalram = physmem;
|
/freebsd-13-stable/sys/i386/i386/ |
H A D | minidump_machdep_base.c | 262 printf("Physical memory: %ju MB\n", ptoa((uintmax_t)physmem) / 1048576);
|