Home
last modified time | relevance | path

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

/linux/lib/
H A Dbuildid.c210 __u32 phnum, phoff, i; in get_build_id_32() local
218 phoff = READ_ONCE(ehdr->e_phoff); in get_build_id_32()
225 if (phoff + phnum * sizeof(Elf32_Phdr) < phoff) in get_build_id_32()
229 phdr = freader_fetch(r, phoff + i * sizeof(Elf32_Phdr), sizeof(Elf32_Phdr)); in get_build_id_32()
247 __u64 phoff; in get_build_id_64() local
255 phoff = READ_ONCE(ehdr->e_phoff); in get_build_id_64()
262 if (phoff + phnum * sizeof(Elf64_Phdr) < phoff) in get_build_id_64()
266 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) {