Searched refs:fragment_table (Results 1 - 3 of 3) sorted by relevance

/netgear-WNDR4500-V1.0.1.40_1.0.68/src/router/squashfs/
H A Dread_fs.c491 int read_fragment_table(int fd, squashfs_super_block *sBlk, squashfs_fragment_entry **fragment_table) argument
500 if((*fragment_table = (squashfs_fragment_entry *) malloc(sBlk->fragments * sizeof(squashfs_fragment_entry))) == NULL) {
514 int length = read_block(fd, fragment_table_index[i], NULL, ((unsigned char *) *fragment_table) + (i * SQUASHFS_METADATA_SIZE), sBlk);
521 SQUASHFS_SWAP_FRAGMENT_ENTRY((&sfragment), (&(*fragment_table)[i]));
522 memcpy((char *) &(*fragment_table)[i], (char *) &sfragment, sizeof(squashfs_fragment_entry));
578 void (push_directory_entry)(char *, squashfs_inode, int, int), squashfs_fragment_entry **fragment_table,
589 if(read_fragment_table(fd, sBlk, fragment_table) == 0)
570 read_filesystem(char *root_name, int fd, squashfs_super_block *sBlk, char **cinode_table, char **data_cache, char **cdirectory_table, char **directory_data_cache, unsigned int *last_directory_block, unsigned int *inode_dir_offset, unsigned int *inode_dir_file_size, unsigned int *root_inode_size, unsigned int *inode_dir_start_block, int *file_count, int *sym_count, int *dev_count, int *dir_count, int *fifo_count, int *sock_count, squashfs_uid *uids, unsigned short *uid_count, squashfs_uid *guids, unsigned short *guid_count, long long *uncompressed_file, unsigned int *uncompressed_inode, unsigned int *uncompressed_directory, unsigned int *inode_dir_inode_number, unsigned int *inode_dir_parent_inode, void (push_directory_entry)(char *, squashfs_inode, int, int), squashfs_fragment_entry **fragment_table, squashfs_inode **inode_lookup_table) argument
H A Dunsquashfs.c91 squashfs_fragment_entry *fragment_table; variable
341 if((fragment_table = (squashfs_fragment_entry *)
356 ((char *) fragment_table) + (i * SQUASHFS_METADATA_SIZE));
363 SQUASHFS_SWAP_FRAGMENT_ENTRY((&sfragment), (&fragment_table[i]));
364 memcpy((char *) &fragment_table[i], (char *) &sfragment, sizeof(squashfs_fragment_entry));
414 squashfs_fragment_entry *fragment_entry = &fragment_table[fragment];
H A Dmksquashfs.c190 struct squashfs_fragment_entry *fragment_table = NULL; variable in typeref:struct:squashfs_fragment_entry
325 squashfs_fragment_entry **fragment_table, squashfs_inode **inode_lookup_table);
1227 while(fragment_table[fragment->index].pending)
1230 disk_fragment = &fragment_table[fragment->index];
1278 if((fragment_table = (squashfs_fragment_entry *) realloc(fragment_table, (fragments + FRAG_SIZE) * sizeof(squashfs_fragment_entry))) == NULL) {
1285 fragment_table[fragments].pending = TRUE;
1296 fragment_table[block].pending = FALSE;
1383 TRACE("write_fragment_table: fragment %d, start_block %llx, size %d\n", i, fragment_table[i].start_block, fragment_table[
[all...]

Completed in 106 milliseconds