| /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 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 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 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 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 218 struct vtoc_sector *vtoc = &ux->vtoc; local [all...] |
| /src/external/cddl/osnet/dist/lib/libzfs/common/ |
| libzfs_pool.c | 3868 struct dk_gpt *vtoc; local 3870 if ((err = efi_alloc_and_read(fd, &vtoc)) >= 0) { 3872 *sb = vtoc->efi_parts[0].p_start; 3873 efi_free(vtoc); 3923 struct dk_gpt *vtoc; local 3963 if (efi_alloc_and_init(fd, EFI_NUMPAR, &vtoc) != 0) { 3978 slice_size = vtoc->efi_last_u_lba + 1; 3984 vtoc->efi_parts[0].p_start = start_block; 3985 vtoc->efi_parts[0].p_size = slice_size; 3995 vtoc->efi_parts[0].p_tag = V_USR [all...] |
| libzfs_import.c | 1019 struct extvtoc vtoc; local 1030 if (read_extvtoc(fd, &vtoc) >= 0) { 1033 vtoc.v_part[i].p_size, vtoc.v_sectorsz);
|