Home
last modified time | relevance | path

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

12

/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()
/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()
/linux/security/apparmor/
H A Dpolicy_ns.c232 mutex_lock_nested(&ns->lock, ns->level); in __aa_create_ns()
288 mutex_lock_nested(&parent->lock, parent->level); in aa_prepare_ns()
311 mutex_lock_nested(&ns->lock, ns->level); in destroy_ns()
H A Dapparmorfs.c790 mutex_lock_nested(&rev->ns->lock, rev->ns->level); in ns_revision_read()
800 mutex_lock_nested(&rev->ns->lock, rev->ns->level); in ns_revision_read()
834 mutex_lock_nested(&rev->ns->lock, rev->ns->level); in ns_revision_poll()
2100 mutex_lock_nested(&parent->lock, parent->level); in ns_mkdir_op()
2151 mutex_lock_nested(&parent->lock, parent->level); in ns_rmdir_op()
2206 mutex_lock_nested(&sub->lock, sub->level); in __aafs_ns_rmdir()
2315 mutex_lock_nested(&sub->lock, sub->level); in __aafs_ns_mkdir()
2356 mutex_lock_nested(&next->lock, next->level); in __next_ns()
2366 mutex_lock_nested(&next->lock, next->level); in __next_ns()
2474 mutex_lock_nested(&root->lock, root->level); in p_start()
[all …]
H A Dpolicy.c809 mutex_lock_nested(&parent->ns->lock, parent->ns->level); in aa_new_learning_profile()
1242 mutex_lock_nested(&ns->lock, ns->level); in aa_replace_profiles()
1502 mutex_lock_nested(&ns->parent->lock, ns->parent->level); in aa_remove_profiles()
1508 mutex_lock_nested(&ns->lock, ns->level); in aa_remove_profiles()
/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.c76 mutex_lock_nested(mdio_lock, MDIO_MUTEX_NESTED); in mt7530_mdio_regmap_lock()
/linux/drivers/net/dsa/microchip/
H A Dksz8863_smi.c35 mutex_lock_nested(&mdev->bus->mdio_lock, MDIO_MUTEX_NESTED); in ksz8863_mdio_read()
67 mutex_lock_nested(&mdev->bus->mdio_lock, MDIO_MUTEX_NESTED); in ksz8863_mdio_write()
/linux/Documentation/translations/zh_CN/locking/
H A Dmutex-design.rst112 void mutex_lock_nested(struct mutex *lock, unsigned int subclass);
/linux/drivers/net/dsa/mxl862xx/
H A Dmxl862xx-host.c341 mutex_lock_nested(&priv->mdiodev->bus->mdio_lock, MDIO_MUTEX_NESTED); in mxl862xx_api_wrap()
484 mutex_lock_nested(&priv->mdiodev->bus->mdio_lock, MDIO_MUTEX_NESTED); in mxl862xx_reset()
/linux/drivers/net/ethernet/mellanox/mlx4/
H A Dport.c182 mutex_lock_nested(&dup_table->mutex, SINGLE_DEPTH_NESTING); in __mlx4_register_mac()
185 mutex_lock_nested(&table->mutex, SINGLE_DEPTH_NESTING); in __mlx4_register_mac()
378 mutex_lock_nested(&dup_table->mutex, SINGLE_DEPTH_NESTING); in __mlx4_unregister_mac()
381 mutex_lock_nested(&table->mutex, SINGLE_DEPTH_NESTING); in __mlx4_unregister_mac()
468 mutex_lock_nested(&dup_table->mutex, SINGLE_DEPTH_NESTING); in __mlx4_replace_mac()
471 mutex_lock_nested(&table->mutex, SINGLE_DEPTH_NESTING); in __mlx4_replace_mac()
577 mutex_lock_nested(&dup_table->mutex, SINGLE_DEPTH_NESTING); in __mlx4_register_vlan()
580 mutex_lock_nested(&table->mutex, SINGLE_DEPTH_NESTING); in __mlx4_register_vlan()
753 mutex_lock_nested(&dup_table->mutex, SINGLE_DEPTH_NESTING); in __mlx4_unregister_vlan()
756 mutex_lock_nested(&table->mutex, SINGLE_DEPTH_NESTING); in __mlx4_unregister_vlan()
/linux/kernel/locking/
H A Drtmutex_api.c578 void __sched mutex_lock_nested(struct mutex *lock, unsigned int subclass) in mutex_lock_nested() function
582 EXPORT_SYMBOL_GPL(mutex_lock_nested);
/linux/fs/ubifs/
H A Dmisc.h131 mutex_lock_nested(&wbuf->io_mutex, wbuf->jhead); in ubifs_wbuf_sync()
H A Dio.c690 mutex_lock_nested(&wbuf->io_mutex, wbuf->jhead); in ubifs_bg_wbufs_sync()
712 mutex_lock_nested(&wbuf->io_mutex, wbuf->jhead); in ubifs_bg_wbufs_sync()
1251 mutex_lock_nested(&wbuf->io_mutex, wbuf->jhead); in ubifs_sync_wbufs_by_inode()
/linux/security/landlock/
H A Druleset.c
/linux/fs/ntfs/
H A Ddir.c772 mutex_lock_nested(&ndir->mrec_lock, NTFS_INODE_MUTEX_PARENT); in ntfs_readdir()
1131 mutex_lock_nested(&ni->mrec_lock, NTFS_INODE_MUTEX_NORMAL_CHILD); in ntfs_dir_fsync()
1142 mutex_lock_nested(&NTFS_I(parent_vi)->mrec_lock, NTFS_INODE_MUTEX_NORMAL); in ntfs_dir_fsync()
/linux/fs/ntfs3/
H A Dfsntfs.c976 mutex_lock_nested(&ni->ni_lock, NTFS_INODE_MUTEX_DIRTY); in ntfs_set_state()
2006 mutex_lock_nested(&ni->ni_lock, NTFS_INODE_MUTEX_SECURITY); in ntfs_get_security_by_id()
2125 mutex_lock_nested(&ni->ni_lock, NTFS_INODE_MUTEX_SECURITY); in ntfs_insert_security()
2375 mutex_lock_nested(&ni->ni_lock, NTFS_INODE_MUTEX_OBJID); in ntfs_objid_remove()
2405 mutex_lock_nested(&ni->ni_lock, NTFS_INODE_MUTEX_REPARSE); in ntfs_insert_reparse()
2432 mutex_lock_nested(&ni->ni_lock, NTFS_INODE_MUTEX_REPARSE); in ntfs_remove_reparse()
H A Dntfs_fs.h1247 mutex_lock_nested(&ni->base->ni_lock, NTFS_INODE_MUTEX_NORMAL); in ni_lock()
1252 mutex_lock_nested(&ni->base->ni_lock, NTFS_INODE_MUTEX_PARENT); in ni_lock_dir()
1257 mutex_lock_nested(&ni->base->ni_lock, NTFS_INODE_MUTEX_PARENT2); in ni_lock_dir2()
/linux/fs/xfs/
H A Dxfs_dquot.c1471 mutex_lock_nested(&d1->q_qlock, XFS_QLOCK_NESTED); in xfs_dqlock2()
1474 mutex_lock_nested(&d2->q_qlock, XFS_QLOCK_NESTED); in xfs_dqlock2()
1520 mutex_lock_nested(&q[i].qt_dquot->q_qlock, in xfs_dqlockn()
/linux/drivers/net/dsa/qca/
H A Dar9331.c875 mutex_lock_nested(&sbus->mdio_lock, MDIO_MUTEX_NESTED); in ar9331_mdio_read()
904 mutex_lock_nested(&sbus->mdio_lock, MDIO_MUTEX_NESTED); in ar9331_mdio_write()
/linux/drivers/devfreq/
H A Dgovernor_passive.c372 mutex_lock_nested(&devfreq->lock, SINGLE_DEPTH_NESTING); in devfreq_passive_notifier_call()
/linux/fs/
H A Deventpoll.c1303 mutex_lock_nested(&ep->mtx, depth); in __ep_eventpoll_poll()
1870 mutex_lock_nested(&tep->mtx, 1); in ep_register_epitem()
2400 mutex_lock_nested(&ep->mtx, depth + 1); in ep_loop_check_proc()
/linux/drivers/gpu/drm/i915/gt/
H A Dselftest_timeline.c706 mutex_lock_nested(&tl->mutex, SINGLE_DEPTH_NESTING); in live_hwsp_wrap()
723 mutex_lock_nested(&tl->mutex, SINGLE_DEPTH_NESTING); in live_hwsp_wrap()
/linux/Documentation/locking/
H A Dmutex-design.rst136 void mutex_lock_nested(struct mutex *lock, unsigned int subclass);
/linux/kernel/events/
H A Dhw_breakpoint.c130 mutex_lock_nested(tsk_mtx, SINGLE_DEPTH_NESTING); in bp_constraints_lock()

12