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

Function ktls_hold

freebsd/sys/ktls.h:229–236  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

227#endif
228
229static inline struct ktls_session *
230ktls_hold(struct ktls_session *tls)
231{
232
233 if (tls != NULL)
234 refcount_acquire(&tls->refcount);
235 return (tls);
236}
237
238static inline void
239ktls_free(struct ktls_session *tls)

Callers 7

ip_output_sendFunction · 0.85
ip6_output_sendFunction · 0.85
vn_sendfileFunction · 0.85
ktls_set_tx_modeFunction · 0.85
ktls_output_eagainFunction · 0.85
ktls_frameFunction · 0.85
sosend_genericFunction · 0.85

Calls 1

refcount_acquireFunction · 0.85

Tested by

no test coverage detected