| 198 | } |
| 199 | |
| 200 | static void |
| 201 | lockmgr_note_shared_acquire(struct lock *lk, int contested, |
| 202 | uint64_t waittime, const char *file, int line, int flags) |
| 203 | { |
| 204 | |
| 205 | LOCKSTAT_PROFILE_OBTAIN_RWLOCK_SUCCESS(lockmgr__acquire, lk, contested, |
| 206 | waittime, file, line, LOCKSTAT_READER); |
| 207 | LOCK_LOG_LOCK("SLOCK", &lk->lock_object, 0, 0, file, line); |
| 208 | WITNESS_LOCK(&lk->lock_object, LK_TRYWIT(flags), file, line); |
| 209 | TD_LOCKS_INC(curthread); |
| 210 | TD_SLOCKS_INC(curthread); |
| 211 | STACK_SAVE(lk); |
| 212 | } |
| 213 | |
| 214 | static void |
| 215 | lockmgr_note_shared_release(struct lock *lk, const char *file, int line) |
no outgoing calls
no test coverage detected