Lines Matching refs:u64_count
42 #define CHECK_SIZE_U64(p, end, u64_count) \ argument
44 if (UNLIKELY(((end) - (p)) / sizeof(uint64_t) < (u64_count))) { \
506 uint64_t u64_count = (read_format & PERF_FORMAT_TOTAL_TIME_ENABLED) ? 1 : 0; in Parse() local
507 u64_count += (read_format & PERF_FORMAT_TOTAL_TIME_RUNNING) ? 1 : 0; in Parse()
508 if (__builtin_add_overflow(u64_count, nr, &u64_count)) { in Parse()
512 if (__builtin_add_overflow(u64_count, nr, &u64_count)) { in Parse()
516 CHECK_SIZE_U64(p, end, u64_count); in Parse()
639 size_t u64_count = (read_format & PERF_FORMAT_GROUP) ? 1 : 0; in SampleRecord() local
640 u64_count += (read_format & PERF_FORMAT_TOTAL_TIME_ENABLED) ? 1 : 0; in SampleRecord()
641 u64_count += (read_format & PERF_FORMAT_TOTAL_TIME_RUNNING) ? 1 : 0; in SampleRecord()
642 u64_count += read_data.counts.size() + read_data.ids.size(); in SampleRecord()
643 size += sizeof(uint64_t) * u64_count; in SampleRecord()