Searched refs:modify_lock (Results 1 – 2 of 2) sorted by relevance
131 struct sx modify_lock; member182 sx_init(&softc->modify_lock, "ctlrammod"); in ctl_backend_ramdisk_init()209 sx_destroy(&softc->modify_lock); in ctl_backend_ramdisk_shutdown()864 sx_xlock(&softc->modify_lock); in ctl_backend_ramdisk_rm()875 sx_xunlock(&softc->modify_lock); in ctl_backend_ramdisk_rm()1155 sx_xlock(&softc->modify_lock); in ctl_backend_ramdisk_modify()1211 sx_xunlock(&softc->modify_lock); in ctl_backend_ramdisk_modify()1216 sx_xunlock(&softc->modify_lock); in ctl_backend_ramdisk_modify()
188 struct sx modify_lock; member2415 sx_xlock(&softc->modify_lock); in ctl_be_block_rm()2426 sx_xunlock(&softc->modify_lock); in ctl_be_block_rm()2492 sx_xlock(&softc->modify_lock); in ctl_be_block_modify()2571 sx_xunlock(&softc->modify_lock); in ctl_be_block_modify()2576 sx_xunlock(&softc->modify_lock); in ctl_be_block_modify()2764 sx_init(&softc->modify_lock, "ctlblock modify"); in ctl_be_block_init()2802 sx_destroy(&softc->modify_lock); in ctl_be_block_shutdown()