| 222 | } |
| 223 | |
| 224 | static void |
| 225 | lockmgr_note_exclusive_acquire(struct lock *lk, int contested, |
| 226 | uint64_t waittime, const char *file, int line, int flags) |
| 227 | { |
| 228 | |
| 229 | LOCKSTAT_PROFILE_OBTAIN_RWLOCK_SUCCESS(lockmgr__acquire, lk, contested, |
| 230 | waittime, file, line, LOCKSTAT_WRITER); |
| 231 | LOCK_LOG_LOCK("XLOCK", &lk->lock_object, 0, lk->lk_recurse, file, line); |
| 232 | WITNESS_LOCK(&lk->lock_object, LOP_EXCLUSIVE | LK_TRYWIT(flags), file, |
| 233 | line); |
| 234 | TD_LOCKS_INC(curthread); |
| 235 | STACK_SAVE(lk); |
| 236 | } |
| 237 | |
| 238 | static void |
| 239 | lockmgr_note_exclusive_release(struct lock *lk, const char *file, int line) |
no outgoing calls
no test coverage detected