Searched refs:nand_pages_slab (Results 1 – 1 of 1) sorted by relevance
321 struct kmem_cache *nand_pages_slab; member613 ns->nand_pages_slab = kmem_cache_create("nandsim", in alloc_device()615 if (!ns->nand_pages_slab) { in alloc_device()646 kmem_cache_free(ns->nand_pages_slab, in free_device()649 kmem_cache_destroy(ns->nand_pages_slab); in free_device()1530 kmem_cache_free(ns->nand_pages_slab, mypage->byte); in erase_sector()1594 mypage->byte = kmem_cache_alloc(ns->nand_pages_slab, GFP_NOFS); in prog_page()