Searched refs:realmem (Results 1 - 13 of 13) sorted by relevance

/freebsd-current/tools/test/stress2/misc/
H A Dnuma.sh38 real=`sysctl -n hw.realmem` # HW size
/freebsd-current/sys/dev/xen/balloon/
H A Dballoon.c134 if (realmem < MB2PAGES(128))
135 min_pages = MB2PAGES(8) + (realmem >> 1);
136 else if (realmem < MB2PAGES(512))
137 min_pages = MB2PAGES(40) + (realmem >> 2);
138 else if (realmem < MB2PAGES(2048))
139 min_pages = MB2PAGES(104) + (realmem >> 3);
141 min_pages = MB2PAGES(296) + (realmem >> 5);
376 bs.current_pages = realmem;
/freebsd-current/sys/kern/
H A Dkern_mib.c215 if (realmem < p)
216 p = realmem;
220 SYSCTL_PROC(_hw, HW_REALMEM, realmem,
H A Dsubr_physmem.c95 * realmem is the total number of hardware pages, excluded or not.
98 long realmem; variable
541 PHYS_AVAIL_ENTRIES, hwphyssz, &physmem, &realmem);
H A Dkern_mbuf.c155 quad_t realmem; local
163 realmem = qmin((quad_t)physmem * PAGE_SIZE, vm_kmem_size);
164 maxmbufmem = realmem / 2;
166 if (maxmbufmem > realmem / 4 * 3)
167 maxmbufmem = realmem / 4 * 3;
/freebsd-current/sys/riscv/riscv/
H A Dmachdep.c136 printf("real memory = %ju (%ju MB)\n", ptoa((uintmax_t)realmem),
137 ptoa((uintmax_t)realmem) / (1024 * 1024));
/freebsd-current/sys/arm/arm/
H A Dmachdep.c197 (uintmax_t)arm32_ptob(realmem),
198 (uintmax_t)arm32_ptob(realmem) / mbyte);
/freebsd-current/sys/powerpc/powerpc/
H A Dmachdep.c170 long realmem = 0; variable
201 realmem = physmem;
/freebsd-current/sys/arm64/arm64/
H A Dmachdep.c232 printf("real memory = %ju (%ju MB)\n", ptoa((uintmax_t)realmem),
233 ptoa((uintmax_t)realmem) / 1024 / 1024);
/freebsd-current/sys/sys/
H A Dsystm.h61 extern long realmem; /* 'real' memory */
/freebsd-current/sys/i386/i386/
H A Dmachdep.c176 long realmem = 0; variable
264 realmem = atop(memsize);
1061 * memory size and is displayed as "realmem".
/freebsd-current/sys/amd64/amd64/
H A Dmachdep.c200 long realmem = 0; variable
270 realmem = atop(memsize);
/freebsd-current/sys/dev/agp/
H A Dagp.c228 memsize = ptoa(realmem) >> 20;

Completed in 183 milliseconds