Home
last modified time | relevance | path

Searched refs:phdrs (Results 1 – 3 of 3) sorted by relevance

/fs/proc/
Dkcore.c368 struct elf_phdr *phdrs, *phdr; in read_kcore() local
370 phdrs = kzalloc(phdrs_len, GFP_KERNEL); in read_kcore()
371 if (!phdrs) { in read_kcore()
376 phdrs[0].p_type = PT_NOTE; in read_kcore()
377 phdrs[0].p_offset = notes_offset; in read_kcore()
378 phdrs[0].p_filesz = notes_len; in read_kcore()
380 phdr = &phdrs[1]; in read_kcore()
401 if (copy_to_user(buffer, (char *)phdrs + *fpos - phdrs_offset, in read_kcore()
403 kfree(phdrs); in read_kcore()
407 kfree(phdrs); in read_kcore()
/fs/
Dbinfmt_elf_fdpic.c152 params->phdrs = kmalloc(size, GFP_KERNEL); in elf_fdpic_fetch_phdrs()
153 if (!params->phdrs) in elf_fdpic_fetch_phdrs()
156 retval = kernel_read(file, params->phdrs, size, &pos); in elf_fdpic_fetch_phdrs()
161 phdr = params->phdrs; in elf_fdpic_fetch_phdrs()
229 phdr = exec_params.phdrs; in load_elf_fdpic_binary()
475 kfree(exec_params.phdrs); in load_elf_fdpic_binary()
477 kfree(interp_params.phdrs); in load_elf_fdpic_binary()
747 if (params->phdrs[loop].p_type == PT_LOAD) in elf_fdpic_map_file()
800 phdr = params->phdrs; in elf_fdpic_map_file()
826 phdr = params->phdrs; in elf_fdpic_map_file()
[all …]
Dbinfmt_elf.c1760 static int fill_note_info(struct elfhdr *elf, int phdrs, in fill_note_info() argument
1803 fill_elf_header(elf, phdrs, in fill_note_info()
2009 static int fill_note_info(struct elfhdr *elf, int phdrs, in fill_note_info() argument
2041 fill_elf_header(elf, phdrs, ELF_ARCH, ELF_CORE_EFLAGS); in fill_note_info()