Searched refs:pgcap (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/tmpfs/
H A Dtmp_vfsops.c612 pgcnt_t pgcap, pgused; local
619 pgcap = btop(cap);
622 sbp->f_bfree = MIN(pgcap - pgused, sbp->f_bfree);
624 sbp->f_blocks = MIN(pgcap, sbp->f_blocks);
/illumos-gate/usr/src/uts/common/vm/
H A Dvm_swap.c552 pgcnt_t pgcap, sys_avail; local
559 pgcap = MIN(btop(cap), ai.ani_max);
560 ai.ani_free = pgcap - btop(used);
565 ai.ani_resv = pgcap - sys_avail;
569 ai.ani_max = pgcap;
847 pgcnt_t pgcap, sys_avail; local
854 pgcap = MIN(btop(cap), ai.ani_max);
855 ai.ani_free = pgcap - btop(used);
860 ai.ani_resv = pgcap - sys_avail;
864 ai.ani_max = pgcap;
[all...]

Completed in 59 milliseconds