Home
last modified time | relevance | path

Searched refs:p_flags (Results 1 – 25 of 30) sorted by relevance

12

/kernel/linux/common_modules/xpm/validator/
Delf_code_segment_info.c81 uint32_t p_flags; in get_elf32_code_segment_count() local
85 p_flags = elf32_get_value(&elf_info->elf_ehdr, phdr_info->p_flags); in get_elf32_code_segment_count()
86 if (!(p_flags & PF_X)) in get_elf32_code_segment_count()
99 uint32_t p_flags; in get_elf32_code_segment() local
107 p_flags = elf32_get_value(&elf_info->elf_ehdr, phdr_info->p_flags); in get_elf32_code_segment()
108 if (!(p_flags & PF_X)) in get_elf32_code_segment()
130 uint32_t p_flags; in get_elf64_code_segment_count() local
134 p_flags = elf32_get_value(&elf_info->elf_ehdr, phdr_info->p_flags); in get_elf64_code_segment_count()
135 if (!(p_flags & PF_X)) in get_elf64_code_segment_count()
148 uint32_t p_flags; in get_elf64_code_segment() local
[all …]
/kernel/linux/linux-5.10/arch/powerpc/boot/
Delf.h102 Elf32_Word p_flags; member
108 Elf64_Word p_flags; member
/kernel/linux/linux-5.10/drivers/soc/qcom/
Dmdt_loader.c25 if ((phdr->p_flags & QCOM_MDT_TYPE_MASK) == QCOM_MDT_TYPE_HASH) in mdt_phdr_valid()
104 if ((phdrs[1].p_flags & QCOM_MDT_TYPE_MASK) != QCOM_MDT_TYPE_HASH) in qcom_mdt_read_metadata()
187 if (phdr->p_flags & QCOM_MDT_RELOCATABLE) in __qcom_mdt_load()
/kernel/linux/linux-5.10/fs/
Dbinfmt_elf_fdpic.c166 if (phdr->p_flags & PF_X) in elf_fdpic_fetch_phdrs()
988 if (phdr->p_flags & PF_X) { in elf_fdpic_map_file_constdisp_on_uclinux()
1042 if (phdr->p_flags & PF_R) prot |= PROT_READ; in elf_fdpic_map_file_by_direct_mmap()
1043 if (phdr->p_flags & PF_W) prot |= PROT_WRITE; in elf_fdpic_map_file_by_direct_mmap()
1044 if (phdr->p_flags & PF_X) prot |= PROT_EXEC; in elf_fdpic_map_file_by_direct_mmap()
1165 if (phdr->p_flags & PF_X) { in elf_fdpic_map_file_by_direct_mmap()
1286 phdr->p_flags = 0; in fill_elf_note_phdr()
1605 phdr.p_flags = 0; in elf_fdpic_core_dump()
1607 phdr.p_flags |= PF_R; in elf_fdpic_core_dump()
1609 phdr.p_flags |= PF_W; in elf_fdpic_core_dump()
[all …]
Dbinfmt_elf.c568 static inline int make_prot(u32 p_flags, struct arch_elf_state *arch_state, in make_prot() argument
573 if (p_flags & PF_R) in make_prot()
575 if (p_flags & PF_W) in make_prot()
577 if (p_flags & PF_X) in make_prot()
623 int elf_prot = make_prot(eppnt->p_flags, arch_state, in load_elf_interp()
930 if (elf_ppnt->p_flags & PF_X) in load_elf_binary()
1091 elf_prot = make_prot(elf_ppnt->p_flags, &arch_state, in load_elf_binary()
1192 if ((elf_ppnt->p_flags & PF_X) && k < start_code) in load_elf_binary()
1214 if ((elf_ppnt->p_flags & PF_X) && end_code < k) in load_elf_binary()
1518 phdr->p_flags = 0; in fill_elf_note_phdr()
[all …]
/kernel/linux/linux-5.10/include/net/
Dred.h196 struct nla_bitfield32 *p_flags, in red_get_flags() argument
214 *p_flags = flags; in red_get_flags()
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Delf.h199 Elf32_Word p_flags; member
204 Elf64_Word p_flags; member
/kernel/linux/linux-5.10/include/uapi/linux/
Delf.h255 Elf32_Word p_flags; member
261 Elf64_Word p_flags; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Delf.h213 Elf32_Word p_flags; member
218 Elf64_Word p_flags; member
/kernel/linux/linux-5.10/include/trace/events/
Dfscache.h227 __field(u8, p_flags )
235 __entry->p_flags = cookie->parent->flags;
242 __entry->p_n_children, __entry->p_flags, __entry->name)
/kernel/linux/linux-5.10/drivers/remoteproc/
Dremoteproc_elf_helpers.h75 ELF_GEN_FIELD_GET_SET(phdr, p_flags, u32)
Dqcom_common.c132 if ((phdr->p_flags & QCOM_MDT_TYPE_MASK) == QCOM_MDT_TYPE_HASH) in qcom_register_dump_segments()
/kernel/linux/linux-5.10/tools/testing/selftests/proc/
Dproc-pid-vm.c97 uint32_t p_flags; member
186 ph.p_flags = (1<<2)|1; in make_exe()
/kernel/linux/linux-5.10/kernel/
Dkexec_elf.c216 phdr->p_flags = elf32_to_cpu(elf_info->ehdr, buf_phdr->p_flags); in elf_read_phdr()
Dkexec_file.c1299 phdr->p_flags = PF_R|PF_W|PF_X; in crash_prepare_elf64_headers()
1313 phdr->p_flags = PF_R|PF_W|PF_X; in crash_prepare_elf64_headers()
/kernel/linux/linux-5.10/arch/mips/boot/
Delf2ecoff.c197 p->p_flags = swab32(p->p_flags); in convert_elf_phdrs()
361 if (ph[i].p_flags & PF_W) { in main()
/kernel/linux/linux-5.10/arch/powerpc/oprofile/cell/
Dvma_map.c159 if (phdr.p_flags & (1 << 27)) in create_vma_map()
/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/
Dopal-core.c381 phdr->p_flags = 0; in create_opalcore()
395 phdr->p_flags = cpu_to_be32(PF_R|PF_W|PF_X); in create_opalcore()
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Dfadump.c1081 phdr->p_flags = 0; in fadump_create_elfcore_headers()
1096 phdr->p_flags = 0; in fadump_create_elfcore_headers()
1122 phdr->p_flags = PF_R|PF_W|PF_X; in fadump_create_elfcore_headers()
/kernel/linux/linux-5.10/tools/perf/util/
Dgenelf.c299 phdr[0].p_flags = PF_X | PF_R; in jit_write_elf()
Dsymbol-elf.c1329 if (!(phdr.p_flags & PF_X)) in elf_read_maps()
1332 if (!(phdr.p_flags & PF_R)) in elf_read_maps()
1552 .p_flags = PF_R | PF_W | PF_X, in kcore__add_phdr()
/kernel/liteos_m/components/dynlink/
Dlos_dynlink.c364 if ((elfPhdrTemp->p_flags & PF_R) == 0) { in OsLoadELFFile()
374 if ((elfPhdrTemp->p_memsz > elfPhdrTemp->p_filesz) && (elfPhdrTemp->p_flags & PF_W)) { in OsLoadELFFile()
/kernel/linux/linux-5.10/sound/pci/mixart/
Dmixart_hwdep.c85 __be32 p_flags; member
/kernel/linux/linux-5.10/fs/proc/
Dkcore.c381 phdr->p_flags = PF_R | PF_W | PF_X; in read_kcore()
Dvmcore.c858 phdr.p_flags = 0; in merge_note_headers_elf64()
1049 phdr.p_flags = 0; in merge_note_headers_elf32()

12