Lines Matching defs:sizeof
57 mmap_len = sizeof(struct decomp) + decomp_len;
75 src = (void *)event + sizeof(struct perf_record_compressed);
76 src_size = event->pack.header.size - sizeof(struct perf_record_compressed);
198 struct perf_session *session = zalloc(sizeof(*session));
380 ret = read(fd, buf, min(n, (off_t)sizeof(buf)));
567 BUG_ON(size % sizeof(u64));
575 mem_bswap_64(hdr + 1, event->header.size - sizeof(*hdr));
586 data += PERF_ALIGN(strlen(data) + 1, sizeof(u64));
603 data += PERF_ALIGN(strlen(data) + 1, sizeof(u64));
627 data += PERF_ALIGN(strlen(data) + 1, sizeof(u64));
696 size_t len = sizeof(event->text_poke.old_len) +
697 sizeof(event->text_poke.new_len) +
702 data += PERF_ALIGN(len, sizeof(u64));
745 data += PERF_ALIGN(strlen(data) + 1, sizeof(u64));
790 sizeof(attr->f) * (n)))
821 sizeof(u64));
958 size = bswap_64(event->stat_config.nr) * sizeof(event->stat_config.data[0]);
1203 for_each_set_bit(rid, (unsigned long *) &mask, sizeof(mask) * 8) {
1779 hdr_sz = sizeof(struct perf_event_header);
2048 cur_size = sizeof(union perf_event);
2057 sizeof(struct perf_event_header));
2070 if (size < sizeof(struct perf_event_header)) {
2086 p += sizeof(struct perf_event_header);
2088 if (size - sizeof(struct perf_event_header)) {
2090 size - sizeof(struct perf_event_header));
2149 if (head + sizeof(event->header) > mmap_size)
2207 if (size < sizeof(struct perf_event_header) ||
2279 memset(mmaps, 0, sizeof(rd->mmaps));
2364 if (size < sizeof(struct perf_event_header) ||
2518 rd = zalloc(nr_readers * sizeof(struct reader));
2649 ref = zalloc(sizeof(struct ref_reloc_sym));
2815 size_t sz = ie->header.size - sizeof(*ie);
2817 size_t e1_sz = sizeof(struct id_index_entry);
2818 size_t e2_sz = sizeof(struct id_index_entry_2);
2836 e2 = (void *)ie + sizeof(*ie) + nr * e1_sz;