Home
last modified time | relevance | path

Searched refs:dp_start (Results 1 – 13 of 13) sorted by relevance

/freebsd-12.1/sbin/fdisk/
H A Dfdisk.c372 (u_long) partp->dp_start, in main()
387 partp->dp_start = dos_sectors; in main()
490 (u_long)partp->dp_start, in print_part()
544 partp->dp_start = start; in init_sector0()
703 cy = partp->dp_start / dos_cylsecs; in dos()
1179 partp->dp_start = dos_sectors; in process_partition()
1185 partp->dp_start = prev_partp->dp_start + in process_partition()
1205 partp->dp_start; in process_partition()
1421 start = partp->dp_start; in sanitize_partition()
1479 if (start != partp->dp_start) { in sanitize_partition()
[all …]
/freebsd-12.1/sys/geom/part/
H A Dg_part_mbr.c256 entry->ent.dp_start = start; in g_part_mbr_add()
495 ent.dp_start = le32dec(p + 8); in g_part_mbr_read()
499 if (ent.dp_start == 0 || ent.dp_size == 0) in g_part_mbr_read()
510 if (ent.dp_start < first) in g_part_mbr_read()
511 first = ent.dp_start; in g_part_mbr_read()
513 index + 1, ent.dp_start, ent.dp_start + ent.dp_size - 1); in g_part_mbr_read()
607 le32enc(p + 8, entry->ent.dp_start); in g_part_mbr_write()
H A Dg_part_ebr.c162 ent->dp_start = le32dec(p + 8); in ebr_entry_decode()
273 entry->ent.dp_start = basetable->gpt_sectors; in g_part_ebr_add()
275 ebr_set_chs(basetable, entry->ent.dp_start, &entry->ent.dp_scyl, in g_part_ebr_add()
539 lba = ent[0].dp_start; in g_part_ebr_read()
545 index, lba, lba + ent[0].dp_start + ent[0].dp_size - 1); in g_part_ebr_read()
546 baseentry->gpe_offset = (off_t)(lba + ent[0].dp_start) * in g_part_ebr_read()
554 lba = ent[1].dp_start; in g_part_ebr_read()
673 le32enc(p + 8, entry->ent.dp_start); in g_part_ebr_write()
/freebsd-12.1/sys/geom/
H A Dgeom_mbr_enc.c56 d->dp_start = le32dec(p + 8); in dos_partition_dec()
73 le32enc(p + 8, d->dp_start); in dos_partition_enc()
H A Dgeom_mbr.c87 printf(" s:%d l:%d\n", dp->dp_start, dp->dp_size); in g_mbr_print()
154 (off_t)dp[i].dp_start * ms->sectorsize, l[i], in g_mbr_modify()
162 (off_t)dp[i].dp_start * ms->sectorsize, l[i], in g_mbr_modify()
490 (((off_t)dp[0].dp_start) << 9ULL) + off, in g_mbrext_taste()
509 off = ((off_t)dp[1].dp_start) << 9ULL; in g_mbrext_taste()
/freebsd-12.1/usr.bin/mkimg/
H A Debr.c92 le32enc(&dp->dp_start, nsecs); in ebr_write()
105 le32enc(&dp->dp_start, next->block - nsecs); in ebr_write()
H A Dmbr.c105 le32enc(&dp->dp_start, part->block); in mbr_write()
/freebsd-12.1/sys/sys/disk/
H A Dmbr.h75 uint32_t dp_start; /* absolute starting sector number */ member
/freebsd-12.1/stand/common/
H A Dpart.c416 start = le32toh(dp[0].dp_start); in ptable_ebrread()
436 offset = e1->part.start + le32toh(dp[1].dp_start); in ptable_ebrread()
752 start = le32dec(&(dp[i].dp_start)); in ptable_open()
/freebsd-12.1/stand/i386/zfsboot/
H A Dzfsboot.c676 zdsk->dsk.start = dp[i].dp_start; in probe_drive()
684 dp[i].dp_start, "disk%us%u:")) != NULL) { in probe_drive()
/freebsd-12.1/stand/mips/beri/boot2/
H A Dboot2.c586 dsk.start = le32toh(dp->dp_start); in dskread()
/freebsd-12.1/usr.sbin/boot0cfg/
H A Dboot0cfg.c457 part[i].dp_ehd, part[i].dp_esect & 0x3f, part[i].dp_start, in display_mbr()
/freebsd-12.1/stand/i386/boot2/
H A Dboot2.c505 dsk.start = dp->dp_start; in dskread()