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()
68 struct mutex func_lock; member91 mutex_init(&port->func_lock); in sdio_uart_add_port()147 mutex_lock(&port->func_lock); in sdio_uart_port_remove()151 mutex_unlock(&port->func_lock); in sdio_uart_port_remove()164 mutex_lock(&port->func_lock); in sdio_uart_claim_func()166 mutex_unlock(&port->func_lock); in sdio_uart_claim_func()171 mutex_unlock(&port->func_lock); in sdio_uart_claim_func()
357 spin_lock_bh(&sdata->u.nan.func_lock); in ieee80211_add_nan_func()362 spin_unlock_bh(&sdata->u.nan.func_lock); in ieee80211_add_nan_func()373 spin_lock_bh(&sdata->u.nan.func_lock); in ieee80211_add_nan_func()376 spin_unlock_bh(&sdata->u.nan.func_lock); in ieee80211_add_nan_func()389 lockdep_assert_held(&sdata->u.nan.func_lock); in ieee80211_find_nan_func_by_cookie()410 spin_lock_bh(&sdata->u.nan.func_lock); in ieee80211_del_nan_func()416 spin_unlock_bh(&sdata->u.nan.func_lock); in ieee80211_del_nan_func()4235 spin_lock_bh(&sdata->u.nan.func_lock); in ieee80211_nan_func_terminated()4239 spin_unlock_bh(&sdata->u.nan.func_lock); in ieee80211_nan_func_terminated()4246 spin_unlock_bh(&sdata->u.nan.func_lock); in ieee80211_nan_func_terminated()[all …]
608 spin_lock_bh(&sdata->u.nan.func_lock); in ieee80211_do_stop()616 spin_unlock_bh(&sdata->u.nan.func_lock); in ieee80211_do_stop()1819 spin_lock_init(&sdata->u.nan.func_lock); in ieee80211_setup_sdata()
886 spinlock_t func_lock; member
2341 spin_lock_bh(&sdata->u.nan.func_lock); in ieee80211_reconfig_nan()2346 spin_unlock_bh(&sdata->u.nan.func_lock); in ieee80211_reconfig_nan()