Home
last modified time | relevance | path

Searched refs:dp_flag (Results 1 – 10 of 10) sorted by relevance

/freebsd/sys/geom/part/
H A Dg_part_mbr.c337 if (entry->ent.dp_flag & 0x80) in g_part_mbr_dumpconf()
495 ent.dp_flag = p[0]; in g_part_mbr_read()
556 if (set && (entry->ent.dp_flag & 0x80) == 0) { in g_part_mbr_setunset()
557 entry->ent.dp_flag |= 0x80; in g_part_mbr_setunset()
559 } else if (!set && (entry->ent.dp_flag & 0x80)) { in g_part_mbr_setunset()
560 entry->ent.dp_flag &= ~0x80; in g_part_mbr_setunset()
564 if (set && (entry->ent.dp_flag & 0x80)) { in g_part_mbr_setunset()
565 entry->ent.dp_flag &= ~0x80; in g_part_mbr_setunset()
607 p[0] = entry->ent.dp_flag; in g_part_mbr_write()
H A Dg_part_ebr.c154 ent->dp_flag = p[0]; in ebr_entry_decode()
376 if (entry->ent.dp_flag & 0x80) in g_part_ebr_dumpconf()
598 if (set && (entry->ent.dp_flag & 0x80) == 0) { in g_part_ebr_setunset()
599 entry->ent.dp_flag |= 0x80; in g_part_ebr_setunset()
601 } else if (!set && (entry->ent.dp_flag & 0x80)) { in g_part_ebr_setunset()
602 entry->ent.dp_flag &= ~0x80; in g_part_ebr_setunset()
606 if (set && (entry->ent.dp_flag & 0x80)) { in g_part_ebr_setunset()
607 entry->ent.dp_flag &= ~0x80; in g_part_ebr_setunset()
681 p[0] = entry->ent.dp_flag; in g_part_ebr_write()
/freebsd/sbin/fdisk/
H A Dfdisk_mbr_enc.c47 d->dp_flag = p[0]; in dos_partition_dec()
64 p[0] = d->dp_flag; in dos_partition_enc()
H A Dfdisk.c361 if (partp->dp_flag & 0x80) in main()
379 partp->dp_flag); in main()
392 partp->dp_flag = ACTIVE; in main()
501 partp->dp_flag, in print_part()
502 partp->dp_flag == ACTIVE ? " (active)" : ""); in print_part()
548 partp->dp_flag = ACTIVE; in init_sector0()
638 if ((partp[i].dp_flag & ACTIVE) == 0) in change_active()
663 partp[i].dp_flag = 0; in change_active()
665 partp[active-1].dp_flag = ACTIVE; in change_active()
1294 partp[i].dp_flag = 0; in process_active()
[all …]
/freebsd/usr.bin/mkimg/
H A Dmbr.c94 dp->dp_flag = in mbr_write()
97 dp->dp_flag = in mbr_write()
/freebsd/sys/sys/disk/
H A Dmbr.h67 unsigned char dp_flag; /* bootstrap flags */ member
/freebsd/stand/common/
H A Dpart.c425 entry->flags = dp[0].dp_flag; in ptable_ebrread()
626 if (dp[i].dp_flag != 0 && dp[i].dp_flag != 0x80) { in ptable_open()
627 DPRINTF("invalid partition flag %x", dp[i].dp_flag); in ptable_open()
668 entry->flags = dp[i].dp_flag; in ptable_open()
/freebsd/stand/i386/boot2/
H A Dboot2.c486 (dp[i].dp_flag & 0x80 || sl < BASE_SLICE)) { in dskread()
488 if (dp[i].dp_flag & 0x80 || in dskread()
/freebsd/usr.sbin/mountd/
H A Dmountd.c94 int dp_flag; member
1500 } else if ((dp->dp_flag & DP_DEFSET) == 0 && in put_exlist()
1501 (gotalldir == 0 || (adp->dp_flag & DP_DEFSET) == 0)) { in put_exlist()
2307 if (ep->ex_defdir != NULL && (ep->ex_defdir->dp_flag & DP_DEFSET) != in compare_export()
2308 (oep->ex_defdir->dp_flag & DP_DEFSET)) in compare_export()
2535 dp->dp_flag = 0; in add_expdir()
2562 ep->ex_defdir->dp_flag |= DP_DEFSET; in hang_dirp()
2646 dp->dp_flag |= DP_DEFSET; in add_dlist()
2689 if (dp->dp_flag & DP_DEFSET) in chk_host()
2690 *defsetp = dp->dp_flag; in chk_host()
/freebsd/usr.sbin/boot0cfg/
H A Dboot0cfg.c444 printf(fmt1, 1 + i, part[i].dp_flag, in display_mbr()