Home
last modified time | relevance | path

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

123

/openbmc/linux/fs/jfs/
H A 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()
493 mutex_lock_nested(&JFS_IP(ip)->commit_mutex, COMMIT_MUTEX_CHILD); in jfs_unlink()
810 mutex_lock_nested(&JFS_IP(ip)->commit_mutex, COMMIT_MUTEX_CHILD); in jfs_link()
925 mutex_lock_nested(&JFS_IP(ip)->commit_mutex, COMMIT_MUTEX_CHILD); in jfs_symlink()
1164 mutex_lock_nested(&JFS_IP(old_dir)->commit_mutex, in jfs_rename()
[all …]
/openbmc/linux/include/linux/
H A 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
/openbmc/linux/drivers/net/mdio/
H A 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()
/openbmc/linux/drivers/scsi/libfc/
H A 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()
/openbmc/linux/include/sound/
H A 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()
/openbmc/linux/fs/hfs/
H A 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()
/openbmc/linux/security/apparmor/
H A 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()
H A 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 …]
H A 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()
/openbmc/linux/fs/hfsplus/
H A 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()
/openbmc/linux/drivers/net/dsa/
H A 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()
H A Dmt7530-mdio.c69 mutex_lock_nested(mdio_lock, MDIO_MUTEX_NESTED); in mt7530_mdio_regmap_lock()
/openbmc/linux/drivers/net/dsa/microchip/
H A 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()
/openbmc/linux/Documentation/translations/zh_CN/locking/
H A Dmutex-design.rst112 void mutex_lock_nested(struct mutex *lock, unsigned int subclass);
/openbmc/linux/kernel/locking/
H A 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);
H A Dmutex.c797 mutex_lock_nested(struct mutex *lock, unsigned int subclass) in mutex_lock_nested() function
802 EXPORT_SYMBOL_GPL(mutex_lock_nested);
/openbmc/linux/security/landlock/
H A 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()
/openbmc/u-boot/fs/ubifs/
H A Dmisc.h129 mutex_lock_nested(&wbuf->io_mutex, wbuf->jhead); in ubifs_wbuf_sync()
/openbmc/linux/fs/ubifs/
H A Dmisc.h131 mutex_lock_nested(&wbuf->io_mutex, wbuf->jhead); in ubifs_wbuf_sync()
H A 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()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/
H A 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()
/openbmc/linux/drivers/net/phy/
H A 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()
/openbmc/linux/drivers/gpu/drm/i915/
H A Dintel_wakeref.c34 mutex_lock_nested(&wf->mutex, SINGLE_DEPTH_NESTING); in __intel_wakeref_get_first()
/openbmc/linux/drivers/gpu/drm/msm/
H A Dmsm_atomic.c50 mutex_lock_nested(&kms->commit_lock[crtc_index], crtc_index); in lock_crtcs()
/openbmc/linux/drivers/net/dsa/qca/
H A 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()

123