• Home
  • Raw
  • Download

Lines Matching refs:pL

643 	struct b_lists *pL;  in jffs2_free_cache()  local
646 pL = (struct b_lists *)part->jffs2_priv; in jffs2_free_cache()
647 free_nodes(&pL->frag); in jffs2_free_cache()
648 free_nodes(&pL->dir); in jffs2_free_cache()
649 free(pL->readbuf); in jffs2_free_cache()
650 free(pL); in jffs2_free_cache()
657 struct b_lists *pL; in jffs_init_1pass_list() local
662 pL = (struct b_lists *)part->jffs2_priv; in jffs_init_1pass_list()
664 memset(pL, 0, sizeof(*pL)); in jffs_init_1pass_list()
666 pL->dir.listCompare = compare_dirents; in jffs_init_1pass_list()
667 pL->frag.listCompare = compare_inodes; in jffs_init_1pass_list()
675 jffs2_1pass_read_inode(struct b_lists *pL, u32 inode, char *dest) in jffs2_1pass_read_inode() argument
693 for (b = pL->frag.listHead; b != NULL; b = b->next) { in jffs2_1pass_read_inode()
695 sizeof(struct jffs2_raw_inode), pL->readbuf); in jffs2_1pass_read_inode()
703 put_fl_mem(jNode, pL->readbuf); in jffs2_1pass_read_inode()
713 for (b = pL->frag.listHead; b != NULL; b = b->next) { in jffs2_1pass_read_inode()
720 pL->readbuf); in jffs2_1pass_read_inode()
748 put_fl_mem(jNode, pL->readbuf); in jffs2_1pass_read_inode()
750 get_node_mem(b->offset, pL->readbuf); in jffs2_1pass_read_inode()
755 put_fl_mem(jNode, pL->readbuf); in jffs2_1pass_read_inode()
762 put_fl_mem(jNode, pL->readbuf); in jffs2_1pass_read_inode()
797 put_fl_mem(jNode, pL->readbuf); in jffs2_1pass_read_inode()
808 put_fl_mem(jNode, pL->readbuf); in jffs2_1pass_read_inode()
819 jffs2_1pass_find_inode(struct b_lists * pL, const char *name, u32 pino) in jffs2_1pass_find_inode() argument
833 for(b = pL->dir.listHead; b; b = b->next, counter++) { in jffs2_1pass_find_inode()
835 pL->readbuf); in jffs2_1pass_find_inode()
839 put_fl_mem(jDir, pL->readbuf); in jffs2_1pass_find_inode()
861 put_fl_mem(jDir, pL->readbuf); in jffs2_1pass_find_inode()
917 static inline u32 dump_inode(struct b_lists * pL, struct jffs2_raw_dirent *d, struct jffs2_raw_inod… in dump_inode() argument
949 jffs2_1pass_list_inodes(struct b_lists * pL, u32 pino) in jffs2_1pass_list_inodes() argument
954 for (b = pL->dir.listHead; b; b = b->next) { in jffs2_1pass_list_inodes()
956 pL->readbuf); in jffs2_1pass_list_inodes()
988 put_fl_mem(jDir, pL->readbuf); in jffs2_1pass_list_inodes()
992 for (b2 = pL->frag.listHead; b2; b2 = b2->next) { 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()
1022 jffs2_1pass_search_inode(struct b_lists * pL, const char *fname, u32 pino) in jffs2_1pass_search_inode() argument
1059 if (!(pino = jffs2_1pass_find_inode(pL, working_tmp, pino))) { in jffs2_1pass_search_inode()
1067 if (!(pino = jffs2_1pass_find_inode(pL, tmp, pino))) { in jffs2_1pass_search_inode()
1078 jffs2_1pass_resolve_inode(struct b_lists * pL, u32 ino) in jffs2_1pass_resolve_inode() argument
1093 for(b = pL->dir.listHead; b; b = b->next) { in jffs2_1pass_resolve_inode()
1095 pL->readbuf); in jffs2_1pass_resolve_inode()
1098 put_fl_mem(jDir, pL->readbuf); in jffs2_1pass_resolve_inode()
1115 put_fl_mem(jDir, pL->readbuf); in jffs2_1pass_resolve_inode()
1122 b2 = pL->frag.listHead; in jffs2_1pass_resolve_inode()
1125 pL->readbuf); in jffs2_1pass_resolve_inode()
1137 put_fl_mem(jNode, pL->readbuf); in jffs2_1pass_resolve_inode()
1141 put_fl_mem(jNode, pL->readbuf); in jffs2_1pass_resolve_inode()
1150 return jffs2_1pass_search_inode(pL, tmp, pino); in jffs2_1pass_resolve_inode()
1154 jffs2_1pass_search_list_inodes(struct b_lists * pL, const char *fname, u32 pino) in jffs2_1pass_search_list_inodes() argument
1175 if (!(pino = jffs2_1pass_find_inode(pL, working_tmp, pino)) && in jffs2_1pass_search_list_inodes()
1184 if (tmp[0] && !(pino = jffs2_1pass_find_inode(pL, tmp, pino))) { in jffs2_1pass_search_list_inodes()
1191 if (!(pino = jffs2_1pass_list_inodes(pL, pino))) { in jffs2_1pass_search_list_inodes()
1207 struct b_lists *pL = (struct b_lists *)part->jffs2_priv; in jffs2_1pass_rescan_needed() local
1215 if (pL->frag.listCount == 0) { in jffs2_1pass_rescan_needed()
1221 b = pL->dir.listHead; in jffs2_1pass_rescan_needed()
1264 struct b_lists *pL) in jffs2_sum_process_sum_data() argument
1283 ret = insert_node(&pL->frag, in jffs2_sum_process_sum_data()
1300 ret = insert_node(&pL->dir, in jffs2_sum_process_sum_data()
1334 struct b_lists *pL) in jffs2_sum_scan_sumnode() argument
1381 ret = jffs2_sum_process_sum_data(part, offset, summary, pL); in jffs2_sum_scan_sumnode()
1398 dump_fragments(struct b_lists *pL) in dump_fragments() argument
1405 b = pL->frag.listHead; in dump_fragments()
1429 dump_dirents(struct b_lists *pL) in dump_dirents() argument
1435 b = pL->dir.listHead; in dump_dirents()
1438 pL->readbuf); in dump_dirents()
1454 put_fl_mem(jDir, pL->readbuf); in dump_dirents()
1472 struct b_lists *pL; in jffs2_1pass_build_lists() local
1491 pL = (struct b_lists *)part->jffs2_priv; in jffs2_1pass_build_lists()
1554 sumlen, pL); in jffs2_1pass_build_lists()
1697 if (insert_node(&pL->frag, (u32) part->offset + in jffs2_1pass_build_lists()
1732 if (insert_node(&pL->dir, (u32) part->offset + in jffs2_1pass_build_lists()
1783 sort_list(&pL->frag); in jffs2_1pass_build_lists()
1784 sort_list(&pL->dir); in jffs2_1pass_build_lists()
1792 pL->readbuf = malloc(max_totlen); in jffs2_1pass_build_lists()
1798 putLabeledWord("dir entries = ", pL->dir.listCount); in jffs2_1pass_build_lists()
1799 putLabeledWord("frag entries = ", pL->frag.listCount); in jffs2_1pass_build_lists()
1806 dump_dirents(pL); in jffs2_1pass_build_lists()
1810 dump_fragments(pL); in jffs2_1pass_build_lists()
1820 jffs2_1pass_fill_info(struct b_lists * pL, struct b_jffs2_info * piL) in jffs2_1pass_fill_info() argument
1833 b = pL->frag.listHead; in jffs2_1pass_fill_info()