Searched refs:bitmap_weight (Results 1 – 10 of 10) sorted by relevance
| /tools/include/linux/ |
| D | bitmap.h | 66 static inline unsigned int bitmap_weight(const unsigned long *src, unsigned int nbits) in bitmap_weight() function
|
| /tools/perf/util/ |
| D | mem2node.c | 59 max += bitmap_weight(n->set, n->size); in mem2node__init()
|
| D | pmus.c | 544 num_bits = bits ? bitmap_weight(bits, PERF_PMU_FORMAT_BITS) : 0; in build_format_string()
|
| D | cpumap.c | 97 weight += bitmap_weight(local_copy, 64); in cpu_map__from_mask()
|
| D | pmu.c | 1303 w = bitmap_weight(format, PERF_PMU_FORMAT_BITS); in pmu_format_max_value() 1435 bitmap_weight(format->bits, PERF_PMU_FORMAT_BITS) > 1) { in pmu_config_term()
|
| D | header.c | 2246 size = bsize * bitmap_weight(n->set, n->size); in memory_node__fprintf() 3627 nr_sections = bitmap_weight(header->adds_features, HEADER_FEAT_BITS); in perf_header__adds_write() 3856 nr_sections = bitmap_weight(header->adds_features, HEADER_FEAT_BITS); in perf_header__process_sections()
|
| /tools/perf/ |
| D | builtin-c2c.c | 1209 int num = bitmap_weight(set, c2c.cpus_cnt); in node_entry() 1304 scnprintf(buf, 10, "%d", bitmap_weight(c2c_he->cpuset, c2c.cpus_cnt)); in cpucnt_entry()
|
| D | builtin-kwork.c | 1596 int cpus_nr = bitmap_weight(stat->all_cpus_bitmap, MAX_NR_CPUS); in top_print_cpu_usage()
|
| D | builtin-record.c | 1083 thread_data->nr_mmaps = bitmap_weight(thread_data->mask->maps.bits, in record__thread_data_init_maps()
|
| D | builtin-sched.c | 1665 cpus_nr = bitmap_weight(sched->map.comp_cpus_mask, MAX_CPUS); in map_switch_event()
|