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

/netgear-WNDR4500-V1.0.1.40_1.0.68/src/router/squashfs/
H A Dread_fs.c68 int read_block(int fd, long long start, long long *next, unsigned char *block, squashfs_super_block *sBlk) argument
80 if(SQUASHFS_CHECK_DATA(sBlk->flags))
120 squashfs_super_block *sBlk,
140 if((byte = read_block(fd, start, &start, *inode_table + bytes, sBlk)) == 0) {
193 int frag_bytes = inode.fragment == SQUASHFS_INVALID_FRAG ? 0 : inode.file_size % sBlk->block_size;
195 + sBlk->block_size - 1) >> sBlk->block_log : inode.file_size >>
196 sBlk->block_log;
246 frag_bytes = inode.fragment == SQUASHFS_INVALID_FRAG ? 0 : inode.file_size % sBlk->block_size;
248 + sBlk
119 scan_inode_table(int fd, long long start, long long end, long long root_inode_start, int root_inode_offset, squashfs_super_block *sBlk, squashfs_inode_header *dir_inode, unsigned char **inode_table, unsigned int *root_inode_block, unsigned int *root_inode_size, long long *uncompressed_file, unsigned int *uncompressed_directory, int *file_count, int *sym_count, int *dev_count, int *dir_count, int *fifo_count, int *sock_count) argument
357 read_super(int fd, squashfs_super_block *sBlk, int *be, char *source) argument
429 squashfs_readdir(int fd, int root_entries, unsigned int directory_start_block, int offset, int size, unsigned int *last_directory_block, squashfs_super_block *sBlk, void (push_directory_entry)(char *, squashfs_inode, int, int)) argument
491 read_fragment_table(int fd, squashfs_super_block *sBlk, squashfs_fragment_entry **fragment_table) argument
530 read_inode_lookup_table(int fd, squashfs_super_block *sBlk, squashfs_inode **inode_lookup_table) argument
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
[all...]
H A Dunsquashfs.c83 squashfs_super_block sBlk; variable
174 if(SQUASHFS_CHECK_DATA(sBlk.flags))
310 if((uid_table = malloc((sBlk.no_uids + sBlk.no_guids) * sizeof(unsigned int))) == NULL)
313 guid_table = uid_table + sBlk.no_uids;
316 unsigned int suid_table[sBlk.no_uids + sBlk.no_guids];
318 if(read_bytes(sBlk.uid_start, (sBlk.no_uids + sBlk
[all...]
H A Dmksquashfs.c315 extern int read_super(int fd, squashfs_super_block *sBlk, int *be, char *source);
316 extern long long read_filesystem(char *root_name, int fd, squashfs_super_block *sBlk, char **cinode_table,
2805 squashfs_super_block sBlk; local
3066 if(read_super(fd, &sBlk, &orig_be, argv[source + 1]) == 0) {
3120 unsigned int root_inode_start = SQUASHFS_INODE_BLK(sBlk.root_inode), root_inode_offset =
3121 SQUASHFS_INODE_OFFSET(sBlk.root_inode);
3124 block_log = slog(block_size = sBlk.block_size);
3125 noI = SQUASHFS_UNCOMPRESSED_INODES(sBlk.flags);
3126 noD = SQUASHFS_UNCOMPRESSED_DATA(sBlk.flags);
3127 noF = SQUASHFS_UNCOMPRESSED_FRAGMENTS(sBlk
[all...]

Completed in 49 milliseconds