Home
last modified time | relevance | path

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

/linux-6.1.9/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()
Dmmap.h49 struct zstd_data zstd_data; member
Dsession.h26 struct zstd_data *zstd_decomp;
47 struct zstd_data zstd_data; member
Dmmap.c234 zstd_fini(&map->zstd_data); in mmap__munmap()
300 if (zstd_init(&map->zstd_data, map->comp_level)) { in mmap__mmap()
Dsession.c204 session->decomp_data.zstd_decomp = &session->zstd_data; in __perf_session__new()
2255 struct zstd_data zstd_data; member
2277 if (zstd_init(&rd->zstd_data, 0)) in reader__init()
2279 rd->decomp_data.zstd_decomp = &rd->zstd_data; in reader__init()
2288 zstd_fini(&rd->zstd_data); in reader__release_decomp()
/linux-6.1.9/tools/perf/
Dbuiltin-buildid-list.c113 if (zstd_init(&(session->zstd_data), 0) < 0) in perf_session__list_build_ids()
Dbuiltin-record.c1508 struct zstd_data *zstd_data = &session->zstd_data; in zstd_compress() local
1511 zstd_data = &map->zstd_data; in zstd_compress()
1513 compressed = zstd_compress_stream_to_records(zstd_data, dst, dst_size, src, src_size, in zstd_compress()
2388 if (zstd_init(&session->zstd_data, rec->opts.comp_level) < 0) { in __cmd_record()
2849 zstd_fini(&session->zstd_data); in __cmd_record()
Dbuiltin-report.c1459 if (zstd_init(&(session->zstd_data), 0) < 0) in cmd_report()
1694 zstd_fini(&(session->zstd_data)); in cmd_report()
Dbuiltin-inject.c1265 if (zstd_init(&gs->session->zstd_data, 0) < 0) in guest_session__start()
2307 if (zstd_init(&(inject.session->zstd_data), 0) < 0) in cmd_inject()
2377 zstd_fini(&(inject.session->zstd_data)); in cmd_inject()
Dbuiltin-script.c4303 if (zstd_init(&(session->zstd_data), 0) < 0) in cmd_script()
4316 zstd_fini(&(session->zstd_data)); in cmd_script()