Home
last modified time | relevance | path

Searched refs:SQUASHFS_METADATA_SIZE (Results 1 – 19 of 19) sorted by relevance

/external/squashfs-tools/squashfs-tools/
Dsquashfs_fs.h35 #define SQUASHFS_METADATA_SIZE 8192 macro
170 SQUASHFS_METADATA_SIZE)
173 SQUASHFS_METADATA_SIZE)
176 SQUASHFS_METADATA_SIZE - 1) / \
177 SQUASHFS_METADATA_SIZE)
186 SQUASHFS_METADATA_SIZE)
189 SQUASHFS_METADATA_SIZE)
192 SQUASHFS_METADATA_SIZE - 1) / \
193 SQUASHFS_METADATA_SIZE)
202 SQUASHFS_METADATA_SIZE)
[all …]
Dread_fs.c60 int outlen = expected ? expected : SQUASHFS_METADATA_SIZE; in read_block()
144 if(size - bytes < SQUASHFS_METADATA_SIZE) { in scan_inode_table()
146 += SQUASHFS_METADATA_SIZE); in scan_inode_table()
163 if(start != end && byte != SQUASHFS_METADATA_SIZE) in scan_inode_table()
499 char buffer[SQUASHFS_METADATA_SIZE] __attribute__ ((aligned)); in read_super()
639 directory_table = malloc((size + SQUASHFS_METADATA_SIZE * 2 - 1) & in squashfs_readdir()
640 ~(SQUASHFS_METADATA_SIZE - 1)); in squashfs_readdir()
645 int expected = (size - bytes) >= SQUASHFS_METADATA_SIZE ? in squashfs_readdir()
646 SQUASHFS_METADATA_SIZE : 0; in squashfs_readdir()
723 int expected = (i + 1) != indexes ? SQUASHFS_METADATA_SIZE : in read_id_table()
[all …]
Dxattr.c322 while(cache_bytes >= SQUASHFS_METADATA_SIZE) { in get_xattr_space()
324 ((SQUASHFS_METADATA_SIZE << 1)) + 2) { in get_xattr_space()
326 (SQUASHFS_METADATA_SIZE << 1) + 2); in get_xattr_space()
329 xattr_size += (SQUASHFS_METADATA_SIZE << 1) + 2; in get_xattr_space()
333 data_cache, SQUASHFS_METADATA_SIZE, in get_xattr_space()
334 SQUASHFS_METADATA_SIZE, noX, 0); in get_xattr_space()
338 memmove(data_cache, data_cache + SQUASHFS_METADATA_SIZE, in get_xattr_space()
339 cache_bytes - SQUASHFS_METADATA_SIZE); in get_xattr_space()
340 cache_bytes -= SQUASHFS_METADATA_SIZE; in get_xattr_space()
504 ((SQUASHFS_METADATA_SIZE << 1)) + 2) { in write_xattrs()
[all …]
Dread_xattrs.c202 int expected = (i + 1) != indexes ? SQUASHFS_METADATA_SIZE : in read_xattrs_from_disk()
203 bytes & (SQUASHFS_METADATA_SIZE - 1); in read_xattrs_from_disk()
206 (i * SQUASHFS_METADATA_SIZE)); in read_xattrs_from_disk()
228 xattrs = realloc(xattrs, (i + 1) * SQUASHFS_METADATA_SIZE); in read_xattrs_from_disk()
234 save_xattr_block(start, i * SQUASHFS_METADATA_SIZE); in read_xattrs_from_disk()
238 (i * SQUASHFS_METADATA_SIZE)); in read_xattrs_from_disk()
252 if(start != end && length != SQUASHFS_METADATA_SIZE) { in read_xattrs_from_disk()
254 "it is %d bytes\n", i, SQUASHFS_METADATA_SIZE, in read_xattrs_from_disk()
Dunsquash-4.c63 int expected = (i + 1) != indexes ? SQUASHFS_METADATA_SIZE : in read_fragment_table_4()
64 bytes & (SQUASHFS_METADATA_SIZE - 1); in read_fragment_table_4()
67 SQUASHFS_METADATA_SIZE)); in read_fragment_table_4()
378 int expected = (i + 1) != indexes ? SQUASHFS_METADATA_SIZE : in read_uids_guids_4()
379 bytes & (SQUASHFS_METADATA_SIZE - 1); in read_uids_guids_4()
381 ((char *) id_table) + i * SQUASHFS_METADATA_SIZE); in read_uids_guids_4()
Dmksquashfs.c499 while(cache_bytes >= SQUASHFS_METADATA_SIZE) { in get_inode()
501 ((SQUASHFS_METADATA_SIZE << 1)) + 2) { in get_inode()
503 (SQUASHFS_METADATA_SIZE << 1) + 2); in get_inode()
507 inode_size += (SQUASHFS_METADATA_SIZE << 1) + 2; in get_inode()
511 data_cache, SQUASHFS_METADATA_SIZE, in get_inode()
512 SQUASHFS_METADATA_SIZE, noI, 0); in get_inode()
516 total_inode_bytes += SQUASHFS_METADATA_SIZE + BLOCK_OFFSET; in get_inode()
517 memmove(data_cache, data_cache + SQUASHFS_METADATA_SIZE, in get_inode()
518 cache_bytes - SQUASHFS_METADATA_SIZE); in get_inode()
519 cache_bytes -= SQUASHFS_METADATA_SIZE; in get_inode()
[all …]
Dsquashfs_compat.h428 SQUASHFS_METADATA_SIZE)
431 SQUASHFS_METADATA_SIZE)
434 SQUASHFS_METADATA_SIZE - 1) / \
435 SQUASHFS_METADATA_SIZE)
785 SQUASHFS_METADATA_SIZE)
788 SQUASHFS_METADATA_SIZE)
791 SQUASHFS_METADATA_SIZE - 1) / \
792 SQUASHFS_METADATA_SIZE)
Dunsquash-2.c89 int expected = (i + 1) != indexes ? SQUASHFS_METADATA_SIZE : in read_fragment_table_2()
90 bytes & (SQUASHFS_METADATA_SIZE - 1); in read_fragment_table_2()
93 SQUASHFS_METADATA_SIZE)); in read_fragment_table_2()
Dunsquash-3.c76 int expected = (i + 1) != indexes ? SQUASHFS_METADATA_SIZE : in read_fragment_table_3()
77 bytes & (SQUASHFS_METADATA_SIZE - 1); in read_fragment_table_3()
80 SQUASHFS_METADATA_SIZE)); in read_fragment_table_3()
Dunsquashfs.c669 int outlen = expected ? expected : SQUASHFS_METADATA_SIZE; in read_block()
782 if(size - bytes < SQUASHFS_METADATA_SIZE) { in read_inode_table()
784 SQUASHFS_METADATA_SIZE); in read_inode_table()
807 if(start != end && res != SQUASHFS_METADATA_SIZE) { in read_inode_table()
810 SQUASHFS_METADATA_SIZE, res); in read_inode_table()
1192 if(size - bytes < SQUASHFS_METADATA_SIZE) { in read_directory_table()
1194 SQUASHFS_METADATA_SIZE); in read_directory_table()
1219 if(start != end && res != SQUASHFS_METADATA_SIZE) { in read_directory_table()
1222 "bytes\n", SQUASHFS_METADATA_SIZE, res); in read_directory_table()
1656 char buffer[SQUASHFS_METADATA_SIZE] __attribute__ ((aligned)); in squashfs_stat()
[all …]
Dxz_wrapper.c402 SQUASHFS_METADATA_SIZE; in xz_init()
/external/squashfs-tools/kernel/include/linux/
Dsquashfs_fs.h33 #define SQUASHFS_METADATA_SIZE 8192 macro
134 SQUASHFS_METADATA_SIZE)
137 SQUASHFS_METADATA_SIZE)
140 SQUASHFS_METADATA_SIZE - 1) / \
141 SQUASHFS_METADATA_SIZE)
150 SQUASHFS_METADATA_SIZE)
153 SQUASHFS_METADATA_SIZE)
156 SQUASHFS_METADATA_SIZE - 1) / \
157 SQUASHFS_METADATA_SIZE)
166 SQUASHFS_METADATA_SIZE)
[all …]
/external/squashfs-tools/kernel/fs/squashfs/
Dsquashfs_fs.h33 #define SQUASHFS_METADATA_SIZE 8192 macro
135 SQUASHFS_METADATA_SIZE)
138 SQUASHFS_METADATA_SIZE)
141 SQUASHFS_METADATA_SIZE - 1) / \
142 SQUASHFS_METADATA_SIZE)
151 SQUASHFS_METADATA_SIZE)
154 SQUASHFS_METADATA_SIZE)
157 SQUASHFS_METADATA_SIZE - 1) / \
158 SQUASHFS_METADATA_SIZE)
167 SQUASHFS_METADATA_SIZE)
[all …]
Dsuper.c165 if (SQUASHFS_INODE_OFFSET(root_inode) > SQUASHFS_METADATA_SIZE) in squashfs_fill_super()
197 SQUASHFS_CACHED_BLKS, SQUASHFS_METADATA_SIZE); in squashfs_fill_super()
Ddir.c95 *next_offset = (length + *next_offset) % SQUASHFS_METADATA_SIZE; in get_dir_index_using_offset()
Dnamei.c121 *next_offset = (length + *next_offset) % SQUASHFS_METADATA_SIZE; in get_dir_index_using_name()
/external/squashfs-tools/kernel-2.4/include/linux/
Dsquashfs_fs.h50 #define SQUASHFS_METADATA_SIZE 8192 macro
163 SQUASHFS_METADATA_SIZE)
166 SQUASHFS_METADATA_SIZE)
169 SQUASHFS_METADATA_SIZE - 1) / \
170 SQUASHFS_METADATA_SIZE)
186 #define SQUASHFS_META_INDEXES (SQUASHFS_METADATA_SIZE / sizeof(unsigned int))
868 SQUASHFS_METADATA_SIZE)
871 SQUASHFS_METADATA_SIZE)
874 SQUASHFS_METADATA_SIZE - 1) / \
875 SQUASHFS_METADATA_SIZE)
/external/squashfs-tools/kernel-2.4/fs/squashfs/
Dinode.c308 kmalloc(SQUASHFS_METADATA_SIZE, in squashfs_get_cached_block()
1029 msblk->read_size = (sblk->block_size < SQUASHFS_METADATA_SIZE) ? in squashfs_read_super()
1030 SQUASHFS_METADATA_SIZE : in squashfs_read_super()
1676 *next_offset = (length + *next_offset) % SQUASHFS_METADATA_SIZE; in get_dir_index_using_offset()
1728 *next_offset = (length + *next_offset) % SQUASHFS_METADATA_SIZE; in get_dir_index_using_name()
Dsquashfs2_0.c467 *next_offset = (length + *next_offset) % SQUASHFS_METADATA_SIZE; in get_dir_index_using_offset()
519 *next_offset = (length + *next_offset) % SQUASHFS_METADATA_SIZE; in get_dir_index_using_name()