Searched refs:SWAP_STATS (Results 1 – 7 of 7) sorted by relevance
53 #define SWAP_STATS 4 /* get device info */ macro
62 rnswap = swapctl(SWAP_STATS, (void *)sep, nswap); in list_swap()
122 rnswap = swapctl(SWAP_STATS, (void *)swap_devices, nswap); in read_sw()
833 rnswap = swapctl(SWAP_STATS, swdev, nswap); in swapmode()
1149 if (swapctl(SWAP_STATS, swdev, nswap) == -1) in swapmode()
1551 case SWAP_STATS: in pledge_swapctl()
94 * while we are in the middle of a system call (e.g. SWAP_STATS).113 * [2] SWAP_STATS: given a pointer to an array of swapent structures677 * SWAP_STATS: get stats on current # of configured swap devs in sys_swapctl() 684 if (SCARG(uap, cmd) == SWAP_STATS) { in sys_swapctl()