Lines Matching refs:PAD
312 if ((jeb->used_size + jeb->unchecked_size) == PAD(c->cleanmarker_size) && !jeb->dirty_size in jffs2_scan_classify_jeb()
350 totlen = PAD(sizeof(struct jffs2_raw_xattr) in jffs2_scan_xattr_node()
398 if ((err = jffs2_scan_dirty_space(c, jeb, PAD(je32_to_cpu(rr->totlen))))) in jffs2_scan_xref_node()
403 if (PAD(sizeof(struct jffs2_raw_xref)) != je32_to_cpu(rr->totlen)) { in jffs2_scan_xref_node()
406 PAD(sizeof(struct jffs2_raw_xref))); in jffs2_scan_xref_node()
433 jffs2_link_node_ref(c, jeb, ofs | REF_PRISTINE, PAD(je32_to_cpu(rr->totlen)), (void *)ref); in jffs2_scan_xref_node()
628 ofs = PAD(ofs); in jffs2_scan_eraseblock()
693 if (buf_ofs == jeb->offset && jeb->used_size == PAD(c->cleanmarker_size) && in jffs2_scan_eraseblock()
793 if ((err = jffs2_scan_dirty_space(c, jeb, PAD(je32_to_cpu(node->totlen))))) in jffs2_scan_eraseblock()
795 ofs += PAD(je32_to_cpu(node->totlen)); in jffs2_scan_eraseblock()
814 ofs += PAD(je32_to_cpu(node->totlen)); in jffs2_scan_eraseblock()
831 ofs += PAD(je32_to_cpu(node->totlen)); in jffs2_scan_eraseblock()
850 ofs += PAD(je32_to_cpu(node->totlen)); in jffs2_scan_eraseblock()
867 ofs += PAD(je32_to_cpu(node->totlen)); 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()
889 ofs += PAD(c->cleanmarker_size); in jffs2_scan_eraseblock()
896 if ((err = jffs2_scan_dirty_space(c, jeb, PAD(je32_to_cpu(node->totlen))))) in jffs2_scan_eraseblock()
898 ofs += PAD(je32_to_cpu(node->totlen)); in jffs2_scan_eraseblock()
909 if ((err = jffs2_scan_dirty_space(c, jeb, PAD(je32_to_cpu(node->totlen))))) in jffs2_scan_eraseblock()
911 ofs += PAD(je32_to_cpu(node->totlen)); in jffs2_scan_eraseblock()
922 if ((err = jffs2_scan_dirty_space(c, jeb, PAD(je32_to_cpu(node->totlen))))) in jffs2_scan_eraseblock()
924 ofs += PAD(je32_to_cpu(node->totlen)); in jffs2_scan_eraseblock()
931 jffs2_link_node_ref(c, jeb, ofs | REF_PRISTINE, PAD(je32_to_cpu(node->totlen)), NULL); in jffs2_scan_eraseblock()
935 ofs += PAD(je32_to_cpu(node->totlen)); in jffs2_scan_eraseblock()
943 if (PAD(s->sum_size + JFFS2_SUMMARY_FRAME_SIZE) > jeb->free_size) { in jffs2_scan_eraseblock()
1018 PAD(je32_to_cpu(ri->totlen))); in jffs2_scan_inode_node()
1029 jffs2_link_node_ref(c, jeb, ofs | REF_UNCHECKED, PAD(je32_to_cpu(ri->totlen)), ic); in jffs2_scan_inode_node()
1064 if ((err = jffs2_scan_dirty_space(c, jeb, PAD(je32_to_cpu(rd->totlen))))) in jffs2_scan_dirent_node()
1093 if ((err = jffs2_scan_dirty_space(c, jeb, PAD(je32_to_cpu(rd->totlen))))) in jffs2_scan_dirent_node()
1104 PAD(je32_to_cpu(rd->totlen)), ic); in jffs2_scan_dirent_node()