Home
last modified time | relevance | path

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

/linux-2.4.37.9/fs/jffs2/
Dscan.c109 …} else if (jeb->used_size == PAD(sizeof(struct jffs2_unknown_node)) && !jeb->first_node->next_in_i… in jffs2_scan_medium()
162 struct jffs2_unknown_node node; in jffs2_scan_eraseblock()
200 …BUG "Fewer than %d bytes left to end of block. Not reading\n", sizeof(struct jffs2_unknown_node))); in jffs2_scan_eraseblock()
286 if (node.totlen != sizeof(struct jffs2_unknown_node)) { in jffs2_scan_eraseblock()
288 ofs, node.totlen, sizeof(struct jffs2_unknown_node)); in jffs2_scan_eraseblock()
289 DIRTY_SPACE(PAD(sizeof(struct jffs2_unknown_node))); in jffs2_scan_eraseblock()
292 DIRTY_SPACE(PAD(sizeof(struct jffs2_unknown_node))); in jffs2_scan_eraseblock()
293 ofs += PAD(sizeof(struct jffs2_unknown_node)); in jffs2_scan_eraseblock()
304 marker_ref->totlen = sizeof(struct jffs2_unknown_node); in jffs2_scan_eraseblock()
307 USED_SPACE(PAD(sizeof(struct jffs2_unknown_node))); in jffs2_scan_eraseblock()
[all …]
Ddir.c293 rd->hdr_crc = crc32(0, rd, sizeof(struct jffs2_unknown_node)-4); in jffs2_create()
363 rd->hdr_crc = crc32(0, rd, sizeof(struct jffs2_unknown_node)-4); in jffs2_do_unlink()
451 rd->hdr_crc = crc32(0, rd, sizeof(struct jffs2_unknown_node)-4); in jffs2_do_link()
561 ri->hdr_crc = crc32(0, ri, sizeof(struct jffs2_unknown_node)-4); in jffs2_symlink()
614 rd->hdr_crc = crc32(0, rd, sizeof(struct jffs2_unknown_node)-4); in jffs2_symlink()
748 rd->hdr_crc = crc32(0, rd, sizeof(struct jffs2_unknown_node)-4); in jffs2_mkdir()
849 ri->hdr_crc = crc32(0, ri, sizeof(struct jffs2_unknown_node)-4); in jffs2_mknod()
902 rd->hdr_crc = crc32(0, rd, sizeof(struct jffs2_unknown_node)-4); in jffs2_mknod()
Dwrite.c88 ri->hdr_crc = crc32(0, ri, sizeof(struct jffs2_unknown_node)-4); in jffs2_new_inode()
185 D1(if(ri->hdr_crc != crc32(0, ri, sizeof(struct jffs2_unknown_node)-4)) { in jffs2_write_dnode()
273 D1(if(rd->hdr_crc != crc32(0, rd, sizeof(struct jffs2_unknown_node)-4)) { in jffs2_write_dirent()
Derase.c266 …static struct jffs2_unknown_node marker = {JFFS2_MAGIC_BITMASK, JFFS2_NODETYPE_CLEANMARKER, sizeof… in jffs2_mark_erased_blocks()
273 marker.hdr_crc = crc32(0, &marker, sizeof(struct jffs2_unknown_node)-4); in jffs2_mark_erased_blocks()
Dgc.c338 ri.hdr_crc = crc32(0, &ri, sizeof(struct jffs2_unknown_node)-4); in jffs2_garbage_collect_metadata()
385 rd.hdr_crc = crc32(0, &rd, sizeof(struct jffs2_unknown_node)-4); in jffs2_garbage_collect_dirent()
497 ri.hdr_crc = crc32(0, &ri, sizeof(struct jffs2_unknown_node)-4); in jffs2_garbage_collect_hole()
664 ri.hdr_crc = crc32(0, &ri, sizeof(struct jffs2_unknown_node)-4); in jffs2_garbage_collect_dnode()
Dnodemgmt.c204 if (jeb->free_size != c->sector_size - sizeof(struct jffs2_unknown_node)) { in jffs2_do_reserve_space()
287 struct jffs2_unknown_node n; in jffs2_mark_node_obsolete()
Dfile.c145 ri->hdr_crc = crc32(0, ri, sizeof(struct jffs2_unknown_node)-4); in jffs2_setattr()
361 ri.hdr_crc = crc32(0, &ri, sizeof(struct jffs2_unknown_node)-4); in jffs2_prepare_write()
479 ri->hdr_crc = crc32(0, ri, sizeof(struct jffs2_unknown_node)-4); in jffs2_commit_write()
/linux-2.4.37.9/include/linux/
Djffs2.h99 struct jffs2_unknown_node struct
161 struct jffs2_unknown_node u;