Changeset View
Changeset View
Standalone View
Standalone View
sys/geom/part/g_part_vtoc8.c
Show First 20 Lines • Show All 93 Lines • ▼ Show 20 Lines | static struct g_part_scheme g_part_vtoc8_scheme = { | ||||
"VTOC8", | "VTOC8", | ||||
g_part_vtoc8_methods, | g_part_vtoc8_methods, | ||||
sizeof(struct g_part_vtoc8_table), | sizeof(struct g_part_vtoc8_table), | ||||
.gps_entrysz = sizeof(struct g_part_entry), | .gps_entrysz = sizeof(struct g_part_entry), | ||||
.gps_minent = VTOC8_NPARTS, | .gps_minent = VTOC8_NPARTS, | ||||
.gps_maxent = VTOC8_NPARTS, | .gps_maxent = VTOC8_NPARTS, | ||||
}; | }; | ||||
G_PART_SCHEME_DECLARE(g_part_vtoc8); | G_PART_SCHEME_DECLARE(g_part_vtoc8); | ||||
MODULE_VERSION(geom_part_vtoc8, 0); | |||||
static int | static int | ||||
vtoc8_parse_type(const char *type, uint16_t *tag) | vtoc8_parse_type(const char *type, uint16_t *tag) | ||||
{ | { | ||||
const char *alias; | const char *alias; | ||||
char *endp; | char *endp; | ||||
long lt; | long lt; | ||||
▲ Show 20 Lines • Show All 490 Lines • Show Last 20 Lines |