MCPcopy 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
296static struct cryptocap *
297cap_ref(struct cryptocap *cap)
298{
299
300 refcount_acquire(&cap->cc_refs);
301 return (cap);
302}
303
304static void
305cap_rele(struct cryptocap *cap)

Callers 2

crypto_newsessionFunction · 0.85
crypto_lookup_kdriverFunction · 0.85

Calls 1

refcount_acquireFunction · 0.85

Tested by

no test coverage detected