Home
last modified time | relevance | path

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

/titanic_50/usr/src/cmd/zonestat/zonestatd/
H A Dzonestatd.c3232 int num_swap_devices; in zsd_refresh_memory() local
3259 num_swap_devices = swapctl(SC_GETNSWP, NULL); in zsd_refresh_memory()
3261 if (num_swap_devices == 0) { in zsd_refresh_memory()
3268 if (num_swap_devices > ctl->zsctl_swap_cache_num) { in zsd_refresh_memory()
3270 (num_swap_devices * sizeof (struct swapent)) + in zsd_refresh_memory()
3271 (num_swap_devices * MAXPATHLEN); in zsd_refresh_memory()
3290 num_swap_devices * sizeof (swapent_t)); in zsd_refresh_memory()
3291 for (i = 0; i < num_swap_devices; i++, swent++) { in zsd_refresh_memory()
3295 swt->swt_n = num_swap_devices; in zsd_refresh_memory()
3298 ctl->zsctl_swap_cache_num = num_swap_devices; in zsd_refresh_memory()
[all …]