Home
last modified time | relevance | path

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

/Linux-v4.19/tools/objtool/
Dorc_dump.c79 size_t nr_sections; in orc_dump() local
106 if (elf_getshdrnum(elf, &nr_sections)) { in orc_dump()
116 for (i = 0; i < nr_sections; i++) { in orc_dump()
/Linux-v4.19/tools/perf/util/
Dheader.c2705 int nr_sections; in perf_header__adds_write() local
2718 nr_sections = bitmap_weight(header->adds_features, HEADER_FEAT_BITS); in perf_header__adds_write()
2719 if (!nr_sections) in perf_header__adds_write()
2722 feat_sec = p = calloc(nr_sections, sizeof(*feat_sec)); in perf_header__adds_write()
2726 sec_size = sizeof(*feat_sec) * nr_sections; in perf_header__adds_write()
2868 int nr_sections; in perf_header__process_sections() local
2873 nr_sections = bitmap_weight(header->adds_features, HEADER_FEAT_BITS); in perf_header__process_sections()
2874 if (!nr_sections) in perf_header__process_sections()
2877 feat_sec = sec = calloc(nr_sections, sizeof(*feat_sec)); in perf_header__process_sections()
2881 sec_size = sizeof(*feat_sec) * nr_sections; in perf_header__process_sections()
/Linux-v4.19/arch/x86/boot/
Dheader.S109 .word 4 # nr_sections