Lines Matching refs:PAD

310 	if ((jeb->used_size + jeb->unchecked_size) == PAD(c->cleanmarker_size) && !jeb->dirty_size  in jffs2_scan_classify_jeb()
348 totlen = PAD(sizeof(struct jffs2_raw_xattr) in jffs2_scan_xattr_node()
396 if ((err = jffs2_scan_dirty_space(c, jeb, PAD(je32_to_cpu(rr->totlen))))) in jffs2_scan_xref_node()
401 if (PAD(sizeof(struct jffs2_raw_xref)) != je32_to_cpu(rr->totlen)) { in jffs2_scan_xref_node()
404 PAD(sizeof(struct jffs2_raw_xref))); in jffs2_scan_xref_node()
431 jffs2_link_node_ref(c, jeb, ofs | REF_PRISTINE, PAD(je32_to_cpu(rr->totlen)), (void *)ref); in jffs2_scan_xref_node()
626 ofs = PAD(ofs); in jffs2_scan_eraseblock()
691 if (buf_ofs == jeb->offset && jeb->used_size == PAD(c->cleanmarker_size) && in jffs2_scan_eraseblock()
791 if ((err = jffs2_scan_dirty_space(c, jeb, PAD(je32_to_cpu(node->totlen))))) in jffs2_scan_eraseblock()
793 ofs += PAD(je32_to_cpu(node->totlen)); in jffs2_scan_eraseblock()
812 ofs += PAD(je32_to_cpu(node->totlen)); in jffs2_scan_eraseblock()
829 ofs += PAD(je32_to_cpu(node->totlen)); in jffs2_scan_eraseblock()
848 ofs += PAD(je32_to_cpu(node->totlen)); in jffs2_scan_eraseblock()
865 ofs += PAD(je32_to_cpu(node->totlen)); in jffs2_scan_eraseblock()
875 if ((err = jffs2_scan_dirty_space(c, jeb, PAD(sizeof(struct jffs2_unknown_node))))) in jffs2_scan_eraseblock()
877 ofs += PAD(sizeof(struct jffs2_unknown_node)); in jffs2_scan_eraseblock()
881 if ((err = jffs2_scan_dirty_space(c, jeb, PAD(sizeof(struct jffs2_unknown_node))))) in jffs2_scan_eraseblock()
883 ofs += PAD(sizeof(struct jffs2_unknown_node)); in jffs2_scan_eraseblock()
887 ofs += PAD(c->cleanmarker_size); in jffs2_scan_eraseblock()
894 if ((err = jffs2_scan_dirty_space(c, jeb, PAD(je32_to_cpu(node->totlen))))) in jffs2_scan_eraseblock()
896 ofs += PAD(je32_to_cpu(node->totlen)); in jffs2_scan_eraseblock()
907 if ((err = jffs2_scan_dirty_space(c, jeb, PAD(je32_to_cpu(node->totlen))))) in jffs2_scan_eraseblock()
909 ofs += PAD(je32_to_cpu(node->totlen)); in jffs2_scan_eraseblock()
920 if ((err = jffs2_scan_dirty_space(c, jeb, PAD(je32_to_cpu(node->totlen))))) in jffs2_scan_eraseblock()
922 ofs += PAD(je32_to_cpu(node->totlen)); in jffs2_scan_eraseblock()
929 jffs2_link_node_ref(c, jeb, ofs | REF_PRISTINE, PAD(je32_to_cpu(node->totlen)), NULL); in jffs2_scan_eraseblock()
933 ofs += PAD(je32_to_cpu(node->totlen)); in jffs2_scan_eraseblock()
941 if (PAD(s->sum_size + JFFS2_SUMMARY_FRAME_SIZE) > jeb->free_size) { in jffs2_scan_eraseblock()
1016 PAD(je32_to_cpu(ri->totlen))); in jffs2_scan_inode_node()
1027 jffs2_link_node_ref(c, jeb, ofs | REF_UNCHECKED, PAD(je32_to_cpu(ri->totlen)), ic); in jffs2_scan_inode_node()
1062 if ((err = jffs2_scan_dirty_space(c, jeb, PAD(je32_to_cpu(rd->totlen))))) in jffs2_scan_dirent_node()
1091 if ((err = jffs2_scan_dirty_space(c, jeb, PAD(je32_to_cpu(rd->totlen))))) in jffs2_scan_dirent_node()
1102 PAD(je32_to_cpu(rd->totlen)), ic); in jffs2_scan_dirent_node()