Searched refs:twopages (Results 1 - 1 of 1) sorted by relevance
/linux-4.1.27/drivers/mtd/tests/ |
H A D | pagetest.c | 41 static unsigned char *twopages; variable 80 err = mtdtest_read(mtd, addr0, bufsize, twopages); verify_eraseblock() 83 err = mtdtest_read(mtd, addrn - bufsize, bufsize, twopages); verify_eraseblock() 86 memset(twopages, 0, bufsize); verify_eraseblock() 87 err = mtdtest_read(mtd, addr, bufsize, twopages); verify_eraseblock() 90 if (memcmp(twopages, writebuf + (j * pgsize), bufsize)) { verify_eraseblock() 101 err = mtdtest_read(mtd, addr0, bufsize, twopages); verify_eraseblock() 104 err = mtdtest_read(mtd, addrn - bufsize, bufsize, twopages); verify_eraseblock() 107 memset(twopages, 0, bufsize); verify_eraseblock() 108 err = mtdtest_read(mtd, addr, bufsize, twopages); verify_eraseblock() 113 if (memcmp(twopages, boundary, bufsize)) { verify_eraseblock() 205 char *readbuf = twopages; erasecrosstest() 311 err = mtdtest_read(mtd, addr0, pgsize, twopages); erasetest() 318 if (twopages[i] != 0xff) { erasetest() 378 twopages = kmalloc(bufsize, GFP_KERNEL); mtd_pagetest_init() 379 if (!twopages) mtd_pagetest_init() 452 kfree(twopages); mtd_pagetest_init()
|
Completed in 69 milliseconds