Home
last modified time | relevance | path

Searched refs:mutex_lock_nested (Results 1 – 25 of 65) sorted by relevance

123

/Linux-v5.10/drivers/nvdimm/
Dnd-core.h202 mutex_lock_nested(&dev->lockdep_mutex, LOCK_REGION); in debug_nvdimm_lock()
204 mutex_lock_nested(&dev->lockdep_mutex, LOCK_DIMM); in debug_nvdimm_lock()
206 mutex_lock_nested(&dev->lockdep_mutex, LOCK_CLAIM); in debug_nvdimm_lock()
208 mutex_lock_nested(&dev->lockdep_mutex, LOCK_NAMESPACE); in debug_nvdimm_lock()
210 mutex_lock_nested(&dev->lockdep_mutex, LOCK_BUS); in debug_nvdimm_lock()
212 mutex_lock_nested(&dev->lockdep_mutex, LOCK_NDCTL); in debug_nvdimm_lock()
/Linux-v5.10/sound/soc/
Dsoc-compress.c84 mutex_lock_nested(&rtd->card->pcm_mutex, rtd->card->pcm_subclass); in soc_compr_open()
133 mutex_lock_nested(&fe->card->mutex, SND_SOC_CARD_CLASS_RUNTIME); in soc_compr_open_fe()
202 mutex_lock_nested(&rtd->card->pcm_mutex, rtd->card->pcm_subclass); in soc_compr_free()
241 mutex_lock_nested(&fe->card->mutex, SND_SOC_CARD_CLASS_RUNTIME); in soc_compr_free_fe()
309 mutex_lock_nested(&rtd->card->pcm_mutex, rtd->card->pcm_subclass); in soc_compr_trigger()
348 mutex_lock_nested(&fe->card->mutex, SND_SOC_CARD_CLASS_RUNTIME); in soc_compr_trigger_fe()
411 mutex_lock_nested(&rtd->card->pcm_mutex, rtd->card->pcm_subclass); in soc_compr_set_params()
466 mutex_lock_nested(&fe->card->mutex, SND_SOC_CARD_CLASS_RUNTIME); in soc_compr_set_params_fe()
515 mutex_lock_nested(&rtd->card->pcm_mutex, rtd->card->pcm_subclass); in soc_compr_get_params()
543 mutex_lock_nested(&rtd->card->pcm_mutex, rtd->card->pcm_subclass); in soc_compr_get_caps()
[all …]
Dsoc-dapm.c1308 mutex_lock_nested(&card->dapm_mutex, SND_SOC_DAPM_CLASS_RUNTIME); in snd_soc_dapm_dai_get_connected_widgets()
2305 mutex_lock_nested(&card->dapm_mutex, SND_SOC_DAPM_CLASS_RUNTIME); in snd_soc_dapm_mux_update_power()
2370 mutex_lock_nested(&card->dapm_mutex, SND_SOC_DAPM_CLASS_RUNTIME); in snd_soc_dapm_mixer_update_power()
2608 mutex_lock_nested(&dapm->card->dapm_mutex, SND_SOC_DAPM_CLASS_RUNTIME); in snd_soc_dapm_sync()
2679 mutex_lock_nested(&rtd->card->dapm_mutex, SND_SOC_DAPM_CLASS_RUNTIME); in snd_soc_dapm_update_dai()
3072 mutex_lock_nested(&dapm->card->dapm_mutex, SND_SOC_DAPM_CLASS_RUNTIME); in snd_soc_dapm_add_routes()
3103 mutex_lock_nested(&dapm->card->dapm_mutex, SND_SOC_DAPM_CLASS_RUNTIME); in snd_soc_dapm_del_routes()
3181 mutex_lock_nested(&dapm->card->dapm_mutex, SND_SOC_DAPM_CLASS_INIT); in snd_soc_dapm_weak_routes()
3207 mutex_lock_nested(&card->dapm_mutex, SND_SOC_DAPM_CLASS_INIT); in snd_soc_dapm_new_widgets()
3291 mutex_lock_nested(&card->dapm_mutex, SND_SOC_DAPM_CLASS_RUNTIME); in snd_soc_dapm_get_volsw()
[all …]
Dsoc-pcm.c653 mutex_lock_nested(&rtd->card->pcm_mutex, rtd->card->pcm_subclass); in soc_pcm_clean()
711 mutex_lock_nested(&rtd->card->pcm_mutex, rtd->card->pcm_subclass); in soc_pcm_open()
818 mutex_lock_nested(&rtd->card->pcm_mutex, rtd->card->pcm_subclass); in soc_pcm_prepare()
877 mutex_lock_nested(&rtd->card->pcm_mutex, rtd->card->pcm_subclass); in soc_pcm_hw_params()
1003 mutex_lock_nested(&rtd->card->pcm_mutex, rtd->card->pcm_subclass); in soc_pcm_hw_free()
1942 mutex_lock_nested(&fe->card->mutex, SND_SOC_CARD_CLASS_RUNTIME); in dpcm_fe_dai_hw_free()
2047 mutex_lock_nested(&fe->card->mutex, SND_SOC_CARD_CLASS_RUNTIME); in dpcm_fe_dai_hw_params()
2362 mutex_lock_nested(&fe->card->mutex, SND_SOC_CARD_CLASS_RUNTIME); in dpcm_fe_dai_prepare()
2603 mutex_lock_nested(&card->mutex, SND_SOC_CARD_CLASS_RUNTIME); in snd_soc_dpcm_runtime_update()
2644 mutex_lock_nested(&fe->card->mutex, SND_SOC_CARD_CLASS_RUNTIME); in dpcm_fe_dai_close()
[all …]
/Linux-v5.10/fs/jfs/
Dnamei.c100 mutex_lock_nested(&JFS_IP(dip)->commit_mutex, COMMIT_MUTEX_PARENT); in jfs_create()
101 mutex_lock_nested(&JFS_IP(ip)->commit_mutex, COMMIT_MUTEX_CHILD); in jfs_create()
232 mutex_lock_nested(&JFS_IP(dip)->commit_mutex, COMMIT_MUTEX_PARENT); in jfs_mkdir()
233 mutex_lock_nested(&JFS_IP(ip)->commit_mutex, COMMIT_MUTEX_CHILD); in jfs_mkdir()
364 mutex_lock_nested(&JFS_IP(dip)->commit_mutex, COMMIT_MUTEX_PARENT); in jfs_rmdir()
365 mutex_lock_nested(&JFS_IP(ip)->commit_mutex, COMMIT_MUTEX_CHILD); in jfs_rmdir()
491 mutex_lock_nested(&JFS_IP(dip)->commit_mutex, COMMIT_MUTEX_PARENT); in jfs_unlink()
492 mutex_lock_nested(&JFS_IP(ip)->commit_mutex, COMMIT_MUTEX_CHILD); in jfs_unlink()
803 mutex_lock_nested(&JFS_IP(dir)->commit_mutex, COMMIT_MUTEX_PARENT); in jfs_link()
804 mutex_lock_nested(&JFS_IP(ip)->commit_mutex, COMMIT_MUTEX_CHILD); in jfs_link()
[all …]
/Linux-v5.10/include/linux/
Dmutex.h158 extern void mutex_lock_nested(struct mutex *lock, unsigned int subclass);
167 #define mutex_lock(lock) mutex_lock_nested(lock, 0)
184 # define mutex_lock_nested(lock, subclass) mutex_lock(lock) macro
/Linux-v5.10/drivers/scsi/libfc/
Dfc_npiv.c124 mutex_lock_nested(&vn_port->lp_mutex, LPORT_MUTEX_VN_PORT); in fc_vport_setlink()
142 mutex_lock_nested(&vn_port->lp_mutex, LPORT_MUTEX_VN_PORT); in fc_vports_linkchange()
/Linux-v5.10/security/apparmor/
Dpolicy_ns.c256 mutex_lock_nested(&ns->lock, ns->level); in __aa_create_ns()
312 mutex_lock_nested(&parent->lock, parent->level); in aa_prepare_ns()
335 mutex_lock_nested(&ns->lock, ns->level); in destroy_ns()
Dapparmorfs.c539 mutex_lock_nested(&rev->ns->lock, rev->ns->level); in ns_revision_read()
549 mutex_lock_nested(&rev->ns->lock, rev->ns->level); in ns_revision_read()
583 mutex_lock_nested(&rev->ns->lock, rev->ns->level); in ns_revision_poll()
1797 mutex_lock_nested(&parent->lock, parent->level); in ns_mkdir_op()
1846 mutex_lock_nested(&parent->lock, parent->level); in ns_rmdir_op()
1901 mutex_lock_nested(&sub->lock, sub->level); in __aafs_ns_rmdir()
2031 mutex_lock_nested(&sub->lock, sub->level); in __aafs_ns_mkdir()
2075 mutex_lock_nested(&next->lock, next->level); in __next_ns()
2085 mutex_lock_nested(&next->lock, next->level); in __next_ns()
2193 mutex_lock_nested(&root->lock, root->level); in p_start()
[all …]
Dpolicy.c551 mutex_lock_nested(&profile->ns->lock, profile->ns->level); in aa_new_null_profile()
913 mutex_lock_nested(&ns->lock, ns->level); in aa_replace_profiles()
1128 mutex_lock_nested(&ns->parent->lock, ns->level); in aa_remove_profiles()
1134 mutex_lock_nested(&ns->lock, ns->level); in aa_remove_profiles()
/Linux-v5.10/fs/hfsplus/
Dbfind.c30 mutex_lock_nested(&tree->tree_lock, CATALOG_BTREE_MUTEX); in hfs_find_init()
33 mutex_lock_nested(&tree->tree_lock, EXTENTS_BTREE_MUTEX); in hfs_find_init()
36 mutex_lock_nested(&tree->tree_lock, ATTR_BTREE_MUTEX); in hfs_find_init()
/Linux-v5.10/drivers/net/mdio/
Dmdio-mux.c44 mutex_lock_nested(&pb->mii_bus->mdio_lock, MDIO_MUTEX_MUX); in mdio_mux_read()
69 mutex_lock_nested(&pb->mii_bus->mdio_lock, MDIO_MUTEX_MUX); in mdio_mux_write()
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx4/
Dport.c202 mutex_lock_nested(&dup_table->mutex, SINGLE_DEPTH_NESTING); in __mlx4_register_mac()
205 mutex_lock_nested(&table->mutex, SINGLE_DEPTH_NESTING); in __mlx4_register_mac()
398 mutex_lock_nested(&dup_table->mutex, SINGLE_DEPTH_NESTING); in __mlx4_unregister_mac()
401 mutex_lock_nested(&table->mutex, SINGLE_DEPTH_NESTING); in __mlx4_unregister_mac()
488 mutex_lock_nested(&dup_table->mutex, SINGLE_DEPTH_NESTING); in __mlx4_replace_mac()
491 mutex_lock_nested(&table->mutex, SINGLE_DEPTH_NESTING); in __mlx4_replace_mac()
597 mutex_lock_nested(&dup_table->mutex, SINGLE_DEPTH_NESTING); in __mlx4_register_vlan()
600 mutex_lock_nested(&table->mutex, SINGLE_DEPTH_NESTING); in __mlx4_register_vlan()
773 mutex_lock_nested(&dup_table->mutex, SINGLE_DEPTH_NESTING); in __mlx4_unregister_vlan()
776 mutex_lock_nested(&table->mutex, SINGLE_DEPTH_NESTING); in __mlx4_unregister_vlan()
/Linux-v5.10/fs/notify/
Dmark.c433 mutex_lock_nested(&group->mark_mutex, SINGLE_DEPTH_NESTING); in fsnotify_destroy_mark()
745 mutex_lock_nested(&group->mark_mutex, SINGLE_DEPTH_NESTING); in fsnotify_clear_marks_by_group()
754 mutex_lock_nested(&group->mark_mutex, SINGLE_DEPTH_NESTING); in fsnotify_clear_marks_by_group()
/Linux-v5.10/fs/ubifs/
Dmisc.h131 mutex_lock_nested(&wbuf->io_mutex, wbuf->jhead); in ubifs_wbuf_sync()
Ddir.c664 mutex_lock_nested(&ubifs_inode(inode1)->ui_mutex, WB_MUTEX_1); in lock_2_inodes()
665 mutex_lock_nested(&ubifs_inode(inode2)->ui_mutex, WB_MUTEX_2); in lock_2_inodes()
1211 mutex_lock_nested(&ubifs_inode(inode1)->ui_mutex, WB_MUTEX_1); in lock_4_inodes()
1213 mutex_lock_nested(&ubifs_inode(inode2)->ui_mutex, WB_MUTEX_2); in lock_4_inodes()
1215 mutex_lock_nested(&ubifs_inode(inode3)->ui_mutex, WB_MUTEX_3); in lock_4_inodes()
1217 mutex_lock_nested(&ubifs_inode(inode4)->ui_mutex, WB_MUTEX_4); in lock_4_inodes()
Dio.c685 mutex_lock_nested(&wbuf->io_mutex, wbuf->jhead); in ubifs_bg_wbufs_sync()
707 mutex_lock_nested(&wbuf->io_mutex, wbuf->jhead); in ubifs_bg_wbufs_sync()
1214 mutex_lock_nested(&wbuf->io_mutex, wbuf->jhead); in ubifs_sync_wbufs_by_inode()
/Linux-v5.10/drivers/devfreq/
Dgovernor_passive.c102 mutex_lock_nested(&devfreq->lock, SINGLE_DEPTH_NESTING); in update_devfreq_passive()
/Linux-v5.10/drivers/net/dsa/
Dmt7530.c136 mutex_lock_nested(&bus->mdio_lock, MDIO_MUTEX_NESTED); in core_write()
149 mutex_lock_nested(&bus->mdio_lock, MDIO_MUTEX_NESTED); in core_rmw()
229 mutex_lock_nested(&bus->mdio_lock, MDIO_MUTEX_NESTED); in mt7530_write()
248 mutex_lock_nested(&bus->mdio_lock, MDIO_MUTEX_NESTED); in _mt7530_read()
273 mutex_lock_nested(&bus->mdio_lock, MDIO_MUTEX_NESTED); in mt7530_rmw()
629 mutex_lock_nested(&bus->mdio_lock, MDIO_MUTEX_NESTED); in mt7531_ind_c45_phy_read()
678 mutex_lock_nested(&bus->mdio_lock, MDIO_MUTEX_NESTED); in mt7531_ind_c45_phy_write()
725 mutex_lock_nested(&bus->mdio_lock, MDIO_MUTEX_NESTED); in mt7531_ind_c22_phy_read()
764 mutex_lock_nested(&bus->mdio_lock, MDIO_MUTEX_NESTED); in mt7531_ind_c22_phy_write()
/Linux-v5.10/drivers/gpu/drm/i915/
Dintel_wakeref.c33 mutex_lock_nested(&wf->mutex, SINGLE_DEPTH_NESTING); in __intel_wakeref_get_first()
/Linux-v5.10/drivers/gpu/drm/i915/gem/
Di915_gem_phys.c223 mutex_lock_nested(&obj->mm.lock, I915_MM_GET_PAGES); in i915_gem_object_attach_phys()
/Linux-v5.10/block/partitions/
Dcore.c546 mutex_lock_nested(&bdev->bd_mutex, 1); in bdev_del_partition()
588 mutex_lock_nested(&bdev->bd_mutex, 1); in bdev_resize_partition()
/Linux-v5.10/drivers/net/phy/
Dmdio_bus.c828 mutex_lock_nested(&bus->mdio_lock, MDIO_MUTEX_NESTED); in mdiobus_read_nested()
876 mutex_lock_nested(&bus->mdio_lock, MDIO_MUTEX_NESTED); in mdiobus_write_nested()
/Linux-v5.10/fs/
Deventpoll.c694 mutex_lock_nested(&ep->mtx, depth); in ep_scan_ready_list()
999 mutex_lock_nested(&ep->mtx, 0); in eventpoll_release_file()
1972 mutex_lock_nested(&ep->mtx, call_nests + 1); in ep_loop_check_proc()
2100 mutex_lock_nested(mutex, depth); in epoll_mutex_lock()
/Linux-v5.10/kernel/locking/
Dmutex.c1116 mutex_lock_nested(struct mutex *lock, unsigned int subclass) in mutex_lock_nested() function
1121 EXPORT_SYMBOL_GPL(mutex_lock_nested);

123