Lines Matching refs:lock

352 	ASSERT(mutex_owned(&vport->lock));  in i_vcc_wait_port_status()
386 rv = cv_wait_sig(cv, &vport->lock); in i_vcc_wait_port_status()
402 mutex_enter(&vport->lock); in i_vcc_set_port_status()
405 mutex_exit(&vport->lock); in i_vcc_set_port_status()
415 ASSERT(mutex_owned(&vport->lock)); in i_vcc_ldc_init()
477 ASSERT(mutex_owned(&vport->lock)); in i_vcc_ldc_fini()
497 mutex_exit(&vport->lock); in i_vcc_ldc_fini()
500 mutex_enter(&vport->lock); in i_vcc_ldc_fini()
703 mutex_enter(&vport->lock); in i_vcc_config_port()
711 mutex_exit(&vport->lock); in i_vcc_config_port()
721 mutex_exit(&vport->lock); in i_vcc_config_port()
821 mutex_enter(&vport->lock); in i_vcc_add_port()
823 mutex_exit(&vport->lock); in i_vcc_add_port()
838 ASSERT(mutex_owned(&vport->lock)); in i_vcc_delete_port()
921 mutex_destroy(&vport->lock); in i_vcc_cleanup_port_table()
957 mutex_init(&vccp->lock, NULL, MUTEX_DRIVER, NULL); in vcc_attach()
959 mutex_enter(&vccp->lock); in vcc_attach()
965 mutex_init(&vport->lock, NULL, MUTEX_DRIVER, NULL); in vcc_attach()
972 mutex_enter(&vport->lock); in vcc_attach()
987 mutex_exit(&vport->lock); in vcc_attach()
995 mutex_exit(&vccp->lock); in vcc_attach()
1016 mutex_exit(&vccp->lock); in vcc_attach()
1028 mutex_exit(&vccp->lock); in vcc_attach()
1080 mutex_enter(&vccp->lock); in vcc_detach()
1095 mutex_exit(&vccp->lock); in vcc_detach()
1100 mutex_enter(&vport->lock); in vcc_detach()
1112 mutex_exit(&vport->lock); in vcc_detach()
1115 mutex_destroy(&vport->lock); in vcc_detach()
1121 mutex_destroy(&vccp->lock); in vcc_detach()
1161 mutex_enter(&vport->lock); in vcc_open()
1165 mutex_exit(&vport->lock); in vcc_open()
1173 mutex_exit(&vport->lock); in vcc_open()
1180 mutex_exit(&vport->lock); in vcc_open()
1186 mutex_exit(&vport->lock); in vcc_open()
1195 mutex_exit(&vport->lock); in vcc_open()
1204 mutex_exit(&vport->lock); in vcc_open()
1219 mutex_exit(&vport->lock); in vcc_open()
1233 ASSERT(mutex_owned(&vport->lock)); in i_vcc_close_port()
1286 mutex_enter(&vport->lock); in vcc_close()
1289 mutex_exit(&vport->lock); in vcc_close()
1298 mutex_exit(&vport->lock); in vcc_close()
1307 mutex_exit(&vport->lock); in vcc_close()
1312 mutex_exit(&vport->lock); in vcc_close()
1349 mutex_enter(&vport->lock); in i_vcc_cons_tbl()
1355 mutex_exit(&vport->lock); in i_vcc_cons_tbl()
1370 mutex_exit(&vport->lock); in i_vcc_cons_tbl()
1378 mutex_exit(&vport->lock); in i_vcc_cons_tbl()
1393 mutex_enter(&vport->lock); in i_vcc_cons_tbl()
1395 mutex_exit(&vport->lock); in i_vcc_cons_tbl()
1409 mutex_exit(&vport->lock); in i_vcc_cons_tbl()
1449 mutex_enter(&vport->lock); in i_vcc_turn_off_event()
1451 mutex_exit(&vport->lock); in i_vcc_turn_off_event()
1480 mutex_enter(&vport->lock); in i_vcc_cons_info()
1493 mutex_exit(&vport->lock); in i_vcc_cons_info()
1503 mutex_exit(&vport->lock); in i_vcc_cons_info()
1583 ASSERT(!mutex_owned(&vport->lock)); in i_vcc_reset_events()
1587 mutex_enter(&vport->lock); in i_vcc_reset_events()
1593 mutex_exit(&vport->lock); in i_vcc_reset_events()
1598 mutex_enter(&vport->lock); in i_vcc_reset_events()
1600 mutex_exit(&vport->lock); in i_vcc_reset_events()
1635 mutex_enter(&vport->lock); in i_vcc_force_close()
1642 mutex_exit(&vport->lock); in i_vcc_force_close()
1704 mutex_enter(&vccp->lock); in i_vcc_ctrl_ioctl()
1706 mutex_exit(&vccp->lock); in i_vcc_ctrl_ioctl()
1749 ASSERT(mutex_owned(&vport->lock)); in i_vcc_write_ldc()
1815 mutex_enter(&vport->lock); in i_vcc_port_ioctl()
1820 mutex_exit(&vport->lock); in i_vcc_port_ioctl()
1825 mutex_exit(&vport->lock); in i_vcc_port_ioctl()
1838 mutex_enter(&vport->lock); in i_vcc_port_ioctl()
1843 mutex_exit(&vport->lock); in i_vcc_port_ioctl()
1848 mutex_exit(&vport->lock); in i_vcc_port_ioctl()
1855 mutex_enter(&vport->lock); in i_vcc_port_ioctl()
1860 mutex_exit(&vport->lock); in i_vcc_port_ioctl()
1868 mutex_exit(&vport->lock); in i_vcc_port_ioctl()
1880 mutex_exit(&vport->lock); in i_vcc_port_ioctl()
1892 mutex_enter(&vport->lock); in i_vcc_port_ioctl()
1897 mutex_exit(&vport->lock); in i_vcc_port_ioctl()
1927 mutex_exit(&vport->lock); in i_vcc_port_ioctl()
1931 mutex_exit(&vport->lock); in i_vcc_port_ioctl()
2027 mutex_enter(&vport->lock); in vcc_read()
2032 mutex_exit(&vport->lock); in vcc_read()
2040 mutex_exit(&vport->lock); in vcc_read()
2073 mutex_exit(&vport->lock); in vcc_read()
2076 mutex_enter(&vport->lock); in vcc_read()
2088 mutex_exit(&vport->lock); in vcc_read()
2141 mutex_enter(&vport->lock); in vcc_write()
2146 mutex_exit(&vport->lock); in vcc_write()
2154 mutex_exit(&vport->lock); in vcc_write()
2159 mutex_exit(&vport->lock); in vcc_write()
2182 mutex_enter(&vport->lock); in vcc_write()
2187 mutex_exit(&vport->lock); in vcc_write()
2193 mutex_exit(&vport->lock); in vcc_write()
2236 mutex_enter(&vport->lock); in i_vcc_md_remove_port()
2238 mutex_exit(&vport->lock); in i_vcc_md_remove_port()
2240 mutex_enter(&vccp->lock); in i_vcc_md_remove_port()
2242 mutex_exit(&vccp->lock); in i_vcc_md_remove_port()
2343 mutex_enter(&vport->lock); in i_vcc_md_add_port()
2345 mutex_exit(&vport->lock); in i_vcc_md_add_port()
2351 mutex_enter(&vport->lock); in i_vcc_md_add_port()
2353 mutex_exit(&vport->lock); in i_vcc_md_add_port()
2357 mutex_enter(&vccp->lock); in i_vcc_md_add_port()
2359 mutex_exit(&vccp->lock); in i_vcc_md_add_port()
2365 mutex_enter(&vport->lock); in i_vcc_md_add_port()
2367 mutex_exit(&vport->lock); in i_vcc_md_add_port()
2465 mutex_enter(&vport->lock); in vcc_chpoll()
2467 mutex_exit(&vport->lock); in vcc_chpoll()