Home
last modified time | relevance | path

Searched refs:RW_READER (Results 1 – 25 of 387) sorted by relevance

12345678910>>...16

/titanic_44/usr/src/uts/common/fs/zfs/sys/
H A Drrwlock.h79 #define RRW_READ_HELD(x) rrw_held(x, RW_READER)
82 (rrw_held(x, RW_WRITER) || rrw_held(x, RW_READER))
104 #define RRM_READ_HELD(x) rrm_held(x, RW_READER)
107 (rrm_held(x, RW_WRITER) || rrm_held(x, RW_READER))
/titanic_44/usr/src/uts/common/fs/smbclnt/smbfs/
H A Dsmbfs_rwlock.c70 ASSERT(rw == RW_READER || rw == RW_WRITER); in smbfs_rw_enter_sig()
72 } else if (rw == RW_READER) { in smbfs_rw_enter_sig()
159 ASSERT(rw == RW_READER || rw == RW_WRITER); in smbfs_rw_tryenter()
161 } else if (rw == RW_READER) { in smbfs_rw_tryenter()
228 if (rw == RW_READER) in smbfs_rw_lock_held()
/titanic_44/usr/src/uts/common/fs/zfs/
H A Dzio_inject.c108 rw_enter(&inject_lock, RW_READER); in zio_handle_panic_injection()
146 rw_enter(&inject_lock, RW_READER); in zio_handle_fault_injection()
188 rw_enter(&inject_lock, RW_READER); in zio_handle_label_injection()
236 rw_enter(&inject_lock, RW_READER); in zio_handle_device_injection()
299 rw_enter(&inject_lock, RW_READER); in zio_handle_ignored_writes()
337 rw_enter(&inject_lock, RW_READER); in spa_handle_ignored_writes()
373 rw_enter(&inject_lock, RW_READER); in zio_handle_io_delay()
462 rw_enter(&inject_lock, RW_READER); in zio_inject_list_next()
H A Dzap_micro.c484 lt = (!zap->zap_ismicro && fatreader) ? RW_READER : lti; in zap_lockdir()
486 if (lt != ((!zap->zap_ismicro && fatreader) ? RW_READER : lti)) { in zap_lockdir()
489 ASSERT(RW_READER == in zap_lockdir()
490 (!zap->zap_ismicro && fatreader) ? RW_READER : lti); in zap_lockdir()
492 lt = RW_READER; in zap_lockdir()
705 err = zap_lockdir(os, zapobj, NULL, RW_READER, TRUE, FALSE, &zap); in zap_count()
781 err = zap_lockdir(os, zapobj, NULL, RW_READER, TRUE, FALSE, &zap); in zap_lookup_norm()
827 err = zap_lockdir(os, zapobj, NULL, RW_READER, TRUE, FALSE, &zap); in zap_prefetch_uint64()
850 err = zap_lockdir(os, zapobj, NULL, RW_READER, TRUE, FALSE, &zap); in zap_lookup_uint64()
885 err = zap_lockdir(os, zapobj, NULL, RW_READER, TRUE, FALSE, &zap); in zap_length()
[all …]
H A Dzfs_log.c341 rw_enter(&rz_zev_rwlock, RW_READER); in zfs_log_create()
394 rw_enter(&rz_zev_rwlock, RW_READER); in zfs_log_link()
431 rw_enter(&rz_zev_rwlock, RW_READER); in zfs_log_symlink()
463 rw_enter(&rz_zev_rwlock, RW_READER); in zfs_log_rename()
546 rw_enter(&rz_zev_rwlock, RW_READER); in zfs_log_write()
580 rw_enter(&rz_zev_rwlock, RW_READER); in zfs_log_truncate()
713 rw_enter(&rz_zev_rwlock, RW_READER); in zfs_log_acl()
/titanic_44/usr/src/uts/common/os/
H A Drwlock.c257 if (rw == RW_READER || rw == RW_READER_STARVEWRITER) in rw_locked()
285 if (rw == RW_READER) { in rw_enter_sleep()
527 LOCKSTAT_RECORD(LS_RW_EXIT_RELEASE, lp, RW_READER); in rw_exit_wakeup()
544 if ((old = lp->rw_wwwh) & (rw == RW_READER ? in rw_tryenter()
596 ASSERT(rw_locked(lp, RW_READER)); in rw_downgrade()
606 ASSERT(rw_locked(lp, RW_READER)); in rw_tryupgrade()
H A Drwstlock.c68 if (rw == RW_READER || rw == RW_READER_STARVEWRITER) { in rwst_enter_common()
141 LOCKSTAT_RECORD(LS_RW_EXIT_RELEASE, l, RW_READER); in rwst_exit()
/titanic_44/usr/src/uts/common/io/1394/
H A Ds1394_cmp.c169 rw_enter(&cmp->cmp_ompr_rwlock, RW_READER); in s1394_cmp_read()
174 rw_enter(&cmp->cmp_impr_rwlock, RW_READER); in s1394_cmp_read()
257 rw_enter(&cmp->cmp_ompr_rwlock, RW_READER); in s1394_cmp_ompr_recv_read_request()
281 rw_enter(&cmp->cmp_impr_rwlock, RW_READER); in s1394_cmp_impr_recv_read_request()
386 rw_enter(&hal->target_list_rwlock, RW_READER); in s1394_cmp_notify_reg_change()
413 rw_enter(&hal->target_list_rwlock, RW_READER); in s1394_cmp_notify_reg_change()
/titanic_44/usr/src/uts/common/fs/sharefs/
H A Dsharefs_vnops.c57 rw_enter(&sharetab_lock, RW_READER); in sharefs_snap_create()
170 rw_enter(&sharefs_lock, RW_READER); in sharefs_getattr()
180 rw_enter(&sharetab_lock, RW_READER); in sharefs_getattr()
302 rw_enter(&sharefs_lock, RW_READER); in sharefs_read()
313 rw_enter(&sharefs_lock, RW_READER); in sharefs_read()
/titanic_44/usr/src/uts/sun4u/opl/io/oplmsu/
H A Doplmsu.c594 rw_enter(&oplmsu_uinst->lock, RW_READER); in oplmsu_close()
711 rw_enter(&oplmsu_uinst->lock, RW_READER); in oplmsu_uwput()
713 oplmsu_wcmn_flush_hndl(uwq, mp, RW_READER); in oplmsu_uwput()
725 oplmsu_wcmn_high_qenable(WR(uwq), RW_READER); in oplmsu_uwput()
747 rw_enter(&oplmsu_uinst->lock, RW_READER); in oplmsu_uwsrv()
752 oplmsu_wcmn_flush_hndl(uwq, mp, RW_READER); in oplmsu_uwsrv()
756 if (oplmsu_wcmn_through_hndl(uwq, mp, MSU_HIGH, RW_READER) == in oplmsu_uwsrv()
794 rw_enter(&oplmsu_uinst->lock, RW_READER); in oplmsu_uwsrv()
796 MSU_NORM, RW_READER); in oplmsu_uwsrv()
803 rw_enter(&oplmsu_uinst->lock, RW_READER); in oplmsu_uwsrv()
[all …]
/titanic_44/usr/src/uts/common/fs/dev/
H A Dsdev_vnops.c338 rw_enter(&ddv->sdev_contents, RW_READER); in sdev_open()
458 rw_enter(&parent->sdev_contents, RW_READER); in sdev_getattr()
604 rw_enter(&dv->sdev_contents, RW_READER); in sdev_access()
657 rw_enter(&parent->sdev_dotdot->sdev_contents, RW_READER); in sdev_create()
784 rw_enter(&parent->sdev_contents, RW_READER); in sdev_remove()
906 rw_enter(&fromparent->sdev_dotdot->sdev_contents, RW_READER); in sdev_rename()
919 rw_enter(&toparent->sdev_dotdot->sdev_contents, RW_READER); in sdev_rename()
1055 rw_enter(&fromparent->sdev_contents, RW_READER); in sdev_rename()
1136 rw_enter(&parent->sdev_dotdot->sdev_contents, RW_READER); in sdev_symlink()
1211 rw_enter(&parent->sdev_dotdot->sdev_contents, RW_READER); in sdev_mkdir()
[all …]
/titanic_44/usr/src/uts/common/sys/ib/clients/of/sol_ofs/
H A Dsol_kverb_impl.h41 rw_enter(&clnt->lock, RW_READER); \
52 rw_enter(&clnt->lock, RW_READER); \
/titanic_44/usr/src/uts/common/io/ib/clients/rdsv3/
H A Dtransport.c109 rw_enter(&trans_sem, RW_READER); in rdsv3_trans_get_preferred()
141 rw_enter(&trans_sem, RW_READER); in rdsv3_trans_stats_info_copy()
/titanic_44/usr/src/uts/common/fs/ufs/
H A Dufs_trans.c171 rw_enter(&ip->i_contents, RW_READER); in ufs_trans_iupdat()
183 rw_enter(&ip->i_contents, RW_READER); in ufs_trans_iupdat()
275 rw_enter(&ufsvfsp->vfs_dqrwlock, RW_READER); in ufs_trans_push_inode()
285 rw_enter(&ip->i_contents, RW_READER); in ufs_trans_push_inode()
515 rw_enter(&ufsvfsp->vfs_dqrwlock, RW_READER); in ufs_trans_push_quota()
621 rw_enter(&ufsvfsp->vfs_dqrwlock, RW_READER); in ufs_trans_dqrele()
810 rw_enter(&ufsvfsp->vfs_dqrwlock, RW_READER); in ufs_trans_itrunc()
830 rw_enter(&ufsvfsp->vfs_dqrwlock, RW_READER); in ufs_trans_itrunc()
985 rw_enter(&ufsvfsp->vfs_dqrwlock, RW_READER); in ufs_trans_write()
H A Dufs_vnops.c341 rw_enter(&ip->i_contents, RW_READER); in ufs_read()
359 rw_enter(&ip->i_rwlock, RW_READER); in ufs_read()
380 rw_enter(&ip->i_contents, RW_READER); in ufs_read()
485 rw_enter(&ip->i_contents, RW_READER); in ufs_write()
568 rw_enter(&ip->i_contents, RW_READER); in ufs_write()
595 rw_enter(&ufsvfsp->vfs_dqrwlock, RW_READER); in ufs_write()
1232 rw_enter(&ufsvfsp->vfs_dqrwlock, RW_READER); in wrip()
1402 rwtype = (rw_write_held(&ip->i_contents)?RW_WRITER:RW_READER); in rdip()
1455 if (rwtype == RW_READER) in rdip()
1509 if (rwtype == RW_READER) in rdip()
[all …]
H A Dufs_extvnops.c74 krw_t rwtype = RW_READER; in ufs_rdwr_data()
105 rw_enter(&ip->i_ufsvfs->vfs_dqrwlock, RW_READER); in ufs_rdwr_data()
126 if (iswrite && (rwtype == RW_READER)) { in ufs_rdwr_data()
298 rw_enter(&ip->i_ufsvfs->vfs_dqrwlock, RW_READER); in ufs_alloc_data()
/titanic_44/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Discsi_ioctl.c160 rw_enter(&ihp->hba_sess_list_rwlock, RW_READER); in iscsi_ioctl_conn_oid_list_get()
189 rw_enter(&isp->sess_conn_list_rwlock, RW_READER); in iscsi_ioctl_conn_oid_list_get()
247 rw_enter(&ihp->hba_sess_list_rwlock, RW_READER); in iscsi_ioctl_conn_props_get()
257 rw_enter(&isp->sess_conn_list_rwlock, RW_READER); in iscsi_ioctl_conn_props_get()
900 rw_enter(&ihp->hba_sess_list_rwlock, RW_READER); in iscsi_set_params()
953 rw_enter(&ihp->hba_sess_list_rwlock, RW_READER); in iscsi_set_params()
1010 rw_enter(&ihp->hba_sess_list_rwlock, RW_READER); in iscsi_target_prop_mod()
1063 rw_enter(&isp->sess_conn_list_rwlock, RW_READER); in iscsi_target_prop_mod()
1201 rw_enter(&ihp->hba_sess_list_rwlock, RW_READER); in iscsi_ioctl_set_config_sess()
1319 rw_enter(&ihp->hba_sess_list_rwlock, RW_READER); in iscsi_ioctl_set_tunable_param()
[all …]
H A Discsi_targetparam.c119 iscsi_targetparam_lock_list(RW_READER); in iscsi_targetparam_get_oid()
144 iscsi_targetparam_lock_list(RW_READER); in iscsi_targetparam_get_name()
/titanic_44/usr/src/uts/common/ipp/
H A Dippconf.c369 LOCK_MOD(imp, RW_READER); in ipp_mod_name()
511 LOCK_MOD(imp, RW_READER); in ipp_mod_list_actions()
590 LOCK_ACTION(ap, RW_READER); in ipp_action_name()
662 LOCK_ACTION(ap, RW_READER); in ipp_action_mod()
886 LOCK_ACTION(ap, RW_READER); in ipp_action_modify()
941 LOCK_ACTION(ap, RW_READER); in ipp_action_info()
1360 LOCK_ACTION(ap, RW_READER); in ipp_packet_process()
1638 LOCK_ACTION(ap, RW_READER); in ipp_stat_create()
1645 LOCK_MOD(imp, RW_READER); in ipp_stat_create()
2062 rw_enter(ipp_mod_byname_lock, RW_READER); in get_mods()
[all …]
/titanic_44/usr/src/uts/common/fs/smbsrv/
H A Dsmb_server.c1063 smb_llist_enter(ll, RW_READER); in smb_server_disconnect_share()
1068 smb_rwx_rwenter(&session->s_lock, RW_READER); in smb_server_disconnect_share()
1095 rw_enter(&sv->sv_cfg_lock, RW_READER); in smb_server_get_cfg()
1628 smb_llist_enter(&ld->ld_session_list, RW_READER); in smb_server_listener()
1671 smb_llist_enter(&smb_servers, RW_READER); in smb_server_lookup()
1723 smb_llist_enter(ll, RW_READER); in smb_server_enum_users()
1729 smb_llist_enter(ulist, RW_READER); in smb_server_enum_users()
1765 smb_llist_enter(ll, RW_READER); in smb_server_enum_trees()
1771 smb_llist_enter(tlist, RW_READER); in smb_server_enum_trees()
1810 smb_llist_enter(ll, RW_READER); in smb_server_session_disconnect()
[all …]
H A Dsmb_session.c62 smb_llist_enter(ll, RW_READER); in smb_session_timers()
100 smb_llist_enter(ll, RW_READER); in smb_session_correct_keep_alive_values()
841 smb_llist_enter(ulist, RW_READER); in smb_session_lookup_user()
896 smb_llist_enter(user_list, RW_READER); in smb_session_lookup_uid()
942 smb_llist_enter(&session->s_tree_list, RW_READER); in smb_session_lookup_tree()
981 smb_llist_enter(&session->s_tree_list, RW_READER); in smb_session_lookup_share()
1022 smb_llist_enter(&session->s_tree_list, RW_READER); in smb_session_lookup_volume()
1099 smb_llist_enter(tree_list, RW_READER); in smb_session_disconnect_owned_trees()
1198 smb_llist_enter(tree_list, RW_READER); in smb_session_get_tree()
1230 smb_llist_enter(&session->s_user_list, RW_READER); in smb_session_logoff()
/titanic_44/usr/src/uts/common/inet/sctp/
H A Dsctp_addr.c118 rw_enter(&sctps->sctps_g_ills_lock, RW_READER); in sctp_ipif_inactive()
184 rw_enter(&sctps->sctps_g_ipifs_lock, RW_READER); in sctp_lookup_ipif_addr()
191 rw_enter(&sctp_ipif->sctp_ipif_lock, RW_READER); in sctp_lookup_ipif_addr()
242 rw_enter(&sctps->sctps_g_ipifs_lock, RW_READER); in sctp_get_all_ipifs()
248 rw_enter(&sctp_ipif->sctp_ipif_lock, RW_READER); in sctp_get_all_ipifs()
563 rw_enter(&list1->ipif_hash_lock, RW_READER); in sctp_compare_ipif_list()
564 rw_enter(&list2->ipif_hash_lock, RW_READER); in sctp_compare_ipif_list()
617 rw_enter(&list1->ipif_hash_lock, RW_READER); in sctp_copy_ipifs()
644 rw_enter(&sctp1->sctp_saddrs[i].ipif_hash_lock, RW_READER); in sctp_dup_saddrs()
841 rw_enter(&sctps->sctps_g_ills_lock, RW_READER); in sctp_move_ipif()
[all …]
/titanic_44/usr/src/uts/common/fs/nfs/
H A Dnfs4_rnode.c410 RW_READER, 0); in r4_do_attrcache()
463 rw_enter(&rtable4[index].r_lock, RW_READER); in makenfs4node_by_fh()
522 rw_enter(&rtable4[index].r_lock, RW_READER); in makenfs4node()
609 rw_enter(&rhtp->r_lock, RW_READER); in make_rnode4()
623 rw_enter(&rhtp->r_lock, RW_READER); in make_rnode4()
704 rw_enter(&rhtp->r_lock, RW_READER); in make_rnode4()
1109 rw_enter(&rtable4[index].r_lock, RW_READER); in r4find_unlocked()
1242 rw_enter(&rtable4[index].r_lock, RW_READER); in nfs4_rnode_invalidate()
1344 rw_enter(&rtable4[index].r_lock, RW_READER); in r4flush()
1566 rw_enter(&rtable4[index].r_lock, RW_READER); in nfs4_active_reclaim()
[all …]
H A Dnfs4_srv_ns.c97 rw_enter(&exported_lock, RW_READER); in nfs4_vget_pseudo()
965 rw_enter(&exported_lock, RW_READER); in has_visible()
1049 rw_enter(&exported_lock, RW_READER); in nfs_visible()
1142 rw_enter(&exported_lock, RW_READER); in nfs_exported()
1170 rw_enter(&exported_lock, RW_READER); in nfs_visible_inode()
1209 rw_enter(&exported_lock, RW_READER); in nfs_visible_change()
/titanic_44/usr/src/uts/sun4u/starcat/io/
H A Daxq.c665 rw_enter(&axq_array_lock, RW_READER); in axq_cdc_flush()
749 rw_enter(&axq_array_lock, RW_READER); in axq_cdc_flush_all()
771 rw_enter(&axq_array_lock, RW_READER); in axq_cdc_disable_flush_all()
802 rw_enter(&axq_array_lock, RW_READER); in axq_cdc_enable_all()
927 rw_enter(&axq_array_lock, RW_READER); in axq_nasm_read()
997 rw_enter(&axq_array_lock, RW_READER); in axq_nasm_write()
1065 rw_enter(&axq_array_lock, RW_READER); in axq_casm_read()
1094 rw_enter(&axq_array_lock, RW_READER); in axq_casm_write()
1273 rw_enter(&axq_array_lock, RW_READER); in axq_cpu2ssc_intr()
1324 rw_enter(&axq_array_lock, RW_READER); in axq_read_sdi_timeout_reg()

12345678910>>...16