Lines Matching defs:num_swap_devices
3232 int num_swap_devices;
3259 num_swap_devices = swapctl(SC_GETNSWP, NULL);
3261 if (num_swap_devices == 0) {
3268 if (num_swap_devices > ctl->zsctl_swap_cache_num) {
3270 (num_swap_devices * sizeof (struct swapent)) +
3271 (num_swap_devices * MAXPATHLEN);
3290 num_swap_devices * sizeof (swapent_t));
3291 for (i = 0; i < num_swap_devices; i++, swent++) {
3295 swt->swt_n = num_swap_devices;
3298 ctl->zsctl_swap_cache_num = num_swap_devices;
3300 num_swap_devices = swapctl(SC_LIST, ctl->zsctl_swap_cache);
3301 if (num_swap_devices < 0) {
3317 for (i = 0; i < num_swap_devices; i++, swent++) {