Searched refs:dm_bufio_caches (Results 1 – 1 of 1) sorted by relevance
162 static struct kmem_cache *dm_bufio_caches[PAGE_SHIFT - SECTOR_SHIFT]; variable169 BUG_ON(ret >= ARRAY_SIZE(dm_bufio_caches)); in dm_bufio_cache_index()174 #define DM_BUFIO_CACHE(c) (dm_bufio_caches[dm_bufio_cache_index(c)])1860 memset(&dm_bufio_caches, 0, sizeof dm_bufio_caches); in dm_bufio_init()1902 for (i = 0; i < ARRAY_SIZE(dm_bufio_caches); i++) in dm_bufio_exit()1903 kmem_cache_destroy(dm_bufio_caches[i]); in dm_bufio_exit()