MCPcopy Create free account
hub / github.com/F-Stack/f-stack / _lockmgr_args

Function _lockmgr_args

freebsd/sys/lockmgr.h:102–109  ·  view source on GitHub ↗

* 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. */

Source from the content-addressed store, hash-verified

100 * strict prototype in order to safely use the lock_object member.
101 */
102static __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
111static __inline int
112_lockmgr_args_rw(struct lock *lk, u_int flags, struct rwlock *ilk,

Callers

nothing calls this directly

Calls 1

__lockmgr_argsFunction · 0.85

Tested by

no test coverage detected