Searched refs:mboot (Results 1 - 2 of 2) sorted by relevance

/freebsd-9.3-release/sbin/fdisk/
H A Dfdisk.c80 struct mboot { struct
86 static struct mboot mboot; variable in typeref:struct:mboot
332 /* (abu)use mboot.bootinst to probe for the sector size */
333 if ((mboot.bootinst = malloc(MAX_SEC_SIZE)) == NULL)
335 if (read_disk(0, mboot.bootinst) == -1)
337 free(mboot.bootinst);
338 mboot.bootinst = NULL;
348 partp = &mboot.parts[i];
369 partp = &mboot
[all...]
/freebsd-9.3-release/sbin/fdisk_pc98/
H A Dfdisk.c76 struct mboot { struct
84 static struct mboot mboot; variable in typeref:struct:mboot
258 partp = ((struct pc98_partition *) &mboot.parts) + i;
274 partp = (struct pc98_partition *) (&mboot.parts[0]);
358 partp = ((struct pc98_partition *) &mboot.parts) + i - 1;
393 partp = ((struct pc98_partition *) &mboot.parts) + i - 1;
417 mboot.signature = DOSMAGIC;
425 (struct pc98_partition *)(&mboot.parts[0]);
439 ((struct pc98_partition *) &mboot
[all...]

Completed in 153 milliseconds