Searched refs:nand_pages_slab (Results 1 – 1 of 1) sorted by relevance
308 struct kmem_cache *nand_pages_slab; member491 ns->nand_pages_slab = kmem_cache_create("nandsim", in alloc_device()493 if (!ns->nand_pages_slab) { in alloc_device()524 kmem_cache_free(ns->nand_pages_slab, in free_device()527 kmem_cache_destroy(ns->nand_pages_slab); in free_device()1490 kmem_cache_free(ns->nand_pages_slab, mypage->byte); in erase_sector()1556 mypage->byte = kmem_cache_alloc(ns->nand_pages_slab, GFP_NOFS); in prog_page()