Updated: April 19, 2023 |
Free cache-coherency resources when the driver is unloaded
#include <sys/cache.h> int cache_fini(struct cache_ctrl *cinfo);
Call the cache_fini() function to free up any resources that were allocated by the cache_init() function. The cinfo is a pointer to the structure that was originally passed to cache_init().
0
Safety: | |
---|---|
Cancellation point | Yes |
Interrupt handler | No |
Signal handler | Yes |
Thread | Yes |