Home
last modified time | relevance | path

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

/linux-6.12.1/tools/objtool/include/objtool/
Delf.h195 static inline unsigned int sec_num_entries(struct section *sec) in sec_num_entries() function
315 __i < sec_num_entries(rsec); \
320 __i < sec_num_entries(rsec); \
/linux-6.12.1/tools/objtool/
Delf.c375 elf->num_relocs += sec_num_entries(sec); in read_sections()
448 symbols_nr = sec_num_entries(symtab); in read_symbols()
740 new_idx = sec_num_entries(symtab); in __elf_create_symbol()
855 if (reloc_idx >= sec_num_entries(rsec)) { in elf_init_reloc()
857 __func__, reloc_idx, rsec->name, sec_num_entries(rsec)); in elf_init_reloc()
959 rsec->relocs = calloc(sec_num_entries(rsec), sizeof(*reloc)); in read_relocs()
964 for (i = 0; i < sec_num_entries(rsec); i++) { in read_relocs()
1195 rsec->relocs = calloc(sec_num_entries(rsec), sizeof(struct reloc)); in elf_create_rela_section()