Lines Matching refs:mypage
1425 union ns_mem *mypage; in ns_read_page() local
1451 mypage = NS_GET_PAGE(ns); in ns_read_page()
1452 if (mypage->byte == NULL) { in ns_read_page()
1470 union ns_mem *mypage; in ns_erase_sector() local
1482 mypage = NS_GET_PAGE(ns); in ns_erase_sector()
1484 if (mypage->byte != NULL) { in ns_erase_sector()
1486 kmem_cache_free(ns->nand_pages_slab, mypage->byte); in ns_erase_sector()
1487 mypage->byte = NULL; in ns_erase_sector()
1489 mypage++; in ns_erase_sector()
1499 union ns_mem *mypage; in ns_prog_page() local
1542 mypage = NS_GET_PAGE(ns); in ns_prog_page()
1543 if (mypage->byte == NULL) { in ns_prog_page()
1551 mypage->byte = kmem_cache_alloc(ns->nand_pages_slab, GFP_NOFS); in ns_prog_page()
1552 if (mypage->byte == NULL) { in ns_prog_page()
1556 memset(mypage->byte, 0xFF, ns->geom.pgszoob); in ns_prog_page()