Home
last modified time | relevance | path

Searched refs:func_lock (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.15/drivers/usb/gadget/
Dfunctions.c10 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()
/Linux-v5.15/drivers/mmc/core/
Dsdio_uart.c67 struct mutex func_lock; member
90 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()
/Linux-v5.15/net/mac80211/
Dcfg.c295 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()
3909 spin_lock_bh(&sdata->u.nan.func_lock); in ieee80211_nan_func_terminated()
3913 spin_unlock_bh(&sdata->u.nan.func_lock); in ieee80211_nan_func_terminated()
3920 spin_unlock_bh(&sdata->u.nan.func_lock); in ieee80211_nan_func_terminated()
[all …]
Diface.c526 spin_lock_bh(&sdata->u.nan.func_lock); in ieee80211_do_stop()
534 spin_unlock_bh(&sdata->u.nan.func_lock); in ieee80211_do_stop()
1620 spin_lock_init(&sdata->u.nan.func_lock); in ieee80211_setup_sdata()
Dutil.c2271 spin_lock_bh(&sdata->u.nan.func_lock); in ieee80211_reconfig_nan()
2276 spin_unlock_bh(&sdata->u.nan.func_lock); in ieee80211_reconfig_nan()
Dieee80211_i.h874 spinlock_t func_lock; member