Lines Matching refs:spd
435 struct jffs2_sum_dirent_flash *spd; in jffs2_sum_process_sum_data() local
437 spd = sp; in jffs2_sum_process_sum_data()
440 jeb->offset + je32_to_cpu(spd->offset), in jffs2_sum_process_sum_data()
441 jeb->offset + je32_to_cpu(spd->offset) + je32_to_cpu(spd->totlen)); in jffs2_sum_process_sum_data()
445 checkedlen = strnlen(spd->name, spd->nsize); in jffs2_sum_process_sum_data()
449 je32_to_cpu(spd->offset)); in jffs2_sum_process_sum_data()
452 if (checkedlen < spd->nsize) { in jffs2_sum_process_sum_data()
455 je32_to_cpu(spd->offset), in jffs2_sum_process_sum_data()
464 memcpy(&fd->name, spd->name, checkedlen); in jffs2_sum_process_sum_data()
467 ic = jffs2_scan_make_ino_cache(c, je32_to_cpu(spd->pino)); in jffs2_sum_process_sum_data()
473 fd->raw = sum_link_node_ref(c, jeb, je32_to_cpu(spd->offset) | REF_UNCHECKED, in jffs2_sum_process_sum_data()
474 PAD(je32_to_cpu(spd->totlen)), ic); in jffs2_sum_process_sum_data()
477 fd->version = je32_to_cpu(spd->version); in jffs2_sum_process_sum_data()
478 fd->ino = je32_to_cpu(spd->ino); in jffs2_sum_process_sum_data()
480 fd->type = spd->type; in jffs2_sum_process_sum_data()
484 *pseudo_random += je32_to_cpu(spd->version); in jffs2_sum_process_sum_data()
486 sp += JFFS2_SUMMARY_DIRENT_SIZE(spd->nsize); in jffs2_sum_process_sum_data()