Searched refs:func_lock (Results 1 – 6 of 6) sorted by relevance
10 static DEFINE_MUTEX(func_lock);18 mutex_lock(&func_lock); in try_get_usb_function_instance()35 mutex_unlock(&func_lock); in try_get_usb_function_instance()98 mutex_lock(&func_lock); in usb_function_register()106 mutex_unlock(&func_lock); in usb_function_register()113 mutex_lock(&func_lock); in usb_function_unregister()115 mutex_unlock(&func_lock); in usb_function_unregister()
67 struct mutex func_lock; member90 mutex_init(&port->func_lock); in sdio_uart_add_port()146 mutex_lock(&port->func_lock); in sdio_uart_port_remove()150 mutex_unlock(&port->func_lock); in sdio_uart_port_remove()163 mutex_lock(&port->func_lock); in sdio_uart_claim_func()165 mutex_unlock(&port->func_lock); in sdio_uart_claim_func()170 mutex_unlock(&port->func_lock); in sdio_uart_claim_func()
295 spin_lock_bh(&sdata->u.nan.func_lock); in ieee80211_add_nan_func()300 spin_unlock_bh(&sdata->u.nan.func_lock); in ieee80211_add_nan_func()311 spin_lock_bh(&sdata->u.nan.func_lock); in ieee80211_add_nan_func()314 spin_unlock_bh(&sdata->u.nan.func_lock); in ieee80211_add_nan_func()327 lockdep_assert_held(&sdata->u.nan.func_lock); in ieee80211_find_nan_func_by_cookie()348 spin_lock_bh(&sdata->u.nan.func_lock); in ieee80211_del_nan_func()354 spin_unlock_bh(&sdata->u.nan.func_lock); in ieee80211_del_nan_func()3876 spin_lock_bh(&sdata->u.nan.func_lock); in ieee80211_nan_func_terminated()3880 spin_unlock_bh(&sdata->u.nan.func_lock); in ieee80211_nan_func_terminated()3887 spin_unlock_bh(&sdata->u.nan.func_lock); in ieee80211_nan_func_terminated()[all …]
535 spin_lock_bh(&sdata->u.nan.func_lock); in ieee80211_do_stop()543 spin_unlock_bh(&sdata->u.nan.func_lock); in ieee80211_do_stop()1580 spin_lock_init(&sdata->u.nan.func_lock); in ieee80211_setup_sdata()
872 spinlock_t func_lock; member
2262 spin_lock_bh(&sdata->u.nan.func_lock); in ieee80211_reconfig_nan()2267 spin_unlock_bh(&sdata->u.nan.func_lock); in ieee80211_reconfig_nan()