Home
last modified time | relevance | path

Searched refs:zstd_data (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.15/tools/perf/util/
Dcompress.h20 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()
Dzstd.c8 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()
Dsession.h41 struct zstd_data zstd_data; member
Dsession.c74 decomp_size = zstd_decompress_stream(&(session->zstd_data), src, src_size, in perf_session__process_compressed_event()
/Linux-v5.15/tools/perf/
Dbuiltin-buildid-list.c83 if (zstd_init(&(session->zstd_data), 0) < 0) in perf_session__list_build_ids()
Dbuiltin-inject.c1016 if (zstd_init(&(inject.session->zstd_data), 0) < 0) in cmd_inject()
1069 zstd_fini(&(inject.session->zstd_data)); in cmd_inject()
Dbuiltin-report.c1424 if (zstd_init(&(session->zstd_data), 0) < 0) in cmd_report()
1655 zstd_fini(&(session->zstd_data)); in cmd_report()
Dbuiltin-record.c1101 compressed = zstd_compress_stream_to_records(&session->zstd_data, dst, dst_size, src, src_size, in zstd_compress()
1664 if (zstd_init(&session->zstd_data, rec->opts.comp_level) < 0) { in __cmd_record()
2077 zstd_fini(&session->zstd_data); in __cmd_record()
Dbuiltin-script.c4158 if (zstd_init(&(session->zstd_data), 0) < 0) in cmd_script()
4171 zstd_fini(&(session->zstd_data)); in cmd_script()