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

Function key_addref

freebsd/netipsec/key.c:787–792  ·  view source on GitHub ↗

* Update the refcnt while holding the SPTREE lock. */

Source from the content-addressed store, hash-verified

785 * Update the refcnt while holding the SPTREE lock.
786 */
787void
788key_addref(struct secpolicy *sp)
789{
790
791 SP_ADDREF(sp);
792}
793
794/*
795 * Return 0 when there are known to be no SP's for the specified

Callers 5

ipsec_transmitFunction · 0.85
key_allocsp_defaultFunction · 0.85
ipsec_cachepolicyFunction · 0.85
ipsec_getpcbpolicyFunction · 0.85
ipsec_get_pcbpolicyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected