Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
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 …]
Diface.c535 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()
Dieee80211_i.h872 spinlock_t func_lock; member
Dutil.c2262 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()