Searched refs:phdrs (Results 1 – 3 of 3) sorted by relevance
/fs/proc/ |
D | kcore.c | 372 struct elf_phdr *phdrs, *phdr; in read_kcore() local 374 phdrs = kzalloc(phdrs_len, GFP_KERNEL); in read_kcore() 375 if (!phdrs) { in read_kcore() 380 phdrs[0].p_type = PT_NOTE; in read_kcore() 381 phdrs[0].p_offset = notes_offset; in read_kcore() 382 phdrs[0].p_filesz = notes_len; in read_kcore() 384 phdr = &phdrs[1]; in read_kcore() 402 if (copy_to_user(buffer, (char *)phdrs + *fpos - phdrs_offset, in read_kcore() 404 kfree(phdrs); in read_kcore() 408 kfree(phdrs); in read_kcore()
|
/fs/ |
D | binfmt_elf_fdpic.c | 152 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() 474 kfree(exec_params.phdrs); in load_elf_fdpic_binary() 476 kfree(interp_params.phdrs); in load_elf_fdpic_binary() 756 if (params->phdrs[loop].p_type == PT_LOAD) in elf_fdpic_map_file() 809 phdr = params->phdrs; in elf_fdpic_map_file() 835 phdr = params->phdrs; in elf_fdpic_map_file() [all …]
|
D | binfmt_elf.c | 1828 static int fill_note_info(struct elfhdr *elf, int phdrs, in fill_note_info() argument 1871 fill_elf_header(elf, phdrs, in fill_note_info() 2057 static int fill_note_info(struct elfhdr *elf, int phdrs, in fill_note_info() argument 2089 fill_elf_header(elf, phdrs, ELF_ARCH, ELF_CORE_EFLAGS); in fill_note_info()
|