* As far as the ilk can be a static NULL pointer these functions need a * strict prototype in order to safely use the lock_object member. */
| 100 | * strict prototype in order to safely use the lock_object member. |
| 101 | */ |
| 102 | static __inline int |
| 103 | _lockmgr_args(struct lock *lk, u_int flags, struct mtx *ilk, const char *wmesg, |
| 104 | int prio, int timo, const char *file, int line) |
| 105 | { |
| 106 | |
| 107 | return (__lockmgr_args(lk, flags, (ilk != NULL) ? &ilk->lock_object : |
| 108 | NULL, wmesg, prio, timo, file, line)); |
| 109 | } |
| 110 | |
| 111 | static __inline int |
| 112 | _lockmgr_args_rw(struct lock *lk, u_int flags, struct rwlock *ilk, |
nothing calls this directly
no test coverage detected