Searched refs:modify_lock (Results 1 – 2 of 2) sorted by relevance
128 struct sx modify_lock; member178 sx_init(&softc->modify_lock, "ctlrammod"); in ctl_backend_ramdisk_init()205 sx_destroy(&softc->modify_lock); in ctl_backend_ramdisk_shutdown()1057 sx_xlock(&softc->modify_lock); in ctl_backend_ramdisk_rm()1068 sx_xunlock(&softc->modify_lock); in ctl_backend_ramdisk_rm()1348 sx_xlock(&softc->modify_lock); in ctl_backend_ramdisk_modify()1404 sx_xunlock(&softc->modify_lock); in ctl_backend_ramdisk_modify()1409 sx_xunlock(&softc->modify_lock); in ctl_backend_ramdisk_modify()
190 struct sx modify_lock; member2841 sx_xlock(&softc->modify_lock); in ctl_be_block_rm()2852 sx_xunlock(&softc->modify_lock); in ctl_be_block_rm()2918 sx_xlock(&softc->modify_lock); in ctl_be_block_modify()2997 sx_xunlock(&softc->modify_lock); in ctl_be_block_modify()3002 sx_xunlock(&softc->modify_lock); in ctl_be_block_modify()3286 sx_init(&softc->modify_lock, "ctlblock modify"); in ctl_be_block_init()3324 sx_destroy(&softc->modify_lock); in ctl_be_block_shutdown()