Searched refs:lock_mode (Results 1 – 8 of 8) sorted by relevance
/fs/xfs/ |
D | xfs_attr_inactive.c | 400 int lock_mode = XFS_ILOCK_SHARED; in xfs_attr_inactive() local 406 xfs_ilock(dp, lock_mode); in xfs_attr_inactive() 409 xfs_iunlock(dp, lock_mode); in xfs_attr_inactive() 421 lock_mode = 0; in xfs_attr_inactive() 427 lock_mode = XFS_ILOCK_EXCL; in xfs_attr_inactive() 429 xfs_ilock(dp, lock_mode); in xfs_attr_inactive() 455 xfs_iunlock(dp, lock_mode); in xfs_attr_inactive() 464 if (lock_mode) in xfs_attr_inactive() 465 xfs_iunlock(dp, lock_mode); in xfs_attr_inactive()
|
D | xfs_inode.c | 99 uint lock_mode = XFS_ILOCK_SHARED; in xfs_ilock_data_map_shared() local 103 lock_mode = XFS_ILOCK_EXCL; in xfs_ilock_data_map_shared() 104 xfs_ilock(ip, lock_mode); in xfs_ilock_data_map_shared() 105 return lock_mode; in xfs_ilock_data_map_shared() 112 uint lock_mode = XFS_ILOCK_SHARED; in xfs_ilock_attr_map_shared() local 116 lock_mode = XFS_ILOCK_EXCL; in xfs_ilock_attr_map_shared() 117 xfs_ilock(ip, lock_mode); in xfs_ilock_attr_map_shared() 118 return lock_mode; in xfs_ilock_attr_map_shared() 323 xfs_lock_inumorder(int lock_mode, int subclass) in xfs_lock_inumorder() argument 325 if (lock_mode & (XFS_IOLOCK_SHARED|XFS_IOLOCK_EXCL)) in xfs_lock_inumorder() [all …]
|
D | xfs_dquot.c | 472 uint lock_mode; in xfs_qm_dqtobp() local 476 lock_mode = xfs_ilock_data_map_shared(quotip); in xfs_qm_dqtobp() 482 xfs_iunlock(quotip, lock_mode); in xfs_qm_dqtobp() 492 xfs_iunlock(quotip, lock_mode); in xfs_qm_dqtobp()
|
D | xfs_attr_list.c | 513 uint lock_mode; in xfs_attr_list_int() local 523 lock_mode = xfs_ilock_attr_map_shared(dp); in xfs_attr_list_int() 533 xfs_iunlock(dp, lock_mode); in xfs_attr_list_int()
|
D | xfs_dir2_readdir.c | 682 uint lock_mode; in xfs_readdir() local 695 lock_mode = xfs_ilock_data_map_shared(dp); in xfs_readdir() 704 xfs_iunlock(dp, lock_mode); in xfs_readdir()
|
D | xfs_bmap_util.c | 1126 uint lock_mode; in xfs_zero_remaining_bytes() local 1131 lock_mode = xfs_ilock_data_map_shared(ip); in xfs_zero_remaining_bytes() 1133 xfs_iunlock(ip, lock_mode); in xfs_zero_remaining_bytes()
|
D | xfs_qm.c | 972 uint lock_mode; in xfs_qm_dqiterate() local 980 lock_mode = xfs_ilock_data_map_shared(qip); in xfs_qm_dqiterate() 983 xfs_iunlock(qip, lock_mode); in xfs_qm_dqiterate()
|
/fs/xfs/libxfs/ |
D | xfs_attr.c | 128 uint lock_mode; in xfs_attr_get() local 146 lock_mode = xfs_ilock_attr_map_shared(ip); in xfs_attr_get() 155 xfs_iunlock(ip, lock_mode); in xfs_attr_get()
|