Searched refs:mypage (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/mtd/nand/
H A Dnandsim.c1470 union ns_mem *mypage; read_page() local
1495 mypage = NS_GET_PAGE(ns); read_page()
1496 if (mypage->byte == NULL) { read_page()
1514 union ns_mem *mypage; erase_sector() local
1526 mypage = NS_GET_PAGE(ns); erase_sector()
1528 if (mypage->byte != NULL) { erase_sector()
1530 kmem_cache_free(ns->nand_pages_slab, mypage->byte); erase_sector()
1531 mypage->byte = NULL; erase_sector()
1533 mypage++; erase_sector()
1543 union ns_mem *mypage; prog_page() local
1585 mypage = NS_GET_PAGE(ns); prog_page()
1586 if (mypage->byte == NULL) { prog_page()
1594 mypage->byte = kmem_cache_alloc(ns->nand_pages_slab, GFP_NOFS); prog_page()
1595 if (mypage->byte == NULL) { prog_page()
1599 memset(mypage->byte, 0xFF, ns->geom.pgszoob); prog_page()

Completed in 43 milliseconds