Home
last modified time | relevance | path

Searched refs:bitmap_weight (Results 1 – 10 of 10) sorted by relevance

/tools/include/linux/
Dbitmap.h66 static inline unsigned int bitmap_weight(const unsigned long *src, unsigned int nbits) in bitmap_weight() function
/tools/perf/util/
Dmem2node.c59 max += bitmap_weight(n->set, n->size); in mem2node__init()
Dpmus.c544 num_bits = bits ? bitmap_weight(bits, PERF_PMU_FORMAT_BITS) : 0; in build_format_string()
Dcpumap.c97 weight += bitmap_weight(local_copy, 64); in cpu_map__from_mask()
Dpmu.c1303 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()
Dheader.c2246 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/
Dbuiltin-c2c.c1209 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()
Dbuiltin-kwork.c1596 int cpus_nr = bitmap_weight(stat->all_cpus_bitmap, MAX_NR_CPUS); in top_print_cpu_usage()
Dbuiltin-record.c1083 thread_data->nr_mmaps = bitmap_weight(thread_data->mask->maps.bits, in record__thread_data_init_maps()
Dbuiltin-sched.c1665 cpus_nr = bitmap_weight(sched->map.comp_cpus_mask, MAX_CPUS); in map_switch_event()