/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() 810 mutex_lock_nested(&JFS_IP(dir)->commit_mutex, COMMIT_MUTEX_PARENT); in jfs_link() 811 mutex_lock_nested(&JFS_IP(ip)->commit_mutex, COMMIT_MUTEX_CHILD); in jfs_link() [all …]
|
/linux/include/linux/ |
H A D | mutex.h | 157 extern void mutex_lock_nested(struct mutex *lock, unsigned int subclass); 166 #define mutex_lock(lock) mutex_lock_nested(lock, 0) 183 # define mutex_lock_nested(lock, subclass) mutex_lock(lock) macro
|
/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()
|
/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()
|
/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()
|
/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()
|
/linux/security/apparmor/ |
H A D | policy_ns.c | 230 mutex_lock_nested(&ns->lock, ns->level); in __aa_create_ns() 286 mutex_lock_nested(&parent->lock, parent->level); in aa_prepare_ns() 309 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() 1821 mutex_lock_nested(&parent->lock, parent->level); in ns_mkdir_op() 1871 mutex_lock_nested(&parent->lock, parent->level); in ns_rmdir_op() 1926 mutex_lock_nested(&sub->lock, sub->level); in __aafs_ns_rmdir() 2056 mutex_lock_nested(&sub->lock, sub->level); in __aafs_ns_mkdir() 2097 mutex_lock_nested(&next->lock, next->level); in __next_ns() 2107 mutex_lock_nested(&next->lock, next->level); in __next_ns() 2215 mutex_lock_nested( in p_start() [all...] |
H A D | policy.c | 696 mutex_lock_nested(&profile->ns->lock, profile->ns->level); in aa_new_learning_profile() 1108 mutex_lock_nested(&ns->lock, ns->level); in aa_replace_profiles() 1346 mutex_lock_nested(&ns->parent->lock, ns->parent->level); in aa_remove_profiles() 1352 mutex_lock_nested(&ns->lock, ns->level); in aa_remove_profiles()
|
/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()
|
/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()
|
/linux/Documentation/translations/zh_CN/locking/ |
H A D | mutex-design.rst | 112 void mutex_lock_nested(struct mutex *lock, unsigned int subclass);
|
/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()
|
/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()
|
H A D | bfind.c | 28 mutex_lock_nested(&tree->tree_lock, in hfs_find_init()
|
/linux/drivers/net/phy/ |
H A D | mdio_bus.c | 1075 mutex_lock_nested(&bus->mdio_lock, MDIO_MUTEX_NESTED); in mdiobus_read_nested() 1147 mutex_lock_nested(&bus->mdio_lock, MDIO_MUTEX_NESTED); in mdiobus_c45_read_nested() 1173 mutex_lock_nested(&bus->mdio_lock, MDIO_MUTEX_NESTED); in mdiobus_write_nested() 1249 mutex_lock_nested(&bus->mdio_lock, MDIO_MUTEX_NESTED); in mdiobus_c45_write_nested()
|
/linux/fs/ubifs/ |
H A D | misc.h | 131 mutex_lock_nested(&wbuf->io_mutex, wbuf->jhead); in ubifs_wbuf_sync()
|
H A D | dir.c | 428 mutex_lock_nested(&ubifs_inode(inode1)->ui_mutex, WB_MUTEX_1); in lock_2_inodes() 429 mutex_lock_nested(&ubifs_inode(inode2)->ui_mutex, WB_MUTEX_2); in lock_2_inodes() 1293 mutex_lock_nested(&ubifs_inode(inode1)->ui_mutex, WB_MUTEX_1); in lock_4_inodes() 1295 mutex_lock_nested(&ubifs_inode(inode2)->ui_mutex, WB_MUTEX_2); in lock_4_inodes() 1297 mutex_lock_nested(&ubifs_inode(inode3)->ui_mutex, WB_MUTEX_3); in lock_4_inodes() 1299 mutex_lock_nested(&ubifs_inode(inode4)->ui_mutex, WB_MUTEX_4); in lock_4_inodes()
|
H A D | io.c | 695 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/fs/bcachefs/ |
H A D | fs.h | 95 mutex_lock_nested(&a[i]->ei_update_lock, i);\
|
/linux/security/landlock/ |
H A D | ruleset.c | 380 mutex_lock_nested(&src->lock, SINGLE_DEPTH_NESTING); in merge_ruleset() 450 mutex_lock_nested(&parent->lock, SINGLE_DEPTH_NESTING); in inherit_ruleset()
|
/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()
|
/linux/fs/ntfs3/ |
H A D | fsntfs.c | 947 mutex_lock_nested(&ni->ni_lock, NTFS_INODE_MUTEX_DIRTY); in ntfs_set_state() 1996 mutex_lock_nested(&ni->ni_lock, NTFS_INODE_MUTEX_SECURITY); in ntfs_get_security_by_id() 2115 mutex_lock_nested(&ni->ni_lock, NTFS_INODE_MUTEX_SECURITY); in ntfs_insert_security() 2365 mutex_lock_nested(&ni->ni_lock, NTFS_INODE_MUTEX_OBJID); in ntfs_objid_remove() 2395 mutex_lock_nested(&ni->ni_lock, NTFS_INODE_MUTEX_REPARSE); in ntfs_insert_reparse() 2422 mutex_lock_nested(&ni->ni_lock, NTFS_INODE_MUTEX_REPARSE); in ntfs_remove_reparse()
|
/linux/fs/ |
H A D | eventpoll.c | 991 mutex_lock_nested(&ep->mtx, depth); in __ep_eventpoll_poll() 1684 mutex_lock_nested(&tep->mtx, 1); in ep_insert() 2145 mutex_lock_nested(&ep->mtx, depth + 1); in ep_loop_check_proc() 2281 mutex_lock_nested(mutex, depth); in epoll_mutex_lock()
|