Lines Matching refs:bufsize
35 static int bufsize; variable
68 err = mtdtest_read(mtd, addr0, bufsize, twopages); in verify_eraseblock()
71 err = mtdtest_read(mtd, addrn - bufsize, bufsize, twopages); in verify_eraseblock()
74 memset(twopages, 0, bufsize); in verify_eraseblock()
75 err = mtdtest_read(mtd, addr, bufsize, twopages); in verify_eraseblock()
78 if (memcmp(twopages, writebuf + (j * pgsize), bufsize)) { in verify_eraseblock()
89 err = mtdtest_read(mtd, addr0, bufsize, twopages); in verify_eraseblock()
92 err = mtdtest_read(mtd, addrn - bufsize, bufsize, twopages); in verify_eraseblock()
95 memset(twopages, 0, bufsize); in verify_eraseblock()
96 err = mtdtest_read(mtd, addr, bufsize, twopages); in verify_eraseblock()
101 if (memcmp(twopages, boundary, bufsize)) { in verify_eraseblock()
361 bufsize = pgsize * 2; in mtd_pagetest_init()
365 twopages = kmalloc(bufsize, GFP_KERNEL); in mtd_pagetest_init()
368 boundary = kmalloc(bufsize, GFP_KERNEL); in mtd_pagetest_init()