Searched refs:swapfs_minfree (Results 1 - 10 of 10) sorted by relevance

/illumos-gate/usr/src/uts/common/sys/fs/
H A Dswapnode.h43 extern pgcnt_t swapfs_minfree; /* amount of availrmem (in pages) */
/illumos-gate/usr/src/uts/common/fs/swapfs/
H A Dswap_subr.c48 * swapfs_minfree is the amount of physical memory (actually remaining
50 * means that swapfs can only grow to availrmem - swapfs_minfree. This
56 * not swapfs_minfree.
60 pgcnt_t swapfs_minfree = 0; variable
86 initial_swapfs_minfree = swapfs_minfree;
111 * setting swapfs_desfree at boot time, not swapfs_minfree.
112 * However, swapfs_minfree is tunable by install as a
120 * remains greater than swapfs_minfree; in the case of non-priv
122 * doesn't fall below (swapfs_minfree + swapfs_reserve). Thus,
154 swapfs_minfree
[all...]
/illumos-gate/usr/src/uts/common/vm/
H A Danon.h179 * MAX(ani_max - ani_resv, 0) + (availrmem - swapfs_minfree)
362 (k_anoninfo.ani_max + MAX((spgcnt_t)(availrmem - swapfs_minfree), 0))
369 MAX((spgcnt_t)(availrmem - swapfs_minfree), 0))
H A Dvm_swap.c483 avail = MAX((spgcnt_t)(availrmem - swapfs_minfree), 0);
820 avail = MAX((spgcnt_t)(availrmem - swapfs_minfree), 0);
1316 if (swapfs_minfree < swapfs_desfree) {
1319 swapfs_minfree = swapfs_desfree;
1411 MAX((spgcnt_t)(availrmem - swapfs_minfree), 0)) < pages) {
H A Dvm_anon.c776 * amount needed < (availrmem - swapfs_minfree)
853 * remains greater than swapfs_minfree; in the case of non-priv
855 * doesn't fall below (swapfs_minfree + swapfs_reserve). Thus,
869 floor_pages = swapfs_minfree;
871 floor_pages = swapfs_minfree + swapfs_reserve;
880 if (availrmem > (swapfs_minfree + swapfs_reserve + mswap_pages) ||
881 (availrmem > (swapfs_minfree + mswap_pages) &&
H A Dvm_page.c6238 extern pgcnt_t swapfs_minfree;
6724 if (availrmem < swapfs_minfree) {
6985 (availrmem < swapfs_minfree)) {
/illumos-gate/usr/src/uts/common/io/
H A Dphysmem.c544 if (swapfs_minfree > availrmem + 1) {
/illumos-gate/usr/src/uts/common/cpr/
H A Dcpr_misc.c36 #include <sys/fs/swapnode.h> /* for swapfs_minfree */
617 MAX(availrmem - swapfs_minfree, 0),
/illumos-gate/usr/src/uts/common/os/
H A Dclock.c837 MAX((spgcnt_t)(availrmem - swapfs_minfree), 0);
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Darc.c3906 * availrmem is greater than swapfs_minfree, and the number of reserved
3910 n = PAGESIZE * (availrmem - swapfs_minfree - swapfs_reserve -
5877 uint64_t allmem = ptob(physmem - swapfs_minfree);

Completed in 92 milliseconds