Searched refs:zstd_data (Results 1 – 11 of 11) sorted by relevance
/linux-6.1.9/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 | mmap.h | 49 struct zstd_data zstd_data; member
|
D | session.h | 26 struct zstd_data *zstd_decomp; 47 struct zstd_data zstd_data; member
|
D | mmap.c | 234 zstd_fini(&map->zstd_data); in mmap__munmap() 300 if (zstd_init(&map->zstd_data, map->comp_level)) { in mmap__mmap()
|
D | session.c | 204 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/ |
D | builtin-buildid-list.c | 113 if (zstd_init(&(session->zstd_data), 0) < 0) in perf_session__list_build_ids()
|
D | builtin-record.c | 1508 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()
|
D | builtin-report.c | 1459 if (zstd_init(&(session->zstd_data), 0) < 0) in cmd_report() 1694 zstd_fini(&(session->zstd_data)); in cmd_report()
|
D | builtin-inject.c | 1265 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()
|
D | builtin-script.c | 4303 if (zstd_init(&(session->zstd_data), 0) < 0) in cmd_script() 4316 zstd_fini(&(session->zstd_data)); in cmd_script()
|