Lines Matching refs:rwsp
712 tdb_rwlock_stats_t *rwsp = RWLOCK_STATS(rwlp, udp);
756 if (rwsp)
757 tdb_incr(rwsp->rw_rdlock);
816 tdb_rwlock_stats_t *rwsp = RWLOCK_STATS(rwlp, udp);
853 if (rwsp) {
854 tdb_incr(rwsp->rw_wrlock);
855 rwsp->rw_wrlock_begin_hold = gethrtime();
914 tdb_rwlock_stats_t *rwsp = RWLOCK_STATS(rwlp, udp);
920 if (rwsp)
921 tdb_incr(rwsp->rw_rdlock_try);
955 if (rwsp)
956 tdb_incr(rwsp->rw_rdlock_try_fail);
972 tdb_rwlock_stats_t *rwsp = RWLOCK_STATS(rwlp, udp);
977 if (rwsp)
978 tdb_incr(rwsp->rw_wrlock_try);
991 if (rwsp)
992 rwsp->rw_wrlock_begin_hold = gethrtime();
995 if (rwsp)
996 tdb_incr(rwsp->rw_wrlock_try_fail);
1014 tdb_rwlock_stats_t *rwsp;
1039 if ((rwsp = RWLOCK_STATS(rwlp, udp)) != NULL) {
1040 if (rwsp->rw_wrlock_begin_hold)
1041 rwsp->rw_wrlock_hold_time +=
1042 gethrtime() - rwsp->rw_wrlock_begin_hold;
1043 rwsp->rw_wrlock_begin_hold = 0;