Home | History | Annotate | Download | only in pci

Lines Matching refs:crp

440 glxsb_crypto_process(void *aux, struct cryptop *crp, int hint)
456 if (crp == NULL || crp->crp_callback == NULL) {
460 crd = crp->crp_desc;
468 sesn = GLXSB_SESSION(crp->crp_sid);
497 if (crp->crp_flags & CRYPTO_F_IMBUF)
498 m_copyback((struct mbuf *)crp->crp_buf,
500 else if (crp->crp_flags & CRYPTO_F_IOV)
501 cuio_copyback((struct uio *)crp->crp_buf,
505 (char *)crp->crp_buf + crd->crd_inject,
513 if (crp->crp_flags & CRYPTO_F_IMBUF)
514 m_copydata((struct mbuf *)crp->crp_buf,
516 else if (crp->crp_flags & CRYPTO_F_IOV)
517 cuio_copydata((struct uio *)crp->crp_buf,
520 bcopy((char *)crp->crp_buf + crd->crd_inject,
532 if (crp->crp_flags & CRYPTO_F_IMBUF)
533 m_copydata((struct mbuf *)crp->crp_buf,
535 else if (crp->crp_flags & CRYPTO_F_IOV)
536 cuio_copydata((struct uio *)crp->crp_buf,
539 bcopy((char *)crp->crp_buf + crd->crd_skip + offset,
549 if (crp->crp_flags & CRYPTO_F_IMBUF)
550 m_copyback((struct mbuf *)crp->crp_buf,
552 else if (crp->crp_flags & CRYPTO_F_IOV)
553 cuio_copyback((struct uio *)crp->crp_buf,
556 memcpy((char *)crp->crp_buf + crd->crd_skip + offset,
578 crp->crp_etype = err;
579 crypto_done(crp);