/dragonfly/contrib/binutils-2.27/libiberty/ |
H A D | physmem.c | 113 double pages = realmem.physmem; in physmem_total() 122 int physmem; in physmem_total() local 124 if (getsysinfo (GSI_PHYSMEM, (caddr_t) &physmem, sizeof (physmem), in physmem_total() 127 double kbytes = physmem; in physmem_total() 137 unsigned int physmem; in physmem_total() local 138 size_t len = sizeof physmem; in physmem_total() 141 if (sysctl (mib, ARRAY_SIZE (mib), &physmem, &len, NULL, 0) == 0 in physmem_total() 142 && len == sizeof (physmem)) in physmem_total() 143 return (double) physmem; in physmem_total() 149 return _system_configuration.physmem; in physmem_total()
|
/dragonfly/contrib/binutils-2.34/libiberty/ |
H A D | physmem.c | 113 double pages = realmem.physmem; in physmem_total() 122 int physmem; in physmem_total() local 124 if (getsysinfo (GSI_PHYSMEM, (caddr_t) &physmem, sizeof (physmem), in physmem_total() 127 double kbytes = physmem; in physmem_total() 137 unsigned int physmem; in physmem_total() local 138 size_t len = sizeof physmem; in physmem_total() 141 if (sysctl (mib, ARRAY_SIZE (mib), &physmem, &len, NULL, 0) == 0 in physmem_total() 142 && len == sizeof (physmem)) in physmem_total() 143 return (double) physmem; in physmem_total() 149 return _system_configuration.physmem; in physmem_total()
|
/dragonfly/contrib/gcc-4.7/libiberty/ |
H A D | physmem.c | 113 double pages = realmem.physmem; in physmem_total() 122 int physmem; in physmem_total() local 124 if (getsysinfo (GSI_PHYSMEM, (caddr_t) &physmem, sizeof (physmem), in physmem_total() 127 double kbytes = physmem; in physmem_total() 137 unsigned int physmem; in physmem_total() local 138 size_t len = sizeof physmem; in physmem_total() 141 if (sysctl (mib, ARRAY_SIZE (mib), &physmem, &len, NULL, 0) == 0 in physmem_total() 142 && len == sizeof (physmem)) in physmem_total() 143 return (double) physmem; in physmem_total() 149 return _system_configuration.physmem; in physmem_total()
|
/dragonfly/contrib/gcc-8.0/libiberty/ |
H A D | physmem.c | 113 double pages = realmem.physmem; in physmem_total() 122 int physmem; in physmem_total() local 124 if (getsysinfo (GSI_PHYSMEM, (caddr_t) &physmem, sizeof (physmem), in physmem_total() 127 double kbytes = physmem; in physmem_total() 137 unsigned int physmem; in physmem_total() local 138 size_t len = sizeof physmem; in physmem_total() 141 if (sysctl (mib, ARRAY_SIZE (mib), &physmem, &len, NULL, 0) == 0 in physmem_total() 142 && len == sizeof (physmem)) in physmem_total() 143 return (double) physmem; in physmem_total() 149 return _system_configuration.physmem; in physmem_total()
|
/dragonfly/gnu/usr.bin/cc47/cc_tools/libiberty/ |
H A D | Makefile | 7 md5.c obstack.c partition.c pex-unix.c physmem.c safe-ctype.c \
|
/dragonfly/sys/dev/drm/ |
H A D | linux_compat.c | 102 si->totalram = physmem; in si_meminfo()
|
/dragonfly/gnu/usr.bin/cc80/cc_tools/libiberty/ |
H A D | Makefile | 10 md5.c obstack.c partition.c pex-unix.c physmem.c safe-ctype.c \
|
/dragonfly/gnu/usr.bin/binutils227/block1/libiberty/ |
H A D | Makefile | 41 physmem.c \
|
/dragonfly/gnu/usr.bin/cc47/libiberty/ |
H A D | Makefile | 44 physmem.o \
|
/dragonfly/gnu/usr.bin/cc80/support-libs/libiberty/ |
H A D | Makefile | 47 physmem.o \
|
/dragonfly/gnu/usr.bin/binutils234/block1/libiberty/ |
H A D | Makefile | 24 partition.c pexecute.c physmem.c \
|
/dragonfly/usr.bin/systat/ |
H A D | vmstat.c | 81 long physmem; member 550 put64(s.physmem, MEMROW + 3, MEMCOLA + 7, 6, 0); in showkre() 892 size_t phys_size = sizeof(ls->physmem); in getinfo() 904 if (sysctlbyname("hw.physmem", &ls->physmem, &phys_size, NULL, 0)) { in getinfo()
|
/dragonfly/contrib/xz/src/common/ |
H A D | tuklib_physmem.c | 143 ret = _system_configuration.physmem; in tuklib_physmem()
|
/dragonfly/sys/platform/pc64/x86_64/ |
H A D | machdep.c | 252 long physmem = 0; variable 265 u_long pmem = ctob(physmem); in sysctl_hw_physmem() 273 SYSCTL_PROC(_hw, HW_PHYSMEM, physmem, CTLTYPE_ULONG|CTLFLAG_RD, 280 u_long usermem = ctob(physmem - vmstats.v_wire_count); in sysctl_hw_usermem() 405 long kbytes = physmem * (PAGE_SIZE / 1024); /* physmem */ in cpu_startup() 436 if (nbuf > physmem * PAGE_SIZE / (NBUFCALCSIZE * 2)) { in cpu_startup() 437 nbuf = physmem * PAGE_SIZE / (NBUFCALCSIZE * 2); in cpu_startup() 2521 physmem += incr / PAGE_SIZE; in getmemsize() 2556 physmem -= atop(phys_avail[pa_indx].phys_end - in getmemsize() 2891 init_param2(physmem); in hammer_time()
|
H A D | minidump_machdep.c | 344 kprintf("Physical memory: %jd MB\n", (intmax_t)ptoa(physmem) / 1048576); in minidumpsys()
|
/dragonfly/sys/platform/vkernel64/x86_64/ |
H A D | cpu_regs.c | 117 u_long pmem = ctob(physmem); in sysctl_hw_physmem() 125 SYSCTL_PROC(_hw, HW_PHYSMEM, physmem, CTLTYPE_ULONG|CTLFLAG_RD,
|
H A D | autoconf.c | 140 long kbytes = physmem * (PAGE_SIZE / 1024); /* physmem */ in cpu_startup()
|
/dragonfly/share/examples/rconfig/ |
H A D | hammer_ccd_mirror.sh | 164 tmp=`sysctl hw.physmem | cut -w -f 2`
|
H A D | hammer_lvm_stripe.sh | 312 tmp=`sysctl hw.physmem | cut -w -f 2`
|
/dragonfly/sys/platform/vkernel64/platform/ |
H A D | init.c | 90 long physmem; variable 580 physmem = Maxmem; in init_sys_memory()
|
/dragonfly/sys/sys/ |
H A D | systm.h | 68 extern long physmem; /* physical memory */
|
/dragonfly/sys/dev/drm/ttm/ |
H A D | ttm_memory.c | 279 if ((physmem * PAGE_SIZE) <= ((uint64_t) 1ULL << 32)) { in ttm_mem_init_dma32_zone()
|
/dragonfly/sys/vm/ |
H A D | vm_page.c | 442 if (bootverbose && ctob(physmem) >= 400LL*1024*1024*1024) in vm_page_startup() 468 if (bootverbose && ctob(physmem) >= 400LL*1024*1024*1024) in vm_page_startup()
|
H A D | vm_pageout.c | 2277 vm_max_launder = physmem / 256 + 16; in vm_pageout_thread()
|
/dragonfly/sys/dev/disk/dm/crypt/ |
H A D | dm_target_crypt.c | 208 nmax = (physmem * 2 / 1000 * PAGE_SIZE) / in dmtc_get_nmax()
|