Home
last modified time | relevance | path

Searched refs:physmem (Results 1 – 25 of 84) sorted by relevance

1234

/freebsd/tools/test/stress2/misc/
H A Doom.sh38 [ `sysctl -n hw.physmem` -gt $(( 1 * 1024 * 1024 * 1024)) ] &&
40 [ `sysctl -n hw.physmem` -gt $(( 8 * 1024 * 1024 * 1024)) ] && exit 0
H A Dvmio.sh43 [ `sysctl -n hw.physmem` -gt $(( 8 * 1024 * 1024 * 1024)) ] && exit 0
45 size=$((`sysctl -n hw.physmem` / 1024 / 1024))
H A Dswap3.sh34 [ `sysctl -n hw.physmem` -gt $(( 1 * 1024 * 1024 * 1024)) ] &&
H A Dnuma.sh37 phys=`sysctl -n hw.physmem` # clamped size
H A D256m.sh39 [ `sysctl -n hw.physmem` -gt $((256 * 1024 * 1024)) ] &&
H A Doom2.sh37 [ `sysctl -n hw.physmem` -gt $((32 * 1024 * 1024 * 1024)) ] &&
H A Dswap5.sh38 [ `sysctl -n hw.physmem` -lt $(( 5 * 1024 * 1024 * 1024)) ] && exit 0
H A Dmarcus3.sh39 size=$((`sysctl -n hw.physmem` / 1024 / 1024))
H A Dmaxmemdom.sh37 size=$((`sysctl -n hw.physmem` / 1024 / 1024))
H A Dbuildworld2.sh37 [ `sysctl -n hw.physmem` -gt $(( 2 * 1024 * 1024 * 1024)) ] &&
H A Dswapoff.sh39 [ `sysctl -n hw.physmem` -gt $(( 4 * 1024 * 1024 * 1024)) ] &&
H A Dmarcus4.sh43 size=$((`sysctl -n hw.physmem` / 1024 / 1024))
H A Dumount2.sh47 size=$((`sysctl -n hw.physmem` / 1024 / 1024))
H A Dmarcus5.sh46 size=$((`sysctl -n hw.physmem` / 1024 / 1024))
H A Dmarcus6.sh45 size=$((`sysctl -n hw.physmem` / 1024 / 1024))
H A Dmarcus7.sh49 size=$((`sysctl -n hw.physmem` / 1024 / 1024))
/freebsd/usr.sbin/bsnmpd/modules/snmp_hostres/
H A Dhostres_scalars.c258 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/usr.sbin/bsdinstall/scripts/
H A Dauto186 physmem=$(($(sysctl -n hw.physmem) / 1048576))
187 if [ $physmem -lt 200 ]; then
189 …--msgbox "Insufficient physical memory (${physmem} MiB) detected. At least 256 MiB is recommended.…
/freebsd/sys/vm/
H A Dvm_init.c95 long physmem; variable
206 physmem_est = lmin(physmem, btoc(vm_map_max(kernel_map) - in vm_ksubmap_init()
/freebsd/sys/contrib/openzfs/lib/libspl/include/sys/
H A Dsystm.h34 #define physmem libspl_physmem() macro
/freebsd/sys/powerpc/powerpc/
H A Dmachdep.c201 printf("real memory = %ju (%ju MB)\n", ptoa((uintmax_t)physmem), in cpu_startup()
202 ptoa((uintmax_t)physmem) / 1048576); in cpu_startup()
203 realmem = physmem; in cpu_startup()
479 init_param2(physmem); in powerpc_init()
/freebsd/sys/kern/
H A Dkern_mib.c205 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 Ddumpon.c199 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 Darc_os.c71 return (ptob(physmem) / 2); in arc_all_memory()
/freebsd/sys/contrib/openzfs/include/os/linux/spl/sys/
H A Dvmsystm.h52 #define physmem zfs_totalram_pages macro

1234