HomeSort by: relevance | last modified time | path
    Searched refs:this_ext (Results 1 - 5 of 5) sorted by relevancy

  /src/sys/arch/landisk/stand/boot/
biosdisk.c 143 int ext_base, this_ext, next_ext; local
160 this_ext = ext_base + next_ext;
164 if (readsects(d->dev, this_ext, d->buf, 1)) {
166 printf("error reading MBR sector %d\n", this_ext);
176 sector = this_ext + mbr[i].mbrp_start;
187 if (this_ext == 0 && typ == MBR_PTYPE_386BSD)
190 if (this_ext != 0) {
  /src/sys/dev/dkwedge/
dkwedge_bsdlabel.c 350 u_int ext_base, this_ext, next_ext; local
357 this_ext = 0;
359 a->error = dkwedge_read(a->pdk, a->vp, this_ext, a->bp->b_data,
363 "error = %d\n", a->pdk->dk_name, this_ext,
391 if (this_ext == 0)
396 rval = (*actn)(a, dp, i, this_ext);
407 if (next_ext <= this_ext)
409 this_ext = next_ext;
412 if (this_ext == 0 && dp_386bsd != -1)
  /src/sys/kern/
subr_disk_mbr.c 145 uint ext_base, this_ext, next_ext; local
155 this_ext = 0;
157 if (read_sector(a, this_ext, 1)) {
194 this_ext = le32toh(a->lp->d_secpercyl /
226 if (this_ext == 0) {
233 rval = (*actn)(a, dp, j, this_ext);
245 if (next_ext <= this_ext)
247 this_ext = next_ext;
250 if (this_ext == 0 && dp_386bsd != -1)
  /src/sys/arch/i386/stand/lib/
biosdisk.c 584 int this_ext, daddr_t sector)
605 sector = this_ext + mbr[i].mbrp_start;
659 uint32_t ext_base, this_ext, next_ext; local
681 this_ext = ext_base + next_ext;
683 if (readsects(&d->ll, this_ext, 1, d->buf, 0)) {
685 printf("error reading MBR sector %u\n", this_ext);
695 sector = this_ext + mbr[i].mbrp_start;
701 this_ext, sector)) {
716 if (this_ext == offset && typ == MBR_PTYPE_386BSD)
719 if (this_ext != offset)
    [all...]
  /src/sbin/disklabel/
main.c 930 u_int ext_base, next_ext, this_ext, start; local
935 this_ext = next_ext;
938 warnx("reading mbr sector %u", this_ext);
939 if (pread(f, &mbr, sizeof mbr, this_ext * (off_t)DEV_BSIZE)
943 this_ext);
951 this_ext);
968 res = action(f, this_ext + start);
992 if (next_ext <= this_ext) {
995 next_ext, this_ext);

Completed in 31 milliseconds