Lines Matching refs:root_entry
151 static unsigned int parse_directory(struct entry *root_entry, const char *name, struct entry **prev, loff_t *fslen_ub)
252 entry->size = parse_directory(root_entry, path, &entry->child, fslen_ub);
616 struct entry *root_entry;
686 root_entry = calloc(1, sizeof(struct entry));
687 if (!root_entry) {
691 root_entry->mode = st.st_mode;
693 root_entry->uid = st.st_uid;
695 root_entry->uid = opt_uid;
697 root_entry->gid = st.st_gid;
699 root_entry->gid = opt_gid;
701 root_entry->size = parse_directory(root_entry, dirname, &root_entry->child, &fslen_ub);
717 eliminate_doubles(root_entry,root_entry);
748 offset = write_directory_structure(root_entry->child, rom_image, offset);
751 offset = write_data(root_entry, rom_image, offset);
759 write_superblock(root_entry, rom_image+opt_pad, offset);