Searched refs:u64_count (Results 1 – 2 of 2) sorted by relevance
154 size_t u64_count = nr; in GetStackSizePos() local155 u64_count += (read_format_ & PERF_FORMAT_TOTAL_TIME_ENABLED) ? 1 : 0; in GetStackSizePos()156 u64_count += (read_format_ & PERF_FORMAT_TOTAL_TIME_RUNNING) ? 1 : 0; in GetStackSizePos()157 u64_count += (read_format_ & PERF_FORMAT_ID) ? nr : 0; in GetStackSizePos()158 pos += u64_count * sizeof(uint64_t); in GetStackSizePos()
42 #define CHECK_SIZE_U64(p, end, u64_count) \ argument44 if (UNLIKELY(((end) - (p)) / sizeof(uint64_t) < (u64_count))) { \507 uint64_t u64_count = (read_format & PERF_FORMAT_TOTAL_TIME_ENABLED) ? 1 : 0; in Parse() local508 u64_count += (read_format & PERF_FORMAT_TOTAL_TIME_RUNNING) ? 1 : 0; in Parse()509 if (__builtin_add_overflow(u64_count, nr, &u64_count)) { in Parse()513 if (__builtin_add_overflow(u64_count, nr, &u64_count)) { in Parse()517 CHECK_SIZE_U64(p, end, u64_count); in Parse()640 size_t u64_count = (read_format & PERF_FORMAT_GROUP) ? 1 : 0; in SampleRecord() local641 u64_count += (read_format & PERF_FORMAT_TOTAL_TIME_ENABLED) ? 1 : 0; in SampleRecord()642 u64_count += (read_format & PERF_FORMAT_TOTAL_TIME_RUNNING) ? 1 : 0; in SampleRecord()[all …]