Searched refs:attr_size (Results 1 – 6 of 6) sorted by relevance
/system/extras/iotop/ |
D | taskstats.cpp | 64 static pid_t ParseAggregateTaskStats(nlattr* attr, int attr_size, taskstats* stats) { in ParseAggregateTaskStats() argument 66 nla_for_each_attr(attr, attr, attr_size, attr_size) { in ParseAggregateTaskStats()
|
/system/extras/simpleperf/ |
D | record_file_format.h | 139 uint64_t attr_size; member
|
D | record_file_reader.cpp | 131 if (header_.attr_size == 0 || !CheckSectionDesc(header_.attrs, sizeof(header_)) || in ReadHeader() 153 size_t attr_count = header_.attrs.size / header_.attr_size; in ReadAttrSection() 154 if (header_.attr_size != sizeof(FileAttr)) { in ReadAttrSection() 155 if (header_.attr_size <= sizeof(SectionDesc)) { in ReadAttrSection() 159 LOG(DEBUG) << "attr size (" << header_.attr_size << ") in " << filename_ in ReadAttrSection() 172 size_t attr_size_in_file = header_.attr_size - sizeof(SectionDesc); in ReadAttrSection() 174 std::vector<char> buf(header_.attr_size); in ReadAttrSection()
|
D | record_file_writer.cpp | 488 header.attr_size = sizeof(FileAttr); in WriteFileHeader()
|
D | cmd_dumprecord.cpp | 301 printf("attr_size: %" PRId64 "\n", header.attr_size); in DumpFileHeader()
|
/system/extras/taskstats/ |
D | taskstats.c | 51 void parse_aggregate_task_stats(struct nlattr* attr, int attr_size, in parse_aggregate_task_stats() argument 53 nla_for_each_attr(attr, attr, attr_size, attr_size) { in parse_aggregate_task_stats()
|