Searched refs:SC_GETNSWP (Results 1 – 9 of 9) sorted by relevance
45 if ((n = swapctl(SC_GETNSWP, NULL)) == -1) { in swap_list()
60 #define SC_GETNSWP 4 /* get number of swap resources configured */ macro
88 if ((num = swapctl(SC_GETNSWP, (void *)NULL)) == -1) { in getswapentries()
378 if ((num = swapctl(SC_GETNSWP, NULL)) == -1) { in list()
119 if ((*nswap = swapctl(SC_GETNSWP, NULL)) < 0) { in get_swapinfo()
581 if ((n = swapctl(SC_GETNSWP, NULL)) == -1) in sys_swaptbl()
466 case SC_GETNSWP: in swapctl()803 case SC_GETNSWP: in swapctl32()
750 if ((count = swapctl(SC_GETNSWP, NULL)) < 0) { in dm_get_swapentries()
3259 num_swap_devices = swapctl(SC_GETNSWP, NULL); in zsd_refresh_memory()