Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/F-Stack/f-stack
/ cap_ref
Function
cap_ref
freebsd/opencrypto/crypto.c:296–302 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
294
}
295
296
static struct cryptocap *
297
cap_ref(struct cryptocap *cap)
298
{
299
300
refcount_acquire(&cap->cc_refs);
301
return (cap);
302
}
303
304
static void
305
cap_rele(struct cryptocap *cap)
Callers
2
crypto_newsession
Function · 0.85
crypto_lookup_kdriver
Function · 0.85
Calls
1
refcount_acquire
Function · 0.85
Tested by
no test coverage detected