Lines Matching refs:dest_len
106 unsigned long dest_len; in sqfs_frag_lookup() local
177 dest_len = SQFS_METADATA_BLOCK_SIZE; in sqfs_frag_lookup()
178 ret = sqfs_decompress(&ctxt, entries, &dest_len, metadata, in sqfs_frag_lookup()
694 unsigned long dest_len = 0; in sqfs_read_inode_table() local
740 dest_len = SQFS_METADATA_BLOCK_SIZE; in sqfs_read_inode_table()
742 dest_offset, &dest_len, in sqfs_read_inode_table()
750 dest_offset += dest_len; in sqfs_read_inode_table()
778 unsigned long dest_len = 0; in sqfs_read_directory_table() local
831 dest_len = SQFS_METADATA_BLOCK_SIZE; in sqfs_read_directory_table()
834 &dest_len, src_table, src_len); in sqfs_read_directory_table()
840 if (dest_len < SQFS_METADATA_BLOCK_SIZE) { in sqfs_read_directory_table()
841 dest_offset += dest_len; in sqfs_read_directory_table()
845 dest_offset += dest_len; in sqfs_read_directory_table()
1324 unsigned long dest_len; in sqfs_read() local
1484 dest_len = get_unaligned_le32(&sblk->block_size); in sqfs_read()
1485 ret = sqfs_decompress(&ctxt, datablock, &dest_len, in sqfs_read()
1490 if ((*actread + dest_len) > len) in sqfs_read()
1491 dest_len = len - *actread; in sqfs_read()
1492 memcpy(buf + *actread, datablock, dest_len); in sqfs_read()
1493 *actread += dest_len; in sqfs_read()
1535 dest_len = get_unaligned_le32(&sblk->block_size); in sqfs_read()
1536 fragment_block = malloc(dest_len); in sqfs_read()
1542 ret = sqfs_decompress(&ctxt, fragment_block, &dest_len, in sqfs_read()