Home
last modified time | relevance | path

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

123

/linux-6.1.9/sound/soc/
Dsoc-compress.c65 mutex_lock_nested(&rtd->card->pcm_mutex, rtd->card->pcm_subclass); in soc_compr_clean()
110 mutex_lock_nested(&rtd->card->pcm_mutex, rtd->card->pcm_subclass); in soc_compr_open()
145 mutex_lock_nested(&fe->card->mutex, SND_SOC_CARD_CLASS_RUNTIME); in soc_compr_open_fe()
187 mutex_lock_nested(&fe->card->pcm_mutex, fe->card->pcm_subclass); in soc_compr_open_fe()
214 mutex_lock_nested(&fe->card->mutex, SND_SOC_CARD_CLASS_RUNTIME); in soc_compr_free_fe()
216 mutex_lock_nested(&fe->card->pcm_mutex, fe->card->pcm_subclass); in soc_compr_free_fe()
257 mutex_lock_nested(&rtd->card->pcm_mutex, rtd->card->pcm_subclass); in soc_compr_trigger()
292 mutex_lock_nested(&fe->card->mutex, SND_SOC_CARD_CLASS_RUNTIME); in soc_compr_trigger_fe()
335 mutex_lock_nested(&rtd->card->pcm_mutex, rtd->card->pcm_subclass); in soc_compr_set_params()
381 mutex_lock_nested(&fe->card->mutex, SND_SOC_CARD_CLASS_RUNTIME); in soc_compr_set_params_fe()
[all …]
Dsoc-dapm.c1313 mutex_lock_nested(&card->dapm_mutex, SND_SOC_DAPM_CLASS_RUNTIME); in snd_soc_dapm_dai_get_connected_widgets()
2312 mutex_lock_nested(&card->dapm_mutex, SND_SOC_DAPM_CLASS_RUNTIME); in snd_soc_dapm_mux_update_power()
2377 mutex_lock_nested(&card->dapm_mutex, SND_SOC_DAPM_CLASS_RUNTIME); in snd_soc_dapm_mixer_update_power()
2652 mutex_lock_nested(&dapm->card->dapm_mutex, SND_SOC_DAPM_CLASS_RUNTIME); in snd_soc_dapm_sync()
2723 mutex_lock_nested(&rtd->card->dapm_mutex, SND_SOC_DAPM_CLASS_RUNTIME); in snd_soc_dapm_update_dai()
3115 mutex_lock_nested(&dapm->card->dapm_mutex, SND_SOC_DAPM_CLASS_RUNTIME); in snd_soc_dapm_add_routes()
3146 mutex_lock_nested(&dapm->card->dapm_mutex, SND_SOC_DAPM_CLASS_RUNTIME); in snd_soc_dapm_del_routes()
3224 mutex_lock_nested(&dapm->card->dapm_mutex, SND_SOC_DAPM_CLASS_INIT); in snd_soc_dapm_weak_routes()
3250 mutex_lock_nested(&card->dapm_mutex, SND_SOC_DAPM_CLASS_INIT); in snd_soc_dapm_new_widgets()
3334 mutex_lock_nested(&card->dapm_mutex, SND_SOC_DAPM_CLASS_RUNTIME); in snd_soc_dapm_get_volsw()
[all …]
Dsoc-component.c533 mutex_lock_nested(&rtd->card->pcm_mutex, rtd->card->pcm_subclass); in snd_soc_component_compr_get_caps()
557 mutex_lock_nested(&rtd->card->pcm_mutex, rtd->card->pcm_subclass); in snd_soc_component_compr_get_codec_caps()
621 mutex_lock_nested(&rtd->card->pcm_mutex, rtd->card->pcm_subclass); in snd_soc_component_compr_copy()
/linux-6.1.9/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()
233 mutex_lock_nested(&JFS_IP(dip)->commit_mutex, COMMIT_MUTEX_PARENT); in jfs_mkdir()
234 mutex_lock_nested(&JFS_IP(ip)->commit_mutex, COMMIT_MUTEX_CHILD); in jfs_mkdir()
365 mutex_lock_nested(&JFS_IP(dip)->commit_mutex, COMMIT_MUTEX_PARENT); in jfs_rmdir()
366 mutex_lock_nested(&JFS_IP(ip)->commit_mutex, COMMIT_MUTEX_CHILD); in jfs_rmdir()
492 mutex_lock_nested(&JFS_IP(dip)->commit_mutex, COMMIT_MUTEX_PARENT); in jfs_unlink()
493 mutex_lock_nested(&JFS_IP(ip)->commit_mutex, COMMIT_MUTEX_CHILD); in jfs_unlink()
804 mutex_lock_nested(&JFS_IP(dir)->commit_mutex, COMMIT_MUTEX_PARENT); in jfs_link()
805 mutex_lock_nested(&JFS_IP(ip)->commit_mutex, COMMIT_MUTEX_CHILD); in jfs_link()
[all …]
/linux-6.1.9/include/linux/
Dmutex.h178 extern void mutex_lock_nested(struct mutex *lock, unsigned int subclass);
187 #define mutex_lock(lock) mutex_lock_nested(lock, 0)
204 # define mutex_lock_nested(lock, subclass) mutex_lock(lock) macro
/linux-6.1.9/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-6.1.9/fs/hfs/
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-6.1.9/security/apparmor/
Dpolicy_ns.c269 mutex_lock_nested(&ns->lock, ns->level); in __aa_create_ns()
325 mutex_lock_nested(&parent->lock, parent->level); in aa_prepare_ns()
348 mutex_lock_nested(&ns->lock, ns->level); in destroy_ns()
Dapparmorfs.c542 mutex_lock_nested(&rev->ns->lock, rev->ns->level); in ns_revision_read()
552 mutex_lock_nested(&rev->ns->lock, rev->ns->level); in ns_revision_read()
586 mutex_lock_nested(&rev->ns->lock, rev->ns->level); in ns_revision_poll()
1811 mutex_lock_nested(&parent->lock, parent->level); in ns_mkdir_op()
1860 mutex_lock_nested(&parent->lock, parent->level); in ns_rmdir_op()
1915 mutex_lock_nested(&sub->lock, sub->level); in __aafs_ns_rmdir()
2045 mutex_lock_nested(&sub->lock, sub->level); in __aafs_ns_mkdir()
2086 mutex_lock_nested(&next->lock, next->level); in __next_ns()
2096 mutex_lock_nested(&next->lock, next->level); in __next_ns()
2204 mutex_lock_nested(&root->lock, root->level); in p_start()
[all …]
Dpolicy.c550 mutex_lock_nested(&profile->ns->lock, profile->ns->level); in aa_new_null_profile()
953 mutex_lock_nested(&ns->lock, ns->level); in aa_replace_profiles()
1173 mutex_lock_nested(&ns->parent->lock, ns->parent->level); in aa_remove_profiles()
1179 mutex_lock_nested(&ns->lock, ns->level); in aa_remove_profiles()
/linux-6.1.9/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-6.1.9/drivers/net/dsa/microchip/
Dksz8863_smi.c33 mutex_lock_nested(&mdev->bus->mdio_lock, MDIO_MUTEX_NESTED); in ksz8863_mdio_read()
65 mutex_lock_nested(&mdev->bus->mdio_lock, MDIO_MUTEX_NESTED); in ksz8863_mdio_write()
/linux-6.1.9/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-6.1.9/Documentation/translations/zh_CN/locking/
Dmutex-design.rst112 void mutex_lock_nested(struct mutex *lock, unsigned int subclass);
/linux-6.1.9/kernel/locking/
Drtmutex_api.c521 void __sched mutex_lock_nested(struct mutex *lock, unsigned int subclass) in mutex_lock_nested() function
525 EXPORT_SYMBOL_GPL(mutex_lock_nested);
Dmutex.c797 mutex_lock_nested(struct mutex *lock, unsigned int subclass) in mutex_lock_nested() function
802 EXPORT_SYMBOL_GPL(mutex_lock_nested);
/linux-6.1.9/security/landlock/
Druleset.c277 mutex_lock_nested(&src->lock, SINGLE_DEPTH_NESTING); in merge_ruleset()
326 mutex_lock_nested(&parent->lock, SINGLE_DEPTH_NESTING); in inherit_ruleset()
/linux-6.1.9/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-6.1.9/drivers/net/dsa/
Dmt7530.c149 mutex_lock_nested(&bus->mdio_lock, MDIO_MUTEX_NESTED); in core_write()
162 mutex_lock_nested(&bus->mdio_lock, MDIO_MUTEX_NESTED); in core_rmw()
242 mutex_lock_nested(&bus->mdio_lock, MDIO_MUTEX_NESTED); in mt7530_write()
261 mutex_lock_nested(&bus->mdio_lock, MDIO_MUTEX_NESTED); in _mt7530_read()
286 mutex_lock_nested(&bus->mdio_lock, MDIO_MUTEX_NESTED); in mt7530_rmw()
633 mutex_lock_nested(&bus->mdio_lock, MDIO_MUTEX_NESTED); in mt7531_ind_c45_phy_read()
682 mutex_lock_nested(&bus->mdio_lock, MDIO_MUTEX_NESTED); in mt7531_ind_c45_phy_write()
729 mutex_lock_nested(&bus->mdio_lock, MDIO_MUTEX_NESTED); in mt7531_ind_c22_phy_read()
768 mutex_lock_nested(&bus->mdio_lock, MDIO_MUTEX_NESTED); in mt7531_ind_c22_phy_write()
1101 mutex_lock_nested(&bus->mdio_lock, MDIO_MUTEX_NESTED); in mt7530_port_change_mtu()
[all …]
/linux-6.1.9/fs/ubifs/
Dmisc.h131 mutex_lock_nested(&wbuf->io_mutex, wbuf->jhead); in ubifs_wbuf_sync()
Ddir.c414 mutex_lock_nested(&ubifs_inode(inode1)->ui_mutex, WB_MUTEX_1); in lock_2_inodes()
415 mutex_lock_nested(&ubifs_inode(inode2)->ui_mutex, WB_MUTEX_2); in lock_2_inodes()
1260 mutex_lock_nested(&ubifs_inode(inode1)->ui_mutex, WB_MUTEX_1); in lock_4_inodes()
1262 mutex_lock_nested(&ubifs_inode(inode2)->ui_mutex, WB_MUTEX_2); in lock_4_inodes()
1264 mutex_lock_nested(&ubifs_inode(inode3)->ui_mutex, WB_MUTEX_3); in lock_4_inodes()
1266 mutex_lock_nested(&ubifs_inode(inode4)->ui_mutex, WB_MUTEX_4); in lock_4_inodes()
/linux-6.1.9/drivers/gpu/drm/i915/
Dintel_wakeref.c33 mutex_lock_nested(&wf->mutex, SINGLE_DEPTH_NESTING); in __intel_wakeref_get_first()
/linux-6.1.9/fs/
Deventpoll.c821 mutex_lock_nested(&ep->mtx, depth); in __ep_eventpoll_poll()
931 mutex_lock_nested(&ep->mtx, 0); in eventpoll_release_file()
1478 mutex_lock_nested(&tep->mtx, 1); in ep_insert()
1926 mutex_lock_nested(&ep->mtx, depth + 1); in ep_loop_check_proc()
2049 mutex_lock_nested(mutex, depth); in epoll_mutex_lock()
/linux-6.1.9/drivers/gpu/drm/msm/
Dmsm_atomic.c50 mutex_lock_nested(&kms->commit_lock[crtc_index], crtc_index); in lock_crtcs()
/linux-6.1.9/drivers/net/dsa/qca/
Dqca8k-8xxx.c378 mutex_lock_nested(&bus->mdio_lock, MDIO_MUTEX_NESTED); in qca8k_regmap_read()
404 mutex_lock_nested(&bus->mdio_lock, MDIO_MUTEX_NESTED); in qca8k_regmap_write()
431 mutex_lock_nested(&bus->mdio_lock, MDIO_MUTEX_NESTED); in qca8k_regmap_update_bits()
712 mutex_lock_nested(&bus->mdio_lock, MDIO_MUTEX_NESTED); in qca8k_mdio_write()
749 mutex_lock_nested(&bus->mdio_lock, MDIO_MUTEX_NESTED); in qca8k_mdio_read()

123