/illumos-gate/usr/src/uts/common/fs/ufs/ |
H A D | quotacalls.c | 171 ASSERT(RW_WRITE_HELD(&ufsvfsp->vfs_dqrwlock)); in opendq_scan_inode() 215 rw_enter(&ufsvfsp->vfs_dqrwlock, RW_WRITER); in opendq() 240 rw_exit(&ufsvfsp->vfs_dqrwlock); in opendq() 314 rw_exit(&ufsvfsp->vfs_dqrwlock); in opendq() 330 ASSERT(RW_WRITE_HELD(&ufsvfsp->vfs_dqrwlock)); in closedq_scan_inode() 375 rw_enter(&ufsvfsp->vfs_dqrwlock, RW_WRITER); in closedq() 382 rw_exit(&ufsvfsp->vfs_dqrwlock); in closedq() 405 rw_exit(&ufsvfsp->vfs_dqrwlock); in closedq() 441 ASSERT(RW_WRITE_HELD(&ufsvfsp->vfs_dqrwlock)); in setquota_scan_inode() 503 rw_enter(&ufsvfsp->vfs_dqrwlock, RW_WRITER); in setquota() [all …]
|
H A D | ufs_trans.c | 275 rw_enter(&ufsvfsp->vfs_dqrwlock, RW_READER); in ufs_trans_push_inode() 280 rw_exit(&ufsvfsp->vfs_dqrwlock); in ufs_trans_push_inode() 515 rw_enter(&ufsvfsp->vfs_dqrwlock, RW_READER); in ufs_trans_push_quota() 526 rw_exit(&ufsvfsp->vfs_dqrwlock); in ufs_trans_push_quota() 542 rw_exit(&ufsvfsp->vfs_dqrwlock); in ufs_trans_push_quota() 569 rw_exit(&ufsvfsp->vfs_dqrwlock); in ufs_trans_push_quota() 621 rw_enter(&ufsvfsp->vfs_dqrwlock, RW_READER); in ufs_trans_dqrele() 623 rw_exit(&ufsvfsp->vfs_dqrwlock); in ufs_trans_dqrele() 810 rw_enter(&ufsvfsp->vfs_dqrwlock, RW_READER); in ufs_trans_itrunc() 814 rw_exit(&ufsvfsp->vfs_dqrwlock); in ufs_trans_itrunc() [all …]
|
H A D | ufs_dir.c | 258 rw_enter(&dp->i_ufsvfs->vfs_dqrwlock, RW_READER); in ufs_dirlook() 260 rw_exit(&dp->i_ufsvfs->vfs_dqrwlock); in ufs_dirlook() 283 rw_enter(&dp->i_ufsvfs->vfs_dqrwlock, RW_READER); in ufs_dirlook() 285 rw_exit(&dp->i_ufsvfs->vfs_dqrwlock); in ufs_dirlook() 516 rw_enter(&dp->i_ufsvfs->vfs_dqrwlock, in ufs_dirlook() 520 rw_exit(&dp->i_ufsvfs->vfs_dqrwlock); in ufs_dirlook() 563 rw_enter(&dp->i_ufsvfs->vfs_dqrwlock, in ufs_dirlook() 567 rw_exit(&dp->i_ufsvfs->vfs_dqrwlock); in ufs_dirlook() 730 rw_enter(&tdp->i_ufsvfs->vfs_dqrwlock, RW_READER); in ufs_direnter_cm() 794 rw_exit(&tdp->i_ufsvfs->vfs_dqrwlock); in ufs_direnter_cm() [all …]
|
H A D | quota.c | 170 ASSERT(RW_LOCK_HELD(&ufsvfsp->vfs_dqrwlock)); in getdiskquota() 330 RW_LOCK_HELD(&dqp->dq_ufsvfsp->vfs_dqrwlock)); 520 rw_enter(&ufsvfsp->vfs_dqrwlock, RW_WRITER); 588 rw_exit(&ufsvfsp->vfs_dqrwlock);
|
H A D | ufs_extvnops.c | 103 rw_enter(&ip->i_ufsvfs->vfs_dqrwlock, RW_READER); in ufs_rdwr_data() 196 rw_exit(&ip->i_ufsvfs->vfs_dqrwlock); in ufs_rdwr_data() 296 rw_enter(&ip->i_ufsvfs->vfs_dqrwlock, RW_READER); in ufs_alloc_data() 505 rw_exit(&ip->i_ufsvfs->vfs_dqrwlock); in ufs_alloc_data()
|
H A D | ufs_vnops.c | 595 rw_enter(&ufsvfsp->vfs_dqrwlock, RW_READER); in ufs_write() 618 rw_exit(&ufsvfsp->vfs_dqrwlock); in ufs_write() 796 (rw_owner(&ufsvfsp->vfs_dqrwlock) == curthread)) { in wrip() 926 ASSERT(RW_LOCK_HELD(&ufsvfsp->vfs_dqrwlock)); in wrip() 927 ASSERT(!(RW_WRITE_HELD(&ufsvfsp->vfs_dqrwlock))); in wrip() 928 rw_exit(&ufsvfsp->vfs_dqrwlock); in wrip() 1162 rw_enter(&ufsvfsp->vfs_dqrwlock, RW_READER); in wrip() 2114 rw_enter(&ufsvfsp->vfs_dqrwlock, RW_READER); in ufs_setattr() 2288 rw_exit(&ufsvfsp->vfs_dqrwlock); in ufs_setattr() 2844 rw_enter(&ufsvfsp->vfs_dqrwlock, RW_READER); in ufs_create() [all …]
|
H A D | quota_ufs.c | 77 ASSERT(RW_LOCK_HELD(&ufsvfsp->vfs_dqrwlock)); in getinoquota() 146 RW_LOCK_HELD(&ufsvfsp->vfs_dqrwlock)); in chkdq() 432 ASSERT(RW_READ_HELD(&ufsvfsp->vfs_dqrwlock)); in chkiq()
|
H A D | ufs_thread.c | 366 rw_enter(&ufsvfsp->vfs_dqrwlock, RW_READER); in ufs_delete() 411 rw_exit(&ufsvfsp->vfs_dqrwlock); in ufs_delete() 1091 rw_enter(&ufsvfsp->vfs_dqrwlock, RW_READER); in ufs_thread_reclaim() 1101 rw_exit(&ufsvfsp->vfs_dqrwlock); in ufs_thread_reclaim() 1184 rw_enter(&ufsvfsp->vfs_dqrwlock, RW_READER); in ufs_attr_purge() 1261 rw_exit(&ufsvfsp->vfs_dqrwlock); in ufs_attr_purge()
|
H A D | ufs_alloc.c | 1629 rw_enter(&ufsvfsp->vfs_dqrwlock, RW_READER); in ufs_allocsp() 1646 rw_exit(&ufsvfsp->vfs_dqrwlock); in ufs_allocsp() 1663 rw_exit(&ufsvfsp->vfs_dqrwlock); in ufs_allocsp() 1675 rw_enter(&ufsvfsp->vfs_dqrwlock, RW_READER); in ufs_allocsp() 1685 rw_exit(&ufsvfsp->vfs_dqrwlock); in ufs_allocsp() 1720 rw_exit(&ufsvfsp->vfs_dqrwlock); in ufs_allocsp() 1731 rw_exit(&ufsvfsp->vfs_dqrwlock); in ufs_allocsp() 1758 rw_enter(&ufsvfsp->vfs_dqrwlock, RW_READER); in ufs_allocsp() 1775 rw_exit(&ufsvfsp->vfs_dqrwlock); in ufs_allocsp() 1807 rw_enter(&ufsvfsp->vfs_dqrwlock, RW_READER); in ufs_allocsp() [all …]
|
H A D | ufs_filio.c | 127 rw_enter(&ip->i_ufsvfs->vfs_dqrwlock, RW_READER); in ufs_fioio() 134 rw_exit(&ip->i_ufsvfs->vfs_dqrwlock); in ufs_fioio()
|
H A D | lufs_map.c | 1993 dolock = (!RW_LOCK_HELD(&dqp->dq_ufsvfsp->vfs_dqrwlock)); in handle_dquot() 1995 rw_enter(&dqp->dq_ufsvfsp->vfs_dqrwlock, RW_READER); in handle_dquot() 2008 rw_exit(&dqp->dq_ufsvfsp->vfs_dqrwlock); in handle_dquot() 2019 rw_exit(&dqp->dq_ufsvfsp->vfs_dqrwlock); in handle_dquot()
|
H A D | ufs_vfsops.c | 1146 rw_enter(&ufsvfsp->vfs_dqrwlock, RW_READER); in mountfs() 1150 rw_exit(&ufsvfsp->vfs_dqrwlock); in mountfs() 2042 rw_enter(&ufsvfsp->vfs_dqrwlock, RW_READER); in ufs_vget() 2046 rw_exit(&ufsvfsp->vfs_dqrwlock); in ufs_vget()
|
H A D | ufs_inode.c | 1181 RW_LOCK_HELD(&ufsvfsp->vfs_dqrwlock)); in ufs_itrunc()
|
/illumos-gate/usr/src/uts/common/sys/fs/ |
H A D | ufs_trans.h | 327 rw_enter(&ufsvfsp->vfs_dqrwlock, RW_READER); \ 329 rw_exit(&ufsvfsp->vfs_dqrwlock); \
|
H A D | ufs_inode.h | 721 krwlock_t vfs_dqrwlock; /* QUOTA: protects quota fields */ member
|