Searched refs:modify_lock (Results 1 – 2 of 2) sorted by relevance
128 struct sx modify_lock; member179 sx_init(&softc->modify_lock, "ctlrammod"); in ctl_backend_ramdisk_init()206 sx_destroy(&softc->modify_lock); in ctl_backend_ramdisk_shutdown()1058 sx_xlock(&softc->modify_lock); in ctl_backend_ramdisk_rm()1069 sx_xunlock(&softc->modify_lock); in ctl_backend_ramdisk_rm()1349 sx_xlock(&softc->modify_lock); in ctl_backend_ramdisk_modify()1405 sx_xunlock(&softc->modify_lock); in ctl_backend_ramdisk_modify()1410 sx_xunlock(&softc->modify_lock); in ctl_backend_ramdisk_modify()
190 struct sx modify_lock; member2843 sx_xlock(&softc->modify_lock); in ctl_be_block_rm()2854 sx_xunlock(&softc->modify_lock); in ctl_be_block_rm()2920 sx_xlock(&softc->modify_lock); in ctl_be_block_modify()2999 sx_xunlock(&softc->modify_lock); in ctl_be_block_modify()3004 sx_xunlock(&softc->modify_lock); in ctl_be_block_modify()3288 sx_init(&softc->modify_lock, "ctlblock modify"); in ctl_be_block_init()3326 sx_destroy(&softc->modify_lock); in ctl_be_block_shutdown()