Home
last modified time | relevance | path

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

/linux/tools/perf/util/
A 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()
A 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()
A Dsession.h26 struct zstd_data *zstd_decomp;
47 struct zstd_data zstd_data; member
A Dsession.c199 session->decomp_data.zstd_decomp = &session->zstd_data; in __perf_session__new()
2187 struct zstd_data zstd_data; member
2209 if (zstd_init(&rd->zstd_data, 0)) in reader__init()
2211 rd->decomp_data.zstd_decomp = &rd->zstd_data; in reader__init()
2220 zstd_fini(&rd->zstd_data); in reader__release_decomp()
/linux/tools/perf/
A Dbuiltin-buildid-list.c83 if (zstd_init(&(session->zstd_data), 0) < 0) in perf_session__list_build_ids()
A Dbuiltin-inject.c1029 if (zstd_init(&(inject.session->zstd_data), 0) < 0) in cmd_inject()
1082 zstd_fini(&(inject.session->zstd_data)); in cmd_inject()
A Dbuiltin-report.c1418 if (zstd_init(&(session->zstd_data), 0) < 0) in cmd_report()
1649 zstd_fini(&(session->zstd_data)); in cmd_report()
A Dbuiltin-record.c1101 compressed = zstd_compress_stream_to_records(&session->zstd_data, dst, dst_size, src, src_size, in zstd_compress()
1673 if (zstd_init(&session->zstd_data, rec->opts.comp_level) < 0) { in __cmd_record()
2086 zstd_fini(&session->zstd_data); in __cmd_record()
A Dbuiltin-script.c4171 if (zstd_init(&(session->zstd_data), 0) < 0) in cmd_script()
4184 zstd_fini(&(session->zstd_data)); in cmd_script()

Completed in 30 milliseconds