Searched refs:dm_bufio_caches (Results 1 – 1 of 1) sorted by relevance
154 static struct kmem_cache *dm_bufio_caches[PAGE_SHIFT - SECTOR_SHIFT]; variable161 BUG_ON(ret >= ARRAY_SIZE(dm_bufio_caches)); in dm_bufio_cache_index()166 #define DM_BUFIO_CACHE(c) (dm_bufio_caches[dm_bufio_cache_index(c)])1663 memset(&dm_bufio_caches, 0, sizeof dm_bufio_caches); in dm_bufio_init()1709 for (i = 0; i < ARRAY_SIZE(dm_bufio_caches); i++) { in dm_bufio_exit()1710 struct kmem_cache *kc = dm_bufio_caches[i]; in dm_bufio_exit()