Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
331
static struct ksem *
332
ksem_hold(struct ksem *ks)
333
{
334
335
refcount_acquire(&ks->ks_ref);
336
return (ks);
337
}
338
339
static void
340
ksem_drop(struct ksem *ks)
Callers
2
ksem_insert
Function · 0.85
ksem_create
Function · 0.85
Calls
1
refcount_acquire
Function · 0.85
Tested by
no test coverage detected