Searched refs:swbuf_mtx (Results 1 – 1 of 1) sorted by relevance
389 static struct mtx swbuf_mtx; /* to sync nsw_wcount_async */ variable721 mtx_init(&swbuf_mtx, "async swbuf mutex", NULL, MTX_DEF); in swap_pager_swap_init()1567 mtx_lock(&swbuf_mtx); in swap_pager_putpages()1569 msleep(&nsw_wcount_async, &swbuf_mtx, PVM, in swap_pager_putpages()1572 mtx_unlock(&swbuf_mtx); in swap_pager_putpages()1578 mtx_lock(&swbuf_mtx); in swap_pager_putpages()1581 mtx_unlock(&swbuf_mtx); in swap_pager_putpages()1823 mtx_lock(&swbuf_mtx); in swp_pager_async_iodone()1826 mtx_unlock(&swbuf_mtx); in swp_pager_async_iodone()3404 mtx_lock(&swbuf_mtx); in sysctl_swap_async_max()[all …]