Lines Matching refs:jDir

822 	struct jffs2_raw_dirent *jDir;  in jffs2_1pass_find_inode()  local
834 jDir = (struct jffs2_raw_dirent *) get_node_mem(b->offset, in jffs2_1pass_find_inode()
836 if ((pino == jDir->pino) && (len == jDir->nsize) && in jffs2_1pass_find_inode()
837 (!strncmp((char *)jDir->name, name, len))) { /* a match */ in jffs2_1pass_find_inode()
838 if (jDir->version < version) { in jffs2_1pass_find_inode()
839 put_fl_mem(jDir, pL->readbuf); in jffs2_1pass_find_inode()
843 if (jDir->version == version && inode != 0) { in jffs2_1pass_find_inode()
846 putnstr(jDir->name, jDir->nsize); in jffs2_1pass_find_inode()
849 inode = jDir->ino; in jffs2_1pass_find_inode()
850 version = jDir->version; in jffs2_1pass_find_inode()
854 putnstr(jDir->name, jDir->nsize); in jffs2_1pass_find_inode()
856 putLabeledWord("pino = ", jDir->pino); in jffs2_1pass_find_inode()
857 putLabeledWord("nsize = ", jDir->nsize); in jffs2_1pass_find_inode()
861 put_fl_mem(jDir, pL->readbuf); in jffs2_1pass_find_inode()
952 struct jffs2_raw_dirent *jDir; in jffs2_1pass_list_inodes() local
955 jDir = (struct jffs2_raw_dirent *) get_node_mem(b->offset, in jffs2_1pass_list_inodes()
957 if (pino == jDir->pino) { in jffs2_1pass_list_inodes()
972 match = jDirNext->pino == jDir->pino && in jffs2_1pass_list_inodes()
973 jDirNext->nsize == jDir->nsize && in jffs2_1pass_list_inodes()
975 (char *)jDir->name, in jffs2_1pass_list_inodes()
976 jDir->nsize) == 0; in jffs2_1pass_list_inodes()
981 *jDir = *jDirNext; in jffs2_1pass_list_inodes()
986 if (jDir->ino == 0) { in jffs2_1pass_list_inodes()
988 put_fl_mem(jDir, pL->readbuf); in jffs2_1pass_list_inodes()
996 if (jNode->ino == jDir->ino && in jffs2_1pass_list_inodes()
1002 if (jDir->type == DT_LNK) in jffs2_1pass_list_inodes()
1013 dump_inode(pL, jDir, i); in jffs2_1pass_list_inodes()
1016 put_fl_mem(jDir, pL->readbuf); in jffs2_1pass_list_inodes()
1082 struct jffs2_raw_dirent *jDir; in jffs2_1pass_resolve_inode() local
1094 jDir = (struct jffs2_raw_dirent *) get_node_mem(b->offset, in jffs2_1pass_resolve_inode()
1096 if (ino == jDir->ino) { in jffs2_1pass_resolve_inode()
1097 if (jDir->version < version) { in jffs2_1pass_resolve_inode()
1098 put_fl_mem(jDir, pL->readbuf); in jffs2_1pass_resolve_inode()
1102 if (jDir->version == version && jDirFoundType) { in jffs2_1pass_resolve_inode()
1105 putnstr(jDir->name, jDir->nsize); in jffs2_1pass_resolve_inode()
1110 jDirFoundType = jDir->type; in jffs2_1pass_resolve_inode()
1111 jDirFoundIno = jDir->ino; in jffs2_1pass_resolve_inode()
1112 jDirFoundPino = jDir->pino; in jffs2_1pass_resolve_inode()
1113 version = jDir->version; in jffs2_1pass_resolve_inode()
1115 put_fl_mem(jDir, pL->readbuf); in jffs2_1pass_resolve_inode()
1432 struct jffs2_raw_dirent *jDir; in dump_dirents() local
1437 jDir = (struct jffs2_raw_dirent *) get_node_mem(b->offset, in dump_dirents()
1440 putnstr(jDir->name, jDir->nsize); in dump_dirents()
1441 putLabeledWord("\r\n\tbuild_list: magic = ", jDir->magic); in dump_dirents()
1442 putLabeledWord("\tbuild_list: nodetype = ", jDir->nodetype); in dump_dirents()
1443 putLabeledWord("\tbuild_list: hdr_crc = ", jDir->hdr_crc); in dump_dirents()
1444 putLabeledWord("\tbuild_list: pino = ", jDir->pino); in dump_dirents()
1445 putLabeledWord("\tbuild_list: version = ", jDir->version); in dump_dirents()
1446 putLabeledWord("\tbuild_list: ino = ", jDir->ino); in dump_dirents()
1447 putLabeledWord("\tbuild_list: mctime = ", jDir->mctime); in dump_dirents()
1448 putLabeledWord("\tbuild_list: nsize = ", jDir->nsize); in dump_dirents()
1449 putLabeledWord("\tbuild_list: type = ", jDir->type); in dump_dirents()
1450 putLabeledWord("\tbuild_list: node_crc = ", jDir->node_crc); in dump_dirents()
1451 putLabeledWord("\tbuild_list: name_crc = ", jDir->name_crc); in dump_dirents()
1454 put_fl_mem(jDir, pL->readbuf); in dump_dirents()