/illumos-gate/usr/src/lib/libadm/common/ |
H A D | rdwr_vtoc.c | 205 read_extvtoc(int fd, struct extvtoc *extvtoc) in read_extvtoc() argument 215 if (ioctl(fd, DKIOCGEXTVTOC, (caddr_t)extvtoc) == -1) { in read_extvtoc() 236 bcopy(oldvtocp, extvtoc, sizeof (struct extvtoc)); in read_extvtoc() 238 bzero(extvtoc, sizeof (struct extvtoc)); in read_extvtoc() 239 libadm_vtoc_copy(oldvtocp, extvtoc); in read_extvtoc() 252 if (extvtoc->v_sanity != VTOC_SANE) { in read_extvtoc() 256 switch (extvtoc->v_version) { in read_extvtoc() 263 extvtoc->v_version = V_VERSION; in read_extvtoc() 264 if (extvtoc->v_nparts == 0) in read_extvtoc() 265 extvtoc->v_nparts = V_NUMPAR; in read_extvtoc() [all …]
|
/illumos-gate/usr/src/cmd/fmthard/ |
H A D | fmthard.c | 94 static void display(struct dk_geom *, struct extvtoc *, char *); 96 static void insert(char *, struct extvtoc *); 98 static void load(FILE *, struct dk_geom *, struct extvtoc *); 101 static void validate(struct dk_geom *, struct extvtoc *); 103 static int vread(int, struct extvtoc *, char *); 105 static void vwrite(int, struct extvtoc *, char *); 133 static struct extvtoc disk_vtoc; 145 struct extvtoc disk_vtoc; in main() 382 display(struct dk_geom *geom, struct extvtoc *vtoc, char *device) in display() 473 insert(char *data, struct extvtoc *vtoc) in insert() [all …]
|
/illumos-gate/usr/src/cmd/devinfo/ |
H A D | devinfo.c | 64 static int readvtoc(int fd, char *name, struct extvtoc *vtoc); 135 struct extvtoc vtdata; in partinfo() 170 struct extvtoc vtdata; in devinfo() 209 readvtoc(int fd, char *name, struct extvtoc *vtoc) in readvtoc()
|
/illumos-gate/usr/src/cmd/prtvtoc/ |
H A D | prtvtoc.c | 77 static freemap_t *findfree(struct dk_geom *, struct extvtoc *); 81 static void putfree(struct extvtoc *, freemap_t *); 83 static void puttable(struct dk_geom *, struct extvtoc *, freemap_t *, 88 static int readvtoc(int, char *, struct extvtoc *); 155 findfree(struct dk_geom *geom, struct extvtoc *vtoc) in findfree() 390 struct extvtoc vtoc; in prtvtoc() 463 putfree(struct extvtoc *vtoc, freemap_t *freemap) in putfree() 551 puttable(struct dk_geom *geom, struct extvtoc *vtoc, freemap_t *freemap, in puttable() 674 readvtoc(int fd, char *name, struct extvtoc *vtoc) in readvtoc()
|
/illumos-gate/usr/src/cmd/format/ |
H A D | label.c | 59 static int vtoc_to_label(struct dk_label *, struct extvtoc *, 61 extern int read_extvtoc(int, struct extvtoc *); 62 extern int write_extvtoc(int, struct extvtoc *); 257 struct extvtoc vtoc; in write_label() 469 struct extvtoc vtoc; in read_label() 729 vtoc_to_label(struct dk_label *label, struct extvtoc *vtoc, in vtoc_to_label() 875 label_to_vtoc(struct extvtoc *vtoc, struct dk_label *label) in label_to_vtoc() 891 (void) memset((char *)vtoc, 0, sizeof (struct extvtoc)); in label_to_vtoc() 973 struct extvtoc vtoc; in is_efi_type()
|
H A D | label.h | 45 int label_to_vtoc(struct extvtoc *, struct dk_label *);
|
H A D | menu_fdisk.c | 622 struct extvtoc exvtoc;
|
/illumos-gate/usr/src/cmd/rmformat/ |
H A D | rmf_slice.c | 130 static int32_t sup_prxfile(char *file_name, struct extvtoc *vt); 131 static int32_t sup_setpart(struct extvtoc *vt); 140 struct extvtoc *vt); 154 sup_prxfile(char *file_name, struct extvtoc *vt) in sup_prxfile() 429 sup_setpart(struct extvtoc *vt) in sup_setpart() 789 struct extvtoc *vt) in valid_slice_file() 871 check_vtoc_sanity(smedia_handle_t handle, int32_t fd, struct extvtoc *vt) in check_vtoc_sanity() 1248 struct extvtoc v_toc; in write_default_label() 1327 struct extvtoc v_toc; in write_default_label() 1517 struct extvtoc t_vtoc; in overwrite_metadata()
|
H A D | rmf_menu.c | 76 struct extvtoc *); 987 struct extvtoc v_toc, t_vtoc; in process_s_flag() 1122 struct extvtoc v_toc; in process_b_flag()
|
H A D | rmf_misc.c | 747 struct extvtoc v_toc; in write_sunos_label() 750 (void) memset(&v_toc, 0, sizeof (struct extvtoc)); in write_sunos_label() 1995 struct extvtoc vtocinfo; in get_media_info()
|
/illumos-gate/usr/src/cmd/hal/utils/ |
H A D | fsutils.h | 24 boolean_t vtoc_one_slice_entire_disk(struct extvtoc *vtoc);
|
H A D | fsutils.c | 224 vtoc_one_slice_entire_disk(struct extvtoc *vtoc) in vtoc_one_slice_entire_disk()
|
/illumos-gate/usr/src/lib/libdiskmgt/common/ |
H A D | slice.c | 359 struct extvtoc vtoc; in get_attrs() 522 struct extvtoc vtoc; in get_fixed_assocs() 642 struct extvtoc vtoc; in make_fixed_descriptors() 722 struct extvtoc vtoc; in match_fixed_name()
|
H A D | media.c | 422 struct extvtoc vtoc; 549 struct extvtoc vtoc;
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | vtoc.h | 153 struct extvtoc { struct 357 extern int read_extvtoc(int, struct extvtoc *); 358 extern int write_extvtoc(int, struct extvtoc *);
|
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | vds.c | 478 struct extvtoc vtoc; /* synthetic for slice type */ 683 static void vd_vtocgeom_to_label(struct extvtoc *vtoc, struct dk_geom *geom, 685 static void vd_label_to_vtocgeom(struct dk_label *label, struct extvtoc *vtoc, 688 static boolean_t vd_slice_vtoc_isvalid(vd_t *vd, struct extvtoc *vtoc); 1664 struct extvtoc vtoc; in vd_slice_flabel_write() 2653 VD_VTOC2VTOC((vd_vtoc_t *)vd_buf, (struct extvtoc *)ioctl_arg); in vd_vtoc2vtoc() 2666 VTOC2VD_VTOC((struct extvtoc *)ioctl_arg, (vd_vtoc_t *)vd_buf); in vtoc2vd_vtoc() 2860 vd_vtocgeom_to_label(struct extvtoc *vtoc, struct dk_geom *geom, in vd_vtocgeom_to_label() 2913 vd_label_to_vtocgeom(struct dk_label *label, struct extvtoc *vtoc, in vd_label_to_vtocgeom() 2918 bzero(vtoc, sizeof (struct extvtoc)); in vd_label_to_vtocgeom() [all …]
|
H A D | vdc.c | 150 struct extvtoc *); 612 kmem_free(vdc->vtoc, sizeof (struct extvtoc)); in vdc_detach() 733 vdc->vtoc = kmem_zalloc(sizeof (struct extvtoc), KM_SLEEP); in vdc_do_attach() 5589 struct extvtoc *vtoc; in vdc_dkio_gapart() 7742 struct extvtoc evtoc; in vdc_get_vtoc_convert() 7803 struct extvtoc evtoc; in vdc_set_vtoc_convert() 7851 struct extvtoc evtoc; in vdc_get_extvtoc_convert() 7866 rv = ddi_copyout(&evtoc, to, sizeof (struct extvtoc), mode); in vdc_get_extvtoc_convert() 7877 struct extvtoc evtoc; in vdc_set_extvtoc_convert() 7885 rv = ddi_copyin(uvtoc, &evtoc, sizeof (struct extvtoc), mode); in vdc_set_extvtoc_convert() [all …]
|
/illumos-gate/usr/src/uts/sun4v/sys/ |
H A D | vdc.h | 311 struct extvtoc *vtoc; /* structure to store VTOC data */
|
/illumos-gate/usr/src/cmd/addbadsec/ |
H A D | addbadsec.c | 58 struct extvtoc vtoc; /* table of contents */
|
/illumos-gate/usr/src/lib/libefi/common/ |
H A D | rdwr_efi.c | 1306 struct extvtoc extvtoc; in efi_type() local 1308 if (ioctl(fd, DKIOCGEXTVTOC, &extvtoc) == -1) { in efi_type()
|
/illumos-gate/usr/src/cmd/hal/probing/storage/ |
H A D | probe-storage.c | 351 struct extvtoc vtoc; in main()
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | cmlb.c | 4069 struct extvtoc ext_vtoc; 4075 bzero(&ext_vtoc, sizeof (struct extvtoc)); 4110 sizeof (struct extvtoc), flag)) { 4116 sizeof (struct extvtoc), flag)) { 4131 if (ddi_copyout(&ext_vtoc, (void *)arg, sizeof (struct extvtoc), flag)) 4465 sizeof (struct extvtoc), flag)) { 4469 struct extvtoc user_extvtoc; 4471 sizeof (struct extvtoc), flag)) {
|
/illumos-gate/usr/src/cmd/hal/probing/volume/ |
H A D | probe-volume.c | 443 struct extvtoc vtoc; in main()
|
/illumos-gate/usr/src/cmd/fs.d/ufs/newfs/ |
H A D | newfs.c | 831 struct extvtoc vtoc; in get_device_size()
|
/illumos-gate/usr/src/cmd/smserverd/ |
H A D | smediad.c | 1979 struct extvtoc extvtoc; in client_servproc() local 2226 ret_val = ioctl(door_dp->dd_fd, DKIOCGEXTVTOC, &extvtoc); in client_servproc()
|