| /src/sbin/mbrlabel/ |
| mbrlabel.c | 165 npe.p_offset = getlong(&parts[i].mbrp_start) + off; 174 npe.p_size, npe.p_size / 2048, npe.p_offset); 184 lpe->p_offset == npe.p_offset) { 206 if ((npe.p_offset >= lpe->p_offset && 207 npe.p_offset < lpe->p_offset + lpe->p_size) || 208 (npe.p_offset + npe.p_size - 1 >= lpe->p_offset & [all...] |
| /src/sbin/disklabel/ |
| printlabel.c | 125 pp->p_offset/lp->d_secpercyl, 126 (pp->p_offset%lp->d_secpercyl) / lp->d_nsectors, 127 pp->p_offset%lp->d_nsectors); 133 'a' + i, pp->p_size, pp->p_offset); 175 pp->p_offset / lp->d_secpercyl); 177 if (pp->p_offset > lp->d_secperunit) 179 else if (pp->p_offset % lp->d_secpercyl) 185 (pp->p_offset + 189 if ((pp->p_offset + pp->p_size) > lp->d_secperunit) 191 else if ((pp->p_offset + pp->p_size) % lp->d_secpercyl [all...] |
| /src/sys/arch/arc/stand/boot/ |
| disk.c | 76 offset += pp->p_offset; 151 lp->d_partitions[part].p_offset = 0; 175 mbrp_off = lp->d_partitions[2].p_offset; 178 lp->d_partitions[i].p_offset >= mbrp_off) 179 lp->d_partitions[i].p_offset -= mbrp_off;
|
| /src/sys/arch/sgimips/stand/common/ |
| disk.c | 76 offset += pp->p_offset; 151 lp->d_partitions[part].p_offset = 0; 175 mbrp_off = lp->d_partitions[2].p_offset; 178 lp->d_partitions[i].p_offset >= mbrp_off) 179 lp->d_partitions[i].p_offset -= mbrp_off;
|
| iris_disk.c | 114 blk = bn + (lp->d_partitions[sc->sc_part].p_offset >> sc->sc_blkshift); 202 lp->d_partitions[scsi_part].p_offset = 0;
|
| /src/sys/arch/evbppc/evbppc/ |
| disksubr.c | 75 lp->d_partitions[RAW_PART].p_offset = 0; 130 if (lp->d_partitions[2].p_offset != 0 131 && lp->d_partitions[2].p_offset != dospartoff) {
|
| /src/sys/arch/x68k/x68k/ |
| disksubr.c | 83 lp->d_partitions[i].p_offset = 0; 87 lp->d_partitions[RAW_PART].p_offset = 0; 178 lp->d_partitions[part].p_offset = start; 310 start = lp->d_partitions[part].p_offset >> 1; 368 if (lp->d_partitions[0].p_offset != 0 369 && lp->d_partitions[0].p_offset != dospartoff) { 416 if ((bp[i].p_offset * f < (dp[j].dp_start + dp[j].dp_size) * g) && 417 ((bp[i].p_offset + bp[i].p_size) * f >= (dp[j].dp_start + dp[j].dp_size) * g)) 419 if ((bp[i].p_offset * f > dp[j].dp_start * g) && 420 ((bp[i].p_offset + bp[i].p_size) * f < (dp[j].dp_start + dp[j].dp_size) * g) [all...] |
| /src/sys/arch/newsmips/newsmips/ |
| disksubr.c | 71 lp->d_partitions[i].p_offset = 0; 75 lp->d_partitions[RAW_PART].p_offset = 0; 122 if (lp->d_partitions[labelpart].p_offset != 0) { 123 if (lp->d_partitions[0].p_offset != 0)
|
| /src/sys/kern/ |
| subr_disk_4bsd.c | 146 lp->d_partitions[i].p_offset = 0; 150 lp->d_partitions[RAW_PART].p_offset = 0; 190 if (lp->d_partitions[labelpart].p_offset != 0) { 191 if (lp->d_partitions[0].p_offset != 0)
|
| subr_disklabel.c | 103 if (npp->p_offset != opp->p_offset || npp->p_size < opp->p_size)
|
| subr_disk.c | 137 sn += lp->d_partitions[part].p_offset; 359 uint64_t p_size, p_offset, labelsector; local 375 p_offset = (uint64_t)p->p_offset << dk->dk_blkshift; 377 labelsector = lp->d_partitions[2].p_offset; 379 labelsector = lp->d_partitions[RAW_PART].p_offset; 407 if (bp->b_blkno + p_offset <= labelsector && 408 bp->b_blkno + p_offset + sz > labelsector && 415 bp->b_cylinder = (bp->b_blkno + p->p_offset) / 467 if (lp->d_npartitions > RAW_PART && p->p_offset == 0 && p->p_size != 0 [all...] |
| /src/sys/arch/atari/stand/libsa/ |
| diskio.c | 70 bootdev.rst = pd->p_offset; 71 bootdev.rend = pd->p_offset + pd->p_size - 1;
|
| /src/external/gpl3/binutils/dist/include/elf/ |
| internal.h | 89 bfd_vma p_offset; /* Segment file offset in octets. */ member in struct:elf_internal_phdr 348 || ((bfd_vma) (sec_hdr)->sh_offset >= (segment)->p_offset \ 350 || ((sec_hdr)->sh_offset - (segment)->p_offset \ 352 && (((sec_hdr)->sh_offset - (segment)->p_offset \ 372 || ((bfd_vma) (sec_hdr)->sh_offset > (segment)->p_offset \ 373 && ((sec_hdr)->sh_offset - (segment)->p_offset \
|
| /src/external/gpl3/binutils.old/dist/include/elf/ |
| internal.h | 89 bfd_vma p_offset; /* Segment file offset in octets. */ member in struct:elf_internal_phdr 348 || ((bfd_vma) (sec_hdr)->sh_offset >= (segment)->p_offset \ 350 || ((sec_hdr)->sh_offset - (segment)->p_offset \ 352 && (((sec_hdr)->sh_offset - (segment)->p_offset \ 372 || ((bfd_vma) (sec_hdr)->sh_offset > (segment)->p_offset \ 373 && ((sec_hdr)->sh_offset - (segment)->p_offset \
|
| /src/external/gpl3/gdb.old/dist/include/elf/ |
| internal.h | 89 bfd_vma p_offset; /* Segment file offset in octets. */ member in struct:elf_internal_phdr 348 || ((bfd_vma) (sec_hdr)->sh_offset >= (segment)->p_offset \ 350 || ((sec_hdr)->sh_offset - (segment)->p_offset \ 352 && (((sec_hdr)->sh_offset - (segment)->p_offset \ 372 || ((bfd_vma) (sec_hdr)->sh_offset > (segment)->p_offset \ 373 && ((sec_hdr)->sh_offset - (segment)->p_offset \
|
| /src/external/gpl3/gdb/dist/include/elf/ |
| internal.h | 89 bfd_vma p_offset; /* Segment file offset in octets. */ member in struct:elf_internal_phdr 348 || ((bfd_vma) (sec_hdr)->sh_offset >= (segment)->p_offset \ 350 || ((sec_hdr)->sh_offset - (segment)->p_offset \ 352 && (((sec_hdr)->sh_offset - (segment)->p_offset \ 372 || ((bfd_vma) (sec_hdr)->sh_offset > (segment)->p_offset \ 373 && ((sec_hdr)->sh_offset - (segment)->p_offset \
|
| /src/sys/arch/next68k/next68k/ |
| disksubr.c | 122 lp->d_partitions[nbp].p_offset = 218 if (nbp != RAW_PART && lp->d_partitions[nbp].p_offset > 0 && 219 lp->d_partitions[nbp].p_offset < front_porch) 220 front_porch = lp->d_partitions[nbp].p_offset; 226 (lp->d_partitions[nbp].p_offset == 258 p->cp_offset = (lp->d_partitions[nbp].p_offset / 329 lp->d_partitions[i].p_offset = 0; 333 lp->d_partitions[i].p_offset = 0; 415 if (lp->d_partitions[labelpart].p_offset != 0) { 416 if (lp->d_partitions[0].p_offset != 0 [all...] |
| /src/sys/arch/pmax/pmax/ |
| disksubr.c | 73 lp->d_partitions[0].p_offset = 0; 174 lp->d_partitions[part].p_offset = 184 lp->d_partitions[part].p_offset, 209 if (lp->d_partitions[labelpart].p_offset != 0) { 210 if (lp->d_partitions[0].p_offset != 0)
|
| /src/sys/arch/luna68k/luna68k/ |
| disksubr.c | 191 lp->d_partitions[i].p_offset = 0; 195 lp->d_partitions[RAW_PART].p_offset = 0; 353 npp->p_offset = spp->sdkp_cyloffset * secpercyl; 381 if (sl->sl_rpm == 0 && lp->d_partitions[2].p_offset != 0) { 428 spp->sdkp_cyloffset = npp->p_offset; /* UniOS */
|
| /src/external/bsd/elftoolchain/dist/libelf/ |
| gelf_phdr.c | 85 d->p_offset = ep32->p_offset; 169 LIBELF_COPY_U32(ph32, s, p_offset);
|
| /src/sys/arch/luna68k/stand/boot/ |
| disklabel.c | 223 bp->d_partitions[i].p_offset = 275 bp->d_partitions[i].p_offset = j; 377 pp->p_size, pp->p_offset); 400 pp->p_offset / lp->d_secpercyl); 401 if (pp->p_offset % lp->d_secpercyl) 406 (pp->p_offset +
|
| /src/sys/dev/sun/ |
| disksubr.c | 104 lp->d_partitions[RAW_PART].p_offset = 0; 290 && spp->sdkp_cyloffset * secpercyl == npp->p_offset*secpblck 300 npp->p_offset *= secpblck; 305 npp->p_offset = spp->sdkp_cyloffset * secpercyl; 372 if (npp->p_offset % secpercyl) 374 spp->sdkp_cyloffset = npp->p_offset / secpercyl;
|
| /src/sys/arch/hpc/hpc/ |
| disksubr.c | 152 lp->d_partitions[i].p_offset = 0; 156 lp->d_partitions[i].p_offset = 0; 190 pp->p_offset = dp->mbrp_start; 212 lp->d_partitions[2].p_offset = 320 if (lp->d_partitions[2].p_offset != 0 321 && lp->d_partitions[2].p_offset != dospartoff) {
|
| /src/sys/arch/ofppc/stand/ofwboot/ |
| mbr.c | 146 lp->d_partitions[i].p_offset = 0; 151 lp->d_partitions[0].p_offset = poff;
|
| /src/sys/arch/pmax/stand/common/ |
| rz.c | 78 offset += pp->p_offset; 155 lp->d_partitions[part].p_offset = 0;
|