/kernel/linux/common_modules/xpm/validator/ |
D | elf_code_segment_info.c | 81 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/ |
D | elf.h | 102 Elf32_Word p_flags; member 108 Elf64_Word p_flags; member
|
/kernel/linux/linux-5.10/drivers/soc/qcom/ |
D | mdt_loader.c | 25 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/ |
D | binfmt_elf_fdpic.c | 166 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 …]
|
D | binfmt_elf.c | 568 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/ |
D | red.h | 196 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/ |
D | elf.h | 199 Elf32_Word p_flags; member 204 Elf64_Word p_flags; member
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
D | elf.h | 255 Elf32_Word p_flags; member 261 Elf64_Word p_flags; member
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
D | elf.h | 213 Elf32_Word p_flags; member 218 Elf64_Word p_flags; member
|
/kernel/linux/linux-5.10/include/trace/events/ |
D | fscache.h | 227 __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/ |
D | remoteproc_elf_helpers.h | 75 ELF_GEN_FIELD_GET_SET(phdr, p_flags, u32)
|
D | qcom_common.c | 132 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/ |
D | proc-pid-vm.c | 97 uint32_t p_flags; member 186 ph.p_flags = (1<<2)|1; in make_exe()
|
/kernel/linux/linux-5.10/kernel/ |
D | kexec_elf.c | 216 phdr->p_flags = elf32_to_cpu(elf_info->ehdr, buf_phdr->p_flags); in elf_read_phdr()
|
D | kexec_file.c | 1299 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/ |
D | elf2ecoff.c | 197 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/ |
D | vma_map.c | 159 if (phdr.p_flags & (1 << 27)) in create_vma_map()
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/ |
D | opal-core.c | 381 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/ |
D | fadump.c | 1081 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/ |
D | genelf.c | 299 phdr[0].p_flags = PF_X | PF_R; in jit_write_elf()
|
D | symbol-elf.c | 1329 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/ |
D | los_dynlink.c | 364 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/ |
D | mixart_hwdep.c | 85 __be32 p_flags; member
|
/kernel/linux/linux-5.10/fs/proc/ |
D | kcore.c | 381 phdr->p_flags = PF_R | PF_W | PF_X; in read_kcore()
|
D | vmcore.c | 858 phdr.p_flags = 0; in merge_note_headers_elf64() 1049 phdr.p_flags = 0; in merge_note_headers_elf32()
|