Lines Matching refs:jDir

366 	struct b_dirent *jDir;  in jffs2_1pass_find_inode()  local
373 for (jDir = (struct b_dirent *)pL->dir.listHead; jDir; jDir = jDir->next) { in jffs2_1pass_find_inode()
374 if ((pino == jDir->pino) && (jDir->ino) && /* 0 for unlink */ in jffs2_1pass_find_inode()
375 (len == jDir->nsize) && (nhash == jDir->nhash)) { in jffs2_1pass_find_inode()
377 if (jDir->version < version) in jffs2_1pass_find_inode()
380 if (jDir->version == version && inode != 0) { in jffs2_1pass_find_inode()
386 inode = jDir->ino; in jffs2_1pass_find_inode()
387 version = jDir->version; in jffs2_1pass_find_inode()
478 struct b_dirent *jDir; in jffs2_1pass_list_inodes() local
481 for (jDir = (struct b_dirent *)pL->dir.listHead; jDir; jDir = jDir->next) { in jffs2_1pass_list_inodes()
482 if ((pino == jDir->pino) && (jDir->ino)) { /* ino=0 -> unlink */ in jffs2_1pass_list_inodes()
487 if (jNode->ino == jDir->ino && jNode->version >= i_version) { in jffs2_1pass_list_inodes()
493 dump_inode(pL, jDir, i); in jffs2_1pass_list_inodes()
558 struct b_dirent *jDir; in jffs2_1pass_resolve_inode() local
568 for (jDir = (struct b_dirent *)pL->dir.listHead; jDir; jDir = jDir->next) { in jffs2_1pass_resolve_inode()
569 if (ino == jDir->ino) { in jffs2_1pass_resolve_inode()
570 if (jDir->version < version) in jffs2_1pass_resolve_inode()
573 if (jDir->version == version && jDirFoundType) { in jffs2_1pass_resolve_inode()
581 jDirFoundType = jDir->type; in jffs2_1pass_resolve_inode()
582 jDirFoundIno = jDir->ino; in jffs2_1pass_resolve_inode()
583 jDirFoundPino = jDir->pino; in jffs2_1pass_resolve_inode()
584 version = jDir->version; in jffs2_1pass_resolve_inode()
738 struct jffs2_raw_dirent *jDir; in dump_dirents() local
743 jDir = (struct jffs2_raw_dirent *) get_node_mem(b->offset); in dump_dirents()
745 putnstr(jDir->name, jDir->nsize); in dump_dirents()
746 putLabeledWord("\r\n\tbuild_list: magic = ", jDir->magic); in dump_dirents()
747 putLabeledWord("\tbuild_list: nodetype = ", jDir->nodetype); in dump_dirents()
748 putLabeledWord("\tbuild_list: hdr_crc = ", jDir->hdr_crc); in dump_dirents()
749 putLabeledWord("\tbuild_list: pino = ", jDir->pino); in dump_dirents()
750 putLabeledWord("\tbuild_list: version = ", jDir->version); in dump_dirents()
751 putLabeledWord("\tbuild_list: ino = ", jDir->ino); in dump_dirents()
752 putLabeledWord("\tbuild_list: mctime = ", jDir->mctime); in dump_dirents()
753 putLabeledWord("\tbuild_list: nsize = ", jDir->nsize); in dump_dirents()
754 putLabeledWord("\tbuild_list: type = ", jDir->type); in dump_dirents()
755 putLabeledWord("\tbuild_list: node_crc = ", jDir->node_crc); in dump_dirents()
756 putLabeledWord("\tbuild_list: name_crc = ", jDir->name_crc); in dump_dirents()
759 put_fl_mem(jDir); in dump_dirents()