Searched refs:p_offset (Results 1 - 25 of 70) sorted by relevance

123

/freebsd-13-stable/sbin/bsdlabel/
H A Dbsdlabel.c314 dp->p_offset = BBSIZE / secsize;
315 dp->p_size = lp->d_secperunit - dp->p_offset;
400 lab.d_partitions[i].p_offset += lba_offset;
501 lba = MIN(lba, lab.d_partitions[i].p_offset);
503 if (lba != 0 && lab.d_partitions[RAW_PART].p_offset == lba) {
506 lab.d_partitions[i].p_offset -= lba;
576 (u_long)pp->p_size, (u_long)pp->p_offset);
1037 pp->p_offset = v;
1253 if (pp->p_offset > base_offset)
1254 free_space += pp->p_offset
[all...]
/freebsd-13-stable/libexec/rtld-elf/
H A Dmap_object.c171 if (phdr->p_offset > PAGE_SIZE ||
172 phdr->p_offset + phdr->p_filesz > PAGE_SIZE) {
173 note_map_len = round_page(phdr->p_offset +
174 phdr->p_filesz) - trunc_page(phdr->p_offset);
176 MAP_PRIVATE, fd, trunc_page(phdr->p_offset));
181 note_start = (Elf_Addr)(note_map + phdr->p_offset -
182 trunc_page(phdr->p_offset));
184 note_start = (Elf_Addr)(char *)hdr + phdr->p_offset;
231 data_offset = trunc_page(segs[i]->p_offset);
322 obj->tlspoffset = phtls->p_offset;
[all...]
/freebsd-13-stable/contrib/elftoolchain/libelf/
H A Dgelf_phdr.c79 d->p_offset = ep32->p_offset;
163 LIBELF_COPY_U32(ph32, s, p_offset);
/freebsd-13-stable/contrib/llvm-project/lld/ELF/
H A DWriter.h41 uint64_t p_offset = 0; member in struct:lld::elf::PhdrEntry
/freebsd-13-stable/sys/arm/arm/
H A Ddump_machdep.c95 phdr.p_offset = 0;
/freebsd-13-stable/sys/geom/part/
H A Dg_part_bsd.c170 entry->part.p_offset = gpp->gpp_start + table->offset;
241 entry->part.p_offset = table->offset;
447 part.p_offset = le32dec(p + 4);
454 if (part.p_offset < table->offset)
456 if (part.p_offset - table->offset > basetable->gpt_last)
459 part.p_offset - table->offset,
460 part.p_offset - table->offset + part.p_size - 1);
520 le32enc(p + 4, entry->part.p_offset);
/freebsd-13-stable/stand/efi/boot1/
H A Dufs_module.c121 dl->d_partitions[0].p_offset == 0)
123 devinfo->partoff = dl->d_partitions[0].p_offset;
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_freebsd.h105 __uint32_t p_offset; member in struct:__sanitizer::__anon2530
/freebsd-13-stable/sys/sys/disk/
H A Dbsd.h122 uint32_t p_offset; /* starting sector */ member in struct:disklabel::partition
/freebsd-13-stable/sys/dev/qlnx/qlnxe/
H A Decore_init_ops.c463 u16 *p_offset, int modes)
470 tree_val = modes_tree_buf[(*p_offset)++];
473 return ecore_init_cmd_mode_match(p_hwfn, p_offset, modes) ^ 1;
475 arg1 = ecore_init_cmd_mode_match(p_hwfn, p_offset, modes);
476 arg2 = ecore_init_cmd_mode_match(p_hwfn, p_offset, modes);
479 arg1 = ecore_init_cmd_mode_match(p_hwfn, p_offset, modes);
480 arg2 = ecore_init_cmd_mode_match(p_hwfn, p_offset, modes);
462 ecore_init_cmd_mode_match(struct ecore_hwfn *p_hwfn, u16 *p_offset, int modes) argument
/freebsd-13-stable/sys/geom/
H A Dgeom_bsd_enc.c62 d->p_offset = le32dec(ptr + 4);
141 le32enc(ptr + 4, d->p_offset);
/freebsd-13-stable/usr.bin/elfctl/
H A Delfctl.c372 if (lseek(fd, phdr.p_offset, SEEK_SET) < 0) {
438 *off = phdr.p_offset + read_total;
/freebsd-13-stable/lib/libprocstat/
H A Dcore.c190 offset = core->pc_phdr.p_offset;
321 offset = phdr.p_offset + (addr - phdr.p_vaddr);
441 offset = core->pc_phdr.p_offset;
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Object/
H A DELF.cpp520 reinterpret_cast<const Elf_Dyn *>(base() + Phdr.p_offset),
587 uint64_t Offset = Phdr.p_offset + Delta;
593 Twine::utohexstr(Phdr.p_offset + Phdr.p_filesz) +
/freebsd-13-stable/stand/mips/beri/boot2/
H A Dboot2.c354 fs_off = ep[i].p_offset;
608 dsk.start += le32toh(d->d_partitions[dsk.part].p_offset);
609 dsk.start -= le32toh(d->d_partitions[RAW_PART].p_offset);
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/ObjectFile/ELF/
H A DELFHeader.h195 elf_off p_offset; ///< Start of segment from beginning of file. member in struct:elf::ELFProgramHeader
H A DELFHeader.cpp372 // Read p_offset, p_vaddr, p_paddr, p_filesz and p_memsz.
373 if (!GetMaxU64(data, offset, &p_offset, byte_size, 5))
388 // Read p_offset, p_vaddr, p_paddr, p_filesz, p_memsz and p_align.
389 if (!GetMaxU64(data, offset, &p_offset, byte_size, 6))
/freebsd-13-stable/lib/libc/gen/
H A Ddisklabel.c136 pp->p_offset = l;
/freebsd-13-stable/sys/mips/mips/
H A Delf_trampoline.c161 (void*)(kstart + phdr[i].p_offset), phdr[i].p_filesz);
/freebsd-13-stable/sys/sys/
H A Delf32.h110 Elf32_Off p_offset; /* File offset of contents. */ member in struct:__anon15802
H A Delf64.h120 Elf64_Off p_offset; /* File offset of contents. */ member in struct:__anon15820
/freebsd-13-stable/usr.sbin/btxld/
H A Dbtxld.c426 eh.p[1].p_offset = htole32(le32toh(eh.p[0].p_offset) +
433 eh.sh[2].sh_offset = eh.p[0].p_offset;
436 eh.sh[3].sh_offset = eh.p[1].p_offset;
/freebsd-13-stable/usr.bin/mkimg/
H A Dbsd.c106 le32enc(&dp->p_offset, part->block);
/freebsd-13-stable/contrib/file/src/
H A Dreadelf.h177 Elf32_Off p_offset; member in struct:__anon755
189 Elf64_Off p_offset; member in struct:__anon756
/freebsd-13-stable/stand/common/
H A Dload_elf.c173 CONVERT_FIELD(b, p_offset, e); \
584 (long)phdr[i].p_filesz, (long)phdr[i].p_offset,
599 if (ef->firstlen > phdr[i].p_offset) {
600 fpcopy = ef->firstlen - phdr[i].p_offset;
601 archsw.arch_copyin(ef->firstpage + phdr[i].p_offset,
608 phdr[i].p_offset + fpcopy) != 0) {
699 if (shdr[i].sh_offset >= phdr[j].p_offset &&
701 phdr[j].p_offset + phdr[j].p_filesz)) {

Completed in 286 milliseconds

123