Home
last modified time | relevance | path

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

/freebsd/sys/vm/
H A Dswap_pager.c161 static struct sx swdev_syscall_lock; /* serialize swap(on|off) */ variable
675 sx_init(&swdev_syscall_lock, "swsysc"); in swap_pager_init()
2060 sx_assert(&swdev_syscall_lock, SA_XLOCKED); in swap_pager_swapoff()
2674 sx_xlock(&swdev_syscall_lock); in sys_swapon()
2711 sx_xunlock(&swdev_syscall_lock); in sys_swapon()
2816 sx_xlock(&swdev_syscall_lock); in kern_swapoff()
2837 sx_xunlock(&swdev_syscall_lock); in kern_swapoff()
2864 sx_assert(&swdev_syscall_lock, SA_XLOCKED); in swapoff_one()
2929 sx_xlock(&swdev_syscall_lock); in swapoff_all()
2949 sx_xunlock(&swdev_syscall_lock); in swapoff_all()