| 1092 | } |
| 1093 | |
| 1094 | static __noinline int |
| 1095 | lockmgr_sunlock_hard(struct lock *lk, uintptr_t x, u_int flags, struct lock_object *ilk, |
| 1096 | const char *file, int line) |
| 1097 | |
| 1098 | { |
| 1099 | int wakeup_swapper = 0; |
| 1100 | |
| 1101 | if (KERNEL_PANICKED()) |
| 1102 | goto out; |
| 1103 | |
| 1104 | wakeup_swapper = wakeupshlk(lk, file, line); |
| 1105 | |
| 1106 | out: |
| 1107 | lockmgr_exit(flags, ilk, wakeup_swapper); |
| 1108 | return (0); |
| 1109 | } |
| 1110 | |
| 1111 | static __noinline int |
| 1112 | lockmgr_xunlock_hard(struct lock *lk, uintptr_t x, u_int flags, struct lock_object *ilk, |
no test coverage detected