Home
last modified time | relevance | path

Searched refs:lock_mode (Results 1 – 8 of 8) sorted by relevance

/fs/xfs/
Dxfs_attr_inactive.c400 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()
Dxfs_inode.c99 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 …]
Dxfs_dquot.c472 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()
Dxfs_attr_list.c513 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()
Dxfs_dir2_readdir.c682 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()
Dxfs_bmap_util.c1126 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()
Dxfs_qm.c972 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/
Dxfs_attr.c128 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()