| 327 | } |
| 328 | |
| 329 | int |
| 330 | rm_wowned(const struct rmlock *rm) |
| 331 | { |
| 332 | |
| 333 | if (rm->lock_object.lo_flags & LO_SLEEPABLE) |
| 334 | return (sx_xlocked(&rm->rm_lock_sx)); |
| 335 | else |
| 336 | return (mtx_owned(&rm->rm_lock_mtx)); |
| 337 | } |
| 338 | |
| 339 | void |
| 340 | rm_sysinit(void *arg) |
no outgoing calls
no test coverage detected