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

Function rms_rowned

freebsd/sys/rmlock.h:159–164  ·  view source on GitHub ↗

* For assertion purposes. * * Main limitation is that we at best can tell there are readers, but not * whether curthread is one of them. */

Source from the content-addressed store, hash-verified

157 * whether curthread is one of them.
158 */
159static inline int
160rms_rowned(struct rmslock *rms)
161{
162
163 return (rms->debug_readers > 0);
164}
165
166static inline int
167rms_owned_any(struct rmslock *rms)

Callers 1

rms_owned_anyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected