/external/squashfs-tools/squashfs-tools/ |
D | squashfs_fs.h | 35 #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 …]
|
D | xattr.c | 322 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 …]
|
D | read_fs.c | 60 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 …]
|
D | read_xattrs.c | 202 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()
|
D | unsquash-4.c | 63 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()
|
D | mksquashfs.c | 500 while(cache_bytes >= SQUASHFS_METADATA_SIZE) { in get_inode() 502 ((SQUASHFS_METADATA_SIZE << 1)) + 2) { in get_inode() 504 (SQUASHFS_METADATA_SIZE << 1) + 2); in get_inode() 508 inode_size += (SQUASHFS_METADATA_SIZE << 1) + 2; in get_inode() 512 data_cache, SQUASHFS_METADATA_SIZE, in get_inode() 513 SQUASHFS_METADATA_SIZE, noI, 0); in get_inode() 517 total_inode_bytes += SQUASHFS_METADATA_SIZE + BLOCK_OFFSET; in get_inode() 518 memmove(data_cache, data_cache + SQUASHFS_METADATA_SIZE, in get_inode() 519 cache_bytes - SQUASHFS_METADATA_SIZE); in get_inode() 520 cache_bytes -= SQUASHFS_METADATA_SIZE; in get_inode() [all …]
|
D | squashfs_compat.h | 428 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)
|
D | unsquash-2.c | 89 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()
|
D | unsquash-3.c | 76 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()
|
D | unsquashfs.c | 669 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 …]
|
D | xz_wrapper.c | 402 SQUASHFS_METADATA_SIZE; in xz_init()
|
/external/squashfs-tools/kernel/fs/squashfs/ |
D | squashfs_fs.h | 33 #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 …]
|
D | super.c | 165 if (SQUASHFS_INODE_OFFSET(root_inode) > SQUASHFS_METADATA_SIZE) in squashfs_fill_super() 197 SQUASHFS_CACHED_BLKS, SQUASHFS_METADATA_SIZE); in squashfs_fill_super()
|
D | dir.c | 95 *next_offset = (length + *next_offset) % SQUASHFS_METADATA_SIZE; in get_dir_index_using_offset()
|
D | namei.c | 121 *next_offset = (length + *next_offset) % SQUASHFS_METADATA_SIZE; in get_dir_index_using_name()
|
/external/squashfs-tools/kernel/include/linux/ |
D | squashfs_fs.h | 33 #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-2.4/include/linux/ |
D | squashfs_fs.h | 50 #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/ |
D | squashfs2_0.c | 467 *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()
|
D | inode.c | 308 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()
|