mbr_info_t
md_check_mbr(struct disk_partitions *parts, mbr_info_t *mbri, bool quiet)
mbr_info_t *ext;
md_mbr_update_check(struct disk_partitions *parts, mbr_info_t *mbri)
md_check_mbr(struct disk_partitions *parts, mbr_info_t *mbri, bool quiet)
md_mbr_update_check(struct disk_partitions *parts, mbr_info_t *mbri)
md_check_mbr(struct disk_partitions *parts, mbr_info_t *mbri, bool quiet)
mbr_info_t *ext;
md_mbr_update_check(struct disk_partitions *parts, mbr_info_t *mbri)
md_check_mbr(struct disk_partitions *parts, mbr_info_t *mbri, bool quiet)
mbr_info_t *ext;
md_mbr_update_check(struct disk_partitions *parts, mbr_info_t *mbri)
md_check_mbr(struct disk_partitions *parts, mbr_info_t *mbri, bool quiet)
md_mbr_update_check(struct disk_partitions *parts, mbr_info_t *mbri)
md_check_mbr(struct disk_partitions *parts, mbr_info_t *mbri, bool quiet)
md_mbr_update_check(struct disk_partitions *parts, mbr_info_t *mbri)
md_check_mbr(struct disk_partitions *parts, mbr_info_t *mbri, bool quiet)
md_mbr_update_check(struct disk_partitions *parts, mbr_info_t *mbri)
md_check_mbr(struct disk_partitions *parts, mbr_info_t *mbri, bool quiet)
md_mbr_update_check(struct disk_partitions *parts, mbr_info_t *mbri)
md_check_mbr(struct disk_partitions *parts, mbr_info_t *mbri, bool quiet)
md_mbr_update_check(struct disk_partitions *parts, mbr_info_t *mbri)
md_check_mbr(struct disk_partitions *parts, mbr_info_t *mbri, bool quiet)
mbr_info_t *ext;
md_mbr_update_check(struct disk_partitions *parts, mbr_info_t *mbri)
md_check_mbr(struct disk_partitions *parts, mbr_info_t *mbri, bool quiet)
md_mbr_update_check(struct disk_partitions *parts, mbr_info_t *mbri)
mbr_info_t *ext;
md_check_mbr(struct disk_partitions *parts, mbr_info_t *mbri, bool quiet)
mbr_info_t *ext;
md_mbr_update_check(struct disk_partitions *parts, mbr_info_t *mbri)
md_check_mbr(struct disk_partitions *parts, mbr_info_t *mbri, bool quiet)
md_mbr_update_check(struct disk_partitions *parts, mbr_info_t *mbri)
md_check_mbr(struct disk_partitions *parts, mbr_info_t *mbri, bool quiet)
mbr_info_t *ext;
md_mbr_update_check(struct disk_partitions *parts, mbr_info_t *mbri)
md_check_mbr(struct disk_partitions *parts, mbr_info_t *mbri, bool quiet)
md_mbr_update_check(struct disk_partitions *parts, mbr_info_t *mbri)
md_mbr_update_check(struct disk_partitions *parts, mbr_info_t *mbri)
md_check_mbr(struct disk_partitions *parts, mbr_info_t *mbri, bool quiet)
md_mbr_update_check(struct disk_partitions *parts, mbr_info_t *mbri)
const mbr_info_t *mb, int i, bool primary,
const mbr_info_t *m = &parts->mbr, *me;
mbr_info_t mbr;
const mbr_info_t *mb, int i, bool primary,
const mbr_info_t *mb, int i, bool primary,
const mbr_info_t *mb, int i, bool primary,
const mbr_info_t *mb, int i, bool primary,
const mbr_info_t *mb, int i, bool primary,
struct mbr_info_t *mb, size_t index, const char **err_msg)
inside_ext_part(mbr_info_t *m, daddr_t start)
adjust_ext_part(mbr_info_t *m, daddr_t start, daddr_t size)
ext_part_good(mbr_info_t *m, daddr_t ext_start, daddr_t ext_size)
mbr_info_t *m = &parts->mbr, *me;
mbr_find_netbsd(const struct mbr_info_t *m, uint start,
struct mbr_info_t *mbri = &myparts->mbr;
mbr_info_t *ext;
mbr_fixup_ext_chain(mbr_info_t *primary, uint ext_start, uint ext_end)
for (mbr_info_t *m = primary->extended; m != NULL; m = m->extended) {
const mbr_info_t *mb, int i, bool primary,
dump_mbr(mbr_info_t *m, const char *label)
for (mbr_info_t *m = marg->parts->mbr.extended;
mbr_info_t *n = m->extended;
mbr_info_t *p, *last;
mbr_ptr_from_start(mbr_info_t *m, daddr_t start)
mbr_type_from_start(const mbr_info_t *m, daddr_t start)
mbr_info_t *m = &parts->mbr, *me, *last, *t;
mbr_info_t *new_mbr;
mbr_info_t *m;
mbr_info_t *m = &parts->mbr;
const mbr_info_t *m = &parts->mbr;
mbr_info_t *mbr;
const mbr_info_t *mb, int i, bool primary,
const mbr_info_t *mb, int i, bool primary,
mbr_info_t *m;
const mbr_info_t *mb, int i, bool primary,
free_last_mounted(mbr_info_t *m)
free_mbr_info(mbr_info_t *m)
const mbr_info_t *mb, int i, bool primary,
find_mbr_space(const struct mbr_info_t *mbrs, uint *start, uint *size,
const mbr_info_t *m, *me;
validate_and_set_names(mbr_info_t *mbri, const struct mbr_bootsel *src,
read_mbr(const char *disk, size_t secsize, mbr_info_t *mbri,
mbr_info_t *ext = NULL;
mbr_info_t *ombri = mbri;
write_mbr(const char *disk, size_t secsize, mbr_info_t *mbri, int bsec,
mbr_info_t *ext;
mbr_info_t *m;
int md_check_mbr(struct disk_partitions*, mbr_info_t*, bool quiet);
bool md_mbr_update_check(struct disk_partitions*, mbr_info_t*);
typedef struct mbr_info_t mbr_info_t;
mbr_info_t *extended; /* next in extended partition list */