Lines Matching full:bsd
1 /* bsd.h -- BSD disklabel data structure definitions, types, and functions */
14 #define BSD_SIGNATURE UINT32_C(0x82564557) /* BSD disklabel signature ("magic") */
16 // BSD disklabels can start at offsets of 64 or the sector size -- at least,
43 enum BSDValidity {unknown, bsd_invalid, bsd}; enumerator
45 // Data for a single BSD partition record
57 // Full data in tweaked BSD format
63 // We only need a few items from the main BSD disklabel data structure....
70 // Above are basic BSD disklabel data; now add more stuff....
71 uint64_t labelFirstLBA; // first sector of BSD disklabel (partition or disk)
72 uint64_t labelLastLBA; // final sector of BSD disklabel
73 uint64_t labelStart; // BSD disklabel start point in bytes from labelFirstLBA
82 int ShowState(void); // returns 1 if BSD disklabel detected
90 GPTPart AsGPT(int i); // Return BSD part. as GPT part.