| /linux/tools/perf/util/ |
| H A D | symbol-minimal.c | 177 hdrs.phdr32[i].p_offset = bswap_32(hdrs.phdr32[i].p_offset); in filename__read_build_id() 181 hdrs.phdr64[i].p_offset = bswap_64(hdrs.phdr64[i].p_offset); in filename__read_build_id() 201 lseek(fd, elf32 ? hdrs.phdr32[i].p_offset : hdrs.phdr64[i].p_offset, SEEK_SET); in filename__read_build_id()
|
| /linux/drivers/gpu/drm/vc4/ |
| H A D | vc4_validate.c | 594 uint32_t p0 = *(uint32_t *)(uniform_data_u + sample->p_offset[0]); in reloc_tex() 595 uint32_t p1 = *(uint32_t *)(uniform_data_u + sample->p_offset[1]); in reloc_tex() 596 uint32_t p2 = (sample->p_offset[2] != ~0 ? in reloc_tex() 597 *(uint32_t *)(uniform_data_u + sample->p_offset[2]) : 0); in reloc_tex() 598 uint32_t p3 = (sample->p_offset[3] != ~0 ? in reloc_tex() 599 *(uint32_t *)(uniform_data_u + sample->p_offset[3]) : 0); in reloc_tex() 600 uint32_t *validated_p0 = exec->uniforms_v + sample->p_offset[0]; in reloc_tex() 758 DRM_INFO("Texture p0 at %d: 0x%08x\n", sample->p_offset[0], p0); in reloc_tex() 759 DRM_INFO("Texture p1 at %d: 0x%08x\n", sample->p_offset[1], p1); in reloc_tex() 760 DRM_INFO("Texture p2 at %d: 0x%08x\n", sample->p_offset[2], p2); in reloc_tex() [all …]
|
| /linux/tools/testing/selftests/kvm/lib/ |
| H A D | elf.c | 181 offset_rv = lseek(fd, phdr.p_offset, SEEK_SET); in kvm_vm_elf_load() 182 TEST_ASSERT(offset_rv == phdr.p_offset, in kvm_vm_elf_load() 188 (intmax_t) phdr.p_offset); in kvm_vm_elf_load()
|
| /linux/drivers/net/ethernet/qlogic/qed/ |
| H A D | qed_init_ops.c | 497 u16 *p_offset, int modes) in qed_init_cmd_mode_match() argument 504 tree_val = modes_tree_buf[(*p_offset)++]; in qed_init_cmd_mode_match() 507 return qed_init_cmd_mode_match(p_hwfn, p_offset, modes) ^ 1; in qed_init_cmd_mode_match() 509 arg1 = qed_init_cmd_mode_match(p_hwfn, p_offset, modes); in qed_init_cmd_mode_match() 510 arg2 = qed_init_cmd_mode_match(p_hwfn, p_offset, modes); in qed_init_cmd_mode_match() 513 arg1 = qed_init_cmd_mode_match(p_hwfn, p_offset, modes); in qed_init_cmd_mode_match() 514 arg2 = qed_init_cmd_mode_match(p_hwfn, p_offset, modes); in qed_init_cmd_mode_match()
|
| /linux/arch/powerpc/boot/ |
| H A D | elf_util.c | 45 info->elfoffset = (unsigned long)elf64ph->p_offset; in parse_elf64() 76 info->elfoffset = elf32ph->p_offset; in parse_elf32()
|
| H A D | elf.h | 97 Elf32_Off p_offset; member 109 Elf64_Off p_offset; /* Segment file offset */ member
|
| /linux/arch/s390/kernel/ |
| H A D | kexec_elf.c | 39 buf.buffer = kernel + phdr->p_offset; in kexec_file_add_kernel_elf() 100 if (phdr->p_offset > kernel_len) in s390_elf_load()
|
| H A D | crash_dump.c | 499 phdr->p_offset = paddr; in fill_ptload() 559 phdr->p_offset = start_phys; in text_init() 584 phdr->p_offset = notes_offset; in notes_init()
|
| /linux/fs/ |
| H A D | binfmt_elf_fdpic.c | 250 pos = phdr->p_offset; in load_elf_fdpic_binary() 824 if (phdr->p_offset > params->hdr.e_phoff || in elf_fdpic_map_file() 825 phdr->p_offset + phdr->p_filesz < stop) in elf_fdpic_map_file() 836 params->hdr.e_phoff - phdr->p_offset; in elf_fdpic_map_file() 980 ret = read_code(file, seg->addr, phdr->p_offset, in elf_fdpic_map_file_constdisp_on_uclinux() 986 if (phdr->p_offset == 0) in elf_fdpic_map_file_constdisp_on_uclinux() 1046 (unsigned long) phdr->p_offset, in elf_fdpic_map_file_by_direct_mmap() 1097 phdr->p_offset - disp); in elf_fdpic_map_file_by_direct_mmap() 1101 prot, flags, (unsigned long long) phdr->p_offset - disp, in elf_fdpic_map_file_by_direct_mmap() 1116 if (phdr->p_offset == 0) in elf_fdpic_map_file_by_direct_mmap() [all …]
|
| /linux/drivers/net/wireless/morsemicro/mm81x/ |
| H A D | fw.c | 139 phdr.p_offset = le32_to_cpu(p->p_offset); in mm81x_fw_load_fw() 149 if (phdr.p_filesz && phdr.p_offset && in mm81x_fw_load_fw() 150 (phdr.p_offset + phdr.p_filesz) < fw->size) { in mm81x_fw_load_fw() 153 memcpy(fw_buf, fw->data + phdr.p_offset, padded_size); in mm81x_fw_load_fw()
|
| H A D | fw.h | 57 __le32 p_offset; member
|
| /linux/arch/mips/kernel/ |
| H A D | elf.c | 111 pos = phdr32->p_offset; in arch_elf_pt_proc() 117 pos = phdr64->p_offset; in arch_elf_pt_proc()
|
| /linux/drivers/gpu/drm/vmwgfx/ |
| H A D | vmwgfx_ttm_buffer.c | 104 unsigned long p_offset) in vmw_piter_start() argument 106 viter->i = p_offset - 1; in vmw_piter_start() 120 vsgt->sgt->orig_nents, p_offset); in vmw_piter_start()
|
| /linux/tools/testing/selftests/vDSO/ |
| H A D | parse_vdso.c | 122 + (uintptr_t)pt[i].p_offset in vdso_init_from_sysinfo_ehdr() 125 dyn = (ELF(Dyn)*)(base + pt[i].p_offset); in vdso_init_from_sysinfo_ehdr()
|
| /linux/arch/alpha/boot/tools/ |
| H A D | mkbb.c | 61 u32 p_offset; member
|
| H A D | objstrip.c | 177 offset = elf_phdr->p_offset; in main()
|
| /linux/arch/loongarch/kernel/ |
| H A D | kexec_elf.c | 39 kbuf->buffer = (void *)elf_info->buffer + phdr->p_offset; in _elf_kexec_load()
|
| /linux/tools/testing/selftests/sgx/ |
| H A D | load.c | 270 src_offset = phdr->p_offset & PAGE_MASK; in encl_load() 282 seg->offset = (phdr->p_offset & PAGE_MASK) - src_offset; in encl_load()
|
| /linux/lib/ |
| H A D | buildid.c | 234 !parse_build_id(r, build_id, size, READ_ONCE(phdr->p_offset), in get_build_id_32() 271 !parse_build_id(r, build_id, size, READ_ONCE(phdr->p_offset), in get_build_id_64()
|
| /linux/arch/mips/boot/ |
| H A D | elf2ecoff.c | 192 p->p_offset = swab32(p->p_offset); in convert_elf_phdrs() 598 copy(outfile, infile, ph[i].p_offset, in main()
|
| /linux/drivers/remoteproc/ |
| H A D | remoteproc_elf_helpers.h | 75 ELF_GEN_FIELD_GET_SET(phdr, p_offset, u64) in ELF_GEN_FIELD_GET_SET()
|
| /linux/sound/pci/mixart/ |
| H A D | mixart_hwdep.c | 81 __be32 p_offset; member 112 dsp->data + be32_to_cpu( elf_programheader.p_offset ), in mixart_load_elf()
|
| /linux/tools/testing/selftests/proc/ |
| H A D | proc-pid-vm.c | 105 uint64_t p_offset; member 194 ph.p_offset = 0; in make_exe()
|
| /linux/fs/proc/ |
| H A D | kcore.c | 392 phdrs[0].p_offset = notes_offset; in read_kcore_iter() 399 phdr->p_offset = kc_vaddr_to_offset(m->addr) in read_kcore_iter()
|
| /linux/drivers/iio/pressure/ |
| H A D | hsc030pa.c | 392 *val = data->p_offset; in hsc_read_raw() 521 hsc->p_offset = div_s64_rem(tmp, MICRO, &hsc->p_offset_dec); in hsc_common_probe()
|