Lines Matching refs:cnic_lock

73 static DEFINE_MUTEX(cnic_lock);
81 lockdep_is_held(&cnic_lock)); in cnic_ulp_tbl_prot()
481 mutex_lock(&cnic_lock); in cnic_register_driver()
485 mutex_unlock(&cnic_lock); in cnic_register_driver()
499 mutex_unlock(&cnic_lock); in cnic_register_driver()
524 mutex_lock(&cnic_lock); in cnic_unregister_driver()
546 mutex_unlock(&cnic_lock); in cnic_unregister_driver()
559 mutex_unlock(&cnic_lock); in cnic_unregister_driver()
576 mutex_lock(&cnic_lock); in cnic_register_device()
580 mutex_unlock(&cnic_lock); in cnic_register_device()
586 mutex_unlock(&cnic_lock); in cnic_register_device()
600 mutex_unlock(&cnic_lock); in cnic_register_device()
622 mutex_lock(&cnic_lock); in cnic_unregister_device()
629 mutex_unlock(&cnic_lock); in cnic_unregister_device()
632 mutex_unlock(&cnic_lock); in cnic_unregister_device()
3193 mutex_lock(&cnic_lock); in cnic_ulp_stop_one()
3195 lockdep_is_held(&cnic_lock)); in cnic_ulp_stop_one()
3197 mutex_unlock(&cnic_lock); in cnic_ulp_stop_one()
3201 mutex_unlock(&cnic_lock); in cnic_ulp_stop_one()
3226 mutex_lock(&cnic_lock); in cnic_ulp_start()
3228 lockdep_is_held(&cnic_lock)); in cnic_ulp_start()
3230 mutex_unlock(&cnic_lock); in cnic_ulp_start()
3234 mutex_unlock(&cnic_lock); in cnic_ulp_start()
3249 mutex_lock(&cnic_lock); in cnic_copy_ulp_stats()
3251 lockdep_is_held(&cnic_lock)); in cnic_copy_ulp_stats()
3256 mutex_unlock(&cnic_lock); in cnic_copy_ulp_stats()
3335 mutex_lock(&cnic_lock); in cnic_ulp_init()
3338 mutex_unlock(&cnic_lock); in cnic_ulp_init()
3342 mutex_unlock(&cnic_lock); in cnic_ulp_init()
3359 mutex_lock(&cnic_lock); in cnic_ulp_exit()
3362 mutex_unlock(&cnic_lock); in cnic_ulp_exit()
3366 mutex_unlock(&cnic_lock); in cnic_ulp_exit()
5658 mutex_lock(&cnic_lock); in cnic_rcv_netevent()
5660 lockdep_is_held(&cnic_lock)); in cnic_rcv_netevent()
5662 mutex_unlock(&cnic_lock); in cnic_rcv_netevent()
5669 mutex_unlock(&cnic_lock); in cnic_rcv_netevent()