Home
last modified time | relevance | path

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

123

/dragonfly/sbin/disklabel32/
H A Ddisklabel.c1138 pp->p_offset = v;
1411 pp->p_offset = 0;
1472 if (pp->p_offset != 0)
1492 if (pp2->p_offset < pp->p_offset + pp->p_size &&
1493 (pp2->p_offset + pp2->p_size > pp->p_offset ||
1494 pp2->p_offset >= pp->p_offset)) {
1589 dlp->p_offset = dtp->p_offset;
1745 if (pp->p_offset != start)
1759 if (pp->p_offset < start
1761 || pp->p_offset + pp->p_size < pp->p_offset) {
[all …]
/dragonfly/sys/kern/
H A Dsubr_disklabel32.c132 *start = pp->p_offset; in l32_getpartbounds()
283 if (npp->p_offset != opp->p_offset || npp->p_size < opp->p_size) in l32_setdisklabel()
303 if (olp->d_partitions[RAW_PART].p_offset) in l32_setdisklabel()
508 pp->p_offset = 0; in l32_makevirginlabel()
512 pp->p_offset = 0; in l32_makevirginlabel()
558 if (pp->p_offset != start) { in l32_fixlabel()
590 if (pp->p_offset < start in l32_fixlabel()
591 || pp->p_offset + pp->p_size > end in l32_fixlabel()
592 || pp->p_offset + pp->p_size < pp->p_offset) { in l32_fixlabel()
606 pp->p_offset += offset; in l32_fixlabel()
[all …]
H A Dimgact_elf.c503 phdr[i].p_offset, in __elfN()
732 phdr[i].p_offset, in __CONCAT()
748 if (phdr[i].p_offset == 0 && in __CONCAT()
1063 phdr->p_offset = phc->offset; in cb_put_phdr()
1164 phdr->p_offset = 0; /* not written to core */ in cb_put_fp()
1376 phdr->p_offset = noteoff; in __elfN()
1732 if (hdr_overflow(pnote->p_offset, pnote->p_filesz)) in check_PT_NOTE()
1735 noteloc = pnote->p_offset; in check_PT_NOTE()
1826 if (hdr_overflow(pinterpreter->p_offset, pinterpreter->p_filesz)) in extract_interpreter()
1829 pathloc = pinterpreter->p_offset; in extract_interpreter()
/dragonfly/contrib/gdb-7/include/elf/
H A Dinternal.h90 bfd_vma p_offset; /* Segment file offset */ member
324 || ((bfd_vma) (sec_hdr)->sh_offset >= (segment)->p_offset \
326 || ((sec_hdr)->sh_offset - (segment)->p_offset \
328 && (((sec_hdr)->sh_offset - (segment)->p_offset \
346 || ((bfd_vma) (sec_hdr)->sh_offset > (segment)->p_offset \
347 && ((sec_hdr)->sh_offset - (segment)->p_offset \
H A Dexternal.h91 unsigned char p_offset[4]; /* Segment file offset */ member
103 unsigned char p_offset[8]; /* Segment file offset */ member
/dragonfly/contrib/binutils-2.34/include/elf/
H A Dinternal.h89 bfd_vma p_offset; /* Segment file offset */ member
345 || ((bfd_vma) (sec_hdr)->sh_offset >= (segment)->p_offset \
347 || ((sec_hdr)->sh_offset - (segment)->p_offset \
349 && (((sec_hdr)->sh_offset - (segment)->p_offset \
369 || ((bfd_vma) (sec_hdr)->sh_offset > (segment)->p_offset \
370 && ((sec_hdr)->sh_offset - (segment)->p_offset \
H A Dexternal.h90 unsigned char p_offset[4]; /* Segment file offset */ member
102 unsigned char p_offset[8]; /* Segment file offset */ member
/dragonfly/contrib/binutils-2.27/include/elf/
H A Dinternal.h89 bfd_vma p_offset; /* Segment file offset */ member
338 || ((bfd_vma) (sec_hdr)->sh_offset >= (segment)->p_offset \
340 || ((sec_hdr)->sh_offset - (segment)->p_offset \
342 && (((sec_hdr)->sh_offset - (segment)->p_offset \
360 || ((bfd_vma) (sec_hdr)->sh_offset > (segment)->p_offset \
361 && ((sec_hdr)->sh_offset - (segment)->p_offset \
H A Dexternal.h90 unsigned char p_offset[4]; /* Segment file offset */ member
102 unsigned char p_offset[8]; /* Segment file offset */ member
/dragonfly/contrib/elftoolchain/libelf/
H A Dgelf_phdr.c77 d->p_offset = ep32->p_offset; in gelf_getphdr()
169 LIBELF_COPY_U32(ph32, s, p_offset); in gelf_update_phdr()
/dragonfly/stand/boot/common/
H A Dload_elf.c313 (long)phdr[i].p_filesz, (long)phdr[i].p_offset, in __elfN()
327 if (ef->firstlen > phdr[i].p_offset) { in __elfN()
328 fpcopy = ef->firstlen - phdr[i].p_offset; in __elfN()
329 archsw.arch_copyin(ef->firstpage + phdr[i].p_offset, in __elfN()
334 phdr[i].p_filesz - fpcopy, phdr[i].p_offset + fpcopy) != 0) { in __elfN()
385 if (shdr[i].sh_offset >= phdr[j].p_offset && in __elfN()
387 phdr[j].p_offset + phdr[j].p_filesz)) { in __elfN()
/dragonfly/libexec/rtld-elf/
H A Dmap_object.c157 if (phdr->p_offset > PAGE_SIZE || in map_object()
158 phdr->p_offset + phdr->p_filesz > PAGE_SIZE) in map_object()
160 note_start = (Elf_Addr)(char *)hdr + phdr->p_offset; in map_object()
218 data_offset = trunc_page(segs[i]->p_offset); in map_object()
/dragonfly/stand/boot/pc32/btxld/
H A Dbtxld.c404 eh.p[1].p_offset = eh.p[0].p_offset + eh.p[0].p_filesz; in puthdr()
409 eh.sh[2].sh_offset = eh.p[0].p_offset; in puthdr()
412 eh.sh[3].sh_offset = eh.p[1].p_offset; in puthdr()
/dragonfly/contrib/binutils-2.34/elfcpp/
H A Delfcpp_internal.h115 Elf_types<32>::Elf_Off p_offset;
129 Elf_types<64>::Elf_Off p_offset;
/dragonfly/contrib/binutils-2.27/elfcpp/
H A Delfcpp_internal.h115 Elf_types<32>::Elf_Off p_offset;
129 Elf_types<64>::Elf_Off p_offset;
/dragonfly/sbin/gpt/
H A Dmigrate.c84 rawofs = le32toh(dl->d_partitions[RAW_PART].p_offset) * in migrate_disklabel()
89 ofs = le32toh(dl->d_partitions[i].p_offset) * in migrate_disklabel()
127 ofs = (le32toh(dl->d_partitions[i].p_offset) * in migrate_disklabel()
/dragonfly/contrib/binutils-2.34/bfd/
H A Delfcode.h366 dst->p_offset = H_GET_WORD (abfd, src->p_offset); in elf_swap_phdr_in()
395 H_PUT_WORD (abfd, src->p_offset, dst->p_offset); in elf_swap_phdr_out()
1737 bfd_vma segment_end = i_phdrs[i].p_offset + i_phdrs[i].p_filesz; in NAME()
1749 bfd_vma p_offset = i_phdrs[i].p_offset; in NAME() local
1754 p_offset &= -i_phdrs[i].p_align; in NAME()
1757 if (p_offset == 0) in NAME()
1789 bfd_vma segment_end = last_phdr->p_offset + last_phdr->p_filesz; in NAME()
1815 bfd_vma start = i_phdrs[i].p_offset; in NAME()
H A Delfcore.h297 bfd_size_type current = p->p_offset + p->p_filesz; in elf_core_file_p()
406 elf_read_notes (abfd, offset + i_phdr->p_offset, in NAME()
/dragonfly/contrib/binutils-2.27/bfd/
H A Delfcode.h358 dst->p_offset = H_GET_WORD (abfd, src->p_offset); in elf_swap_phdr_in()
387 H_PUT_WORD (abfd, src->p_offset, dst->p_offset); in elf_swap_phdr_out()
1709 bfd_vma segment_end = i_phdrs[i].p_offset + i_phdrs[i].p_filesz; in NAME()
1721 bfd_vma p_offset = i_phdrs[i].p_offset; in NAME() local
1726 p_offset &= -i_phdrs[i].p_align; in NAME()
1729 if (p_offset == 0) in NAME()
1761 bfd_vma segment_end = last_phdr->p_offset + last_phdr->p_filesz; in NAME()
1787 bfd_vma start = i_phdrs[i].p_offset; in NAME()
/dragonfly/contrib/gdb-7/bfd/
H A Delfcode.h359 dst->p_offset = H_GET_WORD (abfd, src->p_offset); in elf_swap_phdr_in()
388 H_PUT_WORD (abfd, src->p_offset, dst->p_offset); in elf_swap_phdr_out()
1706 segment_end = (i_phdrs[i].p_offset + i_phdrs[i].p_filesz in NAME()
1714 if (!loadbase_set && (i_phdrs[i].p_offset & -i_phdrs[i].p_align) == 0) in NAME()
1734 if ((bfd_vma) contents_size > last_phdr->p_offset + last_phdr->p_filesz in NAME()
1738 contents_size = last_phdr->p_offset + last_phdr->p_filesz; in NAME()
1744 contents_size = last_phdr->p_offset + last_phdr->p_filesz; in NAME()
1758 bfd_vma start = i_phdrs[i].p_offset & -i_phdrs[i].p_align; in NAME()
1759 bfd_vma end = (i_phdrs[i].p_offset + i_phdrs[i].p_filesz in NAME()
/dragonfly/contrib/binutils-2.34/binutils/
H A Delfedit.c117 phdrs[i].p_offset = BYTE_GET (phdrs32[i].p_offset); in update_gnu_property()
133 phdrs[i].p_offset = BYTE_GET (phdrs64[i].p_offset); in update_gnu_property()
147 size_t offset = phdrs[i].p_offset; in update_gnu_property()
/dragonfly/include/
H A Ddisktab.h91 __uint64_t p_offset; /* offset, in sectors */ member
/dragonfly/contrib/file/src/
H A Dreadelf.h177 Elf32_Off p_offset; member
189 Elf64_Off p_offset; member
/dragonfly/sys/vfs/udf/
H A Dudf_vnops.c1075 int i, p_offset; in udf_bmap_internal() local
1168 p_offset = lsector - udfmp->s_table->entries[i].org; in udf_bmap_internal()
1169 if ((p_offset < udfmp->p_sectors) && (p_offset >= 0)) { in udf_bmap_internal()
1171 p_offset; in udf_bmap_internal()
/dragonfly/stand/boot/pc32/boot2/
H A Dboot2.c403 fs_off = ep[i].p_offset; in load()
600 dsk.start += d->d_partitions[dsk.part].p_offset; in dskprobe()
601 dsk.start -= d->d_partitions[RAW_PART].p_offset; in dskprobe()

123