• Home
  • Raw
  • Download

Lines Matching refs:pL

238 	struct b_lists *pL;  in jffs_init_1pass_list()  local
241 pL = (struct b_lists *)part->jffs2_priv; in jffs_init_1pass_list()
242 free_nodes(&pL->frag); in jffs_init_1pass_list()
243 free_nodes(&pL->dir); in jffs_init_1pass_list()
244 free(pL); in jffs_init_1pass_list()
247 pL = (struct b_lists *)part->jffs2_priv; in jffs_init_1pass_list()
249 memset(pL, 0, sizeof(*pL)); in jffs_init_1pass_list()
251 pL->dir.listCompare = compare_dirents; in jffs_init_1pass_list()
252 pL->frag.listCompare = compare_inodes; in jffs_init_1pass_list()
260 jffs2_1pass_read_inode(struct b_lists *pL, u32 ino, char *dest, in jffs2_1pass_read_inode() argument
276 for (jNode = (struct b_inode *)pL->frag.listHead; jNode; jNode = jNode->next) { in jffs2_1pass_read_inode()
287 for (jNode = (struct b_inode *)pL->frag.listHead; jNode; jNode = jNode->next) { in jffs2_1pass_read_inode()
364 jffs2_1pass_find_inode(struct b_lists * pL, const char *name, u32 pino) in jffs2_1pass_find_inode() argument
373 for (jDir = (struct b_dirent *)pL->dir.listHead; jDir; jDir = jDir->next) { in jffs2_1pass_find_inode()
445 dump_inode(struct b_lists *pL, struct b_dirent *d, struct b_inode *i) in dump_inode() argument
459 jffs2_1pass_read_inode(pL, i->ino, NULL, &st); in dump_inode()
476 jffs2_1pass_list_inodes(struct b_lists * pL, u32 pino) in jffs2_1pass_list_inodes() argument
481 for (jDir = (struct b_dirent *)pL->dir.listHead; jDir; jDir = jDir->next) { in jffs2_1pass_list_inodes()
483 struct b_inode *jNode = (struct b_inode *)pL->frag.listHead; in jffs2_1pass_list_inodes()
493 dump_inode(pL, jDir, i); in jffs2_1pass_list_inodes()
500 jffs2_1pass_search_inode(struct b_lists * pL, const char *fname, u32 pino) in jffs2_1pass_search_inode() argument
537 if (!(pino = jffs2_1pass_find_inode(pL, working_tmp, pino))) { in jffs2_1pass_search_inode()
545 if (!(pino = jffs2_1pass_find_inode(pL, tmp, pino))) { in jffs2_1pass_search_inode()
556 jffs2_1pass_resolve_inode(struct b_lists * pL, u32 ino) in jffs2_1pass_resolve_inode() argument
568 for (jDir = (struct b_dirent *)pL->dir.listHead; jDir; jDir = jDir->next) { in jffs2_1pass_resolve_inode()
592 for (jNode = (struct b_inode *)pL->frag.listHead; jNode; jNode = jNode->next) { in jffs2_1pass_resolve_inode()
609 return jffs2_1pass_search_inode(pL, tmp, pino); in jffs2_1pass_resolve_inode()
613 jffs2_1pass_search_list_inodes(struct b_lists * pL, const char *fname, u32 pino) in jffs2_1pass_search_list_inodes() argument
634 if (!(pino = jffs2_1pass_find_inode(pL, working_tmp, pino)) && in jffs2_1pass_search_list_inodes()
643 if (tmp[0] && !(pino = jffs2_1pass_find_inode(pL, tmp, pino))) { in jffs2_1pass_search_list_inodes()
650 if (!(pino = jffs2_1pass_list_inodes(pL, pino))) { in jffs2_1pass_search_list_inodes()
666 struct b_lists *pL = (struct b_lists *)part->jffs2_priv; in jffs2_1pass_rescan_needed() local
673 if (pL->frag.listCount == 0) { in jffs2_1pass_rescan_needed()
679 if (pL->partOffset != part->offset) { in jffs2_1pass_rescan_needed()
687 b = pL->dir.listHead; in jffs2_1pass_rescan_needed()
704 dump_fragments(struct b_lists *pL) in dump_fragments() argument
711 b = pL->frag.listHead; in dump_fragments()
735 dump_dirents(struct b_lists *pL) in dump_dirents() argument
741 b = pL->dir.listHead; in dump_dirents()
788 struct b_lists *pL; in jffs2_1pass_build_lists() local
807 pL = (struct b_lists *)part->jffs2_priv; in jffs2_1pass_build_lists()
808 pL->partOffset = part->offset; in jffs2_1pass_build_lists()
850 if (insert_inode(&pL->frag, (struct jffs2_raw_inode *) node, in jffs2_1pass_build_lists()
859 if (insert_dirent(&pL->dir, (struct jffs2_raw_dirent *) node, in jffs2_1pass_build_lists()
890 putLabeledWord("dir entries = ", pL->dir.listCount); in jffs2_1pass_build_lists()
891 putLabeledWord("frag entries = ", pL->frag.listCount); in jffs2_1pass_build_lists()
897 dump_dirents(pL); in jffs2_1pass_build_lists()
901 dump_fragments(pL); in jffs2_1pass_build_lists()
913 jffs2_1pass_fill_info(struct b_lists * pL, struct b_jffs2_info * piL) in jffs2_1pass_fill_info() argument