Searched refs:nand_pages_slab (Results 1 – 1 of 1) sorted by relevance
310 struct kmem_cache *nand_pages_slab; member589 ns->nand_pages_slab = kmem_cache_create("nandsim", in ns_alloc_device()591 if (!ns->nand_pages_slab) { in ns_alloc_device()622 kmem_cache_free(ns->nand_pages_slab, in ns_free_device()625 kmem_cache_destroy(ns->nand_pages_slab); in ns_free_device()1486 kmem_cache_free(ns->nand_pages_slab, mypage->byte); in ns_erase_sector()1551 mypage->byte = kmem_cache_alloc(ns->nand_pages_slab, GFP_NOFS); in ns_prog_page()