Home
last modified time | relevance | path

Searched refs:i_contents (Results 1 – 25 of 29) sorted by relevance

12

/titanic_50/usr/src/uts/common/sys/fs/
H A Dudf_inode.h392 krwlock_t i_contents; /* protects (most of) inode contents */ member
453 _NOTE(RWLOCK_PROTECTS_DATA(ud_inode::i_contents, ud_inode::i_astrat))
454 _NOTE(RWLOCK_PROTECTS_DATA(ud_inode::i_contents, ud_inode::i_desc_type))
455 _NOTE(RWLOCK_PROTECTS_DATA(ud_inode::i_contents, ud_inode::i_ext_count))
456 _NOTE(RWLOCK_PROTECTS_DATA(ud_inode::i_contents, ud_inode::i_ext_used))
457 _NOTE(RWLOCK_PROTECTS_DATA(ud_inode::i_contents, ud_inode::i_ext))
459 _NOTE(RWLOCK_PROTECTS_DATA(ud_inode::i_contents, ud_inode::i_type))
460 _NOTE(RWLOCK_PROTECTS_DATA(ud_inode::i_contents, ud_inode::i_char))
461 _NOTE(RWLOCK_PROTECTS_DATA(ud_inode::i_contents, ud_inode::i_perm))
463 _NOTE(RWLOCK_PROTECTS_DATA(ud_inode::i_contents, ud_inode::i_uid))
[all …]
H A Dufs_inode.h253 krwlock_t i_contents; /* protects (most of) inode contents */ member
551 rw_enter(&(ip)->i_contents, RW_READER); \
553 rw_exit(&(ip)->i_contents); \
557 ASSERT(RW_WRITE_HELD(&(ip)->i_contents)); \
/titanic_50/usr/src/uts/common/fs/ufs/
H A Dufs_filio.c141 rw_enter(&ipio->i_contents, RW_READER); in ufs_fioio()
144 rw_exit(&ipio->i_contents); in ufs_fioio()
153 rw_exit(&ipio->i_contents); in ufs_fioio()
156 rw_exit(&ipio->i_contents); in ufs_fioio()
258 rw_enter(&ip->i_contents, RW_WRITER); in ufs_fiosatime()
268 rw_exit(&ip->i_contents); in ufs_fiosatime()
545 rw_enter(&ip->i_contents, RW_READER); in ufs_fiodirectio()
554 rw_exit(&ip->i_contents); in ufs_fiodirectio()
642 rw_enter(&ip->i_contents, RW_READER); in ufs_fio_holey()
645 rw_exit(&ip->i_contents); in ufs_fio_holey()
[all …]
H A Dufs_dir.c731 rw_enter(&tdp->i_contents, RW_WRITER); in ufs_direnter_cm()
760 rw_enter(&nip->i_contents, RW_WRITER); in ufs_direnter_cm()
776 rw_exit(&nip->i_contents); in ufs_direnter_cm()
788 rw_exit(&tdp->i_contents); in ufs_direnter_cm()
870 rw_enter(&sip->i_contents, RW_WRITER); in ufs_direnter_lr()
872 rw_exit(&sip->i_contents); in ufs_direnter_lr()
876 rw_exit(&sip->i_contents); in ufs_direnter_lr()
887 rw_exit(&sip->i_contents); in ufs_direnter_lr()
897 rw_exit(&sip->i_contents); in ufs_direnter_lr()
921 rw_enter(&tdp->i_contents, RW_WRITER); in ufs_direnter_lr()
[all …]
H A Dufs_vnops.c341 rw_enter(&ip->i_contents, RW_READER); in ufs_read()
343 rw_exit(&ip->i_contents); in ufs_read()
380 rw_enter(&ip->i_contents, RW_READER); in ufs_read()
382 rw_exit(&ip->i_contents); in ufs_read()
485 rw_enter(&ip->i_contents, RW_READER); in ufs_write()
511 rw_exit(&ip->i_contents); in ufs_write()
516 rw_exit(&ip->i_contents); in ufs_write()
568 rw_enter(&ip->i_contents, RW_READER); in ufs_write()
579 rw_exit(&ip->i_contents); in ufs_write()
596 rw_enter(&ip->i_contents, RW_WRITER); in ufs_write()
[all …]
H A Dquotacalls.c175 rw_enter(&ip->i_contents, RW_WRITER); in opendq_scan_inode()
185 rw_exit(&ip->i_contents); in opendq_scan_inode()
267 rw_enter(&qip->i_contents, RW_WRITER); in opendq()
272 rw_exit(&qip->i_contents); in opendq()
276 rw_exit(&qip->i_contents); in opendq()
334 rw_enter(&ip->i_contents, RW_WRITER); in closedq_scan_inode()
362 rw_exit(&ip->i_contents); in closedq_scan_inode()
455 rw_enter(&ip->i_contents, RW_WRITER); in setquota_scan_inode()
480 rw_exit(&ip->i_contents); in setquota_scan_inode()
638 rw_enter(&qip->i_contents, RW_WRITER); in setquota()
[all …]
H A Dufs_inode.c264 rw_init(&ip->i_contents, NULL, RW_DEFAULT, NULL); in ufs_inode_cache_constructor()
283 rw_destroy(&ip->i_contents); in ufs_inode_cache_destructor()
486 rw_enter(&ip->i_contents, RW_READER); in ufs_iget_internal()
500 rw_exit(&ip->i_contents); in ufs_iget_internal()
515 rw_exit(&ip->i_contents); in ufs_iget_internal()
555 rw_enter(&ip->i_contents, RW_WRITER); in ufs_iget_internal()
570 rw_exit(&ip->i_contents); in ufs_iget_internal()
609 rw_exit(&ip->i_contents); in ufs_iget_internal()
640 rw_exit(&ip->i_contents); in ufs_iget_internal()
657 rw_exit(&ip->i_contents); in ufs_iget_internal()
[all …]
H A Dufs_trans.c171 rw_enter(&ip->i_contents, RW_READER); in ufs_trans_iupdat()
173 rw_exit(&ip->i_contents); in ufs_trans_iupdat()
183 rw_enter(&ip->i_contents, RW_READER); in ufs_trans_iupdat()
185 rw_exit(&ip->i_contents); in ufs_trans_iupdat()
285 rw_enter(&ip->i_contents, RW_READER); in ufs_trans_push_inode()
287 rw_exit(&ip->i_contents); in ufs_trans_push_inode()
315 rw_enter(&ip->i_contents, RW_WRITER); in ufs_trans_mata_mount_scan()
317 rw_exit(&ip->i_contents); in ufs_trans_mata_mount_scan()
493 ASSERT(RW_WRITE_HELD(&ip->i_contents)); in ufs_trans_dir()
811 rw_enter(&ip->i_contents, RW_WRITER); in ufs_trans_itrunc()
[all …]
H A Dufs_thread.c306 rw_enter(&ip->i_contents, RW_WRITER); in ufs_delete()
311 rw_enter(&dp->i_contents, RW_WRITER); in ufs_delete()
335 rw_exit(&dp->i_contents); in ufs_delete()
343 rw_exit(&ip->i_contents); in ufs_delete()
363 rw_enter(&ip->i_contents, RW_WRITER); in ufs_delete()
406 rw_exit(&ip->i_contents); in ufs_delete()
894 rw_enter(&ip->i_contents, RW_WRITER); in ufs_idle_some()
901 rw_exit(&ip->i_contents); in ufs_idle_some()
904 rw_exit(&ip->i_contents); in ufs_idle_some()
933 rw_enter(&ip->i_contents, RW_WRITER); in ufs_idle_drain()
[all …]
H A Dufs_acl.c111 ASSERT(RW_WRITE_HELD(&ip->i_contents)); in ufs_si_store()
176 rw_enter(&sip->i_contents, RW_WRITER); in ufs_si_store()
178 rw_exit(&sip->i_contents); in ufs_si_store()
184 rw_exit(&sip->i_contents); in ufs_si_store()
192 rw_exit(&sip->i_contents); in ufs_si_store()
196 ASSERT(RW_WRITE_HELD(&sip->i_contents)); in ufs_si_store()
213 rw_exit(&sip->i_contents); in ufs_si_store()
227 rw_enter(&sip->i_contents, RW_WRITER); in ufs_si_store()
274 rw_exit(&sip->i_contents); in ufs_si_store()
288 ASSERT(RW_WRITE_HELD(&ip->i_contents)); in ufs_si_store()
[all …]
H A Dufs_directio.c484 rw_exit(&ip->i_contents); in ufs_directio_write()
485 rw_enter(&ip->i_contents, RW_WRITER); in ufs_directio_write()
575 exclusive = rw_write_held(&ip->i_contents); in ufs_directio_write()
582 rw_exit(&ip->i_contents); in ufs_directio_write()
583 rw_enter(&ip->i_contents, RW_WRITER); in ufs_directio_write()
590 rw_downgrade(&ip->i_contents); in ufs_directio_write()
720 rw_exit(&ip->i_contents); in ufs_directio_write()
721 rw_enter(&ip->i_contents, RW_WRITER); in ufs_directio_write()
725 rw_downgrade(&ip->i_contents); in ufs_directio_write()
896 rw_exit(&ip->i_contents); in ufs_directio_read()
[all …]
H A Dufs_extvnops.c106 rw_enter(&ip->i_contents, rwtype); in ufs_rdwr_data()
128 if (!rw_tryupgrade(&ip->i_contents)) { in ufs_rdwr_data()
129 rw_exit(&ip->i_contents); in ufs_rdwr_data()
130 rw_enter(&ip->i_contents, rwtype); in ufs_rdwr_data()
197 rw_exit(&ip->i_contents); in ufs_rdwr_data()
299 rw_enter(&ip->i_contents, RW_WRITER); in ufs_alloc_data()
506 rw_exit(&ip->i_contents); in ufs_alloc_data()
H A Dufs_alloc.c372 rw_enter(&ip->i_contents, RW_WRITER); in ufs_ialloc()
381 rw_exit(&ip->i_contents); in ufs_ialloc()
445 rw_exit(&ip->i_contents); in ufs_ialloc()
1609 rw_enter(&ip->i_contents, RW_READER); in ufs_allocsp()
1613 rw_exit(&ip->i_contents); in ufs_allocsp()
1631 rw_enter(&ip->i_contents, RW_WRITER); in ufs_allocsp()
1646 rw_exit(&ip->i_contents); in ufs_allocsp()
1663 rw_exit(&ip->i_contents); in ufs_allocsp()
1677 rw_enter(&ip->i_contents, RW_WRITER); in ufs_allocsp()
1685 rw_exit(&ip->i_contents); in ufs_allocsp()
[all …]
H A Dquota.c260 rw_enter(&qip->i_contents, RW_READER); in getdiskquota()
273 rw_exit(&qip->i_contents); in getdiskquota()
315 rw_exit(&qip->i_contents); /* done with i_size */ in getdiskquota()
429 rw_enter(&qip->i_contents, RW_WRITER);
440 rw_exit(&qip->i_contents);
H A Dufs_xattr.c126 ASSERT(RW_WRITE_HELD(&sip->i_contents)); in ufs_unhook_shadow()
127 ASSERT(RW_WRITE_HELD(&ip->i_contents)); in ufs_unhook_shadow()
H A Dufs_lockfs.c460 rw_enter(&ip->i_contents, RW_WRITER); in ufs_thaw_wlock()
462 rw_exit(&ip->i_contents); in ufs_thaw_wlock()
494 rw_enter(&ip->i_contents, RW_WRITER); in ufs_thaw_hlock()
496 rw_exit(&ip->i_contents); in ufs_thaw_hlock()
795 rw_enter(&ip->i_contents, RW_WRITER); in ufs_reconcile_inode()
828 rw_exit(&ip->i_contents); in ufs_reconcile_inode()
H A Dquota_ufs.c80 ASSERT(RW_WRITE_HELD(&ip->i_contents)); in getinoquota()
149 ASSERT(RW_WRITE_HELD(&ip->i_contents)); in chkdq()
H A Dufs_subr.c522 rw_enter(&ip->i_contents, RW_READER); in ufs_syncip()
527 rw_exit(&ip->i_contents); in ufs_syncip()
548 rw_enter(&ip->i_contents, RW_READER); in ufs_syncip()
553 rw_exit(&ip->i_contents); in ufs_syncip()
1452 ASSERT(RW_LOCK_HELD(&ip->i_contents)); in ufs_sticky_remove_access()
H A Dufs_bmap.c217 ASSERT(RW_LOCK_HELD(&ip->i_contents)); in bmap_read()
334 ASSERT(RW_WRITE_HELD(&ip->i_contents)); in bmap_write()
1199 ASSERT(RW_LOCK_HELD(&ip->i_contents)); in bmap_find()
1349 ASSERT(RW_LOCK_HELD(&ip->i_contents)); in bmap_set_bn()
/titanic_50/usr/src/uts/common/fs/udfs/
H A Dudf_dir.c399 rw_enter(&sip->i_contents, RW_WRITER); in ud_direnter()
401 rw_exit(&sip->i_contents); in ud_direnter()
405 rw_exit(&sip->i_contents); in ud_direnter()
414 rw_exit(&sip->i_contents); in ud_direnter()
451 rw_enter(&sip->i_contents, RW_READER); in ud_direnter()
456 rw_exit(&sip->i_contents); in ud_direnter()
460 rw_exit(&sip->i_contents); in ud_direnter()
465 rw_exit(&sip->i_contents); in ud_direnter()
473 rw_enter(&tdp->i_contents, RW_WRITER); in ud_direnter()
527 rw_enter(&sip->i_contents, RW_WRITER); in ud_direnter()
[all …]
H A Dudf_vnops.c319 rw_enter(&ip->i_contents, RW_READER); in udf_read()
321 rw_exit(&ip->i_contents); in udf_read()
382 rw_enter(&ip->i_contents, RW_WRITER); in udf_write()
390 rw_exit(&ip->i_contents); in udf_write()
436 rw_enter(&ip->i_contents, RW_READER); in udf_getattr()
477 rw_exit(&ip->i_contents); in udf_getattr()
522 rw_enter(&ip->i_contents, RW_WRITER); in udf_setattr()
604 rw_exit(&ip->i_contents); in udf_setattr()
749 rw_enter(&ip->i_contents, RW_WRITER); in udf_create()
752 rw_enter(&ip->i_contents, RW_WRITER); in udf_create()
[all …]
H A Dudf_inode.c205 rw_enter(&ip->i_contents, RW_READER); in ud_iget()
214 rw_exit(&ip->i_contents); in ud_iget()
277 rw_enter(&ip->i_contents, RW_WRITER); in ud_iget()
292 rw_exit(&ip->i_contents); in ud_iget()
362 rw_init(&ip->i_contents, NULL, RW_DEFAULT, NULL); in ud_iget()
375 rw_enter(&ip->i_contents, RW_WRITER); in ud_iget()
381 rw_exit(&ip->i_contents); in ud_iget()
390 rw_exit(&ip->i_contents); in ud_iget()
510 rw_exit(&ip->i_contents); in ud_iget()
922 rw_exit(&ip->i_contents); in ud_iget()
[all …]
H A Dudf_alloc.c1295 rw_enter(&ip->i_contents, RW_READER); in ud_freesp()
1297 rw_exit(&ip->i_contents); in ud_freesp()
1323 rw_exit(&ip->i_contents); in ud_freesp()
1328 rw_enter(&ip->i_contents, RW_READER); in ud_freesp()
1338 rw_exit(&ip->i_contents); in ud_freesp()
1340 rw_enter(&ip->i_contents, RW_WRITER); in ud_freesp()
1342 rw_exit(&ip->i_contents); in ud_freesp()
H A Dudf_subr.c493 rw_exit(&ip->i_contents); in ud_syncip()
496 rw_enter(&ip->i_contents, RW_WRITER); in ud_syncip()
870 if (!rw_tryenter(&ip->i_contents, RW_WRITER)) { in ud_flushi()
893 rw_exit(&ip->i_contents); in ud_flushi()
1866 ASSERT(RW_LOCK_HELD(&entry->i_contents)); in ud_sticky_remove_access()
/titanic_50/usr/src/uts/common/cpr/
H A Dcpr_misc.c553 rw_enter(&ip->i_contents, RW_READER); in cpr_grow_statefile()
556 rw_exit(&ip->i_contents); in cpr_grow_statefile()
635 rw_enter(&ip->i_contents, RW_READER); in cpr_statefile_ok()
637 rw_exit(&ip->i_contents); in cpr_statefile_ok()
720 rw_enter(&ip->i_contents, RW_READER); in cpr_statefile_ok()
722 rw_exit(&ip->i_contents); in cpr_statefile_ok()

12