Home
last modified time | relevance | path

Searched refs:wbuf_verify (Results 1 – 2 of 2) sorted by relevance

/fs/jffs2/
Dwbuf.c237 ret = mtd_read(c->mtd, ofs, c->wbuf_pagesize, &retlen, c->wbuf_verify); in jffs2_verify_write()
247 if (!memcmp(buf, c->wbuf_verify, c->wbuf_pagesize)) in jffs2_verify_write()
264 c->wbuf_verify, c->wbuf_pagesize, 0); in jffs2_verify_write()
1230 c->wbuf_verify = kmalloc(c->wbuf_pagesize, GFP_KERNEL); in jffs2_nand_flash_setup()
1231 if (!c->wbuf_verify) { in jffs2_nand_flash_setup()
1243 kfree(c->wbuf_verify); in jffs2_nand_flash_cleanup()
1286 c->wbuf_verify = kmalloc(c->wbuf_pagesize, GFP_KERNEL); in jffs2_dataflash_setup()
1287 if (!c->wbuf_verify) { in jffs2_dataflash_setup()
1302 kfree(c->wbuf_verify); in jffs2_dataflash_cleanup()
1325 c->wbuf_verify = kmalloc(c->wbuf_pagesize, GFP_KERNEL); in jffs2_nor_wbuf_flash_setup()
[all …]
Djffs2_fs_sb.h127 unsigned char *wbuf_verify; /* read-back buffer for verification */ member