Home
last modified time | relevance | path

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

123

/Linux-v4.19/fs/jfs/
Dnamei.c113 mutex_lock_nested(&JFS_IP(dip)->commit_mutex, COMMIT_MUTEX_PARENT); in jfs_create()
114 mutex_lock_nested(&JFS_IP(ip)->commit_mutex, COMMIT_MUTEX_CHILD); in jfs_create()
245 mutex_lock_nested(&JFS_IP(dip)->commit_mutex, COMMIT_MUTEX_PARENT); in jfs_mkdir()
246 mutex_lock_nested(&JFS_IP(ip)->commit_mutex, COMMIT_MUTEX_CHILD); in jfs_mkdir()
377 mutex_lock_nested(&JFS_IP(dip)->commit_mutex, COMMIT_MUTEX_PARENT); in jfs_rmdir()
378 mutex_lock_nested(&JFS_IP(ip)->commit_mutex, COMMIT_MUTEX_CHILD); in jfs_rmdir()
504 mutex_lock_nested(&JFS_IP(dip)->commit_mutex, COMMIT_MUTEX_PARENT); in jfs_unlink()
505 mutex_lock_nested(&JFS_IP(ip)->commit_mutex, COMMIT_MUTEX_CHILD); in jfs_unlink()
816 mutex_lock_nested(&JFS_IP(dir)->commit_mutex, COMMIT_MUTEX_PARENT); in jfs_link()
817 mutex_lock_nested(&JFS_IP(ip)->commit_mutex, COMMIT_MUTEX_CHILD); in jfs_link()
[all …]
/Linux-v4.19/sound/soc/
Dsoc-compress.c83 mutex_lock_nested(&rtd->pcm_mutex, rtd->pcm_subclass); in soc_compr_open()
142 mutex_lock_nested(&fe->card->mutex, SND_SOC_CARD_CLASS_RUNTIME); in soc_compr_open_fe()
227 mutex_lock_nested(&rtd->pcm_mutex, rtd->pcm_subclass); in close_delayed_work()
252 mutex_lock_nested(&rtd->pcm_mutex, rtd->pcm_subclass); in soc_compr_free()
306 mutex_lock_nested(&fe->card->mutex, SND_SOC_CARD_CLASS_RUNTIME); in soc_compr_free_fe()
358 mutex_lock_nested(&rtd->pcm_mutex, rtd->pcm_subclass); in soc_compr_trigger()
421 mutex_lock_nested(&fe->card->mutex, SND_SOC_CARD_CLASS_RUNTIME); in soc_compr_trigger_fe()
477 mutex_lock_nested(&rtd->pcm_mutex, rtd->pcm_subclass); in soc_compr_set_params()
548 mutex_lock_nested(&fe->card->mutex, SND_SOC_CARD_CLASS_RUNTIME); in soc_compr_set_params_fe()
612 mutex_lock_nested(&rtd->pcm_mutex, rtd->pcm_subclass); in soc_compr_get_params()
[all …]
Dsoc-dapm.c1222 mutex_lock_nested(&card->dapm_mutex, SND_SOC_DAPM_CLASS_RUNTIME); in snd_soc_dapm_dai_get_connected_widgets()
2229 mutex_lock_nested(&card->dapm_mutex, SND_SOC_DAPM_CLASS_RUNTIME); in snd_soc_dapm_mux_update_power()
2294 mutex_lock_nested(&card->dapm_mutex, SND_SOC_DAPM_CLASS_RUNTIME); in snd_soc_dapm_mixer_update_power()
2529 mutex_lock_nested(&dapm->card->dapm_mutex, SND_SOC_DAPM_CLASS_RUNTIME); in snd_soc_dapm_sync()
2909 mutex_lock_nested(&dapm->card->dapm_mutex, SND_SOC_DAPM_CLASS_RUNTIME); in snd_soc_dapm_add_routes()
2940 mutex_lock_nested(&dapm->card->dapm_mutex, SND_SOC_DAPM_CLASS_RUNTIME); in snd_soc_dapm_del_routes()
3018 mutex_lock_nested(&dapm->card->dapm_mutex, SND_SOC_DAPM_CLASS_INIT); in snd_soc_dapm_weak_routes()
3044 mutex_lock_nested(&card->dapm_mutex, SND_SOC_DAPM_CLASS_INIT); in snd_soc_dapm_new_widgets()
3128 mutex_lock_nested(&card->dapm_mutex, SND_SOC_DAPM_CLASS_RUNTIME); in snd_soc_dapm_get_volsw()
3206 mutex_lock_nested(&card->dapm_mutex, SND_SOC_DAPM_CLASS_RUNTIME); in snd_soc_dapm_put_volsw()
[all …]
Dsoc-pcm.c494 mutex_lock_nested(&rtd->pcm_mutex, rtd->pcm_subclass); in soc_pcm_open()
665 mutex_lock_nested(&rtd->pcm_mutex, rtd->pcm_subclass); in close_delayed_work()
696 mutex_lock_nested(&rtd->pcm_mutex, rtd->pcm_subclass); in soc_pcm_close()
778 mutex_lock_nested(&rtd->pcm_mutex, rtd->pcm_subclass); in soc_pcm_prepare()
925 mutex_lock_nested(&rtd->pcm_mutex, rtd->pcm_subclass); in soc_pcm_hw_params()
1046 mutex_lock_nested(&rtd->pcm_mutex, rtd->pcm_subclass); in soc_pcm_hw_free()
2095 mutex_lock_nested(&fe->card->mutex, SND_SOC_CARD_CLASS_RUNTIME); in dpcm_fe_dai_hw_free()
2203 mutex_lock_nested(&fe->card->mutex, SND_SOC_CARD_CLASS_RUNTIME); in dpcm_fe_dai_hw_params()
2474 mutex_lock_nested(&fe->card->mutex, SND_SOC_CARD_CLASS_RUNTIME); in dpcm_fe_dai_prepare()
2772 mutex_lock_nested(&card->mutex, SND_SOC_CARD_CLASS_RUNTIME); in soc_dpcm_runtime_update()
[all …]
/Linux-v4.19/include/linux/
Dmutex.h157 extern void mutex_lock_nested(struct mutex *lock, unsigned int subclass);
166 #define mutex_lock(lock) mutex_lock_nested(lock, 0)
183 # define mutex_lock_nested(lock, subclass) mutex_lock(lock) macro
/Linux-v4.19/drivers/scsi/libfc/
Dfc_npiv.c136 mutex_lock_nested(&vn_port->lp_mutex, LPORT_MUTEX_VN_PORT); in fc_vport_setlink()
154 mutex_lock_nested(&vn_port->lp_mutex, LPORT_MUTEX_VN_PORT); in fc_vports_linkchange()
/Linux-v4.19/security/apparmor/
Dpolicy_ns.c260 mutex_lock_nested(&ns->lock, ns->level); in __aa_create_ns()
316 mutex_lock_nested(&parent->lock, parent->level); in aa_prepare_ns()
339 mutex_lock_nested(&ns->lock, ns->level); in destroy_ns()
Dapparmorfs.c534 mutex_lock_nested(&rev->ns->lock, rev->ns->level); in ns_revision_read()
544 mutex_lock_nested(&rev->ns->lock, rev->ns->level); in ns_revision_read()
578 mutex_lock_nested(&rev->ns->lock, rev->ns->level); in ns_revision_poll()
1704 mutex_lock_nested(&parent->lock, parent->level); in ns_mkdir_op()
1753 mutex_lock_nested(&parent->lock, parent->level); in ns_rmdir_op()
1808 mutex_lock_nested(&sub->lock, sub->level); in __aafs_ns_rmdir()
1938 mutex_lock_nested(&sub->lock, sub->level); in __aafs_ns_mkdir()
1982 mutex_lock_nested(&next->lock, next->level); in __next_ns()
1992 mutex_lock_nested(&next->lock, next->level); in __next_ns()
2100 mutex_lock_nested(&root->lock, root->level); in p_start()
[all …]
Dpolicy.c552 mutex_lock_nested(&profile->ns->lock, profile->ns->level); in aa_new_null_profile()
914 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-v4.19/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-v4.19/drivers/net/phy/
Dmdio-mux.c47 mutex_lock_nested(&pb->mii_bus->mdio_lock, MDIO_MUTEX_MUX); in mdio_mux_read()
72 mutex_lock_nested(&pb->mii_bus->mdio_lock, MDIO_MUTEX_MUX); in mdio_mux_write()
Dmdio_bus.c599 mutex_lock_nested(&bus->mdio_lock, MDIO_MUTEX_NESTED); in mdiobus_read_nested()
651 mutex_lock_nested(&bus->mdio_lock, MDIO_MUTEX_NESTED); in mdiobus_write_nested()
/Linux-v4.19/fs/notify/
Dmark.c415 mutex_lock_nested(&group->mark_mutex, SINGLE_DEPTH_NESTING); in fsnotify_destroy_mark()
684 mutex_lock_nested(&group->mark_mutex, SINGLE_DEPTH_NESTING); in fsnotify_clear_marks_by_group()
693 mutex_lock_nested(&group->mark_mutex, SINGLE_DEPTH_NESTING); in fsnotify_clear_marks_by_group()
/Linux-v4.19/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-v4.19/fs/ubifs/
Dmisc.h143 mutex_lock_nested(&wbuf->io_mutex, wbuf->jhead); in ubifs_wbuf_sync()
Ddir.c684 mutex_lock_nested(&ubifs_inode(inode1)->ui_mutex, WB_MUTEX_1); in lock_2_inodes()
685 mutex_lock_nested(&ubifs_inode(inode2)->ui_mutex, WB_MUTEX_2); in lock_2_inodes()
1235 mutex_lock_nested(&ubifs_inode(inode1)->ui_mutex, WB_MUTEX_1); in lock_4_inodes()
1237 mutex_lock_nested(&ubifs_inode(inode2)->ui_mutex, WB_MUTEX_2); in lock_4_inodes()
1239 mutex_lock_nested(&ubifs_inode(inode3)->ui_mutex, WB_MUTEX_3); in lock_4_inodes()
1241 mutex_lock_nested(&ubifs_inode(inode4)->ui_mutex, WB_MUTEX_4); in lock_4_inodes()
Dio.c637 mutex_lock_nested(&wbuf->io_mutex, wbuf->jhead); in ubifs_bg_wbufs_sync()
659 mutex_lock_nested(&wbuf->io_mutex, wbuf->jhead); in ubifs_bg_wbufs_sync()
1142 mutex_lock_nested(&wbuf->io_mutex, wbuf->jhead); in ubifs_sync_wbufs_by_inode()
Dgc.c656 mutex_lock_nested(&wbuf->io_mutex, wbuf->jhead); in ubifs_garbage_collect()
917 mutex_lock_nested(&wbuf->io_mutex, wbuf->jhead); in ubifs_gc_end_commit()
/Linux-v4.19/drivers/net/dsa/
Dmt7530.c197 mutex_lock_nested(&bus->mdio_lock, MDIO_MUTEX_NESTED); in core_write()
210 mutex_lock_nested(&bus->mdio_lock, MDIO_MUTEX_NESTED); in core_rmw()
290 mutex_lock_nested(&bus->mdio_lock, MDIO_MUTEX_NESTED); in mt7530_write()
303 mutex_lock_nested(&bus->mdio_lock, MDIO_MUTEX_NESTED); in _mt7530_read()
328 mutex_lock_nested(&bus->mdio_lock, MDIO_MUTEX_NESTED); in mt7530_rmw()
Dqca8k.c148 mutex_lock_nested(&priv->bus->mdio_lock, MDIO_MUTEX_NESTED); in qca8k_read()
165 mutex_lock_nested(&priv->bus->mdio_lock, MDIO_MUTEX_NESTED); in qca8k_write()
181 mutex_lock_nested(&priv->bus->mdio_lock, MDIO_MUTEX_NESTED); in qca8k_rmw()
/Linux-v4.19/drivers/devfreq/
Dgovernor_passive.c105 mutex_lock_nested(&devfreq->lock, SINGLE_DEPTH_NESTING); in update_devfreq_passive()
/Linux-v4.19/fs/dlm/
Dlowcomms.c746 mutex_lock_nested(&con->sock_mutex, 0); in tcp_accept_from_sock()
789 mutex_lock_nested(&newcon->sock_mutex, 1); in tcp_accept_from_sock()
810 mutex_lock_nested(&othercon->sock_mutex, 2); in tcp_accept_from_sock()
875 mutex_lock_nested(&con->sock_mutex, 0); in sctp_accept_from_sock()
908 mutex_lock_nested(&newcon->sock_mutex, 1); in sctp_accept_from_sock()
930 mutex_lock_nested(&othercon->sock_mutex, 2); in sctp_accept_from_sock()
/Linux-v4.19/fs/
Deventpoll.c690 mutex_lock_nested(&ep->mtx, depth); in ep_scan_ready_list()
1006 mutex_lock_nested(&ep->mtx, 0); in eventpoll_release_file()
1870 mutex_lock_nested(&ep->mtx, call_nests + 1); in ep_loop_check_proc()
2085 mutex_lock_nested(&ep->mtx, 0); in SYSCALL_DEFINE4()
2101 mutex_lock_nested(&ep->mtx, 0); in SYSCALL_DEFINE4()
2104 mutex_lock_nested(&tep->mtx, 1); in SYSCALL_DEFINE4()
/Linux-v4.19/block/
Dioctl.c92 mutex_lock_nested(&bdev->bd_mutex, 1); in blkpg_ioctl()
120 mutex_lock_nested(&bdev->bd_mutex, 1); in blkpg_ioctl()
/Linux-v4.19/kernel/locking/
Dmutex.c1085 mutex_lock_nested(struct mutex *lock, unsigned int subclass) in mutex_lock_nested() function
1090 EXPORT_SYMBOL_GPL(mutex_lock_nested);

123