Searched refs:swapctl (Results 1 - 18 of 18) sorted by relevance
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | swapctl.c | 38 swapctl(int cmd, void *arg) function
|
/illumos-gate/usr/src/cmd/dumpadm/ |
H A D | swap.c | 45 if ((n = swapctl(SC_GETNSWP, NULL)) == -1) { 65 if ((n = swapctl(SC_LIST, swt)) == -1) {
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | swap.h | 52 #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 D | swap.c | 324 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 D | memstat.c | 79 r = swapctl(SC_AINFO, &ai);
|
/illumos-gate/usr/src/cmd/format/ |
H A D | checkdev.c | 88 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 D | Makefile | 143 swapctl.2 \
|
/illumos-gate/usr/src/cmd/rcm_daemon/common/ |
H A D | swap_rcm.c | 326 * 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 D | meta_check.c | 119 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 D | uadmin.c | 429 * 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 D | entry.c | 748 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 D | Makefile.com | 587 swapctl.o \
|
/illumos-gate/usr/src/lib/libc/sparcv9/ |
H A D | Makefile.com | 578 swapctl.o \
|
/illumos-gate/usr/src/lib/libc/amd64/ |
H A D | Makefile | 554 swapctl.o \
|
/illumos-gate/usr/src/cmd/zonestat/zonestatd/ |
H A D | zonestatd.c | 3259 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 D | vm_swap.c | 439 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 D | llib-lc | 992 /* swapctl.c */ 993 int swapctl(int cmd, void *arg);
|
/illumos-gate/usr/src/lib/libc/sparc/ |
H A D | Makefile.com | 621 swapctl.o \
|
Completed in 89 milliseconds