Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/sgx/
A Dload.c195 unsigned int flags = phdr->p_flags; in encl_load()
206 phdr->p_flags); in encl_load()
213 phdr->p_flags); in encl_load()
223 seg->prot = (phdr->p_flags & PF_R) ? PROT_READ : 0; in encl_load()
224 seg->prot |= (phdr->p_flags & PF_W) ? PROT_WRITE : 0; in encl_load()
225 seg->prot |= (phdr->p_flags & PF_X) ? PROT_EXEC : 0; in encl_load()
/linux/arch/powerpc/boot/
A Delf.h102 Elf32_Word p_flags; member
108 Elf64_Word p_flags; member
/linux/drivers/soc/qcom/
A 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()
191 if (phdr->p_flags & QCOM_MDT_RELOCATABLE) in __qcom_mdt_load()
/linux/fs/
A Dbinfmt_elf.c576 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()
933 if (elf_ppnt->p_flags & PF_X) in load_elf_binary()
1173 if ((elf_ppnt->p_flags & PF_X) && k < start_code) in load_elf_binary()
1195 if ((elf_ppnt->p_flags & PF_X) && end_code < k) in load_elf_binary()
1497 phdr->p_flags = 0; in fill_elf_note_phdr()
2260 phdr.p_flags = 0; in elf_core_dump()
2262 phdr.p_flags |= PF_R; in elf_core_dump()
2264 phdr.p_flags |= PF_W; in elf_core_dump()
[all …]
A Dbinfmt_elf_fdpic.c166 if (phdr->p_flags & PF_X) in elf_fdpic_fetch_phdrs()
986 if (phdr->p_flags & PF_X) { in elf_fdpic_map_file_constdisp_on_uclinux()
1040 if (phdr->p_flags & PF_R) prot |= PROT_READ; in elf_fdpic_map_file_by_direct_mmap()
1041 if (phdr->p_flags & PF_W) prot |= PROT_WRITE; in elf_fdpic_map_file_by_direct_mmap()
1042 if (phdr->p_flags & PF_X) prot |= PROT_EXEC; in elf_fdpic_map_file_by_direct_mmap()
1160 if (phdr->p_flags & PF_X) { in elf_fdpic_map_file_by_direct_mmap()
1270 phdr->p_flags = 0; in fill_elf_note_phdr()
1595 phdr.p_flags = 0; in elf_fdpic_core_dump()
1597 phdr.p_flags |= PF_R; in elf_fdpic_core_dump()
1599 phdr.p_flags |= PF_W; in elf_fdpic_core_dump()
[all …]
/linux/include/net/
A Dred.h196 struct nla_bitfield32 *p_flags, in red_get_flags() argument
214 *p_flags = flags; in red_get_flags()
/linux/include/uapi/linux/
A Delf.h252 Elf32_Word p_flags; member
258 Elf64_Word p_flags; member
/linux/include/trace/events/
A Dfscache.h217 __field(u8, p_flags )
225 __entry->p_flags = cookie->parent->flags;
232 __entry->p_n_children, __entry->p_flags, __entry->name)
/linux/tools/testing/selftests/proc/
A Dproc-pid-vm.c97 uint32_t p_flags; member
186 ph.p_flags = (1<<2)|1; in make_exe()
/linux/kernel/
A Dkexec_elf.c216 phdr->p_flags = elf32_to_cpu(elf_info->ehdr, buf_phdr->p_flags); in elf_read_phdr()
A Dkexec_file.c1329 phdr->p_flags = PF_R|PF_W|PF_X; in crash_prepare_elf64_headers()
1343 phdr->p_flags = PF_R|PF_W|PF_X; in crash_prepare_elf64_headers()
/linux/arch/mips/boot/
A Delf2ecoff.c197 p->p_flags = swab32(p->p_flags); in convert_elf_phdrs()
361 if (ph[i].p_flags & PF_W) { in main()
/linux/drivers/remoteproc/
A Dremoteproc_elf_helpers.h76 ELF_GEN_FIELD_GET_SET(phdr, p_flags, u32) in ELF_GEN_FIELD_GET_SET()
A Dqcom_common.c278 if ((phdr->p_flags & QCOM_MDT_TYPE_MASK) == QCOM_MDT_TYPE_HASH) in qcom_register_dump_segments()
A Dpru_rproc.c621 is_iram = phdr->p_flags & PF_X; in pru_rproc_load_elf_segments()
A Dqcom_q6v5_mss.c994 if ((phdr->p_flags & QCOM_MDT_TYPE_MASK) == QCOM_MDT_TYPE_HASH) in q6v5_phdr_valid()
1305 if (phdr->p_flags & QCOM_MDT_RELOCATABLE) in q6v5_mpss_load()
/linux/arch/powerpc/platforms/powernv/
A 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()
/linux/arch/powerpc/kernel/
A Dfadump.c1077 phdr->p_flags = 0; in fadump_create_elfcore_headers()
1092 phdr->p_flags = 0; in fadump_create_elfcore_headers()
1118 phdr->p_flags = PF_R|PF_W|PF_X; in fadump_create_elfcore_headers()
/linux/sound/pci/mixart/
A Dmixart_hwdep.c86 __be32 p_flags; member
/linux/fs/proc/
A Dvmcore.c897 phdr.p_flags = 0; in merge_note_headers_elf64()
1088 phdr.p_flags = 0; in merge_note_headers_elf32()
A Dkcore.c387 phdr->p_flags = PF_R | PF_W | PF_X; in read_kcore()
/linux/tools/perf/util/
A Dsymbol-elf.c1368 if (!(phdr.p_flags & PF_X)) in elf_read_maps()
1371 if (!(phdr.p_flags & PF_R)) in elf_read_maps()
1591 .p_flags = PF_R | PF_W | PF_X, in kcore__add_phdr()
/linux/arch/s390/kernel/
A Dcrash_dump.c572 phdr->p_flags = PF_R | PF_W | PF_X; in loads_init()
/linux/drivers/net/ethernet/qlogic/qed/
A 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()
/linux/drivers/media/platform/sti/c8sectpfe/
A Dc8sectpfe-core.c1112 if (phdr->p_flags & PF_X) { in load_slim_core_fw()

Completed in 70 milliseconds