Searched refs:jffs2_unknown_node (Results 1 – 14 of 14) sorted by relevance
/linux-6.1.9/fs/jffs2/ |
D | write.c | 47 ri->hdr_crc = cpu_to_je32(crc32(0, ri, sizeof(struct jffs2_unknown_node)-4)); in jffs2_do_new_inode() 72 D1(if(je32_to_cpu(ri->hdr_crc) != crc32(0, ri, sizeof(struct jffs2_unknown_node)-4)) { in jffs2_write_dnode() 221 D1(if(je32_to_cpu(rd->hdr_crc) != crc32(0, rd, sizeof(struct jffs2_unknown_node)-4)) { in jffs2_write_dirent() 378 ri->hdr_crc = cpu_to_je32(crc32(0, ri, sizeof(struct jffs2_unknown_node)-4)); in jffs2_write_inode_range() 513 rd->hdr_crc = cpu_to_je32(crc32(0, rd, sizeof(struct jffs2_unknown_node)-4)); in jffs2_do_create() 576 rd->hdr_crc = cpu_to_je32(crc32(0, rd, sizeof(struct jffs2_unknown_node)-4)); in jffs2_do_unlink() 693 rd->hdr_crc = cpu_to_je32(crc32(0, rd, sizeof(struct jffs2_unknown_node)-4)); in jffs2_do_link()
|
D | scan.c | 447 struct jffs2_unknown_node *node; in jffs2_scan_eraseblock() 448 struct jffs2_unknown_node crcnode; in jffs2_scan_eraseblock() 643 sizeof(struct jffs2_unknown_node), in jffs2_scan_eraseblock() 654 sizeof(struct jffs2_unknown_node), in jffs2_scan_eraseblock() 662 node = (struct jffs2_unknown_node *)&buf[ofs-buf_ofs]; in jffs2_scan_eraseblock() 877 if ((err = jffs2_scan_dirty_space(c, jeb, PAD(sizeof(struct jffs2_unknown_node))))) in jffs2_scan_eraseblock() 879 ofs += PAD(sizeof(struct jffs2_unknown_node)); in jffs2_scan_eraseblock() 883 if ((err = jffs2_scan_dirty_space(c, jeb, PAD(sizeof(struct jffs2_unknown_node))))) in jffs2_scan_eraseblock() 885 ofs += PAD(sizeof(struct jffs2_unknown_node)); in jffs2_scan_eraseblock()
|
D | dir.c | 335 ri->hdr_crc = cpu_to_je32(crc32(0, ri, sizeof(struct jffs2_unknown_node)-4)); in jffs2_symlink() 402 rd->hdr_crc = cpu_to_je32(crc32(0, rd, sizeof(struct jffs2_unknown_node)-4)); in jffs2_symlink() 546 rd->hdr_crc = cpu_to_je32(crc32(0, rd, sizeof(struct jffs2_unknown_node)-4)); in jffs2_mkdir() 668 ri->hdr_crc = cpu_to_je32(crc32(0, ri, sizeof(struct jffs2_unknown_node)-4)); in jffs2_mknod() 720 rd->hdr_crc = cpu_to_je32(crc32(0, rd, sizeof(struct jffs2_unknown_node)-4)); in jffs2_mknod()
|
D | erase.c | 423 struct jffs2_unknown_node marker = { in jffs2_mark_erased_block() 431 marker.hdr_crc = cpu_to_je32(crc32(0, &marker, sizeof(struct jffs2_unknown_node)-4)); in jffs2_mark_erased_block()
|
D | gc.c | 634 crc = crc32(0, node, sizeof(struct jffs2_unknown_node)-4); in jffs2_garbage_collect_pristine() 816 ri.hdr_crc = cpu_to_je32(crc32(0, &ri, sizeof(struct jffs2_unknown_node)-4)); in jffs2_garbage_collect_metadata() 862 rd.hdr_crc = cpu_to_je32(crc32(0, &rd, sizeof(struct jffs2_unknown_node)-4)); in jffs2_garbage_collect_dirent() 1073 ri.hdr_crc = cpu_to_je32(crc32(0, &ri, sizeof(struct jffs2_unknown_node)-4)); in jffs2_garbage_collect_hole() 1365 ri.hdr_crc = cpu_to_je32(crc32(0, &ri, sizeof(struct jffs2_unknown_node)-4)); in jffs2_garbage_collect_dnode()
|
D | readinode.c | 888 …ead_unknown(struct jffs2_sb_info *c, struct jffs2_raw_node_ref *ref, struct jffs2_unknown_node *un) in read_unknown() 1111 if (JFFS2_MIN_NODE_HEADER < sizeof(struct jffs2_unknown_node) && in jffs2_get_inode_nodes() 1112 len < sizeof(struct jffs2_unknown_node)) { in jffs2_get_inode_nodes() 1113 err = read_more(c, ref, sizeof(struct jffs2_unknown_node), &len, buf); in jffs2_get_inode_nodes()
|
D | super.c | 372 BUILD_BUG_ON(sizeof(struct jffs2_unknown_node) != 12); in init_jffs2_fs()
|
D | fs.c | 99 ri->hdr_crc = cpu_to_je32(crc32(0, ri, sizeof(struct jffs2_unknown_node)-4)); in jffs2_do_setattr() 557 c->cleanmarker_size = sizeof(struct jffs2_unknown_node); in jffs2_do_fill_super()
|
D | wbuf.c | 616 if ( c->wbuf_len + sizeof(struct jffs2_unknown_node) < c->wbuf_pagesize) { in __jffs2_flush_wbuf() 617 struct jffs2_unknown_node *padnode = (void *)(c->wbuf + c->wbuf_len); in __jffs2_flush_wbuf() 1022 static const struct jffs2_unknown_node oob_cleanmarker =
|
D | file.c | 165 ri.hdr_crc = cpu_to_je32(crc32(0, &ri, sizeof(struct jffs2_unknown_node)-4)); in jffs2_write_begin()
|
D | summary.c | 576 struct jffs2_unknown_node crcnode; in jffs2_sum_scan_sumnode() 712 isum.hdr_crc = cpu_to_je32(crc32(0, &isum, sizeof(struct jffs2_unknown_node) - 4)); in jffs2_sum_write_data()
|
D | xattr.c | 307 rx.hdr_crc = cpu_to_je32(crc32(0, &rx, sizeof(struct jffs2_unknown_node) - 4)); in save_xattr_datum() 517 rr.hdr_crc = cpu_to_je32(crc32(0, &rr, sizeof(struct jffs2_unknown_node) - 4)); in save_xattr_ref()
|
D | nodemgmt.c | 583 struct jffs2_unknown_node n; in jffs2_mark_node_obsolete()
|
/linux-6.1.9/include/uapi/linux/ |
D | jffs2.h | 102 struct jffs2_unknown_node struct 209 struct jffs2_unknown_node u;
|