Searched refs:lock_mode (Results 1 – 12 of 12) sorted by relevance
/kernel/linux/linux-5.10/fs/xfs/ |
D | xfs_attr_inactive.c | 334 int lock_mode = XFS_ILOCK_SHARED; in xfs_attr_inactive() local 340 xfs_ilock(dp, lock_mode); in xfs_attr_inactive() 343 xfs_iunlock(dp, lock_mode); in xfs_attr_inactive() 345 lock_mode = 0; in xfs_attr_inactive() 351 lock_mode = XFS_ILOCK_EXCL; in xfs_attr_inactive() 352 xfs_ilock(dp, lock_mode); in xfs_attr_inactive() 384 xfs_iunlock(dp, lock_mode); in xfs_attr_inactive() 396 if (lock_mode) in xfs_attr_inactive() 397 xfs_iunlock(dp, lock_mode); in xfs_attr_inactive()
|
D | xfs_dir2_readdir.c | 149 int lock_mode; in xfs_dir2_block_getdents() local 159 lock_mode = xfs_ilock_data_map_shared(dp); in xfs_dir2_block_getdents() 161 xfs_iunlock(dp, lock_mode); in xfs_dir2_block_getdents() 361 int lock_mode; in xfs_dir2_leaf_getdents() local 395 lock_mode = xfs_ilock_data_map_shared(dp); in xfs_dir2_leaf_getdents() 398 xfs_iunlock(dp, lock_mode); in xfs_dir2_leaf_getdents()
|
D | xfs_inode.c | 112 uint lock_mode = XFS_ILOCK_SHARED; in xfs_ilock_data_map_shared() local 116 lock_mode = XFS_ILOCK_EXCL; in xfs_ilock_data_map_shared() 117 xfs_ilock(ip, lock_mode); in xfs_ilock_data_map_shared() 118 return lock_mode; in xfs_ilock_data_map_shared() 125 uint lock_mode = XFS_ILOCK_SHARED; in xfs_ilock_attr_map_shared() local 130 lock_mode = XFS_ILOCK_EXCL; in xfs_ilock_attr_map_shared() 131 xfs_ilock(ip, lock_mode); in xfs_ilock_attr_map_shared() 132 return lock_mode; in xfs_ilock_attr_map_shared() 401 xfs_lock_inumorder(int lock_mode, int subclass) in xfs_lock_inumorder() argument 405 ASSERT(!(lock_mode & (XFS_ILOCK_PARENT | XFS_ILOCK_RTBITMAP | in xfs_lock_inumorder() [all …]
|
D | xfs_attr_list.c | 527 uint lock_mode; in xfs_attr_list() local 535 lock_mode = xfs_ilock_attr_map_shared(dp); in xfs_attr_list() 537 xfs_iunlock(dp, lock_mode); in xfs_attr_list()
|
D | xfs_dquot.c | 394 uint lock_mode; in xfs_dquot_disk_read() local 398 lock_mode = xfs_ilock_data_map_shared(quotip); in xfs_dquot_disk_read() 404 xfs_iunlock(quotip, lock_mode); in xfs_dquot_disk_read() 413 xfs_iunlock(quotip, lock_mode); in xfs_dquot_disk_read()
|
D | xfs_reflink.c | 1182 unsigned int lock_mode; in xfs_reflink_remap_blocks() local 1186 lock_mode = xfs_ilock_data_map_shared(src); in xfs_reflink_remap_blocks() 1188 xfs_iunlock(src, lock_mode); in xfs_reflink_remap_blocks()
|
D | xfs_qm.c | 1002 uint lock_mode; in xfs_qm_reset_dqcounts_buf() local 1010 lock_mode = xfs_ilock_data_map_shared(qip); in xfs_qm_reset_dqcounts_buf() 1013 xfs_iunlock(qip, lock_mode); in xfs_qm_reset_dqcounts_buf()
|
/kernel/linux/linux-5.10/fs/xfs/scrub/ |
D | parent.c | 83 uint lock_mode; in xchk_parent_count_parent_dentries() local 92 lock_mode = xfs_ilock_data_map_shared(parent); in xchk_parent_count_parent_dentries() 95 xfs_iunlock(parent, lock_mode); in xchk_parent_count_parent_dentries()
|
D | common.h | 148 int xchk_ilock_inverted(struct xfs_inode *ip, uint lock_mode);
|
D | common.c | 887 uint lock_mode) in xchk_ilock_inverted() argument 892 if (xfs_ilock_nowait(ip, lock_mode)) in xchk_ilock_inverted()
|
/kernel/linux/linux-5.10/fs/xfs/libxfs/ |
D | xfs_dir2.c | 349 int lock_mode; in xfs_dir_lookup() local 375 lock_mode = xfs_ilock_data_map_shared(dp); in xfs_dir_lookup() 408 xfs_iunlock(dp, lock_mode); in xfs_dir_lookup()
|
D | xfs_attr.c | 117 uint lock_mode; in xfs_attr_get() local 132 lock_mode = xfs_ilock_attr_map_shared(args->dp); in xfs_attr_get() 134 xfs_iunlock(args->dp, lock_mode); in xfs_attr_get()
|