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

Function ktls_destroy

freebsd/kern/uipc_ktls.c:1446–1458  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1444#endif
1445
1446void
1447ktls_destroy(struct ktls_session *tls)
1448{
1449 struct rm_priotracker prio;
1450
1451 ktls_cleanup(tls);
1452 if (tls->be != NULL && ktls_allow_unload) {
1453 rm_rlock(&ktls_backends_lock, &prio);
1454 tls->be->use_count--;
1455 rm_runlock(&ktls_backends_lock, &prio);
1456 }
1457 uma_zfree(ktls_session_zone, tls);
1458}
1459
1460void
1461ktls_seq(struct sockbuf *sb, struct mbuf *m)

Callers 1

ktls_freeFunction · 0.85

Calls 2

ktls_cleanupFunction · 0.85
uma_zfreeFunction · 0.50

Tested by

no test coverage detected