Searched refs:swap_devices (Results 1 - 1 of 1) sorted by relevance

/openbsd-current/usr.bin/systat/
H A Dswap.c52 static struct swapent *swap_devices; variable in typeref:struct:swapent
94 if (swap_devices == NULL || nswap == 0)
115 if (swap_devices)
116 (void)free(swap_devices);
118 swap_devices = calloc(nswap, sizeof(*swap_devices));
119 if (swap_devices == NULL)
122 rnswap = swapctl(SWAP_STATS, (void *)swap_devices, nswap);
139 if (swap_devices == NULL || nswap == 0) {
182 sep = &swap_devices[
[all...]

Completed in 144 milliseconds