Searched refs:SC_GETNSWP (Results 1 - 9 of 9) sorted by relevance

/illumos-gate/usr/src/cmd/dumpadm/
H A Dswap.c45 if ((n = swapctl(SC_GETNSWP, NULL)) == -1) {
/illumos-gate/usr/src/uts/common/sys/
H A Dswap.h60 #define SC_GETNSWP 4 /* get number of swap resources configured */ macro
/illumos-gate/usr/src/cmd/format/
H A Dcheckdev.c88 if ((num = swapctl(SC_GETNSWP, (void *)NULL)) == -1) {
/illumos-gate/usr/src/cmd/swap/
H A Dswap.c378 if ((num = swapctl(SC_GETNSWP, NULL)) == -1) {
/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A Dswap_rcm.c581 if ((n = swapctl(SC_GETNSWP, NULL)) == -1)
/illumos-gate/usr/src/lib/lvm/libmeta/common/
H A Dmeta_check.c119 if ((*nswap = swapctl(SC_GETNSWP, NULL)) < 0) {
120 return (mdsyserror(ep, errno, "swapctl(SC_GETNSWP)"));
/illumos-gate/usr/src/uts/common/vm/
H A Dvm_swap.c466 case SC_GETNSWP:
803 case SC_GETNSWP:
/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Dentry.c748 if ((count = swapctl(SC_GETNSWP, NULL)) < 0) {
/illumos-gate/usr/src/cmd/zonestat/zonestatd/
H A Dzonestatd.c3259 num_swap_devices = swapctl(SC_GETNSWP, NULL);

Completed in 92 milliseconds