Searched refs:shnum (Results 1 – 5 of 5) sorted by relevance
| /linux/scripts/ |
| H A D | tracepoint-update.c | 160 unsigned int shnum; in process_tracepoints() local 175 shnum = ehdr_shnum(ehdr); in process_tracepoints() 176 if (shnum == SHN_UNDEF) in process_tracepoints() 177 shnum = shdr_size(shdr_start); in process_tracepoints() 179 for (int i = 0; done && i < shnum; i++) { in process_tracepoints()
|
| H A D | sorttable.c | 377 unsigned int shnum; in fill_relocs() 385 shnum = ehdr_shnum(ehdr); in fill_relocs() 386 if (shnum == SHN_UNDEF) in fill_relocs() 387 shnum = shdr_size(shdr_start); in fill_relocs() 389 for (int i = 0; i < shnum; i++) { in fill_relocs() 434 unsigned int shnum; in replace_relocs() 440 shnum = ehdr_shnum(ehdr); in replace_relocs() 441 if (shnum == SHN_UNDEF) in replace_relocs() 442 shnum = shdr_size(shdr_start); in replace_relocs() 444 for (int i = 0; i < shnum; in replace_relocs() 364 unsigned int shnum; fill_relocs() local 421 unsigned int shnum; replace_relocs() local 616 unsigned int shnum; do_sort() local [all...] |
| H A D | elf-parse.h | 95 EHDR_HALF(shnum) in EHDR_HALF() 329 unsigned int shnum, shentsize;
|
| /linux/drivers/remoteproc/ |
| H A D | remoteproc_coredump.c | 356 int shnum; in rproc_coredump_using_sections() local 376 shnum = 2; in rproc_coredump_using_sections() 386 shnum++; in rproc_coredump_using_sections() 407 elf_hdr_set_e_shnum(class, ehdr, shnum); in rproc_coredump_using_sections()
|
| H A D | remoteproc_elf_loader.c | 51 u16 phnum, shnum, shstrndx; 94 shnum = elf_hdr_get_e_shnum(class, fw->data); 104 if (shnum) { 105 shend = size_add(size_mul(elf_shdr_get_size, shnum), shoff); 277 u16 shnum = elf_hdr_get_e_shnum(class, ehdr); 289 for (i = 0; i < shnum; i++, shdr += elf_shdr_get_size) { 258 u16 shnum = elf_hdr_get_e_shnum(class, ehdr); global() local
|