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

Function crypto_getreq

freebsd/opencrypto/crypto.c:1786–1796  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1784}
1785
1786struct cryptop *
1787crypto_getreq(crypto_session_t cses, int how)
1788{
1789 struct cryptop *crp;
1790
1791 MPASS(how == M_WAITOK || how == M_NOWAIT);
1792 crp = uma_zalloc(cryptop_zone, how | M_ZERO);
1793 if (crp != NULL)
1794 _crypto_initreq(crp, cses);
1795 return (crp);
1796}
1797
1798/*
1799 * Invoke the callback on behalf of the driver.

Callers 9

freebsd_crypt_uioFunction · 0.85
cryptodev_opFunction · 0.85
cryptodev_aeadFunction · 0.85
ipcomp_inputFunction · 0.85
ipcomp_outputFunction · 0.85
ah_inputFunction · 0.85
ah_outputFunction · 0.85
esp_inputFunction · 0.85
esp_outputFunction · 0.85

Calls 2

_crypto_initreqFunction · 0.85
uma_zallocFunction · 0.50

Tested by

no test coverage detected