| 514 | } |
| 515 | |
| 516 | static void |
| 517 | ccp_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 | |
| 530 | static int |
| 531 | ccp_process(device_t dev, struct cryptop *crp, int hint) |
nothing calls this directly
no test coverage detected