/openbmc/linux/fs/jfs/ |
H A D | namei.c | 100 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 …]
|
/openbmc/linux/include/linux/ |
H A D | mutex.h | 206 extern void mutex_lock_nested(struct mutex *lock, unsigned int subclass); 215 #define mutex_lock(lock) mutex_lock_nested(lock, 0) 232 # define mutex_lock_nested(lock, subclass) mutex_lock(lock) macro
|
/openbmc/linux/drivers/net/mdio/ |
H A D | mdio-mux.c | 44 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 D | fc_npiv.c | 124 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 D | soc-card.h | 18 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 D | bfind.c | 30 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 D | policy_ns.c | 267 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 D | apparmorfs.c | 543 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() 1827 mutex_lock_nested(&parent->lock, parent->level); in ns_mkdir_op() 1877 mutex_lock_nested(&parent->lock, parent->level); in ns_rmdir_op() 1932 mutex_lock_nested(&sub->lock, sub->level); in __aafs_ns_rmdir() 2062 mutex_lock_nested(&sub->lock, sub->level); in __aafs_ns_mkdir() 2103 mutex_lock_nested(&next->lock, next->level); in __next_ns() 2113 mutex_lock_nested(&next->lock, next->level); in __next_ns() 2221 mutex_lock_nested(&root->lock, root->level); in p_start() [all …]
|
H A D | policy.c | 677 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/drivers/net/dsa/ |
H A D | lan9303_mdio.c | 35 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 D | mt7530-mdio.c | 69 mutex_lock_nested(mdio_lock, MDIO_MUTEX_NESTED); in mt7530_mdio_regmap_lock()
|
/openbmc/linux/drivers/net/dsa/microchip/ |
H A D | ksz8863_smi.c | 36 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 D | mutex-design.rst | 112 void mutex_lock_nested(struct mutex *lock, unsigned int subclass);
|
/openbmc/linux/kernel/locking/ |
H A D | rtmutex_api.c | 521 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 D | mutex.c | 797 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 D | ruleset.c | 277 mutex_lock_nested(&src->lock, SINGLE_DEPTH_NESTING); in merge_ruleset() 326 mutex_lock_nested(&parent->lock, SINGLE_DEPTH_NESTING); in inherit_ruleset()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/ |
H A D | port.c | 202 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/fs/ubifs/ |
H A D | dir.c | 407 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()
|
H A D | misc.h | 131 mutex_lock_nested(&wbuf->io_mutex, wbuf->jhead); in ubifs_wbuf_sync()
|
/openbmc/linux/fs/hfsplus/ |
H A D | extents.c | 433 mutex_lock_nested(&fd.tree->tree_lock, in hfsplus_free_fork() 596 mutex_lock_nested(&fd.tree->tree_lock, in hfsplus_file_truncate() 611 mutex_lock_nested(&fd.tree->tree_lock, in hfsplus_file_truncate()
|
/openbmc/u-boot/fs/ubifs/ |
H A D | misc.h | 129 mutex_lock_nested(&wbuf->io_mutex, wbuf->jhead); in ubifs_wbuf_sync()
|
/openbmc/linux/drivers/net/phy/ |
H A D | mdio_bus.c | 1036 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 D | intel_wakeref.c | 34 mutex_lock_nested(&wf->mutex, SINGLE_DEPTH_NESTING); in __intel_wakeref_get_first()
|
/openbmc/linux/drivers/net/dsa/qca/ |
H A D | qca8k-8xxx.c | 437 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() 676 mutex_lock_nested(&priv->bus->mdio_lock, MDIO_MUTEX_NESTED); in qca8k_phy_eth_command() 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()
|
/openbmc/linux/drivers/gpu/drm/msm/ |
H A D | msm_atomic.c | 50 mutex_lock_nested(&kms->commit_lock[crtc_index], crtc_index); in lock_crtcs()
|