Home
last modified time | relevance | path

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

123

/Linux-v5.4/drivers/nvdimm/
Dnd-core.h189 mutex_lock_nested(&dev->lockdep_mutex, LOCK_REGION); in debug_nvdimm_lock()
191 mutex_lock_nested(&dev->lockdep_mutex, LOCK_DIMM); in debug_nvdimm_lock()
193 mutex_lock_nested(&dev->lockdep_mutex, LOCK_CLAIM); in debug_nvdimm_lock()
195 mutex_lock_nested(&dev->lockdep_mutex, LOCK_NAMESPACE); in debug_nvdimm_lock()
197 mutex_lock_nested(&dev->lockdep_mutex, LOCK_BUS); in debug_nvdimm_lock()
199 mutex_lock_nested(&dev->lockdep_mutex, LOCK_NDCTL); in debug_nvdimm_lock()
/Linux-v5.4/sound/soc/
Dsoc-compress.c83 mutex_lock_nested(&rtd->card->pcm_mutex, rtd->card->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->card->pcm_mutex, rtd->card->pcm_subclass); in close_delayed_work()
252 mutex_lock_nested(&rtd->card->pcm_mutex, rtd->card->pcm_subclass); in soc_compr_free()
306 mutex_lock_nested(&fe->card->mutex, SND_SOC_CARD_CLASS_RUNTIME); in soc_compr_free_fe()
378 mutex_lock_nested(&rtd->card->pcm_mutex, rtd->card->pcm_subclass); in soc_compr_trigger()
416 mutex_lock_nested(&fe->card->mutex, SND_SOC_CARD_CLASS_RUNTIME); in soc_compr_trigger_fe()
483 mutex_lock_nested(&rtd->card->pcm_mutex, rtd->card->pcm_subclass); in soc_compr_set_params()
542 mutex_lock_nested(&fe->card->mutex, SND_SOC_CARD_CLASS_RUNTIME); in soc_compr_set_params_fe()
596 mutex_lock_nested(&rtd->card->pcm_mutex, rtd->card->pcm_subclass); in soc_compr_get_params()
[all …]
Dsoc-dapm.c1286 mutex_lock_nested(&card->dapm_mutex, SND_SOC_DAPM_CLASS_RUNTIME); in snd_soc_dapm_dai_get_connected_widgets()
2283 mutex_lock_nested(&card->dapm_mutex, SND_SOC_DAPM_CLASS_RUNTIME); in snd_soc_dapm_mux_update_power()
2348 mutex_lock_nested(&card->dapm_mutex, SND_SOC_DAPM_CLASS_RUNTIME); in snd_soc_dapm_mixer_update_power()
2586 mutex_lock_nested(&dapm->card->dapm_mutex, SND_SOC_DAPM_CLASS_RUNTIME); in snd_soc_dapm_sync()
2660 mutex_lock_nested(&rtd->card->dapm_mutex, SND_SOC_DAPM_CLASS_RUNTIME); in snd_soc_dapm_update_dai()
3053 mutex_lock_nested(&dapm->card->dapm_mutex, SND_SOC_DAPM_CLASS_RUNTIME); in snd_soc_dapm_add_routes()
3084 mutex_lock_nested(&dapm->card->dapm_mutex, SND_SOC_DAPM_CLASS_RUNTIME); in snd_soc_dapm_del_routes()
3162 mutex_lock_nested(&dapm->card->dapm_mutex, SND_SOC_DAPM_CLASS_INIT); in snd_soc_dapm_weak_routes()
3188 mutex_lock_nested(&card->dapm_mutex, SND_SOC_DAPM_CLASS_INIT); in snd_soc_dapm_new_widgets()
3273 mutex_lock_nested(&card->dapm_mutex, SND_SOC_DAPM_CLASS_RUNTIME); in snd_soc_dapm_get_volsw()
[all …]
Dsoc-pcm.c509 mutex_lock_nested(&rtd->card->pcm_mutex, rtd->card->pcm_subclass); in soc_pcm_open()
656 mutex_lock_nested(&rtd->card->pcm_mutex, rtd->card->pcm_subclass); in close_delayed_work()
697 mutex_lock_nested(&rtd->card->pcm_mutex, rtd->card->pcm_subclass); in soc_pcm_close()
774 mutex_lock_nested(&rtd->card->pcm_mutex, rtd->card->pcm_subclass); in soc_pcm_prepare()
879 mutex_lock_nested(&rtd->card->pcm_mutex, rtd->card->pcm_subclass); in soc_pcm_hw_params()
1004 mutex_lock_nested(&rtd->card->pcm_mutex, rtd->card->pcm_subclass); in soc_pcm_hw_free()
2042 mutex_lock_nested(&fe->card->mutex, SND_SOC_CARD_CLASS_RUNTIME); in dpcm_fe_dai_hw_free()
2154 mutex_lock_nested(&fe->card->mutex, SND_SOC_CARD_CLASS_RUNTIME); in dpcm_fe_dai_hw_params()
2426 mutex_lock_nested(&fe->card->mutex, SND_SOC_CARD_CLASS_RUNTIME); in dpcm_fe_dai_prepare()
2706 mutex_lock_nested(&card->mutex, SND_SOC_CARD_CLASS_RUNTIME); in soc_dpcm_runtime_update()
[all …]
/Linux-v5.4/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.4/include/linux/
Dmutex.h144 extern void mutex_lock_nested(struct mutex *lock, unsigned int subclass);
153 #define mutex_lock(lock) mutex_lock_nested(lock, 0)
170 # define mutex_lock_nested(lock, subclass) mutex_lock(lock) macro
/Linux-v5.4/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.4/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.c540 mutex_lock_nested(&rev->ns->lock, rev->ns->level); in ns_revision_read()
550 mutex_lock_nested(&rev->ns->lock, rev->ns->level); in ns_revision_read()
584 mutex_lock_nested(&rev->ns->lock, rev->ns->level); in ns_revision_poll()
1710 mutex_lock_nested(&parent->lock, parent->level); in ns_mkdir_op()
1759 mutex_lock_nested(&parent->lock, parent->level); in ns_rmdir_op()
1814 mutex_lock_nested(&sub->lock, sub->level); in __aafs_ns_rmdir()
1944 mutex_lock_nested(&sub->lock, sub->level); in __aafs_ns_mkdir()
1988 mutex_lock_nested(&next->lock, next->level); in __next_ns()
1998 mutex_lock_nested(&next->lock, next->level); in __next_ns()
2106 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()
912 mutex_lock_nested(&ns->lock, ns->level); in aa_replace_profiles()
1126 mutex_lock_nested(&ns->parent->lock, ns->level); in aa_remove_profiles()
1132 mutex_lock_nested(&ns->lock, ns->level); in aa_remove_profiles()
/Linux-v5.4/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.4/drivers/net/phy/
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()
Dmdio_bus.c605 mutex_lock_nested(&bus->mdio_lock, MDIO_MUTEX_NESTED); in mdiobus_read_nested()
657 mutex_lock_nested(&bus->mdio_lock, MDIO_MUTEX_NESTED); in mdiobus_write_nested()
/Linux-v5.4/fs/notify/
Dmark.c429 mutex_lock_nested(&group->mark_mutex, SINGLE_DEPTH_NESTING); in fsnotify_destroy_mark()
741 mutex_lock_nested(&group->mark_mutex, SINGLE_DEPTH_NESTING); in fsnotify_clear_marks_by_group()
750 mutex_lock_nested(&group->mark_mutex, SINGLE_DEPTH_NESTING); in fsnotify_clear_marks_by_group()
/Linux-v5.4/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.4/fs/ubifs/
Dmisc.h131 mutex_lock_nested(&wbuf->io_mutex, wbuf->jhead); in ubifs_wbuf_sync()
Ddir.c670 mutex_lock_nested(&ubifs_inode(inode1)->ui_mutex, WB_MUTEX_1); in lock_2_inodes()
671 mutex_lock_nested(&ubifs_inode(inode2)->ui_mutex, WB_MUTEX_2); in lock_2_inodes()
1217 mutex_lock_nested(&ubifs_inode(inode1)->ui_mutex, WB_MUTEX_1); in lock_4_inodes()
1219 mutex_lock_nested(&ubifs_inode(inode2)->ui_mutex, WB_MUTEX_2); in lock_4_inodes()
1221 mutex_lock_nested(&ubifs_inode(inode3)->ui_mutex, WB_MUTEX_3); in lock_4_inodes()
1223 mutex_lock_nested(&ubifs_inode(inode4)->ui_mutex, WB_MUTEX_4); in lock_4_inodes()
/Linux-v5.4/drivers/devfreq/
Dgovernor_passive.c102 mutex_lock_nested(&devfreq->lock, SINGLE_DEPTH_NESTING); in update_devfreq_passive()
/Linux-v5.4/drivers/gpu/drm/i915/
Dintel_wakeref.c33 mutex_lock_nested(&wf->mutex, SINGLE_DEPTH_NESTING); in __intel_wakeref_get_first()
Di915_active.c163 mutex_lock_nested(&ref->mutex, SINGLE_DEPTH_NESTING); in active_retire()
660 mutex_lock_nested(&ref->mutex, SINGLE_DEPTH_NESTING); in i915_active_acquire_barrier()
/Linux-v5.4/fs/dlm/
Dlowcomms.c744 mutex_lock_nested(&con->sock_mutex, 0); in tcp_accept_from_sock()
787 mutex_lock_nested(&newcon->sock_mutex, 1); in tcp_accept_from_sock()
808 mutex_lock_nested(&othercon->sock_mutex, 2); in tcp_accept_from_sock()
873 mutex_lock_nested(&con->sock_mutex, 0); in sctp_accept_from_sock()
906 mutex_lock_nested(&newcon->sock_mutex, 1); in sctp_accept_from_sock()
928 mutex_lock_nested(&othercon->sock_mutex, 2); in sctp_accept_from_sock()
/Linux-v5.4/fs/
Deventpoll.c686 mutex_lock_nested(&ep->mtx, depth); in ep_scan_ready_list()
1006 mutex_lock_nested(&ep->mtx, 0); in eventpoll_release_file()
1966 mutex_lock_nested(&ep->mtx, call_nests + 1); in ep_loop_check_proc()
2181 mutex_lock_nested(&ep->mtx, 0); in SYSCALL_DEFINE4()
2197 mutex_lock_nested(&ep->mtx, 0); in SYSCALL_DEFINE4()
2200 mutex_lock_nested(&tep->mtx, 1); in SYSCALL_DEFINE4()
/Linux-v5.4/drivers/net/dsa/
Dmt7530.c188 mutex_lock_nested(&bus->mdio_lock, MDIO_MUTEX_NESTED); in core_write()
201 mutex_lock_nested(&bus->mdio_lock, MDIO_MUTEX_NESTED); in core_rmw()
281 mutex_lock_nested(&bus->mdio_lock, MDIO_MUTEX_NESTED); in mt7530_write()
294 mutex_lock_nested(&bus->mdio_lock, MDIO_MUTEX_NESTED); in _mt7530_read()
319 mutex_lock_nested(&bus->mdio_lock, MDIO_MUTEX_NESTED); in mt7530_rmw()
Dqca8k.c149 mutex_lock_nested(&priv->bus->mdio_lock, MDIO_MUTEX_NESTED); in qca8k_read()
166 mutex_lock_nested(&priv->bus->mdio_lock, MDIO_MUTEX_NESTED); in qca8k_write()
182 mutex_lock_nested(&priv->bus->mdio_lock, MDIO_MUTEX_NESTED); in qca8k_rmw()
/Linux-v5.4/block/
Dioctl.c93 mutex_lock_nested(&bdev->bd_mutex, 1); in blkpg_ioctl()
121 mutex_lock_nested(&bdev->bd_mutex, 1); in blkpg_ioctl()

123