Home
last modified time | relevance | path

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

/freebsd-13.1/sbin/fdisk/
H A Dfdisk.c375 (u_long) partp->dp_start, in main()
390 partp->dp_start = dos_sectors; in main()
493 (u_long)partp->dp_start, in print_part()
547 partp->dp_start = start; in init_sector0()
706 cy = partp->dp_start / dos_cylsecs; in dos()
1152 partp->dp_start = dos_sectors; in process_partition()
1158 partp->dp_start = prev_partp->dp_start + in process_partition()
1178 partp->dp_start; in process_partition()
1394 start = partp->dp_start; in sanitize_partition()
1452 if (start != partp->dp_start) { in sanitize_partition()
[all …]
H A Dfdisk_mbr_enc.c58 d->dp_start = le32dec(p + 8); in dos_partition_dec()
75 le32enc(p + 8, d->dp_start); in dos_partition_enc()
/freebsd-13.1/sys/geom/part/
H A Dg_part_mbr.c257 entry->ent.dp_start = start; in g_part_mbr_add()
496 ent.dp_start = le32dec(p + 8); in g_part_mbr_read()
500 if (ent.dp_start == 0 || ent.dp_size == 0) in g_part_mbr_read()
511 if (ent.dp_start < first) in g_part_mbr_read()
512 first = ent.dp_start; in g_part_mbr_read()
514 index + 1, ent.dp_start, ent.dp_start + ent.dp_size - 1); in g_part_mbr_read()
608 le32enc(p + 8, entry->ent.dp_start); in g_part_mbr_write()
H A Dg_part_ebr.c169 ent->dp_start = le32dec(p + 8); in ebr_entry_decode()
280 entry->ent.dp_start = basetable->gpt_sectors; in g_part_ebr_add()
282 ebr_set_chs(basetable, entry->ent.dp_start, &entry->ent.dp_scyl, in g_part_ebr_add()
563 lba = ent[0].dp_start; in g_part_ebr_read()
570 index, lba, lba + ent[0].dp_start + ent[0].dp_size - 1); in g_part_ebr_read()
571 baseentry->gpe_offset = (off_t)(lba + ent[0].dp_start) * in g_part_ebr_read()
583 lba = ent[1].dp_start; in g_part_ebr_read()
703 le32enc(p + 8, entry->ent.dp_start); in g_part_ebr_write()
/freebsd-13.1/usr.bin/mkimg/
H A Debr.c93 le32enc(&dp->dp_start, nsecs); in ebr_write()
106 le32enc(&dp->dp_start, next->block - nsecs); in ebr_write()
H A Dmbr.c106 le32enc(&dp->dp_start, part->block); in mbr_write()
/freebsd-13.1/sys/sys/disk/
H A Dmbr.h78 uint32_t dp_start; /* absolute starting sector number */ member
/freebsd-13.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()
728 if (dp[i].dp_typ == DOSPTYP_PMBR && dp[i].dp_start == 1) { in ptable_open()
747 start = le32dec(&(dp[i].dp_start)); in ptable_open()
/freebsd-13.1/stand/mips/beri/boot2/
H A Dboot2.c586 dsk.start = le32toh(dp->dp_start); in dskread()
/freebsd-13.1/usr.sbin/boot0cfg/
H A Dboot0cfg.c451 part[i].dp_ehd, part[i].dp_esect & 0x3f, part[i].dp_start, in display_mbr()
/freebsd-13.1/stand/i386/boot2/
H A Dboot2.c505 dsk.start = dp->dp_start; in dskread()