Home
last modified time | relevance | path

Searched refs:i_rwlock (Results 1 – 14 of 14) sorted by relevance

/titanic_50/usr/src/uts/common/fs/ufs/
H A Dufs_dir.c237 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 Dufs_vnops.c312 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 Dufs_thread.c298 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 Dufs_alloc.c307 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 Dufs_acl.c1319 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 Dufs_inode.c263 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 Dufs_subr.c852 (RW_ISWRITER(&ip->i_rwlock))) in ufs_icheck()
/titanic_50/usr/src/uts/common/fs/udfs/
H A Dudf_dir.c187 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 Dudf_vnops.c303 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 Dudf_alloc.c1339 rw_enter(&ip->i_rwlock, RW_WRITER); in ud_freesp()
1343 rw_exit(&ip->i_rwlock); in ud_freesp()
H A Dudf_inode.c361 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 Dudf_subr.c821 (RW_ISWRITER(&ip->i_rwlock)) || in ud_icheck()
/titanic_50/usr/src/uts/common/sys/fs/
H A Dudf_inode.h391 krwlock_t i_rwlock; /* serializes write/setattr requests */ member
610 _NOTE(LOCK_ORDER(ud_inode::i_rwlock
H A Dufs_inode.h252 krwlock_t i_rwlock; /* serializes write/setattr requests */ member