/freebsd/tools/test/stress2/misc/ |
H A D | oom.sh | 38 [ `sysctl -n hw.physmem` -gt $(( 1 * 1024 * 1024 * 1024)) ] && 40 [ `sysctl -n hw.physmem` -gt $(( 8 * 1024 * 1024 * 1024)) ] && exit 0
|
H A D | vmio.sh | 43 [ `sysctl -n hw.physmem` -gt $(( 8 * 1024 * 1024 * 1024)) ] && exit 0 45 size=$((`sysctl -n hw.physmem` / 1024 / 1024))
|
H A D | swap3.sh | 34 [ `sysctl -n hw.physmem` -gt $(( 1 * 1024 * 1024 * 1024)) ] &&
|
H A D | numa.sh | 37 phys=`sysctl -n hw.physmem` # clamped size
|
H A D | 256m.sh | 39 [ `sysctl -n hw.physmem` -gt $((256 * 1024 * 1024)) ] &&
|
H A D | oom2.sh | 37 [ `sysctl -n hw.physmem` -gt $((32 * 1024 * 1024 * 1024)) ] &&
|
H A D | swap5.sh | 38 [ `sysctl -n hw.physmem` -lt $(( 5 * 1024 * 1024 * 1024)) ] && exit 0
|
H A D | marcus3.sh | 39 size=$((`sysctl -n hw.physmem` / 1024 / 1024))
|
H A D | maxmemdom.sh | 37 size=$((`sysctl -n hw.physmem` / 1024 / 1024))
|
H A D | buildworld2.sh | 37 [ `sysctl -n hw.physmem` -gt $(( 2 * 1024 * 1024 * 1024)) ] &&
|
H A D | swapoff.sh | 39 [ `sysctl -n hw.physmem` -gt $(( 4 * 1024 * 1024 * 1024)) ] &&
|
H A D | marcus4.sh | 43 size=$((`sysctl -n hw.physmem` / 1024 / 1024))
|
H A D | umount2.sh | 47 size=$((`sysctl -n hw.physmem` / 1024 / 1024))
|
H A D | marcus5.sh | 46 size=$((`sysctl -n hw.physmem` / 1024 / 1024))
|
H A D | marcus6.sh | 45 size=$((`sysctl -n hw.physmem` / 1024 / 1024))
|
H A D | marcus7.sh | 49 size=$((`sysctl -n hw.physmem` / 1024 / 1024))
|
H A D | gjournal4.sh | 33 [ `sysctl -n hw.physmem` -lt $(( 4 * 1024 * 1024 * 1024)) ] && exit 0
|
H A D | zfs7.sh | 38 [ `sysctl -n hw.physmem` -lt $(( 4 * 1024 * 1024 * 1024)) ] && exit 0
|
/freebsd/usr.sbin/bsnmpd/modules/snmp_hostres/ |
H A D | hostres_scalars.c | 258 u_long physmem; in OS_getMemorySize() local 259 size_t len = sizeof(physmem); in OS_getMemorySize() 261 if (sysctl(mib, 2, &physmem, &len, NULL, 0) == -1) { in OS_getMemorySize() 267 phys_mem_size = physmem / 1024; in OS_getMemorySize()
|
/freebsd/sys/vm/ |
H A D | vm_init.c | 95 long physmem; variable 198 physmem_est = lmin(physmem, btoc(vm_map_max(kernel_map) - in vm_ksubmap_init()
|
/freebsd/sys/powerpc/powerpc/ |
H A D | machdep.c | 200 printf("real memory = %ju (%ju MB)\n", ptoa((uintmax_t)physmem), in cpu_startup() 201 ptoa((uintmax_t)physmem) / 1048576); in cpu_startup() 202 realmem = physmem; in cpu_startup() 477 init_param2(physmem); in powerpc_init()
|
/freebsd/sys/kern/ |
H A D | kern_mib.c | 205 if (physmem < p) in sysctl_hw_physmem() 206 p = physmem; in sysctl_hw_physmem() 210 SYSCTL_PROC(_hw, HW_PHYSMEM, physmem, 236 p1 = physmem - vm_wire_count(); in sysctl_hw_usermem() 248 SYSCTL_LONG(_hw, OID_AUTO, availpages, CTLFLAG_RD, &physmem, 0,
|
/freebsd/sbin/dumpon/ |
H A D | dumpon.c | 199 unsigned long physmem; in check_size() local 208 len = sizeof(physmem); in check_size() 209 if (sysctl(name, namelen, &physmem, &len, NULL, 0) != 0) in check_size() 213 if ((uintmax_t)mediasize < (uintmax_t)physmem) in check_size()
|
/freebsd/sys/contrib/openzfs/lib/libzpool/ |
H A D | arc_os.c | 70 return (ptob(physmem) / 2); in arc_all_memory()
|
/freebsd/sys/contrib/openzfs/include/os/linux/spl/sys/ |
H A D | vmsystm.h | 51 #define physmem zfs_totalram_pages macro
|