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

Function ksem_hold

freebsd/kern/uipc_sem.c:331–337  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

329}
330
331static struct ksem *
332ksem_hold(struct ksem *ks)
333{
334
335 refcount_acquire(&ks->ks_ref);
336 return (ks);
337}
338
339static void
340ksem_drop(struct ksem *ks)

Callers 2

ksem_insertFunction · 0.85
ksem_createFunction · 0.85

Calls 1

refcount_acquireFunction · 0.85

Tested by

no test coverage detected