Lines Matching refs:SQUASHFS_METADATA_SIZE
452 while(cache_bytes >= SQUASHFS_METADATA_SIZE) { in get_inode()
454 ((SQUASHFS_METADATA_SIZE << 1)) + 2) { in get_inode()
456 (SQUASHFS_METADATA_SIZE << 1) + 2); in get_inode()
460 inode_size += (SQUASHFS_METADATA_SIZE << 1) + 2; in get_inode()
464 data_cache, SQUASHFS_METADATA_SIZE, in get_inode()
465 SQUASHFS_METADATA_SIZE, noI, 0); in get_inode()
469 total_inode_bytes += SQUASHFS_METADATA_SIZE + BLOCK_OFFSET; in get_inode()
470 memmove(data_cache, data_cache + SQUASHFS_METADATA_SIZE, in get_inode()
471 cache_bytes - SQUASHFS_METADATA_SIZE); in get_inode()
472 cache_bytes -= SQUASHFS_METADATA_SIZE; in get_inode()
478 ((req_size + SQUASHFS_METADATA_SIZE) & in get_inode()
479 ~(SQUASHFS_METADATA_SIZE - 1)) : req_size - in get_inode()
595 ((SQUASHFS_METADATA_SIZE << 1) + 2)) { in write_inodes()
597 ((SQUASHFS_METADATA_SIZE << 1) + 2)); in write_inodes()
600 inode_size += (SQUASHFS_METADATA_SIZE << 1) + 2; in write_inodes()
603 avail_bytes = cache_bytes > SQUASHFS_METADATA_SIZE ? in write_inodes()
604 SQUASHFS_METADATA_SIZE : cache_bytes; in write_inodes()
606 avail_bytes, SQUASHFS_METADATA_SIZE, noI, 0); in write_inodes()
631 ((SQUASHFS_METADATA_SIZE << 1) + 2)) { in write_directories()
633 directory_size + ((SQUASHFS_METADATA_SIZE << 1) in write_directories()
637 directory_size += (SQUASHFS_METADATA_SIZE << 1) + 2; in write_directories()
640 avail_bytes = directory_cache_bytes > SQUASHFS_METADATA_SIZE ? in write_directories()
641 SQUASHFS_METADATA_SIZE : directory_cache_bytes; in write_directories()
644 SQUASHFS_METADATA_SIZE, noI, 0); in write_directories()
1126 buff = realloc(dir->buff, dir->size += SQUASHFS_METADATA_SIZE); in add_dir()
1141 dir->index_count_p) > SQUASHFS_METADATA_SIZE)) || in add_dir()
1150 SQUASHFS_METADATA_SIZE) { in add_dir()
1204 ((dir_size + SQUASHFS_METADATA_SIZE) & in write_dir()
1205 ~(SQUASHFS_METADATA_SIZE - 1)) : dir_size - data_space; in write_dir()
1229 index = SQUASHFS_METADATA_SIZE - directory_offset; in write_dir()
1236 index += SQUASHFS_METADATA_SIZE; in write_dir()
1238 if(directory_cache_bytes < SQUASHFS_METADATA_SIZE) in write_dir()
1242 ((SQUASHFS_METADATA_SIZE << 1) + 2)) { in write_dir()
1244 directory_size + (SQUASHFS_METADATA_SIZE << 1) in write_dir()
1248 directory_size += SQUASHFS_METADATA_SIZE << 1; in write_dir()
1254 SQUASHFS_METADATA_SIZE, SQUASHFS_METADATA_SIZE, in write_dir()
1262 total_directory_bytes += SQUASHFS_METADATA_SIZE + BLOCK_OFFSET; in write_dir()
1264 SQUASHFS_METADATA_SIZE, directory_cache_bytes - in write_dir()
1265 SQUASHFS_METADATA_SIZE); in write_dir()
1266 directory_cache_bytes -= SQUASHFS_METADATA_SIZE; in write_dir()
1610 int meta_blocks = (length + SQUASHFS_METADATA_SIZE - 1) / in generic_write_table()
1611 SQUASHFS_METADATA_SIZE; in generic_write_table()
1615 char cbuffer[(SQUASHFS_METADATA_SIZE << 2) + 2]; in generic_write_table()
1627 int avail_bytes = length > SQUASHFS_METADATA_SIZE ? in generic_write_table()
1628 SQUASHFS_METADATA_SIZE : length; in generic_write_table()
1630 SQUASHFS_METADATA_SIZE , avail_bytes, in generic_write_table()
1631 SQUASHFS_METADATA_SIZE, uncompressed, 0); in generic_write_table()
3896 if((dir->count < 257 && byte_count < SQUASHFS_METADATA_SIZE)) in dir_scan6()
3907 dir->buff = malloc(SQUASHFS_METADATA_SIZE); in scan7_init_dir()
3911 dir->size = SQUASHFS_METADATA_SIZE; in scan7_init_dir()
5908 res = compressor_init(comp, &stream, SQUASHFS_METADATA_SIZE, 0); in main()
5984 ~(SQUASHFS_METADATA_SIZE - 1); in main()
5986 (SQUASHFS_METADATA_SIZE - 1); in main()