Home
last modified time | relevance | path

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

1234567

/linux-6.1.9/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.1.9/include/linux/
Dmutex.h127 extern bool mutex_is_locked(struct mutex *lock);
157 #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.1.9/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()
1239 ubifs_assert(c, mutex_is_locked(&ubifs_inode(old_dir)->ui_mutex)); in ubifs_jnl_rename()
1240 ubifs_assert(c, mutex_is_locked(&ubifs_inode(new_dir)->ui_mutex)); in ubifs_jnl_rename()
1246 ubifs_assert(c, mutex_is_locked(&new_ui->ui_mutex)); in ubifs_jnl_rename()
1255 ubifs_assert(c, mutex_is_locked(&whiteout_ui->ui_mutex)); in ubifs_jnl_rename()
1566 ubifs_assert(c, mutex_is_locked(&ui->ui_mutex)); in ubifs_jnl_truncate()
1726 ubifs_assert(c, mutex_is_locked(&host_ui->ui_mutex)); in ubifs_jnl_delete_xattr()
1848 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.1.9/drivers/char/hw_random/
Dcore.c90 BUG_ON(!mutex_is_locked(&rng_mutex)); in set_current_rng()
113 BUG_ON(!mutex_is_locked(&rng_mutex)); in drop_current_rng()
196 BUG_ON(!mutex_is_locked(&reading_mutex)); in rng_get_data()
310 BUG_ON(!mutex_is_locked(&rng_mutex)); in enable_best_rng()
/linux-6.1.9/security/apparmor/
Dapparmorfs.c1424 AA_BUG(rawdata->ns && !mutex_is_locked(&rawdata->ns->lock)); in __aa_fs_remove_rawdata()
1440 AA_BUG(!mutex_is_locked(&ns->lock)); in __aa_fs_create_rawdata()
1546 AA_BUG(!mutex_is_locked(&profiles_ns(old)->lock)); in __aafs_profile_migrate_dents()
1684 AA_BUG(!mutex_is_locked(&profiles_ns(profile)->lock)); in __aafs_profile_mkdir()
1891 AA_BUG(!mutex_is_locked(&ns->lock)); in __aa_fs_list_remove_rawdata()
1909 AA_BUG(!mutex_is_locked(&ns->lock)); in __aafs_ns_rmdir()
2019 AA_BUG(!mutex_is_locked(&ns->lock)); in __aafs_ns_mkdir()
2081 AA_BUG(ns != root && !mutex_is_locked(&ns->parent->lock)); in __next_ns()
2118 AA_BUG(ns && !mutex_is_locked(&ns->lock)); in __first_profile()
2142 AA_BUG(!mutex_is_locked(&profiles_ns(p)->lock)); in __next_profile()
[all …]
Dpolicy_ns.c263 AA_BUG(!mutex_is_locked(&parent->lock)); in __aa_create_ns()
300 AA_BUG(!mutex_is_locked(&parent->lock)); in __aa_find_or_create_ns()
Dpolicy.c116 AA_BUG(!mutex_is_locked(&profile->ns->lock)); in __add_profile()
142 AA_BUG(!mutex_is_locked(&profile->ns->lock)); in __list_remove_profile()
158 AA_BUG(!mutex_is_locked(&profile->ns->lock)); in __remove_profile()
870 mutex_is_locked(&new->ns->lock)); in update_to_newest_parent()
/linux-6.1.9/kernel/locking/
Dmutex-debug.c102 DEBUG_LOCKS_WARN_ON(mutex_is_locked(lock)); in mutex_destroy()
/linux-6.1.9/samples/vfio-mdev/
Dmbochs.c254 WARN_ON(!mutex_is_locked(&mdev_state->ops_lock)); in mbochs_check_framebuffer()
731 WARN_ON(!mutex_is_locked(&mdev_state->ops_lock)); in __mbochs_get_page()
764 WARN_ON(!mutex_is_locked(&mdev_state->ops_lock)); in mbochs_put_pages()
937 WARN_ON(!mutex_is_locked(&mdev_state->ops_lock)); in mbochs_dmabuf_alloc()
980 WARN_ON(!mutex_is_locked(&mdev_state->ops_lock)); in mbochs_dmabuf_find_by_mode()
994 WARN_ON(!mutex_is_locked(&mdev_state->ops_lock)); in mbochs_dmabuf_find_by_id()
1010 WARN_ON(!mutex_is_locked(&mdev_state->ops_lock)); in mbochs_dmabuf_export()
/linux-6.1.9/Documentation/translations/zh_CN/locking/
Dmutex-design.rst131 int mutex_is_locked(struct mutex *lock);
/linux-6.1.9/security/apparmor/include/
Dpolicy_ns.h103 mutex_is_locked(&p->ns->lock)); in aa_deref_parent()
/linux-6.1.9/include/drm/
Ddrm_framebuffer.h289 for (WARN_ON(!mutex_is_locked(&(dev)->mode_config.fb_lock)), \
/linux-6.1.9/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.1.9/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.1.9/drivers/thermal/qcom/
Dqcom-spmi-temp-alarm.c159 WARN_ON(!mutex_is_locked(&chip->lock)); in qpnp_tm_update_temp_no_adc()
229 WARN_ON(!mutex_is_locked(&chip->lock)); in qpnp_tm_update_critical_trip_temp()
/linux-6.1.9/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.1.9/drivers/tty/
Dtty.h89 #define tty_is_writelocked(tty) (mutex_is_locked(&tty->atomic_write_lock))
/linux-6.1.9/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.1.9/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()

1234567