HomeSort by: relevance | last modified time | path
    Searched defs:vtoc (Results 1 - 6 of 6) sorted by relevancy

  /src/sys/arch/ews4800mips/include/
disklabel.h 37 #include <nbinclude/machine/vtoc.h>
40 #include <machine/vtoc.h>
50 * 7 boot block (VTOC)
66 struct vtoc_sector vtoc; member in struct:cpu_disklabel
70 /* VTOC <-> disklabel conversion ops. */
  /src/sys/arch/ews4800mips/stand/common/
bfs_subr.c 73 struct vtoc_sector *vtoc; local in function:bfs_find
86 vtoc = (struct vtoc_sector *)buf;
87 if (!vtoc_sector(0, vtoc, start))
91 if ((bfs_partition = vtoc_find_bfs(vtoc)) == 0)
fileread_bfs.c 40 #include <machine/vtoc.h>
48 struct vtoc_sector *vtoc = (void *)SDBOOT_VTOCADDR; local in function:fileread
49 struct ux_partition *partition = vtoc->partition;
62 uint8_t *p = (void *)vtoc;
64 err = dk_read(pdinfo->logical_sector + VTOC_SECTOR, 1, vtoc);
80 /* Read VTOC */
81 err = dk_read(pdinfo->logical_sector + VTOC_SECTOR, 1, vtoc);
85 if (vtoc->magic != VTOC_MAGIC)
diskutil.c 37 #include <machine/vtoc.h>
44 struct vtoc_sector vtoc; variable in typeref:struct:vtoc_sector
58 partition = vtoc.partition;
136 p = &vtoc.partition[partition];
154 vtoc.partition[partition].start_sector;
175 if (!vtoc_sector(0, &vtoc, pdinfo.logical_sector)) {
176 printf("no VTOC\n");
  /src/sys/arch/ews4800mips/ews4800mips/
disksubr.c 57 struct vtoc_sector *vtoc = &ux->vtoc; local in function:readdisklabel
65 /* Read VTOC */
68 } else if (vtoc_sector(rwops, vtoc, pdinfo->logical_sector) &&
69 vtoc_sanity(vtoc)) {
81 DPRINTF("%s: PDINFO found, but VTOC not found.\n", __func__);
85 /* If there is no BSD disklabel, convert from VTOC */
88 DPRINTF("%s: creating disklabel from VTOC.\n",
91 DPRINTF("%s: no VTOC. creating default disklabel.\n",
128 /* 1. Update VTOC */
    [all...]
disklabel_conv.c 57 * | VTOC |
92 struct vtoc_sector *vtoc = &ux->vtoc; local in function:vtoc_set_default
98 memset(vtoc, 0, sizeof *vtoc);
135 vtoc->magic = VTOC_MAGIC;
136 vtoc->version = VTOC_VERSION;
137 vtoc->sector_size_byte = DEV_BSIZE;
138 vtoc->npartitions = VTOC_MAXPARTITIONS;
140 boot = &vtoc->partition[7]
165 struct vtoc_sector *vtoc = &ux->vtoc; local in function:disklabel_to_vtoc
218 struct vtoc_sector *vtoc = &ux->vtoc; local in function:vtoc_to_disklabel
    [all...]

Completed in 14 milliseconds