Searched refs:zstd_data (Results 1 – 7 of 7) sorted by relevance
/tools/perf/util/ |
D | compress.h | 20 struct zstd_data { struct 29 int zstd_init(struct zstd_data *data, int level); argument 30 int zstd_fini(struct zstd_data *data); 32 size_t zstd_compress_stream_to_records(struct zstd_data *data, void *dst, size_t dst_size, 36 size_t zstd_decompress_stream(struct zstd_data *data, void *src, size_t src_size, 40 static inline int zstd_init(struct zstd_data *data __maybe_unused, int level __maybe_unused) in zstd_init() 45 static inline int zstd_fini(struct zstd_data *data __maybe_unused) in zstd_fini() 51 size_t zstd_compress_stream_to_records(struct zstd_data *data __maybe_unused, in zstd_compress_stream_to_records() 60 static inline size_t zstd_decompress_stream(struct zstd_data *data __maybe_unused, void *src __mayb… in zstd_decompress_stream()
|
D | zstd.c | 8 int zstd_init(struct zstd_data *data, int level) in zstd_init() 42 int zstd_fini(struct zstd_data *data) in zstd_fini() 57 size_t zstd_compress_stream_to_records(struct zstd_data *data, void *dst, size_t dst_size, in zstd_compress_stream_to_records() 92 size_t zstd_decompress_stream(struct zstd_data *data, void *src, size_t src_size, in zstd_decompress_stream()
|
D | session.h | 41 struct zstd_data zstd_data; member
|
D | session.c | 73 decomp_size = zstd_decompress_stream(&(session->zstd_data), src, src_size, in perf_session__process_compressed_event()
|
/tools/perf/ |
D | builtin-inject.c | 844 if (zstd_init(&(inject.session->zstd_data), 0) < 0) in cmd_inject() 877 zstd_fini(&(inject.session->zstd_data)); in cmd_inject()
|
D | builtin-report.c | 1288 if (zstd_init(&(session->zstd_data), 0) < 0) in cmd_report() 1491 zstd_fini(&(session->zstd_data)); in cmd_report()
|
D | builtin-record.c | 938 compressed = zstd_compress_stream_to_records(&session->zstd_data, dst, dst_size, src, src_size, in zstd_compress() 1378 if (zstd_init(&session->zstd_data, rec->opts.comp_level) < 0) { in __cmd_record() 1741 zstd_fini(&session->zstd_data); in __cmd_record()
|