/titanic_44/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 …]
|
/titanic_44/usr/src/cmd/fmthard/ |
H A D | fmthard.c | 91 static void display(struct dk_geom *, struct extvtoc *, char *); 93 static void insert(char *, struct extvtoc *); 95 static void load(FILE *, struct dk_geom *, struct extvtoc *); 98 static void validate(struct dk_geom *, struct extvtoc *); 100 static int vread(int, struct extvtoc *, char *); 102 static void vwrite(int, struct extvtoc *, char *); 130 static struct extvtoc disk_vtoc; 142 struct extvtoc disk_vtoc; in main() 379 display(struct dk_geom *geom, struct extvtoc *vtoc, char *device) in display() 470 insert(char *data, struct extvtoc *vtoc) in insert() [all …]
|
/titanic_44/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()
|
/titanic_44/usr/src/cmd/prtvtoc/ |
H A D | prtvtoc.c | 75 static freemap_t *findfree(struct dk_geom *, struct extvtoc *); 79 static void putfree(struct extvtoc *, freemap_t *); 81 static void puttable(struct dk_geom *, struct extvtoc *, freemap_t *, 86 static int readvtoc(int, char *, struct extvtoc *); 148 findfree(struct dk_geom *geom, struct extvtoc *vtoc) in findfree() 369 struct extvtoc vtoc; in prtvtoc() 432 putfree(struct extvtoc *vtoc, freemap_t *freemap) in putfree() 475 puttable(struct dk_geom *geom, struct extvtoc *vtoc, freemap_t *freemap, in puttable() 608 readvtoc(int fd, char *name, struct extvtoc *vtoc) in readvtoc()
|
/titanic_44/usr/src/cmd/format/ |
H A D | label.c | 63 static int vtoc_to_label(struct dk_label *label, struct extvtoc *vtoc, 65 extern int read_extvtoc(int, struct extvtoc *); 66 extern int write_extvtoc(int, struct extvtoc *); 275 struct extvtoc vtoc; in write_label() 487 struct extvtoc vtoc; in read_label() 747 vtoc_to_label(struct dk_label *label, struct extvtoc *vtoc, in vtoc_to_label() 893 label_to_vtoc(struct extvtoc *vtoc, struct dk_label *label) in label_to_vtoc() 909 (void) memset((char *)vtoc, 0, sizeof (struct extvtoc)); in label_to_vtoc() 991 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 | 619 struct extvtoc exvtoc;
|
/titanic_44/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 | 745 struct extvtoc v_toc; in write_sunos_label() 748 (void) memset(&v_toc, 0, sizeof (struct extvtoc)); in write_sunos_label() 1994 struct extvtoc vtocinfo; in get_media_info()
|
/titanic_44/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()
|
/titanic_44/usr/src/uts/common/sys/ |
H A D | vtoc.h | 136 struct extvtoc { struct 340 extern int read_extvtoc(int, struct extvtoc *); 341 extern int write_extvtoc(int, struct extvtoc *);
|
/titanic_44/usr/src/lib/libdiskmgt/common/ |
H A D | slice.c | 402 struct extvtoc vtoc; in get_attrs() 621 struct extvtoc vtoc; in get_fixed_assocs() 740 struct extvtoc vtoc; in make_fixed_descriptors() 820 struct extvtoc vtoc; in match_fixed_name()
|
H A D | media.c | 422 struct extvtoc vtoc; 549 struct extvtoc vtoc;
|
/titanic_44/usr/src/uts/sun4v/io/ |
H A D | vds.c | 477 struct extvtoc vtoc; /* synthetic for slice type */ 682 static void vd_vtocgeom_to_label(struct extvtoc *vtoc, struct dk_geom *geom, 684 static void vd_label_to_vtocgeom(struct dk_label *label, struct extvtoc *vtoc, 687 static boolean_t vd_slice_vtoc_isvalid(vd_t *vd, struct extvtoc *vtoc); 1663 struct extvtoc vtoc; in vd_slice_flabel_write() 2652 VD_VTOC2VTOC((vd_vtoc_t *)vd_buf, (struct extvtoc *)ioctl_arg); in vd_vtoc2vtoc() 2665 VTOC2VD_VTOC((struct extvtoc *)ioctl_arg, (vd_vtoc_t *)vd_buf); in vtoc2vd_vtoc() 2859 vd_vtocgeom_to_label(struct extvtoc *vtoc, struct dk_geom *geom, in vd_vtocgeom_to_label() 2912 vd_label_to_vtocgeom(struct dk_label *label, struct extvtoc *vtoc, in vd_label_to_vtocgeom() 2917 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() 7741 struct extvtoc evtoc; in vdc_get_vtoc_convert() 7802 struct extvtoc evtoc; in vdc_set_vtoc_convert() 7850 struct extvtoc evtoc; in vdc_get_extvtoc_convert() 7865 rv = ddi_copyout(&evtoc, to, sizeof (struct extvtoc), mode); in vdc_get_extvtoc_convert() 7876 struct extvtoc evtoc; in vdc_set_extvtoc_convert() 7884 rv = ddi_copyin(uvtoc, &evtoc, sizeof (struct extvtoc), mode); in vdc_set_extvtoc_convert() [all …]
|
/titanic_44/usr/src/lib/libefi/common/ |
H A D | rdwr_efi.c | 1029 struct extvtoc extvtoc; in efi_type() local 1031 if (ioctl(fd, DKIOCGEXTVTOC, &extvtoc) == -1) { in efi_type()
|
/titanic_44/usr/src/uts/sun4v/sys/ |
H A D | vdc.h | 311 struct extvtoc *vtoc; /* structure to store VTOC data */
|
/titanic_44/usr/src/cmd/addbadsec/ |
H A D | addbadsec.c | 58 struct extvtoc vtoc; /* table of contents */
|
/titanic_44/usr/src/cmd/hal/probing/storage/ |
H A D | probe-storage.c | 351 struct extvtoc vtoc; in main()
|
/titanic_44/usr/src/uts/common/io/ |
H A D | cmlb.c | 4034 struct extvtoc ext_vtoc; 4040 bzero(&ext_vtoc, sizeof (struct extvtoc)); 4075 sizeof (struct extvtoc), flag)) { 4081 sizeof (struct extvtoc), flag)) { 4096 if (ddi_copyout(&ext_vtoc, (void *)arg, sizeof (struct extvtoc), flag)) 4421 sizeof (struct extvtoc), flag)) { 4425 struct extvtoc user_extvtoc; 4427 sizeof (struct extvtoc), flag)) {
|
/titanic_44/usr/src/cmd/hal/probing/volume/ |
H A D | probe-volume.c | 443 struct extvtoc vtoc; in main()
|
/titanic_44/usr/src/cmd/fs.d/ufs/newfs/ |
H A D | newfs.c | 831 struct extvtoc vtoc; in get_device_size()
|
/titanic_44/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()
|