/linux-3.3/include/linux/ |
D | mutex.h | 134 extern void mutex_lock_nested(struct mutex *lock, unsigned int subclass); 141 #define mutex_lock(lock) mutex_lock_nested(lock, 0) 156 # define mutex_lock_nested(lock, subclass) mutex_lock(lock) macro
|
/linux-3.3/fs/jfs/ |
D | namei.c | 111 mutex_lock_nested(&JFS_IP(dip)->commit_mutex, COMMIT_MUTEX_PARENT); in jfs_create() 112 mutex_lock_nested(&JFS_IP(ip)->commit_mutex, COMMIT_MUTEX_CHILD); in jfs_create() 249 mutex_lock_nested(&JFS_IP(dip)->commit_mutex, COMMIT_MUTEX_PARENT); in jfs_mkdir() 250 mutex_lock_nested(&JFS_IP(ip)->commit_mutex, COMMIT_MUTEX_CHILD); in jfs_mkdir() 379 mutex_lock_nested(&JFS_IP(dip)->commit_mutex, COMMIT_MUTEX_PARENT); in jfs_rmdir() 380 mutex_lock_nested(&JFS_IP(ip)->commit_mutex, COMMIT_MUTEX_CHILD); in jfs_rmdir() 502 mutex_lock_nested(&JFS_IP(dip)->commit_mutex, COMMIT_MUTEX_PARENT); in jfs_unlink() 503 mutex_lock_nested(&JFS_IP(ip)->commit_mutex, COMMIT_MUTEX_CHILD); in jfs_unlink() 816 mutex_lock_nested(&JFS_IP(dir)->commit_mutex, COMMIT_MUTEX_PARENT); in jfs_link() 817 mutex_lock_nested(&JFS_IP(ip)->commit_mutex, COMMIT_MUTEX_CHILD); in jfs_link() [all …]
|
/linux-3.3/drivers/scsi/libfc/ |
D | fc_npiv.c | 136 mutex_lock_nested(&vn_port->lp_mutex, LPORT_MUTEX_VN_PORT); in fc_vport_setlink() 154 mutex_lock_nested(&vn_port->lp_mutex, LPORT_MUTEX_VN_PORT); in fc_vports_linkchange()
|
/linux-3.3/drivers/block/ |
D | osdblk.c | 479 mutex_lock_nested(&ctl_mutex, SINGLE_DEPTH_NESTING); in class_osdblk_list() 523 mutex_lock_nested(&ctl_mutex, SINGLE_DEPTH_NESTING); in class_osdblk_add() 581 mutex_lock_nested(&ctl_mutex, SINGLE_DEPTH_NESTING); in class_osdblk_add() 612 mutex_lock_nested(&ctl_mutex, SINGLE_DEPTH_NESTING); in class_osdblk_remove()
|
D | rbd.c | 1212 mutex_lock_nested(&ctl_mutex, SINGLE_DEPTH_NESTING); in rbd_watch_cb() 1849 mutex_lock_nested(&ctl_mutex, SINGLE_DEPTH_NESTING); in rbd_image_refresh() 2107 mutex_lock_nested(&ctl_mutex, SINGLE_DEPTH_NESTING); in rbd_bus_add_dev() 2146 mutex_lock_nested(&ctl_mutex, SINGLE_DEPTH_NESTING); in rbd_init_watch_dev() 2193 mutex_lock_nested(&ctl_mutex, SINGLE_DEPTH_NESTING); in rbd_add() 2266 mutex_lock_nested(&ctl_mutex, SINGLE_DEPTH_NESTING); in rbd_add() 2281 mutex_lock_nested(&ctl_mutex, SINGLE_DEPTH_NESTING); in rbd_add() 2350 mutex_lock_nested(&ctl_mutex, SINGLE_DEPTH_NESTING); in rbd_remove() 2381 mutex_lock_nested(&ctl_mutex, SINGLE_DEPTH_NESTING); in rbd_snap_add()
|
/linux-3.3/sound/soc/ |
D | soc-pcm.c | 85 mutex_lock_nested(&rtd->pcm_mutex, rtd->pcm_subclass); in soc_pcm_open() 260 mutex_lock_nested(&rtd->pcm_mutex, rtd->pcm_subclass); in close_delayed_work() 291 mutex_lock_nested(&rtd->pcm_mutex, rtd->pcm_subclass); in soc_pcm_close() 373 mutex_lock_nested(&rtd->pcm_mutex, rtd->pcm_subclass); in soc_pcm_prepare() 444 mutex_lock_nested(&rtd->pcm_mutex, rtd->pcm_subclass); in soc_pcm_hw_params() 516 mutex_lock_nested(&rtd->pcm_mutex, rtd->pcm_subclass); in soc_pcm_hw_free()
|
/linux-3.3/fs/reiserfs/ |
D | xattr.c | 120 mutex_lock_nested(&privroot->d_inode->i_mutex, I_MUTEX_XATTR); in open_xa_root() 152 mutex_lock_nested(&xaroot->d_inode->i_mutex, I_MUTEX_XATTR); in open_xa_dir() 247 mutex_lock_nested(&dir->d_inode->i_mutex, I_MUTEX_XATTR); in reiserfs_for_each_xattr() 358 mutex_lock_nested(&xadir->d_inode->i_mutex, I_MUTEX_XATTR); in xattr_lookup() 440 mutex_lock_nested(&xadir->d_inode->i_mutex, I_MUTEX_XATTR); in lookup_and_delete_xattr() 557 mutex_lock_nested(&dentry->d_inode->i_mutex, I_MUTEX_XATTR); in reiserfs_xattr_set_handle() 858 mutex_lock_nested(&dir->d_inode->i_mutex, I_MUTEX_XATTR); in reiserfs_listxattr()
|
/linux-3.3/kernel/ |
D | mutex.c | 269 mutex_lock_nested(struct mutex *lock, unsigned int subclass) in mutex_lock_nested() function 275 EXPORT_SYMBOL_GPL(mutex_lock_nested);
|
/linux-3.3/fs/nfsd/ |
D | nfs4recover.c | 220 mutex_lock_nested(&dir->d_inode->i_mutex, I_MUTEX_PARENT); in nfsd4_list_rec_dir() 251 mutex_lock_nested(&dir->d_inode->i_mutex, I_MUTEX_PARENT); in nfsd4_unlink_clid_dir()
|
D | nfsfh.h | 182 mutex_lock_nested(&inode->i_mutex, subclass); in fh_lock_nested()
|
/linux-3.3/drivers/base/ |
D | devtmpfs.c | 238 mutex_lock_nested(&nd.path.dentry->d_inode->i_mutex, I_MUTEX_PARENT); in dev_rmdir() 318 mutex_lock_nested(&nd.path.dentry->d_inode->i_mutex, I_MUTEX_PARENT); in handle_remove()
|
/linux-3.3/net/sunrpc/ |
D | rpc_pipe.c | 674 mutex_lock_nested(&dir->i_mutex, I_MUTEX_CHILD); in rpc_depopulate() 735 mutex_lock_nested(&dir->i_mutex, I_MUTEX_PARENT); in rpc_mkdir_populate() 766 mutex_lock_nested(&dir->i_mutex, I_MUTEX_PARENT); in rpc_rmdir_depopulate() 814 mutex_lock_nested(&dir->i_mutex, I_MUTEX_PARENT); in rpc_mkpipe() 864 mutex_lock_nested(&dir->i_mutex, I_MUTEX_PARENT); in rpc_unlink()
|
/linux-3.3/fs/ubifs/ |
D | misc.h | 141 mutex_lock_nested(&wbuf->io_mutex, wbuf->jhead); in ubifs_wbuf_sync()
|
D | dir.c | 490 mutex_lock_nested(&ubifs_inode(inode1)->ui_mutex, WB_MUTEX_1); in lock_2_inodes() 491 mutex_lock_nested(&ubifs_inode(inode2)->ui_mutex, WB_MUTEX_2); in lock_2_inodes() 940 mutex_lock_nested(&ubifs_inode(inode1)->ui_mutex, WB_MUTEX_1); in lock_3_inodes() 942 mutex_lock_nested(&ubifs_inode(inode2)->ui_mutex, WB_MUTEX_2); in lock_3_inodes() 944 mutex_lock_nested(&ubifs_inode(inode3)->ui_mutex, WB_MUTEX_3); in lock_3_inodes()
|
D | io.c | 635 mutex_lock_nested(&wbuf->io_mutex, wbuf->jhead); in ubifs_bg_wbufs_sync() 657 mutex_lock_nested(&wbuf->io_mutex, wbuf->jhead); in ubifs_bg_wbufs_sync() 1145 mutex_lock_nested(&wbuf->io_mutex, wbuf->jhead); in ubifs_sync_wbufs_by_inode()
|
D | gc.c | 660 mutex_lock_nested(&wbuf->io_mutex, wbuf->jhead); in ubifs_garbage_collect() 926 mutex_lock_nested(&wbuf->io_mutex, wbuf->jhead); in ubifs_gc_end_commit()
|
/linux-3.3/fs/ext4/ |
D | move_extent.c | 1095 mutex_lock_nested(&inode1->i_mutex, I_MUTEX_PARENT); in mext_inode_double_lock() 1096 mutex_lock_nested(&inode2->i_mutex, I_MUTEX_CHILD); in mext_inode_double_lock() 1098 mutex_lock_nested(&inode2->i_mutex, I_MUTEX_PARENT); in mext_inode_double_lock() 1099 mutex_lock_nested(&inode1->i_mutex, I_MUTEX_CHILD); in mext_inode_double_lock()
|
/linux-3.3/fs/ |
D | namei.c | 1970 mutex_lock_nested(&p1->d_inode->i_mutex, I_MUTEX_PARENT); in lock_rename() 1978 mutex_lock_nested(&p2->d_inode->i_mutex, I_MUTEX_PARENT); in lock_rename() 1979 mutex_lock_nested(&p1->d_inode->i_mutex, I_MUTEX_CHILD); in lock_rename() 1985 mutex_lock_nested(&p1->d_inode->i_mutex, I_MUTEX_PARENT); in lock_rename() 1986 mutex_lock_nested(&p2->d_inode->i_mutex, I_MUTEX_CHILD); in lock_rename() 1990 mutex_lock_nested(&p1->d_inode->i_mutex, I_MUTEX_PARENT); in lock_rename() 1991 mutex_lock_nested(&p2->d_inode->i_mutex, I_MUTEX_CHILD); in lock_rename() 2429 mutex_lock_nested(&nd.path.dentry->d_inode->i_mutex, I_MUTEX_PARENT); in kern_path_create() 2709 mutex_lock_nested(&nd.path.dentry->d_inode->i_mutex, I_MUTEX_PARENT); in do_rmdir() 2798 mutex_lock_nested(&nd.path.dentry->d_inode->i_mutex, I_MUTEX_PARENT); in do_unlinkat()
|
D | eventpoll.c | 533 mutex_lock_nested(&ep->mtx, depth); in ep_scan_ready_list() 783 mutex_lock_nested(&ep->mtx, 0); in eventpoll_release_file() 1435 mutex_lock_nested(&ep->mtx, call_nests + 1); in ep_loop_check_proc() 1638 mutex_lock_nested(&ep->mtx, 0); in SYSCALL_DEFINE4()
|
/linux-3.3/fs/cachefiles/ |
D | namei.c | 432 mutex_lock_nested(&dir->d_inode->i_mutex, I_MUTEX_PARENT); in cachefiles_delete_object() 509 mutex_lock_nested(&dir->d_inode->i_mutex, I_MUTEX_PARENT); in cachefiles_walk_to_object() 839 mutex_lock_nested(&dir->d_inode->i_mutex, 1); in cachefiles_check_active()
|
/linux-3.3/fs/configfs/ |
D | dir.c | 881 mutex_lock_nested(&dentry->d_inode->i_mutex, I_MUTEX_CHILD); in configfs_attach_group() 1695 mutex_lock_nested(&configfs_sb->s_root->d_inode->i_mutex, in configfs_register_subsystem() 1740 mutex_lock_nested(&configfs_sb->s_root->d_inode->i_mutex, in configfs_unregister_subsystem() 1742 mutex_lock_nested(&dentry->d_inode->i_mutex, I_MUTEX_CHILD); in configfs_unregister_subsystem()
|
D | file.c | 323 mutex_lock_nested(&dir->d_inode->i_mutex, I_MUTEX_NORMAL); in configfs_add_file()
|
/linux-3.3/drivers/usb/core/ |
D | inode.c | 230 mutex_lock_nested(&root->d_inode->i_mutex, I_MUTEX_PARENT); in update_sb() 559 mutex_lock_nested(&parent->d_inode->i_mutex, I_MUTEX_PARENT); in fs_remove_file()
|
/linux-3.3/block/ |
D | ioctl.c | 88 mutex_lock_nested(&bdev->bd_mutex, 1); in blkpg_ioctl()
|
/linux-3.3/fs/xfs/ |
D | xfs_dquot.c | 1121 mutex_lock_nested(&d1->q_qlock, XFS_QLOCK_NESTED); in xfs_dqlock2() 1124 mutex_lock_nested(&d2->q_qlock, XFS_QLOCK_NESTED); in xfs_dqlock2()
|