Home
last modified time | relevance | path

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

12

/linux-6.6.21/tools/testing/selftests/sgx/
Dload.c248 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/
Delf.h102 Elf32_Word p_flags; member
108 Elf64_Word p_flags; member
/linux-6.6.21/drivers/soc/qcom/
Dmdt_loader.c25 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/
Dbinfmt_elf.c571 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 …]
Dbinfmt_elf_fdpic.c166 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/
Dred.h195 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/
Delf.h256 Elf32_Word p_flags; member
262 Elf64_Word p_flags; member
/linux-6.6.21/arch/arm64/kernel/
Delfcore.c105 phdr.p_flags = 0; in elf_core_write_extra_phdrs()
/linux-6.6.21/kernel/
Dkexec_elf.c216 phdr->p_flags = elf32_to_cpu(elf_info->ehdr, buf_phdr->p_flags); in elf_read_phdr()
Dcrash_core.c390 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/
Dproc-pid-vm.c99 uint32_t p_flags; member
188 ph.p_flags = (1<<2)|1; in make_exe()
/linux-6.6.21/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()
/linux-6.6.21/drivers/remoteproc/
Dremoteproc_elf_helpers.h76 ELF_GEN_FIELD_GET_SET(phdr, p_flags, u32) in ELF_GEN_FIELD_GET_SET()
Dqcom_common.c292 if ((phdr->p_flags & QCOM_MDT_TYPE_MASK) == QCOM_MDT_TYPE_HASH) in qcom_register_dump_segments()
Dpru_rproc.c843 is_iram = phdr->p_flags & PF_X; in pru_rproc_load_elf_segments()
/linux-6.6.21/arch/powerpc/platforms/powernv/
Dopal-core.c383 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/
Dfadump.c1097 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/
Dgenelf.c301 phdr[0].p_flags = PF_X | PF_R; in jit_write_elf()
Dsymbol-elf.c1805 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/
Dmixart_hwdep.c86 __be32 p_flags; member
/linux-6.6.21/tools/lib/bpf/
Dusdt.c423 (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/
Dvmcore.c874 phdr.p_flags = 0; in merge_note_headers_elf64()
1065 phdr.p_flags = 0; in merge_note_headers_elf32()
Dkcore.c387 phdr->p_flags = PF_R | PF_W | PF_X; in read_kcore_iter()
/linux-6.6.21/arch/s390/kernel/
Dcrash_dump.c513 phdr->p_flags = PF_R | PF_W | PF_X; in loads_init()
/linux-6.6.21/drivers/net/ethernet/qlogic/qed/
Dqed_sriov.c2829 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()

12