Home
last modified time | relevance | path

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

/linux/lib/
H A Dbuildid.c218 __u32 phnum, phoff, i; in get_build_id_32() local
226 phoff = READ_ONCE(ehdr->e_phoff); in get_build_id_32()
233 if (phoff + phnum * sizeof(Elf32_Phdr) < phoff) in get_build_id_32()
237 phdr = freader_fetch(r, phoff + i * sizeof(Elf32_Phdr), sizeof(Elf32_Phdr)); in get_build_id_32()
255 __u64 phoff; in get_build_id_64() local
263 phoff = READ_ONCE(ehdr->e_phoff); in get_build_id_64()
270 if (phoff + phnum * sizeof(Elf64_Phdr) < phoff) in get_build_id_64()
274 phdr = freader_fetch(r, phoff + i * sizeof(Elf64_Phdr), sizeof(Elf64_Phdr)); in get_build_id_64()
/linux/drivers/remoteproc/
H A Dremoteproc_elf_loader.c48 u64 phoff, shoff; local
90 phoff = elf_hdr_get_e_phoff(class, fw->data);
105 if (phoff > fw->size) {