Searched refs:nr_sections (Results 1 – 2 of 2) sorted by relevance
67 size_t nr_sections; in orc_dump() local94 if (elf_getshdrnum(elf, &nr_sections)) { in orc_dump()104 for (i = 0; i < nr_sections; i++) { in orc_dump()
2983 int nr_sections; in perf_header__adds_write() local2996 nr_sections = bitmap_weight(header->adds_features, HEADER_FEAT_BITS); in perf_header__adds_write()2997 if (!nr_sections) in perf_header__adds_write()3000 feat_sec = p = calloc(nr_sections, sizeof(*feat_sec)); in perf_header__adds_write()3004 sec_size = sizeof(*feat_sec) * nr_sections; in perf_header__adds_write()3146 int nr_sections; in perf_header__process_sections() local3151 nr_sections = bitmap_weight(header->adds_features, HEADER_FEAT_BITS); in perf_header__process_sections()3152 if (!nr_sections) in perf_header__process_sections()3155 feat_sec = sec = calloc(nr_sections, sizeof(*feat_sec)); in perf_header__process_sections()3159 sec_size = sizeof(*feat_sec) * nr_sections; in perf_header__process_sections()