Home
last modified time | relevance | path

Searched refs:nr_sections (Results 1 – 2 of 2) sorted by relevance

/linux-4.1.27/tools/perf/util/
Dheader.c1942 int nr_sections; in perf_header__adds_write() local
1949 nr_sections = bitmap_weight(header->adds_features, HEADER_FEAT_BITS); in perf_header__adds_write()
1950 if (!nr_sections) in perf_header__adds_write()
1953 feat_sec = p = calloc(nr_sections, sizeof(*feat_sec)); in perf_header__adds_write()
1957 sec_size = sizeof(*feat_sec) * nr_sections; in perf_header__adds_write()
2094 int nr_sections; in perf_header__process_sections() local
2099 nr_sections = bitmap_weight(header->adds_features, HEADER_FEAT_BITS); in perf_header__process_sections()
2100 if (!nr_sections) in perf_header__process_sections()
2103 feat_sec = sec = calloc(nr_sections, sizeof(*feat_sec)); in perf_header__process_sections()
2107 sec_size = sizeof(*feat_sec) * nr_sections; in perf_header__process_sections()
/linux-4.1.27/arch/x86/boot/
Dheader.S110 .word 4 # nr_sections