Searched refs:flashbuf (Results 1 – 1 of 1) sorted by relevance
95 unsigned char *flashbuf = NULL; in jffs2_scan_medium() local102 (void **)&flashbuf, NULL); in jffs2_scan_medium()108 flashbuf = NULL; in jffs2_scan_medium()113 if (!flashbuf) { in jffs2_scan_medium()124 flashbuf = mtd_kmalloc_up_to(c->mtd, &try_size); in jffs2_scan_medium()125 if (!flashbuf) in jffs2_scan_medium()151 ret = jffs2_scan_eraseblock(c, jeb, buf_size?flashbuf:(flashbuf+jeb->offset), in jffs2_scan_medium()281 kfree(flashbuf); in jffs2_scan_medium()