Home
last modified time | relevance | path

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

123

/linux-6.6.21/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-6.6.21/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-6.6.21/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-6.6.21/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.6.21/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-6.6.21/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.6.21/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.c543 mutex_lock_nested(&rev->ns->lock, rev->ns->level); in ns_revision_read()
553 mutex_lock_nested(&rev->ns->lock, rev->ns->level); in ns_revision_read()
587 mutex_lock_nested(&rev->ns->lock, rev->ns->level); in ns_revision_poll()
1823 mutex_lock_nested(&parent->lock, parent->level); in ns_mkdir_op()
1873 mutex_lock_nested(&parent->lock, parent->level); in ns_rmdir_op()
1928 mutex_lock_nested(&sub->lock, sub->level); in __aafs_ns_rmdir()
2058 mutex_lock_nested(&sub->lock, sub->level); in __aafs_ns_mkdir()
2099 mutex_lock_nested(&next->lock, next->level); in __next_ns()
2109 mutex_lock_nested(&next->lock, next->level); in __next_ns()
2217 mutex_lock_nested(&root->lock, root->level); in p_start()
[all …]
Dpolicy.c677 mutex_lock_nested(&profile->ns->lock, profile->ns->level); in aa_new_learning_profile()
1089 mutex_lock_nested(&ns->lock, ns->level); in aa_replace_profiles()
1327 mutex_lock_nested(&ns->parent->lock, ns->parent->level); in aa_remove_profiles()
1333 mutex_lock_nested(&ns->lock, ns->level); in aa_remove_profiles()
/linux-6.6.21/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.6.21/drivers/net/dsa/
Dlan9303_mdio.c35 mutex_lock_nested(&sw_dev->device->bus->mdio_lock, MDIO_MUTEX_NESTED); in lan9303_mdio_write()
53 mutex_lock_nested(&sw_dev->device->bus->mdio_lock, MDIO_MUTEX_NESTED); in lan9303_mdio_read()
Dmt7530-mdio.c69 mutex_lock_nested(mdio_lock, MDIO_MUTEX_NESTED); in mt7530_mdio_regmap_lock()
/linux-6.6.21/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-6.6.21/Documentation/translations/zh_CN/locking/
Dmutex-design.rst112 void mutex_lock_nested(struct mutex *lock, unsigned int subclass);
/linux-6.6.21/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.6.21/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.6.21/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.6.21/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()
1256 mutex_lock_nested(&ubifs_inode(inode1)->ui_mutex, WB_MUTEX_1); in lock_4_inodes()
1258 mutex_lock_nested(&ubifs_inode(inode2)->ui_mutex, WB_MUTEX_2); in lock_4_inodes()
1260 mutex_lock_nested(&ubifs_inode(inode3)->ui_mutex, WB_MUTEX_3); in lock_4_inodes()
1262 mutex_lock_nested(&ubifs_inode(inode4)->ui_mutex, WB_MUTEX_4); in lock_4_inodes()
/linux-6.6.21/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-6.6.21/drivers/gpu/drm/i915/
Dintel_wakeref.c34 mutex_lock_nested(&wf->mutex, SINGLE_DEPTH_NESTING); in __intel_wakeref_get_first()
/linux-6.6.21/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-6.6.21/drivers/gpu/drm/msm/
Dmsm_atomic.c50 mutex_lock_nested(&kms->commit_lock[crtc_index], crtc_index); in lock_crtcs()
/linux-6.6.21/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