Home
last modified time | relevance | path

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

123

/linux-6.6.21/fs/
Dbinfmt_elf_test.c7 { .p_type = PT_LOAD, .p_vaddr = 0, .p_memsz = 0, }, in total_mapping_size_test()
8 { .p_type = PT_INTERP, .p_vaddr = 10, .p_memsz = 999999, }, in total_mapping_size_test()
15 { .p_type = PT_PHDR, .p_vaddr = 0x00000040, .p_memsz = 0x0002d8, }, in total_mapping_size_test()
16 { .p_type = PT_INTERP, .p_vaddr = 0x00000318, .p_memsz = 0x00001c, }, in total_mapping_size_test()
17 { .p_type = PT_LOAD, .p_vaddr = 0x00000000, .p_memsz = 0x0033a8, }, in total_mapping_size_test()
18 { .p_type = PT_LOAD, .p_vaddr = 0x00004000, .p_memsz = 0x005c91, }, in total_mapping_size_test()
19 { .p_type = PT_LOAD, .p_vaddr = 0x0000a000, .p_memsz = 0x0022f8, }, in total_mapping_size_test()
20 { .p_type = PT_LOAD, .p_vaddr = 0x0000d330, .p_memsz = 0x000d40, }, in total_mapping_size_test()
21 { .p_type = PT_DYNAMIC, .p_vaddr = 0x0000d928, .p_memsz = 0x000200, }, in total_mapping_size_test()
22 { .p_type = PT_NOTE, .p_vaddr = 0x00000338, .p_memsz = 0x000030, }, in total_mapping_size_test()
[all …]
Dbinfmt_elf.c417 if (phdr[i].p_type == PT_LOAD) { in total_mapping_size()
443 if (cmds[i].p_type == PT_LOAD) { in maximum_alignment()
624 if (eppnt->p_type == PT_LOAD) { in load_elf_interp()
784 if (WARN_ON_ONCE(phdr->p_type != PT_GNU_PROPERTY)) in parse_elf_properties()
868 if (elf_ppnt->p_type == PT_GNU_PROPERTY) { in load_elf_binary()
873 if (elf_ppnt->p_type != PT_INTERP) in load_elf_binary()
931 switch (elf_ppnt->p_type) { in load_elf_binary()
969 switch (elf_ppnt->p_type) { in load_elf_binary()
1040 if (elf_ppnt->p_type != PT_LOAD) in load_elf_binary()
1408 if ((eppnt + i)->p_type == PT_LOAD) in load_elf_library()
[all …]
Dbinfmt_elf_fdpic.c163 if (phdr->p_type != PT_GNU_STACK) in elf_fdpic_fetch_phdrs()
232 switch (phdr->p_type) { in load_elf_fdpic_binary()
756 if (params->phdrs[loop].p_type == PT_LOAD) in elf_fdpic_map_file()
808 if (phdr->p_type != PT_LOAD) in elf_fdpic_map_file()
833 if (phdr->p_type != PT_DYNAMIC) in elf_fdpic_map_file()
937 if (params->phdrs[loop].p_type != PT_LOAD) in elf_fdpic_map_file_constdisp_on_uclinux()
958 if (params->phdrs[loop].p_type != PT_LOAD) in elf_fdpic_map_file_constdisp_on_uclinux()
1026 if (phdr->p_type != PT_LOAD) in elf_fdpic_map_file_by_direct_mmap()
1260 phdr->p_type = PT_NOTE; in fill_elf_note_phdr()
1579 phdr.p_type = PT_LOAD; in elf_fdpic_core_dump()
/linux-6.6.21/drivers/net/fddi/skfp/
Dess.c497 chg->s_type.para.p_type = SMT_P0015 ; in ess_send_response()
502 chg->cmd.para.p_type = SMT_P0016 ; in ess_send_response()
507 chg->path.para.p_type = SMT_P320B ; in ess_send_response()
514 chg->payload.para.p_type = SMT_P320F ; in ess_send_response()
520 chg->overhead.para.p_type = SMT_P3210 ; in ess_send_response()
527 chg->cat.para.p_type = SMT_P001A ; in ess_send_response()
588 req->s_type.para.p_type = SMT_P0015 ; in ess_send_alc_req()
593 req->cmd.para.p_type = SMT_P0016 ; in ess_send_alc_req()
603 req->path.para.p_type = SMT_P320B ; in ess_send_alc_req()
610 req->pl_req.para.p_type = SMT_P0017 ; in ess_send_alc_req()
[all …]
Dpmf.c375 if (((range = (pa->p_type & 0xf000)) == 0x2000) || in smt_build_pmf_response()
423 pt = smt_get_ptab(pa->p_type) ; in smt_build_pmf_response()
438 else if (pa->p_type != SMT_P_AUTHOR && in smt_build_pmf_response()
439 (!set || (pa->p_type != SMT_P1035))) { in smt_build_pmf_response()
442 smt_add_para(smc,&pcon,pa->p_type, in smt_build_pmf_response()
450 smt_add_para(smc,&pcon,pa->p_type, in smt_build_pmf_response()
459 smt_add_para(smc,&pcon,pa->p_type, in smt_build_pmf_response()
1043 pa->p_type = para ; in smt_add_para()
1097 switch (pa->p_type & 0xf000) { in smt_set_para()
1130 switch (pa->p_type) { in smt_set_para()
[all …]
/linux-6.6.21/arch/x86/um/
Delfcore.c28 if (phdr.p_type == PT_LOAD) { in elf_core_write_extra_phdrs()
52 if (phdrp[i].p_type == PT_LOAD) { in elf_core_write_extra_data()
73 if (phdrp[i].p_type == PT_LOAD) in elf_core_extra_data_size()
/linux-6.6.21/arch/ia64/kernel/
Delfcore.c25 if (phdr.p_type == PT_LOAD) { in elf_core_write_extra_phdrs()
51 if (gate_phdrs[i].p_type == PT_LOAD) { in elf_core_write_extra_data()
71 if (gate_phdrs[i].p_type == PT_LOAD) { in elf_core_extra_data_size()
/linux-6.6.21/tools/perf/util/
Dsymbol-minimal.c142 phdr->p_type = bswap_32(phdr->p_type); in filename__read_build_id()
147 if (phdr->p_type != PT_NOTE) in filename__read_build_id()
193 phdr->p_type = bswap_32(phdr->p_type); in filename__read_build_id()
198 if (phdr->p_type != PT_NOTE) in filename__read_build_id()
/linux-6.6.21/arch/powerpc/boot/
Delf_util.c38 if (elf64ph->p_type == PT_LOAD) in parse_elf64()
69 if (elf32ph->p_type == PT_LOAD) in parse_elf32()
Delf.h96 Elf32_Word p_type; member
107 Elf64_Word p_type; member
/linux-6.6.21/fs/proc/
Dvmcore.c733 if (phdr_ptr->p_type != PT_NOTE) in update_note_header_size_elf64()
796 if (phdr_ptr->p_type != PT_NOTE) in get_note_number_and_size_elf64()
830 if (phdr_ptr->p_type != PT_NOTE) in copy_notes_elf64()
873 phdr.p_type = PT_NOTE; in merge_note_headers_elf64()
924 if (phdr_ptr->p_type != PT_NOTE) in update_note_header_size_elf32()
987 if (phdr_ptr->p_type != PT_NOTE) in get_note_number_and_size_elf32()
1021 if (phdr_ptr->p_type != PT_NOTE) in copy_notes_elf32()
1064 phdr.p_type = PT_NOTE; in merge_note_headers_elf32()
1118 if (phdr_ptr->p_type != PT_LOAD) in process_ptload_program_headers_elf64()
1161 if (phdr_ptr->p_type != PT_LOAD) in process_ptload_program_headers_elf32()
[all …]
/linux-6.6.21/arch/s390/kernel/
Dkexec_elf.c36 if (phdr->p_type != PT_LOAD) in kexec_file_add_kernel_elf()
95 if (phdr->p_type == PT_INTERP) in s390_elf_load()
/linux-6.6.21/kernel/
Dkexec_elf.c215 phdr->p_type = elf32_to_cpu(elf_info->ehdr, buf_phdr->p_type); in elf_read_phdr()
352 if (elf_info->proghdrs[i].p_type == PT_INTERP) { in kexec_build_elf_info()
404 if (phdr->p_type != PT_LOAD) in kexec_elf_load()
Dcrash_core.c372 phdr->p_type = PT_NOTE; in crash_prepare_elf64_headers()
381 phdr->p_type = PT_NOTE; in crash_prepare_elf64_headers()
389 phdr->p_type = PT_LOAD; in crash_prepare_elf64_headers()
403 phdr->p_type = PT_LOAD; in crash_prepare_elf64_headers()
/linux-6.6.21/lib/
Dbuildid.c84 if (phdr[i].p_type == PT_NOTE && in get_build_id_32()
109 if (phdr[i].p_type == PT_NOTE && in get_build_id_64()
/linux-6.6.21/arch/sparc/vdso/
Dvdso2c.h29 if (GET_BE(&pt[i].p_type) == PT_LOAD) { in BITSFUNC()
42 } else if (GET_BE(&pt[i].p_type) == PT_DYNAMIC) { in BITSFUNC()
/linux-6.6.21/net/smc/
Dsmc_diag.c192 struct netlink_callback *cb, int p_type) in smc_diag_dump_proto() argument
196 int snum = cb_ctx->pos[p_type]; in smc_diag_dump_proto()
221 cb_ctx->pos[p_type] = num; in smc_diag_dump_proto()
/linux-6.6.21/arch/mips/boot/
Delf2ecoff.c191 p->p_type = swab32(p->p_type); in convert_elf_phdrs()
351 switch (ph[i].p_type) { in main()
388 ex.e_phnum, ph[i].p_type); in main()
567 if (ph[i].p_type == PT_LOAD && ph[i].p_filesz) { in main()
/linux-6.6.21/tools/testing/selftests/vDSO/
Dparse_vdso.c96 if (pt[i].p_type == PT_LOAD && !found_vaddr) { in vdso_init_from_sysinfo_ehdr()
101 } else if (pt[i].p_type == PT_DYNAMIC) { in vdso_init_from_sysinfo_ehdr()
/linux-6.6.21/arch/mips/kernel/
Delf.c106 if (phdr32->p_type != PT_MIPS_ABIFLAGS) in arch_elf_pt_proc()
113 if (phdr64->p_type != PT_MIPS_ABIFLAGS) in arch_elf_pt_proc()
/linux-6.6.21/tools/testing/selftests/exec/
Dload_address.c28 if (info->dlpi_phdr[i].p_type != PT_LOAD) in ExtractStatistics()
/linux-6.6.21/arch/x86/kernel/cpu/microcode/
Damd.c195 u32 p_type, p_size; in __verify_patch_section() local
206 p_type = hdr[0]; in __verify_patch_section()
209 if (p_type != UCODE_UCODE_TYPE) { in __verify_patch_section()
212 p_type); in __verify_patch_section()
/linux-6.6.21/arch/x86/entry/vdso/
Dvdso2c.h65 if (GET_LE(&pt[i].p_type) == PT_LOAD) { in BITSFUNC()
78 } else if (GET_LE(&pt[i].p_type) == PT_DYNAMIC) { in BITSFUNC()
/linux-6.6.21/drivers/gpu/drm/gma500/
Dintel_bios.c194 u8 p_type = 0; in parse_backlight_data() local
202 p_type = lvds_opts->panel_type; in parse_backlight_data()
207 vbt_lvds_bl = (struct bdb_lvds_backlight *)(bl_start + 1) + p_type; in parse_backlight_data()
/linux-6.6.21/include/uapi/linux/
Delf.h250 Elf32_Word p_type; member
261 Elf64_Word p_type; member

123