Home
last modified time | relevance | path

Searched refs:SWAP_STATS (Results 1 – 7 of 7) sorted by relevance

/openbsd-src/sys/sys/
H A Dswap.h53 #define SWAP_STATS 4 /* get device info */ macro
/openbsd-src/sbin/swapctl/
H A Dswaplist.c62 rnswap = swapctl(SWAP_STATS, (void *)sep, nswap); in list_swap()
/openbsd-src/usr.bin/systat/
H A Dswap.c122 rnswap = swapctl(SWAP_STATS, (void *)swap_devices, nswap); in read_sw()
/openbsd-src/usr.bin/top/
H A Dmachine.c833 rnswap = swapctl(SWAP_STATS, swdev, nswap); in swapmode()
/openbsd-src/usr.sbin/pstat/
H A Dpstat.c1149 if (swapctl(SWAP_STATS, swdev, nswap) == -1) in swapmode()
/openbsd-src/sys/kern/
H A Dkern_pledge.c1551 case SWAP_STATS: in pledge_swapctl()
/openbsd-src/sys/uvm/
H A Duvm_swap.c94 * 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 structures
677 * SWAP_STATS: get stats on current # of configured swap devs in sys_swapctl()
684 if (SCARG(uap, cmd) == SWAP_STATS) { in sys_swapctl()