Searched refs:i_rwlock (Results 1 – 14 of 14) sorted by relevance
/titanic_50/usr/src/uts/common/fs/ufs/ |
H A D | ufs_dir.c | 237 ufs_tryirwlock((&dp->i_rwlock), RW_READER, retry_dircache); in ufs_dirlook() 247 rw_exit(&dp->i_rwlock); in ufs_dirlook() 257 rw_exit(&dp->i_rwlock); in ufs_dirlook() 264 ufs_tryirwlock(&dp->i_rwlock, RW_READER, retry_parent); in ufs_dirlook() 273 rw_exit(&dp->i_rwlock); in ufs_dirlook() 287 rw_exit(&dp->i_rwlock); in ufs_dirlook() 291 rw_exit(&dp->i_rwlock); in ufs_dirlook() 297 rw_exit(&dp->i_rwlock); in ufs_dirlook() 515 rw_exit(&dp->i_rwlock); in ufs_dirlook() 521 ufs_tryirwlock(&dp->i_rwlock, RW_READER, in ufs_dirlook() [all …]
|
H A D | ufs_vnops.c | 312 ASSERT(RW_READ_HELD(&ip->i_rwlock)); in ufs_read() 353 rw_exit(&ip->i_rwlock); in ufs_read() 359 rw_enter(&ip->i_rwlock, RW_READER); in ufs_read() 446 ASSERT(RW_LOCK_HELD(&ip->i_rwlock)); in ufs_write() 460 ASSERT(RW_WRITE_HELD(&ip->i_rwlock)); in ufs_write() 472 exclusive = rw_write_held(&ip->i_rwlock); in ufs_write() 521 if (!exclusive && !rw_tryupgrade(&ip->i_rwlock)) { in ufs_write() 522 rw_exit(&ip->i_rwlock); in ufs_write() 523 rw_enter(&ip->i_rwlock, RW_WRITER); in ufs_write() 2168 ufs_tryirwlock(&ip->i_rwlock, RW_WRITER, retry_file); in ufs_setattr() [all …]
|
H A D | ufs_thread.c | 298 rw_enter(&ip->i_rwlock, RW_WRITER); in ufs_delete() 310 rw_enter(&dp->i_rwlock, RW_WRITER); in ufs_delete() 336 rw_exit(&dp->i_rwlock); in ufs_delete() 409 rw_exit(&ip->i_rwlock); in ufs_delete()
|
H A D | ufs_alloc.c | 307 ASSERT(RW_WRITE_HELD(&pip->i_rwlock)); in ufs_ialloc() 1606 rw_enter(&ip->i_rwlock, RW_WRITER); in ufs_allocsp() 1725 rw_exit(&ip->i_rwlock); in ufs_allocsp() 1845 rw_exit(&ip->i_rwlock); in ufs_allocsp() 1858 rw_exit(&ip->i_rwlock); in ufs_allocsp() 1939 rw_enter(&ip->i_rwlock, RW_WRITER); in ufs_freesp() 1941 rw_exit(&ip->i_rwlock); in ufs_freesp()
|
H A D | ufs_acl.c | 1319 ASSERT(RW_WRITE_HELD(&tdp->i_rwlock)); in ufs_si_inherit() 1403 rw_enter(&ip->i_rwlock, RW_WRITER); in ufs_si_inherit() 1417 rw_exit(&ip->i_rwlock); in ufs_si_inherit()
|
H A D | ufs_inode.c | 263 rw_init(&ip->i_rwlock, NULL, RW_DEFAULT, NULL); in ufs_inode_cache_constructor() 282 rw_destroy(&ip->i_rwlock); in ufs_inode_cache_destructor()
|
H A D | ufs_subr.c | 852 (RW_ISWRITER(&ip->i_rwlock))) in ufs_icheck()
|
/titanic_50/usr/src/uts/common/fs/udfs/ |
H A D | udf_dir.c | 187 rw_enter(&dip->i_rwlock, RW_READER); in ud_dirlook() 251 rw_exit(&dip->i_rwlock); in ud_dirlook() 264 rw_exit(&dip->i_rwlock); in ud_dirlook() 269 rw_enter(&dip->i_rwlock, in ud_dirlook() 321 rw_exit(&dip->i_rwlock); in ud_dirlook() 360 ASSERT(RW_WRITE_HELD(&tdp->i_rwlock)); in ud_direnter() 374 rw_exit(&tdp->i_rwlock); in ud_direnter() 376 rw_enter(&tdp->i_rwlock, RW_WRITER); in ud_direnter() 379 rw_enter(&tdp->i_rwlock, RW_WRITER); in ud_direnter() 620 ASSERT(RW_WRITE_HELD(&dp->i_rwlock)); in ud_dirremove() [all …]
|
H A D | udf_vnops.c | 303 rw_enter(&ip->i_rwlock, RW_READER); in udf_read() 306 ASSERT(RW_READ_HELD(&ip->i_rwlock)); in udf_read() 325 rw_exit(&ip->i_rwlock); in udf_read() 352 rw_enter(&ip->i_rwlock, RW_WRITER); in udf_write() 355 ASSERT(RW_WRITE_HELD(&ip->i_rwlock)); in udf_write() 394 rw_exit(&ip->i_rwlock); in udf_write() 521 rw_enter(&ip->i_rwlock, RW_WRITER); in udf_setattr() 605 rw_exit(&ip->i_rwlock); in udf_setattr() 740 rw_enter(&ip->i_rwlock, RW_WRITER); in udf_create() 744 rw_exit(&ip->i_rwlock); in udf_create() [all …]
|
H A D | udf_alloc.c | 1339 rw_enter(&ip->i_rwlock, RW_WRITER); in ud_freesp() 1343 rw_exit(&ip->i_rwlock); in ud_freesp()
|
H A D | udf_inode.c | 361 rw_init(&ip->i_rwlock, NULL, RW_DEFAULT, NULL); in ud_iget() 994 rw_destroy(&ip->i_rwlock); in ud_iinactive() 1140 rw_destroy(&ip->i_rwlock); in ud_iinactive()
|
H A D | udf_subr.c | 821 (RW_ISWRITER(&ip->i_rwlock)) || in ud_icheck()
|
/titanic_50/usr/src/uts/common/sys/fs/ |
H A D | udf_inode.h | 391 krwlock_t i_rwlock; /* serializes write/setattr requests */ member 610 _NOTE(LOCK_ORDER(ud_inode::i_rwlock
|
H A D | ufs_inode.h | 252 krwlock_t i_rwlock; /* serializes write/setattr requests */ member
|