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

Function dev_relthread

freebsd/kern/kern_conf.c:248–258  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

246}
247
248void
249dev_relthread(struct cdev *dev, int ref)
250{
251
252 dev_lock_assert_unlocked();
253 if (!ref)
254 return;
255 KASSERT(dev->si_threadcount > 0,
256 ("%s threadcount is wrong", dev->si_name));
257 atomic_subtract_rel_long(&dev->si_threadcount, 1);
258}
259
260int
261nullop(void)

Callers 15

ttyhook_registerFunction · 0.85
aio_qbioFunction · 0.85
giant_openFunction · 0.85
giant_fdopenFunction · 0.85
giant_closeFunction · 0.85
giant_strategyFunction · 0.85
giant_ioctlFunction · 0.85
giant_readFunction · 0.85
giant_writeFunction · 0.85
giant_pollFunction · 0.85
giant_kqfilterFunction · 0.85
giant_mmapFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected