Searched refs:phdrs (Results 1 – 4 of 4) sorted by relevance
/linux-4.19.296/fs/proc/ |
D | kcore.c | 367 struct elf_phdr *phdrs, *phdr; in read_kcore() local 369 phdrs = kzalloc(phdrs_len, GFP_KERNEL); in read_kcore() 370 if (!phdrs) { in read_kcore() 375 phdrs[0].p_type = PT_NOTE; in read_kcore() 376 phdrs[0].p_offset = notes_offset; in read_kcore() 377 phdrs[0].p_filesz = notes_len; in read_kcore() 379 phdr = &phdrs[1]; in read_kcore() 400 if (copy_to_user(buffer, (char *)phdrs + *fpos - phdrs_offset, in read_kcore() 402 kfree(phdrs); in read_kcore() 406 kfree(phdrs); in read_kcore()
|
/linux-4.19.296/fs/ |
D | binfmt_elf_fdpic.c | 156 params->phdrs = kmalloc(size, GFP_KERNEL); in elf_fdpic_fetch_phdrs() 157 if (!params->phdrs) in elf_fdpic_fetch_phdrs() 160 retval = kernel_read(file, params->phdrs, size, &pos); in elf_fdpic_fetch_phdrs() 165 phdr = params->phdrs; in elf_fdpic_fetch_phdrs() 233 phdr = exec_params.phdrs; in load_elf_fdpic_binary() 479 kfree(exec_params.phdrs); in load_elf_fdpic_binary() 481 kfree(interp_params.phdrs); in load_elf_fdpic_binary() 751 if (params->phdrs[loop].p_type == PT_LOAD) in elf_fdpic_map_file() 804 phdr = params->phdrs; in elf_fdpic_map_file() 830 phdr = params->phdrs; in elf_fdpic_map_file() [all …]
|
D | binfmt_elf.c | 1795 static int fill_note_info(struct elfhdr *elf, int phdrs, in fill_note_info() argument 1838 fill_elf_header(elf, phdrs, in fill_note_info() 2044 static int fill_note_info(struct elfhdr *elf, int phdrs, in fill_note_info() argument 2078 fill_elf_header(elf, phdrs, ELF_ARCH, ELF_CORE_EFLAGS); in fill_note_info()
|
/linux-4.19.296/include/linux/ |
D | elf-fdpic.h | 22 struct elf_phdr *phdrs; /* ref copy of PT_PHDR table */ member
|