Home
last modified time | relevance | path

Searched refs:sh_offset (Results 1 – 6 of 6) sorted by relevance

/drivers/gpu/drm/nouveau/nvkm/subdev/gsp/
A Dgh100.c222 if (shdr[i].sh_offset < section_begin || in elf_validate_sections()
223 (u64)shdr[i].sh_offset + shdr[i].sh_size > length) in elf_validate_sections()
229 u32 crc32 = crc32_le(~0, elf + shdr[i].sh_offset, shdr[i].sh_size) ^ ~0; in elf_validate_sections()
250 const char *names = elf + shdr[ehdr->e_shstrndx].sh_offset; in elf_section()
255 return elf + shdr[i].sh_offset; in elf_section()
/drivers/remoteproc/
A Dremoteproc_elf_loader.c334 u64 sh_offset; local
340 sh_offset = elf_shdr_get_sh_offset(class, shdr);
341 table = (struct resource_table *)(elf_data + sh_offset);
A Dpru_rproc.c885 name_table = elf_data + name_table_shdr->sh_offset; in pru_rproc_find_interrupt_map()
889 u32 offset = shdr->sh_offset; in pru_rproc_find_interrupt_map()
932 u64 sh_offset; in pru_rproc_parse_fw() local
951 sh_offset = elf_shdr_get_sh_offset(class, shdr); in pru_rproc_parse_fw()
952 pru->pru_interrupt_map = (struct pru_irq_rsc *)(elf_data + sh_offset); in pru_rproc_parse_fw()
A Dremoteproc_elf_helpers.h83 ELF_GEN_FIELD_GET_SET(shdr, sh_offset, u64) in ELF_GEN_FIELD_GET_SET()
A Dmtk_scp.c367 strtab = (const char *)(elf_data + shdr_strtab->sh_offset); in scp_elf_read_ipi_buf_addr()
/drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/
A Dgsp.c1844 const char *names = &img[shdr[ehdr->e_shstrndx].sh_offset]; in r535_gsp_elf_section()
1848 *pdata = &img[shdr->sh_offset]; in r535_gsp_elf_section()

Completed in 647 milliseconds