Home
last modified time | relevance | path

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

/linux-4.19.296/fs/jffs2/
Dscan.c449 uint32_t hdr_crc, buf_ofs, buf_len; in jffs2_scan_eraseblock() local
554 buf_ofs = jeb->offset; in jffs2_scan_eraseblock()
561 err = jffs2_fill_scan_buf(c, buf, buf_ofs, buf_len); in jffs2_scan_eraseblock()
647 if (buf_ofs + buf_len < ofs + sizeof(*node)) { in jffs2_scan_eraseblock()
655 buf_ofs = ofs; in jffs2_scan_eraseblock()
658 node = (struct jffs2_unknown_node *)&buf[ofs-buf_ofs]; in jffs2_scan_eraseblock()
660 if (*(uint32_t *)(&buf[ofs-buf_ofs]) == 0xffffffff) { in jffs2_scan_eraseblock()
670 inbuf_ofs = ofs - buf_ofs; in jffs2_scan_eraseblock()
689 if (buf_ofs == jeb->offset && jeb->used_size == PAD(c->cleanmarker_size) && in jffs2_scan_eraseblock()
716 buf_ofs = ofs; in jffs2_scan_eraseblock()
[all …]