Lines Matching defs:crp
314 "struct cryptop *"/*crp*/,
318 "struct cryptop *"/*crp*/,
322 "struct cryptop *"/*crp*/,
327 "struct cryptop *"/*crp*/,
2105 * sun8i_crypto_process(cookie, crp, hint)
2110 sun8i_crypto_process(void *cookie, struct cryptop *crp, int hint)
2114 struct cryptodesc *crd = crp->crp_desc;
2121 SDT_PROBE3(sdt, sun8i_crypto, process, entry, sc, crp, hint);
2153 crd->crd_len != crp->crp_ilen) {
2160 if (crp->crp_flags & CRYPTO_F_IMBUF) {
2161 struct mbuf *m = crp->crp_buf;
2177 } else if (crp->crp_flags & CRYPTO_F_IOV) {
2178 struct uio *uio = crp->crp_buf;
2186 task = sun8i_crypto_task_get(sc, &sun8i_crypto_callback, crp,
2194 SDT_PROBE3(sdt, sun8i_crypto, process, busy, sc, crp, hint);
2232 if (crp->crp_flags & CRYPTO_F_IMBUF) {
2233 m_copyback(crp->crp_buf, crd->crd_inject,
2235 } else if (crp->crp_flags & CRYPTO_F_IOV) {
2236 cuio_copyback(crp->crp_buf, crd->crd_inject,
2240 crp->crp_flags);
2280 if (crp->crp_flags & CRYPTO_F_IMBUF) {
2281 struct mbuf *m = crp->crp_buf;
2297 } else if (crp->crp_flags & CRYPTO_F_IOV) {
2298 struct uio *uio = crp->crp_buf;
2315 panic("invalid buffer type %x", crp->crp_flags);
2497 SDT_PROBE4(sdt, sun8i_crypto, process, queued, sc, crp, hint, task);
2512 crp->crp_etype = error;
2513 SDT_PROBE3(sdt, sun8i_crypto, process, done, sc, crp, error);
2514 crypto_done(crp);
2529 struct cryptop *crp = cookie;
2530 struct cryptodesc *crd __diagused = crp->crp_desc;
2537 crp->crp_olen = error ? 0 : crp->crp_ilen;
2549 crp->crp_etype = error;
2550 SDT_PROBE3(sdt, sun8i_crypto, process, done, sc, crp, error);
2551 crypto_done(crp);