Searched refs:wbuf_verify (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/fs/jffs2/ |
D | wbuf.c | 237 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() 1218 c->wbuf_verify = kmalloc(c->wbuf_pagesize, GFP_KERNEL); in jffs2_nand_flash_setup() 1219 if (!c->wbuf_verify) { in jffs2_nand_flash_setup() 1231 kfree(c->wbuf_verify); in jffs2_nand_flash_cleanup() 1273 c->wbuf_verify = kmalloc(c->wbuf_pagesize, GFP_KERNEL); in jffs2_dataflash_setup() 1274 if (!c->wbuf_verify) { in jffs2_dataflash_setup() 1288 kfree(c->wbuf_verify); in jffs2_dataflash_cleanup() 1310 c->wbuf_verify = kmalloc(c->wbuf_pagesize, GFP_KERNEL); in jffs2_nor_wbuf_flash_setup() [all …]
|
D | jffs2_fs_sb.h | 128 unsigned char *wbuf_verify; /* read-back buffer for verification */ member
|