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

Function ccp_freesession

freebsd/crypto/ccp/ccp.c:516–528  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

514}
515
516static void
517ccp_freesession(device_t dev, crypto_session_t cses)
518{
519 struct ccp_session *s;
520
521 s = crypto_get_driver_session(cses);
522
523 if (s->pending != 0)
524 device_printf(dev,
525 "session %p freed with %d pending requests\n", s,
526 s->pending);
527 s->active = false;
528}
529
530static int
531ccp_process(device_t dev, struct cryptop *crp, int hint)

Callers

nothing calls this directly

Calls 2

device_printfFunction · 0.85

Tested by

no test coverage detected