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()
3191 mutex_lock(&cnic_lock); in cnic_ulp_stop_one()
3193 lockdep_is_held(&cnic_lock)); in cnic_ulp_stop_one()
3195 mutex_unlock(&cnic_lock); in cnic_ulp_stop_one()
3199 mutex_unlock(&cnic_lock); in cnic_ulp_stop_one()
3224 mutex_lock(&cnic_lock); in cnic_ulp_start()
3226 lockdep_is_held(&cnic_lock)); in cnic_ulp_start()
3228 mutex_unlock(&cnic_lock); in cnic_ulp_start()
3232 mutex_unlock(&cnic_lock); in cnic_ulp_start()
3247 mutex_lock(&cnic_lock); in cnic_copy_ulp_stats()
3249 lockdep_is_held(&cnic_lock)); in cnic_copy_ulp_stats()
3254 mutex_unlock(&cnic_lock); in cnic_copy_ulp_stats()
3333 mutex_lock(&cnic_lock); in cnic_ulp_init()
3336 mutex_unlock(&cnic_lock); in cnic_ulp_init()
3340 mutex_unlock(&cnic_lock); in cnic_ulp_init()
3357 mutex_lock(&cnic_lock); in cnic_ulp_exit()
3360 mutex_unlock(&cnic_lock); in cnic_ulp_exit()
3364 mutex_unlock(&cnic_lock); in cnic_ulp_exit()
5656 mutex_lock(&cnic_lock); in cnic_rcv_netevent()
5658 lockdep_is_held(&cnic_lock)); in cnic_rcv_netevent()
5660 mutex_unlock(&cnic_lock); in cnic_rcv_netevent()
5667 mutex_unlock(&cnic_lock); in cnic_rcv_netevent()