rii 219 fs/jffs2/readinode.c struct jffs2_readinode_info *rii, rii 232 fs/jffs2/readinode.c if (rii->mdata_tn) { rii 233 fs/jffs2/readinode.c if (rii->mdata_tn->version < tn->version) { rii 235 fs/jffs2/readinode.c dbg_readinode("kill old mdata with ver %d\n", rii->mdata_tn->version); rii 236 fs/jffs2/readinode.c jffs2_kill_tn(c, rii->mdata_tn); rii 239 fs/jffs2/readinode.c tn->version, rii->mdata_tn->version); rii 244 fs/jffs2/readinode.c rii->mdata_tn = tn; rii 250 fs/jffs2/readinode.c this = jffs2_lookup_tn(&rii->tn_root, tn->fn->ofs); rii 286 fs/jffs2/readinode.c rb_replace_node(&this->rb, &tn->rb, &rii->tn_root); rii 305 fs/jffs2/readinode.c tn_erase(this, &rii->tn_root); rii 327 fs/jffs2/readinode.c tn_erase(this, &rii->tn_root); rii 339 fs/jffs2/readinode.c struct rb_node **link = &rii->tn_root.rb_node; rii 354 fs/jffs2/readinode.c rb_insert_color(&tn->rb, &rii->tn_root); rii 453 fs/jffs2/readinode.c struct jffs2_readinode_info *rii) rii 459 fs/jffs2/readinode.c if (rii->mdata_tn) { rii 460 fs/jffs2/readinode.c dbg_readinode("potential mdata is ver %d at %p\n", rii->mdata_tn->version, rii->mdata_tn); rii 461 fs/jffs2/readinode.c high_ver = rii->mdata_tn->version; rii 462 fs/jffs2/readinode.c rii->latest_ref = rii->mdata_tn->fn->raw; rii 465 fs/jffs2/readinode.c this = tn_last(&rii->tn_root); rii 472 fs/jffs2/readinode.c pen = tn_last(&rii->tn_root); rii 476 fs/jffs2/readinode.c eat_last(&rii->tn_root, &last->rb); rii 512 fs/jffs2/readinode.c rii->latest_ref = this->fn->raw; rii 588 fs/jffs2/readinode.c struct jffs2_readinode_info *rii) rii 638 fs/jffs2/readinode.c if (fd->version > rii->highest_version) rii 639 fs/jffs2/readinode.c rii->highest_version = fd->version; rii 642 fs/jffs2/readinode.c if(fd->version > rii->mctime_ver && je32_to_cpu(rd->mctime)) { rii 643 fs/jffs2/readinode.c rii->mctime_ver = fd->version; rii 644 fs/jffs2/readinode.c rii->latest_mctime = je32_to_cpu(rd->mctime); rii 685 fs/jffs2/readinode.c jffs2_add_fd_to_list(c, fd, &rii->fds); rii 699 fs/jffs2/readinode.c struct jffs2_readinode_info *rii) rii 830 fs/jffs2/readinode.c if (tn->version > rii->highest_version) rii 831 fs/jffs2/readinode.c rii->highest_version = tn->version; rii 844 fs/jffs2/readinode.c ret = jffs2_add_tn_to_tree(c, rii, tn); rii 854 fs/jffs2/readinode.c tn = tn_first(&rii->tn_root); rii 966 fs/jffs2/readinode.c struct jffs2_readinode_info *rii) rii 974 fs/jffs2/readinode.c rii->mctime_ver = 0; rii 1073 fs/jffs2/readinode.c err = read_direntry(c, ref, &node->d, retlen, rii); rii 1088 fs/jffs2/readinode.c err = read_dnode(c, ref, &node->i, len, rii); rii 1114 fs/jffs2/readinode.c f->highest_version = rii->highest_version; rii 1117 fs/jffs2/readinode.c f->inocache->ino, rii->highest_version, rii->latest_mctime, rii 1118 fs/jffs2/readinode.c rii->mctime_ver); rii 1122 fs/jffs2/readinode.c jffs2_free_tmp_dnode_info_list(&rii->tn_root); rii 1123 fs/jffs2/readinode.c jffs2_free_full_dirent_list(rii->fds); rii 1124 fs/jffs2/readinode.c rii->fds = NULL; rii 1133 fs/jffs2/readinode.c struct jffs2_readinode_info rii; rii 1141 fs/jffs2/readinode.c memset(&rii, 0, sizeof(rii)); rii 1144 fs/jffs2/readinode.c ret = jffs2_get_inode_nodes(c, f, &rii); rii 1153 fs/jffs2/readinode.c ret = jffs2_build_inode_fragtree(c, f, &rii); rii 1159 fs/jffs2/readinode.c jffs2_free_tmp_dnode_info_list(&rii.tn_root); rii 1161 fs/jffs2/readinode.c if (rii.mdata_tn) { rii 1162 fs/jffs2/readinode.c jffs2_free_full_dnode(rii.mdata_tn->fn); rii 1163 fs/jffs2/readinode.c jffs2_free_tmp_dnode_info(rii.mdata_tn); rii 1164 fs/jffs2/readinode.c rii.mdata_tn = NULL; rii 1169 fs/jffs2/readinode.c if (rii.mdata_tn) { rii 1170 fs/jffs2/readinode.c if (rii.mdata_tn->fn->raw == rii.latest_ref) { rii 1171 fs/jffs2/readinode.c f->metadata = rii.mdata_tn->fn; rii 1172 fs/jffs2/readinode.c jffs2_free_tmp_dnode_info(rii.mdata_tn); rii 1174 fs/jffs2/readinode.c jffs2_kill_tn(c, rii.mdata_tn); rii 1176 fs/jffs2/readinode.c rii.mdata_tn = NULL; rii 1179 fs/jffs2/readinode.c f->dents = rii.fds; rii 1183 fs/jffs2/readinode.c if (unlikely(!rii.latest_ref)) { rii 1187 fs/jffs2/readinode.c if (!rii.fds) { rii 1205 fs/jffs2/readinode.c ret = jffs2_flash_read(c, ref_offset(rii.latest_ref), sizeof(*latest_node), &retlen, (void *)latest_node); rii 1216 fs/jffs2/readinode.c f->inocache->ino, ref_offset(rii.latest_ref)); rii 1222 fs/jffs2/readinode.c if (rii.mctime_ver > je32_to_cpu(latest_node->version)) { rii 1225 fs/jffs2/readinode.c latest_node->ctime = latest_node->mtime = cpu_to_je32(rii.latest_mctime); rii 1261 fs/jffs2/readinode.c ret = jffs2_flash_read(c, ref_offset(rii.latest_ref) + sizeof(*latest_node),