Home
last modified time | relevance | path

Searched refs:mutex_is_locked (Results 1 – 25 of 153) sorted by relevance

1234567

/linux-6.6.21/drivers/net/wireless/zydas/zd1211rw/
Dzd_rf.c64 ZD_ASSERT(mutex_is_locked(&chip->mutex)); in zd_rf_init_hw()
111 ZD_ASSERT(mutex_is_locked(&zd_rf_to_chip(rf)->mutex)); in zd_rf_set_channel()
129 ZD_ASSERT(mutex_is_locked(&chip->mutex)); in zd_switch_radio_on()
146 ZD_ASSERT(mutex_is_locked(&chip->mutex)); in zd_switch_radio_off()
Dzd_chip.c34 ZD_ASSERT(!mutex_is_locked(&chip->mutex)); in zd_chip_clear()
141 ZD_ASSERT(mutex_is_locked(&chip->mutex)); in _zd_iowrite32v_async_locked()
190 ZD_ASSERT(mutex_is_locked(&chip->mutex)); in zd_iowrite16a_locked()
322 ZD_ASSERT(mutex_is_locked(&chip->mutex)); in read_pod()
435 ZD_ASSERT(mutex_is_locked(&chip->mutex)); in read_values()
510 ZD_ASSERT(mutex_is_locked(&chip->mutex)); in zd_chip_lock_phy_regs()
530 ZD_ASSERT(mutex_is_locked(&chip->mutex)); in zd_chip_unlock_phy_regs()
570 ZD_ASSERT(mutex_is_locked(&chip->mutex)); in patch_6m_band_edge()
774 ZD_ASSERT(mutex_is_locked(&chip->mutex)); in zd1211_hw_init_hmac()
793 ZD_ASSERT(mutex_is_locked(&chip->mutex)); in zd1211b_hw_init_hmac()
[all …]
Dzd_chip.h800 ZD_ASSERT(mutex_is_locked(&chip->mutex)); in zd_ioread16v_locked()
807 ZD_ASSERT(mutex_is_locked(&chip->mutex)); in zd_ioread16_locked()
825 ZD_ASSERT(mutex_is_locked(&chip->mutex)); in zd_iowrite16_locked()
854 ZD_ASSERT(mutex_is_locked(&chip->mutex)); in zd_rfwrite_locked()
/linux-6.6.21/include/linux/
Dmutex.h128 extern bool mutex_is_locked(struct mutex *lock);
158 #define mutex_is_locked(l) rt_mutex_base_is_locked(&(l)->rtmutex) macro
Dww_mutex.h31 #define ww_mutex_base_is_locked(b) mutex_is_locked((b))
/linux-6.6.21/fs/ubifs/
Dshrinker.c64 ubifs_assert(c, mutex_is_locked(&c->umount_mutex)); in shrink_tnc()
65 ubifs_assert(c, mutex_is_locked(&c->tnc_mutex)); in shrink_tnc()
Djournal.c554 ubifs_assert(c, mutex_is_locked(&host_ui->ui_mutex)); in ubifs_jnl_update()
1071 ubifs_assert(c, mutex_is_locked(&ubifs_inode(fst_dir)->ui_mutex)); in ubifs_jnl_xrename()
1072 ubifs_assert(c, mutex_is_locked(&ubifs_inode(snd_dir)->ui_mutex)); in ubifs_jnl_xrename()
1243 ubifs_assert(c, mutex_is_locked(&ubifs_inode(old_dir)->ui_mutex)); in ubifs_jnl_rename()
1244 ubifs_assert(c, mutex_is_locked(&ubifs_inode(new_dir)->ui_mutex)); in ubifs_jnl_rename()
1250 ubifs_assert(c, mutex_is_locked(&new_ui->ui_mutex)); in ubifs_jnl_rename()
1259 ubifs_assert(c, mutex_is_locked(&whiteout_ui->ui_mutex)); in ubifs_jnl_rename()
1570 ubifs_assert(c, mutex_is_locked(&ui->ui_mutex)); in ubifs_jnl_truncate()
1730 ubifs_assert(c, mutex_is_locked(&host_ui->ui_mutex)); in ubifs_jnl_delete_xattr()
1852 ubifs_assert(c, mutex_is_locked(&host_ui->ui_mutex)); in ubifs_jnl_change_xattr()
Dmisc.h256 ubifs_assert(c, mutex_is_locked(&c->lp_mutex)); in ubifs_release_lprops()
Dlprops.c534 ubifs_assert(c, mutex_is_locked(&c->lp_mutex)); in ubifs_change_lp()
759 ubifs_assert(c, mutex_is_locked(&c->lp_mutex)); in ubifs_fast_find_free()
782 ubifs_assert(c, mutex_is_locked(&c->lp_mutex)); in ubifs_fast_find_empty()
805 ubifs_assert(c, mutex_is_locked(&c->lp_mutex)); in ubifs_fast_find_freeable()
829 ubifs_assert(c, mutex_is_locked(&c->lp_mutex)); in ubifs_fast_find_frdi_idx()
/linux-6.6.21/drivers/char/hw_random/
Dcore.c94 BUG_ON(!mutex_is_locked(&rng_mutex)); in set_current_rng()
117 BUG_ON(!mutex_is_locked(&rng_mutex)); in drop_current_rng()
197 BUG_ON(!mutex_is_locked(&reading_mutex)); in rng_get_data()
316 BUG_ON(!mutex_is_locked(&rng_mutex)); in enable_best_rng()
/linux-6.6.21/security/apparmor/
Dpolicy_ns.c261 AA_BUG(!mutex_is_locked(&parent->lock)); in __aa_create_ns()
298 AA_BUG(!mutex_is_locked(&parent->lock)); in __aa_find_or_create_ns()
Dapparmorfs.c1432 AA_BUG(rawdata->ns && !mutex_is_locked(&rawdata->ns->lock)); in __aa_fs_remove_rawdata()
1448 AA_BUG(!mutex_is_locked(&ns->lock)); in __aa_fs_create_rawdata()
1554 AA_BUG(!mutex_is_locked(&profiles_ns(old)->lock)); in __aafs_profile_migrate_dents()
1695 AA_BUG(!mutex_is_locked(&profiles_ns(profile)->lock)); in __aafs_profile_mkdir()
1904 AA_BUG(!mutex_is_locked(&ns->lock)); in __aa_fs_list_remove_rawdata()
1922 AA_BUG(!mutex_is_locked(&ns->lock)); in __aafs_ns_rmdir()
2032 AA_BUG(!mutex_is_locked(&ns->lock)); in __aafs_ns_mkdir()
2094 AA_BUG(ns != root && !mutex_is_locked(&ns->parent->lock)); in __next_ns()
2131 AA_BUG(ns && !mutex_is_locked(&ns->lock)); in __first_profile()
2155 AA_BUG(!mutex_is_locked(&profiles_ns(p)->lock)); in __next_profile()
[all …]
/linux-6.6.21/kernel/locking/
Dmutex-debug.c102 DEBUG_LOCKS_WARN_ON(mutex_is_locked(lock)); in mutex_destroy()
/linux-6.6.21/samples/vfio-mdev/
Dmbochs.c254 WARN_ON(!mutex_is_locked(&mdev_state->ops_lock)); in mbochs_check_framebuffer()
730 WARN_ON(!mutex_is_locked(&mdev_state->ops_lock)); in __mbochs_get_page()
763 WARN_ON(!mutex_is_locked(&mdev_state->ops_lock)); in mbochs_put_pages()
936 WARN_ON(!mutex_is_locked(&mdev_state->ops_lock)); in mbochs_dmabuf_alloc()
979 WARN_ON(!mutex_is_locked(&mdev_state->ops_lock)); in mbochs_dmabuf_find_by_mode()
993 WARN_ON(!mutex_is_locked(&mdev_state->ops_lock)); in mbochs_dmabuf_find_by_id()
1009 WARN_ON(!mutex_is_locked(&mdev_state->ops_lock)); in mbochs_dmabuf_export()
/linux-6.6.21/Documentation/translations/zh_CN/locking/
Dmutex-design.rst131 int mutex_is_locked(struct mutex *lock);
/linux-6.6.21/security/apparmor/include/
Dpolicy_ns.h103 mutex_is_locked(&p->ns->lock)); in aa_deref_parent()
/linux-6.6.21/include/drm/
Ddrm_framebuffer.h289 for (WARN_ON(!mutex_is_locked(&(dev)->mode_config.fb_lock)), \
/linux-6.6.21/drivers/gpu/drm/msm/disp/
Dmsm_disp_snapshot.c37 WARN_ON(!mutex_is_locked(&kms->dump_mutex)); in msm_disp_snapshot_state_sync()
/linux-6.6.21/drivers/net/wireless/silabs/wfx/
Dhif_rx.c27 WARN(!mutex_is_locked(&wdev->hif_cmd.lock), "data locking error"); in wfx_hif_generic_confirm()
373 if (mutex_is_locked(&wdev->hif_cmd.lock) && in wfx_handle_rx()
/linux-6.6.21/drivers/thermal/qcom/
Dqcom-spmi-temp-alarm.c157 WARN_ON(!mutex_is_locked(&chip->lock)); in qpnp_tm_update_temp_no_adc()
227 WARN_ON(!mutex_is_locked(&chip->lock)); in qpnp_tm_update_critical_trip_temp()
/linux-6.6.21/net/phonet/
Dpn_dev.c57 BUG_ON(!mutex_is_locked(&pndevs->lock)); in __phonet_device_alloc()
67 BUG_ON(!mutex_is_locked(&pndevs->lock)); in __phonet_get()
/linux-6.6.21/drivers/tty/
Dtty.h91 #define tty_is_writelocked(tty) (mutex_is_locked(&tty->atomic_write_lock))
/linux-6.6.21/fs/hfsplus/
Dextents.c93 WARN_ON(!mutex_is_locked(&hip->extents_lock)); in __hfsplus_ext_write_extent()
183 WARN_ON(!mutex_is_locked(&hip->extents_lock)); in __hfsplus_ext_cache_extent()
346 WARN_ON(mutex_is_locked(&HFSPLUS_SB(sb)->ext_tree->tree_lock)); in hfsplus_free_extents()
/linux-6.6.21/drivers/media/cec/i2c/
Dch7322.c172 WARN_ON(!mutex_is_locked(&ch7322->mutex)); in ch7322_send_message()
214 WARN_ON(!mutex_is_locked(&ch7322->mutex)); in ch7322_receive_message()
/linux-6.6.21/fs/xfs/
Dxfs_dquot.h203 #define XFS_DQ_IS_LOCKED(dqp) (mutex_is_locked(&((dqp)->q_qlock)))

1234567