/linux/tools/testing/selftests/sgx/ |
A D | load.c | 195 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 D | elf.h | 102 Elf32_Word p_flags; member 108 Elf64_Word p_flags; member
|
/linux/drivers/soc/qcom/ |
A 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() 191 if (phdr->p_flags & QCOM_MDT_RELOCATABLE) in __qcom_mdt_load()
|
/linux/fs/ |
A D | binfmt_elf.c | 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() 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 D | binfmt_elf_fdpic.c | 166 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 D | red.h | 196 struct nla_bitfield32 *p_flags, in red_get_flags() argument 214 *p_flags = flags; in red_get_flags()
|
/linux/include/uapi/linux/ |
A D | elf.h | 252 Elf32_Word p_flags; member 258 Elf64_Word p_flags; member
|
/linux/include/trace/events/ |
A D | fscache.h | 217 __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 D | proc-pid-vm.c | 97 uint32_t p_flags; member 186 ph.p_flags = (1<<2)|1; in make_exe()
|
/linux/kernel/ |
A D | kexec_elf.c | 216 phdr->p_flags = elf32_to_cpu(elf_info->ehdr, buf_phdr->p_flags); in elf_read_phdr()
|
A D | kexec_file.c | 1329 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 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/drivers/remoteproc/ |
A D | remoteproc_elf_helpers.h | 76 ELF_GEN_FIELD_GET_SET(phdr, p_flags, u32) in ELF_GEN_FIELD_GET_SET()
|
A D | qcom_common.c | 278 if ((phdr->p_flags & QCOM_MDT_TYPE_MASK) == QCOM_MDT_TYPE_HASH) in qcom_register_dump_segments()
|
A D | pru_rproc.c | 621 is_iram = phdr->p_flags & PF_X; in pru_rproc_load_elf_segments()
|
A D | qcom_q6v5_mss.c | 994 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 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()
|
/linux/arch/powerpc/kernel/ |
A D | fadump.c | 1077 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 D | mixart_hwdep.c | 86 __be32 p_flags; member
|
/linux/fs/proc/ |
A D | vmcore.c | 897 phdr.p_flags = 0; in merge_note_headers_elf64() 1088 phdr.p_flags = 0; in merge_note_headers_elf32()
|
A D | kcore.c | 387 phdr->p_flags = PF_R | PF_W | PF_X; in read_kcore()
|
/linux/tools/perf/util/ |
A D | symbol-elf.c | 1368 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 D | crash_dump.c | 572 phdr->p_flags = PF_R | PF_W | PF_X; in loads_init()
|
/linux/drivers/net/ethernet/qlogic/qed/ |
A 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()
|
/linux/drivers/media/platform/sti/c8sectpfe/ |
A D | c8sectpfe-core.c | 1112 if (phdr->p_flags & PF_X) { in load_slim_core_fw()
|