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

Function armv8_crypto_identify

freebsd/crypto/armv8/armv8_crypto.c:95–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93MALLOC_DEFINE(M_ARMV8_CRYPTO, "armv8_crypto", "ARMv8 Crypto Data");
94
95static void
96armv8_crypto_identify(driver_t *drv, device_t parent)
97{
98
99 /* NB: order 10 is so we get attached after h/w devices */
100 if (device_find_child(parent, "armv8crypto", -1) == NULL &&
101 BUS_ADD_CHILD(parent, 10, "armv8crypto", -1) == 0)
102 panic("ARMv8 crypto: could not attach");
103}
104
105static int
106armv8_crypto_probe(device_t dev)

Callers

nothing calls this directly

Calls 2

device_find_childFunction · 0.85
panicFunction · 0.50

Tested by

no test coverage detected