Searched refs:dm_bufio_caches (Results 1 – 1 of 1) sorted by relevance
156 static struct kmem_cache *dm_bufio_caches[PAGE_SHIFT - SECTOR_SHIFT]; variable163 BUG_ON(ret >= ARRAY_SIZE(dm_bufio_caches)); in dm_bufio_cache_index()168 #define DM_BUFIO_CACHE(c) (dm_bufio_caches[dm_bufio_cache_index(c)])1836 memset(&dm_bufio_caches, 0, sizeof dm_bufio_caches); in dm_bufio_init()1878 for (i = 0; i < ARRAY_SIZE(dm_bufio_caches); i++) in dm_bufio_exit()1879 kmem_cache_destroy(dm_bufio_caches[i]); in dm_bufio_exit()