/Linux-v4.19/sound/aoa/codecs/ |
D | tas.c | 99 struct mutex mtx; member 240 mutex_lock(&tas->mtx); in tas_snd_vol_get() 243 mutex_unlock(&tas->mtx); in tas_snd_vol_get() 259 mutex_lock(&tas->mtx); in tas_snd_vol_put() 262 mutex_unlock(&tas->mtx); in tas_snd_vol_put() 270 mutex_unlock(&tas->mtx); in tas_snd_vol_put() 290 mutex_lock(&tas->mtx); in tas_snd_mute_get() 293 mutex_unlock(&tas->mtx); in tas_snd_mute_get() 302 mutex_lock(&tas->mtx); in tas_snd_mute_put() 305 mutex_unlock(&tas->mtx); in tas_snd_mute_put() [all …]
|
/Linux-v4.19/kernel/locking/ |
D | test-ww_mutex.c | 46 struct test_mutex *mtx = container_of(work, typeof(*mtx), work); in test_mutex_work() local 48 complete(&mtx->ready); in test_mutex_work() 49 wait_for_completion(&mtx->go); in test_mutex_work() 51 if (mtx->flags & TEST_MTX_TRY) { in test_mutex_work() 52 while (!ww_mutex_trylock(&mtx->mutex)) in test_mutex_work() 55 ww_mutex_lock(&mtx->mutex, NULL); in test_mutex_work() 57 complete(&mtx->done); in test_mutex_work() 58 ww_mutex_unlock(&mtx->mutex); in test_mutex_work() 64 struct test_mutex mtx; in __test_mutex() local 68 ww_mutex_init(&mtx.mutex, &ww_class); in __test_mutex() [all …]
|
/Linux-v4.19/drivers/regulator/ |
D | isl6271a-regulator.c | 35 struct mutex mtx; member 43 mutex_lock(&pmic->mtx); in isl6271a_get_voltage_sel() 49 mutex_unlock(&pmic->mtx); in isl6271a_get_voltage_sel() 59 mutex_lock(&pmic->mtx); in isl6271a_set_voltage_sel() 65 mutex_unlock(&pmic->mtx); in isl6271a_set_voltage_sel() 126 mutex_init(&pmic->mtx); in isl6271a_probe()
|
/Linux-v4.19/net/mac80211/ |
D | scan.c | 300 lockdep_is_held(&local->mtx)); in ieee80211_prep_hw_scan() 365 lockdep_assert_held(&local->mtx); in __ieee80211_scan_completed() 386 lockdep_is_held(&local->mtx)), in __ieee80211_scan_completed() 403 lockdep_is_held(&local->mtx)); in __ieee80211_scan_completed() 412 lockdep_is_held(&local->mtx)); in __ieee80211_scan_completed() 522 lockdep_assert_held(&local->mtx); in ieee80211_run_deferred_scan() 530 lockdep_is_held(&local->mtx)))) in ieee80211_run_deferred_scan() 576 lockdep_is_held(&local->mtx)); in ieee80211_scan_state_send_probe() 587 lockdep_is_held(&local->mtx)); in ieee80211_scan_state_send_probe() 611 lockdep_assert_held(&local->mtx); in __ieee80211_start_scan() [all …]
|
D | offchannel.c | 216 lockdep_assert_held(&local->mtx); in ieee80211_end_finished_rocs() 283 mutex_lock(&local->mtx); in ieee80211_hw_roc_start() 293 mutex_unlock(&local->mtx); in ieee80211_hw_roc_start() 314 lockdep_assert_held(&local->mtx); in _ieee80211_start_next_roc() 405 lockdep_assert_held(&local->mtx); in ieee80211_start_next_roc() 436 lockdep_assert_held(&local->mtx); in __ieee80211_roc_work() 475 mutex_lock(&local->mtx); in ieee80211_roc_work() 477 mutex_unlock(&local->mtx); in ieee80211_roc_work() 485 mutex_lock(&local->mtx); in ieee80211_hw_roc_done() 492 mutex_unlock(&local->mtx); in ieee80211_hw_roc_done() [all …]
|
D | ocb.c | 190 mutex_lock(&sdata->local->mtx); in ieee80211_ocb_join() 193 mutex_unlock(&sdata->local->mtx); in ieee80211_ocb_join() 233 mutex_lock(&sdata->local->mtx); in ieee80211_ocb_leave() 235 mutex_unlock(&sdata->local->mtx); in ieee80211_ocb_leave()
|
D | agg-rx.c | 75 lockdep_assert_held(&sta->ampdu_mlme.mtx); in ___ieee80211_stop_rx_ba_session() 78 lockdep_is_held(&sta->ampdu_mlme.mtx)); in ___ieee80211_stop_rx_ba_session() 123 mutex_lock(&sta->ampdu_mlme.mtx); in __ieee80211_stop_rx_ba_session() 125 mutex_unlock(&sta->ampdu_mlme.mtx); in __ieee80211_stop_rx_ba_session() 303 lockdep_assert_held(&sta->ampdu_mlme.mtx); in ___ieee80211_start_rx_ba_session() 427 mutex_lock(&sta->ampdu_mlme.mtx); in __ieee80211_start_rx_ba_session() 431 mutex_unlock(&sta->ampdu_mlme.mtx); in __ieee80211_start_rx_ba_session()
|
D | iface.c | 113 lockdep_assert_held(&local->mtx); in __ieee80211_recalc_idle() 434 mutex_lock(&local->mtx); in ieee80211_add_virtual_monitor() 437 mutex_unlock(&local->mtx); in ieee80211_add_virtual_monitor() 477 mutex_lock(&local->mtx); in ieee80211_del_virtual_monitor() 479 mutex_unlock(&local->mtx); in ieee80211_del_virtual_monitor() 512 mutex_lock(&local->mtx); in ieee80211_do_open() 514 mutex_unlock(&local->mtx); in ieee80211_do_open() 619 mutex_lock(&local->mtx); in ieee80211_do_open() 621 mutex_unlock(&local->mtx); in ieee80211_do_open() 770 mutex_lock(&local->mtx); in ieee80211_do_open() [all …]
|
D | ht.c | 293 mutex_lock(&sta->ampdu_mlme.mtx); in ieee80211_sta_tear_down_BA_sessions() 302 mutex_unlock(&sta->ampdu_mlme.mtx); in ieee80211_sta_tear_down_BA_sessions() 312 mutex_lock(&sta->ampdu_mlme.mtx); in ieee80211_sta_tear_down_BA_sessions() 323 mutex_unlock(&sta->ampdu_mlme.mtx); in ieee80211_sta_tear_down_BA_sessions() 338 mutex_lock(&sta->ampdu_mlme.mtx); in ieee80211_ba_session_work() 399 mutex_unlock(&sta->ampdu_mlme.mtx); in ieee80211_ba_session_work()
|
D | chan.c | 403 lockdep_assert_held(&local->mtx); in ieee80211_is_radar_required() 426 lockdep_assert_held(&local->mtx); in ieee80211_chanctx_radar_required() 476 lockdep_assert_held(&local->mtx); in ieee80211_add_chanctx() 509 lockdep_assert_held(&local->mtx); in ieee80211_new_chanctx() 622 lockdep_assert_held(&local->mtx); in ieee80211_recalc_radar_chanctx() 801 lockdep_assert_held(&local->mtx); in __ieee80211_vif_copy_chanctx_to_vlans() 1017 lockdep_assert_held(&local->mtx); in ieee80211_vif_use_reserved_reassign() 1164 lockdep_assert_held(&local->mtx); in ieee80211_chsw_switch_hwconf() 1186 lockdep_assert_held(&local->mtx); in ieee80211_chsw_switch_vifs() 1231 lockdep_assert_held(&local->mtx); in ieee80211_chsw_switch_ctxs() [all …]
|
/Linux-v4.19/drivers/vme/ |
D | vme.c | 320 mutex_lock(&slave_image->mtx); in vme_slave_request() 326 mutex_unlock(&slave_image->mtx); in vme_slave_request() 330 mutex_unlock(&slave_image->mtx); in vme_slave_request() 348 mutex_lock(&slave_image->mtx); in vme_slave_request() 350 mutex_unlock(&slave_image->mtx); in vme_slave_request() 471 mutex_lock(&slave_image->mtx); in vme_slave_free() 476 mutex_unlock(&slave_image->mtx); in vme_slave_free() 900 mutex_lock(&dma_ctrlr->mtx); in vme_dma_request() 905 mutex_unlock(&dma_ctrlr->mtx); in vme_dma_request() 909 mutex_unlock(&dma_ctrlr->mtx); in vme_dma_request() [all …]
|
D | vme_bridge.h | 31 struct mutex mtx; member 58 struct mutex mtx; member 64 struct mutex mtx; member 75 struct mutex mtx; member
|
/Linux-v4.19/tools/lib/lockdep/include/liblockdep/ |
D | mutex.h | 15 #define LIBLOCKDEP_PTHREAD_MUTEX_INITIALIZER(mtx) \ argument 18 .dep_map = STATIC_LOCKDEP_MAP_INIT(#mtx, &((&(mtx))->dep_map)), \
|
/Linux-v4.19/net/rfkill/ |
D | core.c | 89 struct mutex mtx; member 293 mutex_lock(&data->mtx); in rfkill_send_events() 295 mutex_unlock(&data->mtx); in rfkill_send_events() 1123 mutex_init(&data->mtx); in rfkill_fop_open() 1127 mutex_lock(&data->mtx); in rfkill_fop_open() 1141 mutex_unlock(&data->mtx); in rfkill_fop_open() 1149 mutex_unlock(&data->mtx); in rfkill_fop_open() 1151 mutex_destroy(&data->mtx); in rfkill_fop_open() 1165 mutex_lock(&data->mtx); in rfkill_fop_poll() 1168 mutex_unlock(&data->mtx); in rfkill_fop_poll() [all …]
|
/Linux-v4.19/drivers/vme/bridges/ |
D | vme_fake.c | 210 mutex_lock(&image->mtx); in fake_slave_set() 219 mutex_unlock(&image->mtx); in fake_slave_set() 238 mutex_lock(&image->mtx); in fake_slave_get() 247 mutex_unlock(&image->mtx); in fake_slave_get() 865 mutex_lock(&lm->mtx); in fake_lm_set() 870 mutex_unlock(&lm->mtx); in fake_lm_set() 883 mutex_unlock(&lm->mtx); in fake_lm_set() 892 mutex_unlock(&lm->mtx); in fake_lm_set() 907 mutex_lock(&lm->mtx); in fake_lm_get() 913 mutex_unlock(&lm->mtx); in fake_lm_get() [all …]
|
D | vme_ca91cx42.c | 1196 mutex_lock(&ctrlr->mtx); in ca91cx42_dma_list_exec() 1205 mutex_unlock(&ctrlr->mtx); in ca91cx42_dma_list_exec() 1217 mutex_unlock(&ctrlr->mtx); in ca91cx42_dma_list_exec() 1267 mutex_lock(&ctrlr->mtx); in ca91cx42_dma_list_exec() 1269 mutex_unlock(&ctrlr->mtx); in ca91cx42_dma_list_exec() 1316 mutex_lock(&lm->mtx); in ca91cx42_lm_set() 1321 mutex_unlock(&lm->mtx); in ca91cx42_lm_set() 1339 mutex_unlock(&lm->mtx); in ca91cx42_lm_set() 1357 mutex_unlock(&lm->mtx); in ca91cx42_lm_set() 1373 mutex_lock(&lm->mtx); in ca91cx42_lm_get() [all …]
|
D | vme_tsi148.c | 1827 mutex_lock(&ctrlr->mtx); in tsi148_dma_list_exec() 1838 mutex_unlock(&ctrlr->mtx); in tsi148_dma_list_exec() 1848 mutex_unlock(&ctrlr->mtx); in tsi148_dma_list_exec() 1891 mutex_lock(&ctrlr->mtx); in tsi148_dma_list_exec() 1893 mutex_unlock(&ctrlr->mtx); in tsi148_dma_list_exec() 1942 mutex_lock(&lm->mtx); in tsi148_lm_set() 1947 mutex_unlock(&lm->mtx); in tsi148_lm_set() 1968 mutex_unlock(&lm->mtx); in tsi148_lm_set() 1989 mutex_unlock(&lm->mtx); in tsi148_lm_set() 2005 mutex_lock(&lm->mtx); in tsi148_lm_get() [all …]
|
/Linux-v4.19/drivers/usb/misc/ |
D | adutux.c | 71 struct mutex mtx; member 354 if (mutex_lock_interruptible(&dev->mtx)) in adu_read() 500 mutex_unlock(&dev->mtx); in adu_read() 518 retval = mutex_lock_interruptible(&dev->mtx); in adu_write() 543 mutex_unlock(&dev->mtx); in adu_write() 558 retval = mutex_lock_interruptible(&dev->mtx); in adu_write() 612 mutex_unlock(&dev->mtx); in adu_write() 616 mutex_unlock(&dev->mtx); in adu_write() 666 mutex_init(&dev->mtx); in adu_probe() 767 mutex_lock(&dev->mtx); /* not interruptible */ in adu_disconnect() [all …]
|
/Linux-v4.19/fs/ |
D | eventpoll.c | 195 struct mutex mtx; member 630 return rcu_dereference_check(epi->ws, lockdep_is_held(&epi->ep->mtx)); in ep_wakeup_source() 690 mutex_lock_nested(&ep->mtx, depth); in ep_scan_ready_list() 755 mutex_unlock(&ep->mtx); in ep_scan_ready_list() 849 mutex_lock(&ep->mtx); in ep_free() 855 mutex_unlock(&ep->mtx); in ep_free() 858 mutex_destroy(&ep->mtx); in ep_free() 952 mutex_lock(&ep->mtx); in ep_show_fdinfo() 966 mutex_unlock(&ep->mtx); in ep_show_fdinfo() 1006 mutex_lock_nested(&ep->mtx, 0); in eventpoll_release_file() [all …]
|
/Linux-v4.19/drivers/video/fbdev/omap2/omapfb/ |
D | omapfb.h | 91 struct mutex mtx; member 176 mutex_lock(&fbdev->mtx); in omapfb_lock() 181 mutex_unlock(&fbdev->mtx); in omapfb_unlock()
|
/Linux-v4.19/drivers/net/wireless/atmel/ |
D | at76c50x-usb.c | 1481 mutex_lock(&priv->mtx); in at76_work_set_promisc() 1493 mutex_unlock(&priv->mtx); in at76_work_set_promisc() 1502 mutex_lock(&priv->mtx); in at76_work_submit_rx() 1504 mutex_unlock(&priv->mtx); in at76_work_submit_rx() 1726 mutex_lock(&priv->mtx); in at76_work_join_bssid() 1731 mutex_unlock(&priv->mtx); in at76_work_join_bssid() 1846 mutex_lock(&priv->mtx); in at76_mac80211_start() 1860 mutex_unlock(&priv->mtx); in at76_mac80211_start() 1875 mutex_lock(&priv->mtx); in at76_mac80211_stop() 1887 mutex_unlock(&priv->mtx); in at76_mac80211_stop() [all …]
|
/Linux-v4.19/drivers/iio/ |
D | industrialio-core.c | 511 const struct iio_mount_matrix *mtx = ((iio_get_mount_matrix_t *) in iio_show_mount_matrix() local 514 if (IS_ERR(mtx)) in iio_show_mount_matrix() 515 return PTR_ERR(mtx); in iio_show_mount_matrix() 517 if (!mtx) in iio_show_mount_matrix() 518 mtx = &iio_mount_idmatrix; in iio_show_mount_matrix() 521 mtx->rotation[0], mtx->rotation[1], mtx->rotation[2], in iio_show_mount_matrix() 522 mtx->rotation[3], mtx->rotation[4], mtx->rotation[5], in iio_show_mount_matrix() 523 mtx->rotation[6], mtx->rotation[7], mtx->rotation[8]); in iio_show_mount_matrix()
|
/Linux-v4.19/sound/pci/aw2/ |
D | aw2-alsa.c | 101 struct mutex mtx; member 361 mutex_init(&chip->mtx); in snd_aw2_probe() 449 mutex_lock(&chip->mtx); in snd_aw2_pcm_prepare_playback() 465 mutex_unlock(&chip->mtx); in snd_aw2_pcm_prepare_playback() 478 mutex_lock(&chip->mtx); in snd_aw2_pcm_prepare_capture() 494 mutex_unlock(&chip->mtx); in snd_aw2_pcm_prepare_capture()
|
/Linux-v4.19/net/wireless/ |
D | core.h | 193 mutex_lock(&wdev->mtx); in wdev_lock() 194 __acquire(wdev->mtx); in wdev_lock() 200 __release(wdev->mtx); in wdev_unlock() 201 mutex_unlock(&wdev->mtx); in wdev_unlock() 204 #define ASSERT_WDEV_LOCK(wdev) lockdep_assert_held(&(wdev)->mtx)
|
/Linux-v4.19/drivers/net/wireless/ath/ath10k/ |
D | sdio.c | 764 mutex_lock(&irq_data->mtx); in ath10k_sdio_mbox_proc_counter_intr() 777 mutex_unlock(&irq_data->mtx); in ath10k_sdio_mbox_proc_counter_intr() 835 mutex_lock(&irq_data->mtx); in ath10k_sdio_mbox_proc_cpu_intr() 863 mutex_unlock(&irq_data->mtx); in ath10k_sdio_mbox_proc_cpu_intr() 878 mutex_lock(&irq_data->mtx); in ath10k_sdio_mbox_read_int_status() 927 mutex_unlock(&irq_data->mtx); in ath10k_sdio_mbox_read_int_status() 1371 mutex_lock(&irq_data->mtx); in ath10k_sdio_hif_disable_intrs() 1379 mutex_unlock(&irq_data->mtx); in ath10k_sdio_hif_disable_intrs() 1481 mutex_lock(&irq_data->mtx); in ath10k_sdio_hif_enable_intrs() 1516 mutex_unlock(&irq_data->mtx); in ath10k_sdio_hif_enable_intrs() [all …]
|