/src/sys/arch/sun3/sun3/ |
sunmon.c | 97 struct mmu_rootptr crp; local in function:sunmon_abort 104 getcrp(&crp); 117 loadcrp(&crp);
|
/src/sys/netipsec/ |
xform_esp.c | 94 static void esp_output_cb(struct cryptop *crp); 309 struct cryptop *crp; local in function:esp_input 376 crp = crypto_getreq(esph ? 2 : 1); 377 if (crp == NULL) { 404 KASSERT(crp->crp_desc != NULL); 405 crda = crp->crp_desc; 431 crde = crp->crp_desc; 451 crp->crp_ilen = m->m_pkthdr.len; /* Total input length */ 452 crp->crp_flags = CRYPTO_F_IMBUF; 453 crp->crp_buf = m 693 struct cryptop *crp; local in function:esp_output [all...] |
xform_ipcomp.c | 78 static void ipcomp_input_cb(struct cryptop *crp); 79 static void ipcomp_output_cb(struct cryptop *crp); 143 struct cryptop *crp; local in function:ipcomp_input 149 crp = crypto_getreq(1); 150 if (crp == NULL) { 185 crdc = crp->crp_desc; 195 crp->crp_ilen = m->m_pkthdr.len - (skip + hlen); 196 crp->crp_olen = MCLBYTES; /* hint to decompression code */ 197 crp->crp_flags = CRYPTO_F_IMBUF; 198 crp->crp_buf = m 362 struct cryptop *crp; local in function:ipcomp_output [all...] |
xform_ah.c | 532 struct cryptop *crp = NULL; local in function:ah_input 593 crp = crypto_getreq(1); 594 if (crp == NULL) { 601 crda = crp->crp_desc; 673 crp->crp_ilen = m->m_pkthdr.len; /* Total input length. */ 674 crp->crp_flags = CRYPTO_F_IMBUF; 675 crp->crp_buf = m; 676 crp->crp_callback = ah_input_cb; 677 crp->crp_sid = sav->tdb_cryptoid; 678 crp->crp_opaque = tc 889 struct cryptop *crp; local in function:ah_output [all...] |
/src/sys/opencrypto/ |
cryptodev.c | 456 struct cryptop *crp = NULL; local in function:cryptodev_op 505 crp = crypto_getreq((cse->tcomp != NULL) + (cse->txform != NULL) + (cse->thash != NULL)); 506 if (crp == NULL) { 510 DPRINTF("lid[%u]: crp %p\n", CRYPTO_SESID2LID(cse->sid), crp); 520 crdc = crp->crp_desc; 524 crda = crdc ? crdc->crd_next : crp->crp_desc; 529 crde = crdc ? crdc->crd_next : crp->crp_desc; 609 crp->crp_ilen = cop->len; 610 crp->crp_flags = CRYPTO_F_IOV | (cop->flags & COP_F_BATCH) | flags 1078 struct cryptop *crp = NULL; local in function:cryptodev_mop 1738 struct cryptop *crp = NULL; local in function:cryptodev_getmstatus 1884 struct cryptop *crp = NULL, *cnext; local in function:cryptodev_getstatus [all...] |
crypto.c | 505 static int crypto_invoke(struct cryptop *crp, int hint); 1277 crypto_dispatch(struct cryptop *crp) 1284 KASSERT(crp != NULL); 1285 KASSERT(crp->crp_callback != NULL); 1286 KASSERT(crp->crp_desc != NULL); 1287 KASSERT(crp->crp_buf != NULL); 1290 DPRINTF("crp %p, alg %d\n", crp, crp->crp_desc->crd_alg); 1296 nanouptime(&crp->crp_tstamp) 1597 struct cryptop *crp; local in function:crypto_getreq 1799 struct cryptop *crp, *submit, *cnext; local in function:cryptointr 1957 struct cryptop *crp; local in function:cryptoret_softint [all...] |
/src/sys/dev/pci/ |
hifn7751var.h | 282 struct cryptop *crp; member in struct:hifn_command
|
hifn7751.c | 1655 struct cryptop *crp, int hint) 1661 if (crp->crp_flags & CRYPTO_F_IMBUF) { 1667 } else if (crp->crp_flags & CRYPTO_F_IOV) { 1680 if (crp->crp_flags & CRYPTO_F_IOV) 1682 else if (crp->crp_flags & CRYPTO_F_IMBUF) 1686 if (crp->crp_flags & CRYPTO_F_IOV) { 1689 } else if (crp->crp_flags & CRYPTO_F_IMBUF) { 1741 if (crp->crp_flags & CRYPTO_F_IMBUF) { 1747 } else if (crp->crp_flags & CRYPTO_F_IOV) { 2164 hifn_process(void *arg, struct cryptop *crp, int hint 2426 struct cryptop *crp; local in function:hifn_abort 2496 struct cryptop *crp = cmd->crp; local in function:hifn_callback 2818 struct cryptop *crp = cmd->crp; local in function:hifn_callback_comp [all...] |
ubsec.c | 1138 ubsec_process(void *arg, struct cryptop *crp, int hint) 1152 KASSERTMSG(UBSEC_SESSION(crp->crp_sid) < sc->sc_nsessions, 1154 crp->crp_sid, sc->sc_nsessions); 1172 q->q_sesn = UBSEC_SESSION(crp->crp_sid); 1176 if (crp->crp_flags & CRYPTO_F_IMBUF) { 1177 q->q_src_m = (struct mbuf *)crp->crp_buf; 1178 q->q_dst_m = (struct mbuf *)crp->crp_buf; 1179 } else if (crp->crp_flags & CRYPTO_F_IOV) { 1180 q->q_src_io = (struct uio *)crp->crp_buf; 1181 q->q_dst_io = (struct uio *)crp->crp_buf 1784 struct cryptop *crp = (struct cryptop *)q->q_crp; local in function:ubsec_callback 2279 struct cryptop *crp; local in function:ubsec_free_q [all...] |
/src/sys/arch/arm/sunxi/ |
sun8i_crypto.c | 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) 2529 struct cryptop *crp = cookie; local in function:sun8i_crypto_callback [all...] |
/src/sys/dev/pci/qat/ |
qat.c | 1494 qat_crypto_load_buf(struct qat_softc *sc, struct cryptop *crp, 1500 if (crp->crp_flags & CRYPTO_F_IMBUF) { 1501 struct mbuf *m = (struct mbuf *)crp->crp_buf; 1524 crp->crp_buf = m_new; 1531 crp->crp_buf = NULL; 1536 } else if (crp->crp_flags & CRYPTO_F_IOV) { 1538 (struct uio *)crp->crp_buf, BUS_DMA_WRITE | BUS_DMA_NOWAIT); 1541 crp->crp_buf, crp->crp_ilen, NULL, BUS_DMA_NOWAIT); 1546 crp->crp_etype = error 2071 struct cryptop *crp; local in function:qat_crypto_sym_rxintr [all...] |
/src/sys/arch/amiga/dev/ |
fd.c | 1719 u_long *rp, *crp, *dp, hcksum, dcksum, info; local in function:amcachetoraw 1760 crp = rp; 1763 crp = mfmblkencode(&dcksum, crp, NULL, 1); 1764 if (*(crp - 1) & 0x1) 1765 *crp &= 0x7fffffff; /* clock bit correction */ 1766 else if ((*crp & 0x40000000) == 0) 1767 *crp |= 0x80000000; 1793 u_long *dp, *rp, *erp, *crp, *srp, hcksum, dcksum, info, cktmp; local in function:amrawtocache 1839 crp = mfmblkdecode(rp, dp, &dcksum, FDSECLWORDS) [all...] |
/src/sys/dev/marvell/ |
mvxpsec.c | 594 mv_p->crp->crp_etype = EINVAL; 1783 mv_p->crp->crp_etype = 0; 1784 crypto_done(mv_p->crp); 1785 mv_p->crp = NULL; 2065 mvxpsec_dispatch(void *arg, struct cryptop *crp, int hint) 2080 mv_s = mvxpsec_session_lookup(sc, crp->crp_sid); 2117 err = mvxpsec_packet_setcrp(mv_p, crp); 2161 mvxpsec_drop(sc, crp, mv_p, err); 2205 mvxpsec_drop(struct mvxpsec_softc *sc, struct cryptop *crp, 2215 crp->crp_etype = err 2413 struct cryptop *crp = mv_p->crp; local in function:mvxpsec_parse_crp [all...] |
mvxpsecvar.h | 280 struct cryptop *crp; member in struct:mvxpsec_packet
|