/linux-6.6.21/tools/testing/selftests/sgx/ |
D | load.c | 248 unsigned int flags = phdr->p_flags; in encl_load() 258 phdr->p_flags); in encl_load() 265 phdr->p_flags); in encl_load() 276 seg->prot = (phdr->p_flags & PF_R) ? PROT_READ : 0; in encl_load() 277 seg->prot |= (phdr->p_flags & PF_W) ? PROT_WRITE : 0; in encl_load() 278 seg->prot |= (phdr->p_flags & PF_X) ? PROT_EXEC : 0; in encl_load()
|
/linux-6.6.21/arch/powerpc/boot/ |
D | elf.h | 102 Elf32_Word p_flags; member 108 Elf64_Word p_flags; member
|
/linux-6.6.21/drivers/soc/qcom/ |
D | mdt_loader.c | 25 if ((phdr->p_flags & QCOM_MDT_TYPE_MASK) == QCOM_MDT_TYPE_HASH) in mdt_phdr_valid() 149 if ((phdrs[i].p_flags & QCOM_MDT_TYPE_MASK) == QCOM_MDT_TYPE_HASH) { in qcom_mdt_read_metadata() 228 if (phdr->p_flags & QCOM_MDT_RELOCATABLE) in qcom_mdt_pas_init() 325 if (phdr->p_flags & QCOM_MDT_RELOCATABLE) in __qcom_mdt_load()
|
/linux-6.6.21/fs/ |
D | binfmt_elf.c | 571 static inline int make_prot(u32 p_flags, struct arch_elf_state *arch_state, in make_prot() argument 576 if (p_flags & PF_R) in make_prot() 578 if (p_flags & PF_W) in make_prot() 580 if (p_flags & PF_X) in make_prot() 626 int elf_prot = make_prot(eppnt->p_flags, arch_state, in load_elf_interp() 933 if (elf_ppnt->p_flags & PF_X) in load_elf_binary() 1070 elf_prot = make_prot(elf_ppnt->p_flags, &arch_state, in load_elf_binary() 1193 if ((elf_ppnt->p_flags & PF_X) && k < start_code) in load_elf_binary() 1215 if ((elf_ppnt->p_flags & PF_X) && end_code < k) in load_elf_binary() 1519 phdr->p_flags = 0; in fill_elf_note_phdr() [all …]
|
D | binfmt_elf_fdpic.c | 166 if (phdr->p_flags & PF_X) in elf_fdpic_fetch_phdrs() 982 if (phdr->p_flags & PF_X) { in elf_fdpic_map_file_constdisp_on_uclinux() 1036 if (phdr->p_flags & PF_R) prot |= PROT_READ; in elf_fdpic_map_file_by_direct_mmap() 1037 if (phdr->p_flags & PF_W) prot |= PROT_WRITE; in elf_fdpic_map_file_by_direct_mmap() 1038 if (phdr->p_flags & PF_X) prot |= PROT_EXEC; in elf_fdpic_map_file_by_direct_mmap() 1156 if (phdr->p_flags & PF_X) { in elf_fdpic_map_file_by_direct_mmap() 1266 phdr->p_flags = 0; in fill_elf_note_phdr() 1586 phdr.p_flags = 0; in elf_fdpic_core_dump() 1588 phdr.p_flags |= PF_R; in elf_fdpic_core_dump() 1590 phdr.p_flags |= PF_W; in elf_fdpic_core_dump() [all …]
|
/linux-6.6.21/include/net/ |
D | red.h | 195 struct nla_bitfield32 *p_flags, in red_get_flags() argument 213 *p_flags = flags; in red_get_flags()
|
/linux-6.6.21/include/uapi/linux/ |
D | elf.h | 256 Elf32_Word p_flags; member 262 Elf64_Word p_flags; member
|
/linux-6.6.21/arch/arm64/kernel/ |
D | elfcore.c | 105 phdr.p_flags = 0; in elf_core_write_extra_phdrs()
|
/linux-6.6.21/kernel/ |
D | kexec_elf.c | 216 phdr->p_flags = elf32_to_cpu(elf_info->ehdr, buf_phdr->p_flags); in elf_read_phdr()
|
D | crash_core.c | 390 phdr->p_flags = PF_R|PF_W|PF_X; in crash_prepare_elf64_headers() 404 phdr->p_flags = PF_R|PF_W|PF_X; in crash_prepare_elf64_headers()
|
/linux-6.6.21/tools/testing/selftests/proc/ |
D | proc-pid-vm.c | 99 uint32_t p_flags; member 188 ph.p_flags = (1<<2)|1; in make_exe()
|
/linux-6.6.21/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()
|
/linux-6.6.21/drivers/remoteproc/ |
D | remoteproc_elf_helpers.h | 76 ELF_GEN_FIELD_GET_SET(phdr, p_flags, u32) in ELF_GEN_FIELD_GET_SET()
|
D | qcom_common.c | 292 if ((phdr->p_flags & QCOM_MDT_TYPE_MASK) == QCOM_MDT_TYPE_HASH) in qcom_register_dump_segments()
|
D | pru_rproc.c | 843 is_iram = phdr->p_flags & PF_X; in pru_rproc_load_elf_segments()
|
/linux-6.6.21/arch/powerpc/platforms/powernv/ |
D | opal-core.c | 383 phdr->p_flags = 0; in create_opalcore() 397 phdr->p_flags = cpu_to_be32(PF_R|PF_W|PF_X); in create_opalcore()
|
/linux-6.6.21/arch/powerpc/kernel/ |
D | fadump.c | 1097 phdr->p_flags = 0; in fadump_create_elfcore_headers() 1112 phdr->p_flags = 0; in fadump_create_elfcore_headers() 1138 phdr->p_flags = PF_R|PF_W|PF_X; in fadump_create_elfcore_headers()
|
/linux-6.6.21/tools/perf/util/ |
D | genelf.c | 301 phdr[0].p_flags = PF_X | PF_R; in jit_write_elf()
|
D | symbol-elf.c | 1805 if (!(phdr.p_flags & PF_X)) in elf_read_maps() 1808 if (!(phdr.p_flags & PF_R)) in elf_read_maps() 2028 .p_flags = PF_R | PF_W | PF_X, in kcore__add_phdr()
|
/linux-6.6.21/sound/pci/mixart/ |
D | mixart_hwdep.c | 86 __be32 p_flags; member
|
/linux-6.6.21/tools/lib/bpf/ |
D | usdt.c | 423 (long)phdr.p_type, (long)phdr.p_flags); in parse_elf_segs() 438 seg->is_exec = phdr.p_flags & PF_X; in parse_elf_segs()
|
/linux-6.6.21/fs/proc/ |
D | vmcore.c | 874 phdr.p_flags = 0; in merge_note_headers_elf64() 1065 phdr.p_flags = 0; in merge_note_headers_elf32()
|
D | kcore.c | 387 phdr->p_flags = PF_R | PF_W | PF_X; in read_kcore_iter()
|
/linux-6.6.21/arch/s390/kernel/ |
D | crash_dump.c | 513 phdr->p_flags = PF_R | PF_W | PF_X; in loads_init()
|
/linux-6.6.21/drivers/net/ethernet/qlogic/qed/ |
D | qed_sriov.c | 2829 struct qed_filter_accept_flags *p_flags = &p_data->accept_flags; in qed_iov_vp_update_accept_flag() local 2838 p_flags->update_rx_mode_config = p_accept_tlv->update_rx_mode; in qed_iov_vp_update_accept_flag() 2839 p_flags->rx_accept_filter = p_accept_tlv->rx_accept_filter; in qed_iov_vp_update_accept_flag() 2840 p_flags->update_tx_mode_config = p_accept_tlv->update_tx_mode; in qed_iov_vp_update_accept_flag() 2841 p_flags->tx_accept_filter = p_accept_tlv->tx_accept_filter; in qed_iov_vp_update_accept_flag()
|