Home
last modified time | relevance | path

Searched refs:compressed_size (Results 1 – 23 of 23) sorted by relevance

/openbmc/u-boot/test/
H A Dcompression.c303 ulong compressed_size; member
321 buf->compressed_buf, buf->compressed_size, in run_test_internal()
322 &buf->compressed_size) == 0); in run_test_internal()
323 printf("\tcompressed_size:%lu\n", buf->compressed_size); in run_test_internal()
324 errcheck(buf->compressed_size > 0); in run_test_internal()
325 errcheck(buf->compressed_size < buf->orig_size); in run_test_internal()
326 errcheck(((char *)buf->compressed_buf)[buf->compressed_size - 1] != in run_test_internal()
328 errcheck(((char *)buf->compressed_buf)[buf->compressed_size] == 'A'); in run_test_internal()
331 errcheck(uncompress(uts, buf->compressed_buf, buf->compressed_size, in run_test_internal()
341 errcheck(uncompress(uts, buf->compressed_buf, buf->compressed_size, in run_test_internal()
[all …]
/openbmc/linux/tools/lib/bpf/
H A Dzip.c92 __u32 compressed_size; member
120 __u32 compressed_size; member
262 __u32 compressed_size; in get_entry_at_offset() local
283 compressed_size = lfh->compressed_size; in get_entry_at_offset()
284 data = check_access(archive, offset, compressed_size); in get_entry_at_offset()
292 out->data_length = compressed_size; in get_entry_at_offset()
/openbmc/linux/fs/ntfs3/lib/
H A Dxpress_decompress.c58 const void *compressed_data, size_t compressed_size, in xpress_decompress() argument
70 if (compressed_size < XPRESS_NUM_SYMBOLS / 2) in xpress_decompress()
87 compressed_size - XPRESS_NUM_SYMBOLS / 2); in xpress_decompress()
H A Dlib.h20 size_t compressed_size,
29 size_t compressed_size, void *__restrict uncompressed_data,
H A Dlzx_decompress.c591 const void *compressed_data, size_t compressed_size, in lzx_decompress() argument
602 init_input_bitstream(&is, compressed_data, compressed_size); in lzx_decompress()
/openbmc/linux/drivers/firmware/efi/libstub/
H A Dzboot.c67 unsigned long compressed_size = _gzdata_end - _gzdata_start; in efi_zboot_entry() local
130 ret = __decompress(_gzdata_start, compressed_size, NULL, NULL, in efi_zboot_entry()
/openbmc/linux/fs/btrfs/
H A Dlzo.c132 size_t compressed_size, in copy_compressed_data_to_page() argument
163 compressed_size); in copy_compressed_data_to_page()
169 while (*cur_out - orig_out < compressed_size) { in copy_compressed_data_to_page()
171 orig_out + compressed_size - *cur_out); in copy_compressed_data_to_page()
H A Dinode.c505 size_t size, size_t compressed_size, in insert_inline_extent() argument
520 ASSERT((compressed_size > 0 && compressed_pages) || in insert_inline_extent()
521 (compressed_size == 0 && !compressed_pages)); in insert_inline_extent()
523 if (compressed_size && compressed_pages) in insert_inline_extent()
524 cur_size = compressed_size; in insert_inline_extent()
553 while (compressed_size > 0) { in insert_inline_extent()
555 cur_size = min_t(unsigned long, compressed_size, in insert_inline_extent()
564 compressed_size -= cur_size; in insert_inline_extent()
613 size_t compressed_size, in cow_file_range_inline() argument
622 u64 data_len = (compressed_size ?: size); in cow_file_range_inline()
[all …]
/openbmc/linux/fs/pstore/
H A Dplatform.c206 size_t compressed_size; in allocate_buf_for_compression() local
227 compressed_size = (psinfo->bufsize * 100) / DMESG_COMP_PERCENT; in allocate_buf_for_compression()
228 buf = kvzalloc(compressed_size, GFP_KERNEL); in allocate_buf_for_compression()
245 max_compressed_size = compressed_size; in allocate_buf_for_compression()
/openbmc/qemu/block/
H A Ddmg.c120 uint32_t compressed_size = 0; in update_max_chunk_size() local
127 compressed_size = s->lengths[chunk]; in update_max_chunk_size()
141 if (compressed_size > *max_compressed_size) { in update_max_chunk_size()
142 *max_compressed_size = compressed_size; in update_max_chunk_size()
H A Dqcow.c360 int compressed_size, int n_start, int n_end, in get_cluster_offset() argument
511 (uint64_t)compressed_size << (63 - s->cluster_bits); in get_cluster_offset()
H A Dqcow2-cluster.c829 int compressed_size, uint64_t *host_offset) in qcow2_alloc_compressed_cluster_offset() argument
854 cluster_offset = qcow2_alloc_bytes(bs, compressed_size); in qcow2_alloc_compressed_cluster_offset()
861 (cluster_offset + compressed_size - 1) / QCOW2_COMPRESSED_SECTOR_SIZE - in qcow2_alloc_compressed_cluster_offset()
H A Dqcow2.h942 int compressed_size, uint64_t *host_offset);
/openbmc/linux/security/apparmor/
H A Dpolicy_unpack.c104 if (l->compressed_size != r->compressed_size) in aa_rawdata_eq()
108 return memcmp(l->data, r->data, r->compressed_size ?: r->size) == 0; in aa_rawdata_eq()
1372 AA_BUG(data->compressed_size > 0); in compress_loaddata()
1381 &data->compressed_size); in compress_loaddata()
1383 data->compressed_size = data->size; in compress_loaddata()
1389 data->compressed_size = data->size; in compress_loaddata()
H A Dapparmorfs.c1306 seq_printf(seq, "%zu\n", data->compressed_size); in seq_rawdata_compressed_size_show()
1314 SEQ_RAWDATA_FOPS(compressed_size);
1392 error = decompress_zstd(loaddata->data, loaddata->compressed_size, in rawdata_open()
/openbmc/linux/security/apparmor/include/
H A Dpolicy_unpack.h107 size_t compressed_size; /* the compressed size of the payload */ member
/openbmc/linux/include/trace/events/
H A Df2fs.h1901 unsigned int compressed_size, int ret),
1903 TP_ARGS(inode, cluster_idx, compressed_size, ret),
1917 __entry->size = compressed_size;
1948 unsigned int compressed_size, int ret),
1950 TP_ARGS(inode, cluster_idx, compressed_size, ret)
1956 unsigned int compressed_size, int ret),
1958 TP_ARGS(inode, cluster_idx, compressed_size, ret)
/openbmc/linux/fs/ntfs/
H A Dattrib.c1650 data.non_resident.compressed_size) + in ntfs_attr_make_non_resident()
1651 sizeof(a->data.non_resident.compressed_size) + in ntfs_attr_make_non_resident()
1655 data.non_resident.compressed_size) + 7) & ~7; in ntfs_attr_make_non_resident()
1709 a->data.non_resident.compressed_size = in ntfs_attr_make_non_resident()
2362 a->data.non_resident.compressed_size = in ntfs_attr_extend_allocation()
H A Dinode.c1101 compressed_size); in ntfs_read_locked_inode()
1378 a->data.non_resident.compressed_size); in ntfs_read_locked_attr_inode()
2769 a->data.non_resident.compressed_size = cpu_to_sle64( in ntfs_truncate()
H A Dlayout.h766 /* 64*/ sle64 compressed_size; /* Byte size of the attribute member
H A Dfile.c1137 a->data.non_resident.compressed_size = in ntfs_prepare_pages_for_non_resident_write()
/openbmc/linux/fs/ntfs3/
H A Dntfs_fs.h887 void *compressed, size_t compressed_size,
889 ssize_t decompress_lznt(const void *compressed, size_t compressed_size,
/openbmc/linux/fs/smb/client/
H A Dcifspdu.h2393 __le64 compressed_size; member