• Home
  • Raw
  • Download

Lines Matching refs:decomp

46 	struct decomp *decomp, *decomp_last = session->decomp_last;  in perf_session__process_compressed_event()  local
53 mmap_len = sizeof(struct decomp) + decomp_len; in perf_session__process_compressed_event()
54 decomp = mmap(NULL, mmap_len, PROT_READ|PROT_WRITE, in perf_session__process_compressed_event()
56 if (decomp == MAP_FAILED) { in perf_session__process_compressed_event()
61 decomp->file_pos = file_offset; in perf_session__process_compressed_event()
62 decomp->mmap_len = mmap_len; in perf_session__process_compressed_event()
63 decomp->head = 0; in perf_session__process_compressed_event()
66 memcpy(decomp->data, &(decomp_last->data[decomp_last->head]), decomp_last_rem); in perf_session__process_compressed_event()
67 decomp->size = decomp_last_rem; in perf_session__process_compressed_event()
74 &(decomp->data[decomp_last_rem]), decomp_len - decomp_last_rem); in perf_session__process_compressed_event()
76 munmap(decomp, mmap_len); in perf_session__process_compressed_event()
81 decomp->size += decomp_size; in perf_session__process_compressed_event()
83 if (session->decomp == NULL) { in perf_session__process_compressed_event()
84 session->decomp = decomp; in perf_session__process_compressed_event()
85 session->decomp_last = decomp; in perf_session__process_compressed_event()
87 session->decomp_last->next = decomp; in perf_session__process_compressed_event()
88 session->decomp_last = decomp; in perf_session__process_compressed_event()
275 struct decomp *next, *decomp; in perf_session__release_decomp_events() local
277 next = session->decomp; in perf_session__release_decomp_events()
279 decomp = next; in perf_session__release_decomp_events()
280 if (decomp == NULL) in perf_session__release_decomp_events()
282 next = decomp->next; in perf_session__release_decomp_events()
283 mmap_len = decomp->mmap_len; in perf_session__release_decomp_events()
284 munmap(decomp, mmap_len); in perf_session__release_decomp_events()
2002 struct decomp *decomp = session->decomp_last; in __perf_session__process_decomp_events() local
2004 if (!decomp) in __perf_session__process_decomp_events()
2007 while (decomp->head < decomp->size && !session_done()) { in __perf_session__process_decomp_events()
2008 union perf_event *event = fetch_decomp_event(decomp->head, decomp->size, decomp->data, in __perf_session__process_decomp_events()
2019 decomp->file_pos + decomp->head, event->header.size, event->header.type); in __perf_session__process_decomp_events()
2026 decomp->head += size; in __perf_session__process_decomp_events()