Home
last modified time | relevance | path

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

123

/Linux-v6.6/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()
809 mutex_lock_nested(&JFS_IP(dir)->commit_mutex, COMMIT_MUTEX_PARENT); in jfs_link()
810 mutex_lock_nested(&JFS_IP(ip)->commit_mutex, COMMIT_MUTEX_CHILD); in jfs_link()
[all …]
/Linux-v6.6/include/linux/
Dmutex.h179 extern void mutex_lock_nested(struct mutex *lock, unsigned int subclass);
188 #define mutex_lock(lock) mutex_lock_nested(lock, 0)
205 # define mutex_lock_nested(lock, subclass) mutex_lock(lock) macro
/Linux-v6.6/drivers/net/mdio/
Dmdio-mux.c44 mutex_lock_nested(&pb->mii_bus->mdio_lock, MDIO_MUTEX_MUX); in mdio_mux_read()
65 mutex_lock_nested(&pb->mii_bus->mdio_lock, MDIO_MUTEX_MUX); in mdio_mux_read_c45()
90 mutex_lock_nested(&pb->mii_bus->mdio_lock, MDIO_MUTEX_MUX); in mdio_mux_write()
112 mutex_lock_nested(&pb->mii_bus->mdio_lock, MDIO_MUTEX_MUX); in mdio_mux_write_c45()
/Linux-v6.6/include/sound/
Dsoc-card.h18 mutex_lock_nested(&card->mutex, SND_SOC_CARD_CLASS_ROOT); in snd_soc_card_mutex_lock_root()
23 mutex_lock_nested(&card->mutex, SND_SOC_CARD_CLASS_RUNTIME); in snd_soc_card_mutex_lock()
/Linux-v6.6/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-v6.6/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-v6.6/security/apparmor/
Dpolicy_ns.c267 mutex_lock_nested(&ns->lock, ns->level); in __aa_create_ns()
323 mutex_lock_nested(&parent->lock, parent->level); in aa_prepare_ns()
346 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()
1821 mutex_lock_nested(&parent->lock, parent->level); in ns_mkdir_op()
1870 mutex_lock_nested(&parent->lock, parent->level); in ns_rmdir_op()
1925 mutex_lock_nested(&sub->lock, sub->level); in __aafs_ns_rmdir()
2055 mutex_lock_nested(&sub->lock, sub->level); in __aafs_ns_mkdir()
2096 mutex_lock_nested(&next->lock, next->level); in __next_ns()
2106 mutex_lock_nested(&next->lock, next->level); in __next_ns()
2214 mutex_lock_nested(&root->lock, root->level); in p_start()
[all …]
Dpolicy.c675 mutex_lock_nested(&profile->ns->lock, profile->ns->level); in aa_new_learning_profile()
1077 mutex_lock_nested(&ns->lock, ns->level); in aa_replace_profiles()
1315 mutex_lock_nested(&ns->parent->lock, ns->parent->level); in aa_remove_profiles()
1321 mutex_lock_nested(&ns->lock, ns->level); in aa_remove_profiles()
/Linux-v6.6/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-v6.6/drivers/net/dsa/microchip/
Dksz8863_smi.c36 mutex_lock_nested(&mdev->bus->mdio_lock, MDIO_MUTEX_NESTED); in ksz8863_mdio_read()
68 mutex_lock_nested(&mdev->bus->mdio_lock, MDIO_MUTEX_NESTED); in ksz8863_mdio_write()
/Linux-v6.6/Documentation/translations/zh_CN/locking/
Dmutex-design.rst112 void mutex_lock_nested(struct mutex *lock, unsigned int subclass);
/Linux-v6.6/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-v6.6/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-v6.6/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-v6.6/fs/ubifs/
Dmisc.h131 mutex_lock_nested(&wbuf->io_mutex, wbuf->jhead); in ubifs_wbuf_sync()
Ddir.c407 mutex_lock_nested(&ubifs_inode(inode1)->ui_mutex, WB_MUTEX_1); in lock_2_inodes()
408 mutex_lock_nested(&ubifs_inode(inode2)->ui_mutex, WB_MUTEX_2); in lock_2_inodes()
1254 mutex_lock_nested(&ubifs_inode(inode1)->ui_mutex, WB_MUTEX_1); in lock_4_inodes()
1256 mutex_lock_nested(&ubifs_inode(inode2)->ui_mutex, WB_MUTEX_2); in lock_4_inodes()
1258 mutex_lock_nested(&ubifs_inode(inode3)->ui_mutex, WB_MUTEX_3); in lock_4_inodes()
1260 mutex_lock_nested(&ubifs_inode(inode4)->ui_mutex, WB_MUTEX_4); in lock_4_inodes()
Dio.c695 mutex_lock_nested(&wbuf->io_mutex, wbuf->jhead); in ubifs_bg_wbufs_sync()
717 mutex_lock_nested(&wbuf->io_mutex, wbuf->jhead); in ubifs_bg_wbufs_sync()
1257 mutex_lock_nested(&wbuf->io_mutex, wbuf->jhead); in ubifs_sync_wbufs_by_inode()
/Linux-v6.6/drivers/net/phy/
Dmdio_bus.c1036 mutex_lock_nested(&bus->mdio_lock, MDIO_MUTEX_NESTED); in mdiobus_read_nested()
1108 mutex_lock_nested(&bus->mdio_lock, MDIO_MUTEX_NESTED); in mdiobus_c45_read_nested()
1134 mutex_lock_nested(&bus->mdio_lock, MDIO_MUTEX_NESTED); in mdiobus_write_nested()
1210 mutex_lock_nested(&bus->mdio_lock, MDIO_MUTEX_NESTED); in mdiobus_c45_write_nested()
/Linux-v6.6/drivers/gpu/drm/i915/
Dintel_wakeref.c34 mutex_lock_nested(&wf->mutex, SINGLE_DEPTH_NESTING); in __intel_wakeref_get_first()
/Linux-v6.6/drivers/net/dsa/
Dmt7530-mdio.c69 mutex_lock_nested(mdio_lock, MDIO_MUTEX_NESTED); in mt7530_mdio_regmap_lock()
/Linux-v6.6/drivers/net/dsa/qca/
Dqca8k-8xxx.c437 mutex_lock_nested(&bus->mdio_lock, MDIO_MUTEX_NESTED); in qca8k_read_mii()
459 mutex_lock_nested(&bus->mdio_lock, MDIO_MUTEX_NESTED); in qca8k_write_mii()
483 mutex_lock_nested(&bus->mdio_lock, MDIO_MUTEX_NESTED); in qca8k_regmap_update_bits_mii()
833 mutex_lock_nested(&bus->mdio_lock, MDIO_MUTEX_NESTED); in qca8k_mdio_write()
870 mutex_lock_nested(&bus->mdio_lock, MDIO_MUTEX_NESTED); in qca8k_mdio_read()
/Linux-v6.6/drivers/gpu/drm/msm/
Dmsm_atomic.c50 mutex_lock_nested(&kms->commit_lock[crtc_index], crtc_index); in lock_crtcs()
/Linux-v6.6/fs/
Deventpoll.c858 mutex_lock_nested(&ep->mtx, depth); in __ep_eventpoll_poll()
1509 mutex_lock_nested(&tep->mtx, 1); in ep_insert()
1967 mutex_lock_nested(&ep->mtx, depth + 1); in ep_loop_check_proc()
2103 mutex_lock_nested(mutex, depth); in epoll_mutex_lock()

123