Lines Matching refs:lock
349 ASSERT(mutex_owned(&vport->lock)); in i_vcc_wait_port_status()
383 rv = cv_wait_sig(cv, &vport->lock); in i_vcc_wait_port_status()
399 mutex_enter(&vport->lock); in i_vcc_set_port_status()
402 mutex_exit(&vport->lock); in i_vcc_set_port_status()
412 ASSERT(mutex_owned(&vport->lock)); in i_vcc_ldc_init()
474 ASSERT(mutex_owned(&vport->lock)); in i_vcc_ldc_fini()
494 mutex_exit(&vport->lock); in i_vcc_ldc_fini()
497 mutex_enter(&vport->lock); in i_vcc_ldc_fini()
700 mutex_enter(&vport->lock); in i_vcc_config_port()
708 mutex_exit(&vport->lock); in i_vcc_config_port()
718 mutex_exit(&vport->lock); in i_vcc_config_port()
818 mutex_enter(&vport->lock); in i_vcc_add_port()
820 mutex_exit(&vport->lock); in i_vcc_add_port()
835 ASSERT(mutex_owned(&vport->lock)); in i_vcc_delete_port()
918 mutex_destroy(&vport->lock); in i_vcc_cleanup_port_table()
954 mutex_init(&vccp->lock, NULL, MUTEX_DRIVER, NULL); in vcc_attach()
956 mutex_enter(&vccp->lock); in vcc_attach()
962 mutex_init(&vport->lock, NULL, MUTEX_DRIVER, NULL); in vcc_attach()
969 mutex_enter(&vport->lock); in vcc_attach()
984 mutex_exit(&vport->lock); in vcc_attach()
992 mutex_exit(&vccp->lock); in vcc_attach()
1013 mutex_exit(&vccp->lock); in vcc_attach()
1025 mutex_exit(&vccp->lock); in vcc_attach()
1077 mutex_enter(&vccp->lock); in vcc_detach()
1092 mutex_exit(&vccp->lock); in vcc_detach()
1097 mutex_enter(&vport->lock); in vcc_detach()
1109 mutex_exit(&vport->lock); in vcc_detach()
1112 mutex_destroy(&vport->lock); in vcc_detach()
1118 mutex_destroy(&vccp->lock); in vcc_detach()
1158 mutex_enter(&vport->lock); in vcc_open()
1162 mutex_exit(&vport->lock); in vcc_open()
1170 mutex_exit(&vport->lock); in vcc_open()
1177 mutex_exit(&vport->lock); in vcc_open()
1183 mutex_exit(&vport->lock); in vcc_open()
1192 mutex_exit(&vport->lock); in vcc_open()
1201 mutex_exit(&vport->lock); in vcc_open()
1216 mutex_exit(&vport->lock); in vcc_open()
1230 ASSERT(mutex_owned(&vport->lock)); in i_vcc_close_port()
1283 mutex_enter(&vport->lock); in vcc_close()
1286 mutex_exit(&vport->lock); in vcc_close()
1295 mutex_exit(&vport->lock); in vcc_close()
1304 mutex_exit(&vport->lock); in vcc_close()
1309 mutex_exit(&vport->lock); in vcc_close()
1346 mutex_enter(&vport->lock); in i_vcc_cons_tbl()
1352 mutex_exit(&vport->lock); in i_vcc_cons_tbl()
1367 mutex_exit(&vport->lock); in i_vcc_cons_tbl()
1375 mutex_exit(&vport->lock); in i_vcc_cons_tbl()
1390 mutex_enter(&vport->lock); in i_vcc_cons_tbl()
1392 mutex_exit(&vport->lock); in i_vcc_cons_tbl()
1406 mutex_exit(&vport->lock); in i_vcc_cons_tbl()
1446 mutex_enter(&vport->lock); in i_vcc_turn_off_event()
1448 mutex_exit(&vport->lock); in i_vcc_turn_off_event()
1477 mutex_enter(&vport->lock); in i_vcc_cons_info()
1490 mutex_exit(&vport->lock); in i_vcc_cons_info()
1500 mutex_exit(&vport->lock); in i_vcc_cons_info()
1580 ASSERT(!mutex_owned(&vport->lock)); in i_vcc_reset_events()
1584 mutex_enter(&vport->lock); in i_vcc_reset_events()
1590 mutex_exit(&vport->lock); in i_vcc_reset_events()
1595 mutex_enter(&vport->lock); in i_vcc_reset_events()
1597 mutex_exit(&vport->lock); in i_vcc_reset_events()
1632 mutex_enter(&vport->lock); in i_vcc_force_close()
1639 mutex_exit(&vport->lock); in i_vcc_force_close()
1701 mutex_enter(&vccp->lock); in i_vcc_ctrl_ioctl()
1703 mutex_exit(&vccp->lock); in i_vcc_ctrl_ioctl()
1746 ASSERT(mutex_owned(&vport->lock)); in i_vcc_write_ldc()
1812 mutex_enter(&vport->lock); in i_vcc_port_ioctl()
1817 mutex_exit(&vport->lock); in i_vcc_port_ioctl()
1822 mutex_exit(&vport->lock); in i_vcc_port_ioctl()
1835 mutex_enter(&vport->lock); in i_vcc_port_ioctl()
1840 mutex_exit(&vport->lock); in i_vcc_port_ioctl()
1845 mutex_exit(&vport->lock); in i_vcc_port_ioctl()
1852 mutex_enter(&vport->lock); in i_vcc_port_ioctl()
1857 mutex_exit(&vport->lock); in i_vcc_port_ioctl()
1865 mutex_exit(&vport->lock); in i_vcc_port_ioctl()
1877 mutex_exit(&vport->lock); in i_vcc_port_ioctl()
1889 mutex_enter(&vport->lock); in i_vcc_port_ioctl()
1894 mutex_exit(&vport->lock); in i_vcc_port_ioctl()
1924 mutex_exit(&vport->lock); in i_vcc_port_ioctl()
1928 mutex_exit(&vport->lock); in i_vcc_port_ioctl()
2024 mutex_enter(&vport->lock); in vcc_read()
2029 mutex_exit(&vport->lock); in vcc_read()
2037 mutex_exit(&vport->lock); in vcc_read()
2070 mutex_exit(&vport->lock); in vcc_read()
2073 mutex_enter(&vport->lock); in vcc_read()
2085 mutex_exit(&vport->lock); in vcc_read()
2138 mutex_enter(&vport->lock); in vcc_write()
2143 mutex_exit(&vport->lock); in vcc_write()
2151 mutex_exit(&vport->lock); in vcc_write()
2156 mutex_exit(&vport->lock); in vcc_write()
2179 mutex_enter(&vport->lock); in vcc_write()
2184 mutex_exit(&vport->lock); in vcc_write()
2190 mutex_exit(&vport->lock); in vcc_write()
2233 mutex_enter(&vport->lock); in i_vcc_md_remove_port()
2235 mutex_exit(&vport->lock); in i_vcc_md_remove_port()
2237 mutex_enter(&vccp->lock); in i_vcc_md_remove_port()
2239 mutex_exit(&vccp->lock); in i_vcc_md_remove_port()
2340 mutex_enter(&vport->lock); in i_vcc_md_add_port()
2342 mutex_exit(&vport->lock); in i_vcc_md_add_port()
2348 mutex_enter(&vport->lock); in i_vcc_md_add_port()
2350 mutex_exit(&vport->lock); in i_vcc_md_add_port()
2354 mutex_enter(&vccp->lock); in i_vcc_md_add_port()
2356 mutex_exit(&vccp->lock); in i_vcc_md_add_port()
2362 mutex_enter(&vport->lock); in i_vcc_md_add_port()
2364 mutex_exit(&vport->lock); in i_vcc_md_add_port()
2462 mutex_enter(&vport->lock); in vcc_chpoll()
2464 mutex_exit(&vport->lock); in vcc_chpoll()