Searched refs:swapctl (Results 1 - 18 of 18) sorted by relevance

/illumos-gate/usr/src/lib/libc/port/gen/
H A Dswapctl.c38 swapctl(int cmd, void *arg) function
/illumos-gate/usr/src/cmd/dumpadm/
H A Dswap.c45 if ((n = swapctl(SC_GETNSWP, NULL)) == -1) {
65 if ((n = swapctl(SC_LIST, swt)) == -1) {
/illumos-gate/usr/src/uts/common/sys/
H A Dswap.h52 #error "Cannot use swapctl in the large files compilation environment"
55 /* The following are for the swapctl system call */
111 extern int swapctl(int, void *, int *);
116 extern int swapctl(int, void *);
/illumos-gate/usr/src/cmd/swap/
H A Dswap.c324 if (swapctl(SC_AINFO, &ai) == -1) {
378 if ((num = swapctl(SC_GETNSWP, NULL)) == -1) {
407 if ((num = swapctl(SC_LIST, st)) == -1) {
571 if (swapctl(SC_REMOVE, &swr) < 0) {
669 if (swapctl(SC_ADD, &swr) < 0) {
689 * If the swapctl worked and we don't have a dump device, and /etc
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dmemstat.c79 r = swapctl(SC_AINFO, &ai);
/illumos-gate/usr/src/cmd/format/
H A Dcheckdev.c88 if ((num = swapctl(SC_GETNSWP, (void *)NULL)) == -1) {
89 err_print("swapctl error ");
107 if ((num = swapctl(SC_LIST, (void *)st)) == -1) {
108 err_print("swapctl error ");
/illumos-gate/usr/src/man/man2/
H A DMakefile143 swapctl.2 \
/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A Dswap_rcm.c326 * Invoke swap(1M) instead of swapctl(2) to
581 if ((n = swapctl(SC_GETNSWP, NULL)) == -1)
595 if ((n = swapctl(SC_LIST, swt)) == -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)"));
132 if (((*nswap) = swapctl(SC_LIST, (*swtpp))) < 0) {
133 (void) mdsyserror(ep, errno, "swapctl(SC_LIST)");
/illumos-gate/usr/src/uts/common/syscall/
H A Duadmin.c429 * The swapctl system call doesn't have its own entry point: it uses
434 error = swapctl(fcn, (void *)mdep, &rv);
/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Dentry.c748 if ((count = swapctl(SC_GETNSWP, NULL)) < 0) {
779 count = swapctl(SC_LIST, tbl);
879 * are ignored, so we add a special check here to use swapctl(2)
/illumos-gate/usr/src/lib/libc/i386/
H A DMakefile.com587 swapctl.o \
/illumos-gate/usr/src/lib/libc/sparcv9/
H A DMakefile.com578 swapctl.o \
/illumos-gate/usr/src/lib/libc/amd64/
H A DMakefile554 swapctl.o \
/illumos-gate/usr/src/cmd/zonestat/zonestatd/
H A Dzonestatd.c3259 num_swap_devices = swapctl(SC_GETNSWP, NULL);
3300 num_swap_devices = swapctl(SC_LIST, ctl->zsctl_swap_cache);
3381 if (swapctl(SC_AINFO, &ani) < 0) {
/illumos-gate/usr/src/uts/common/vm/
H A Dvm_swap.c439 swapctl(int sc_cmd, void *sc_arg, int *rv) function
843 * See the comment for the SC_AINFO case in swapctl()
/illumos-gate/usr/src/lib/libc/port/
H A Dllib-lc992 /* swapctl.c */
993 int swapctl(int cmd, void *arg);
/illumos-gate/usr/src/lib/libc/sparc/
H A DMakefile.com621 swapctl.o \

Completed in 89 milliseconds