Home
last modified time | relevance | path

Searched refs:v_volume (Results 1 – 25 of 26) sorted by relevance

12

/illumos-gate/usr/src/uts/common/sys/
H A Dvtoc.h135 char v_volume[LEN_DKL_VVOL]; /* volume name */ member
157 char v_volume[LEN_DKL_VVOL]; /* volume name */ member
176 bcopy(extv.v_volume, v.v_volume, LEN_DKL_VVOL); \
199 bcopy(v.v_volume, extv.v_volume, LEN_DKL_VVOL); \
229 char v_volume[LEN_DKL_VVOL]; /* volume name */ member
246 bcopy(v32.v_volume, v.v_volume, LEN_DKL_VVOL); \
271 bcopy(v32.v_volume, extv.v_volume, LEN_DKL_VVOL); \
296 bcopy(v.v_volume, v32.v_volume, LEN_DKL_VVOL); \
325 bcopy(extv.v_volume, v32.v_volume, LEN_DKL_VVOL); \
H A Ddklabel.h135 char v_volume[LEN_DKL_VVOL]; /* volume name */ member
144 char v_volume[LEN_DKL_VVOL]; /* volume name */
/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Dmedia.c457 if (read_extvtoc(fd, &vtoc) >= 0 && vtoc.v_volume[0] != 0) {
461 LEN_DKL_VVOL, vtoc.v_volume);
552 if (vtoc.v_volume[0] != '\0') {
555 vtoc.v_volume,
559 vtoc.v_volume, size);
/illumos-gate/usr/src/cmd/fs.d/ufs/volcopy/
H A Dvolcopy.c493 strncpy(V_labl.v_volume, Out.f_vol_p, 6); in main()
1257 strncpy(V_labl.v_volume, f_p->f_vol_p, 6); in tapeck()
1266 strncpy(f_p->f_vol_p, V_labl.v_volume, 6); in tapeck()
1267 else if (NOT_EQ(V_labl.v_volume, f_p->f_vol_p, 6)) { in tapeck()
1269 V_labl.v_volume, f_p->f_vol_p); in tapeck()
1270 strncpy(V_labl.v_volume, f_p->f_vol_p, 6); in tapeck()
1384 (void) printf(gettext("\nReel %.6s"), V_labl.v_volume); in tapeck()
1413 strncpy(V_labl.v_volume, tvol, 6); in hdrck()
1418 if (NOT_EQ(tlabl.v_volume, tvol, 6)) { in hdrck()
1419 perr(0, "Volume is <%.6s>, not <%s>.\n", tlabl.v_volume, tvol); in hdrck()
[all …]
/illumos-gate/usr/src/cmd/format/
H A Dlabel.c335 bcopy(cur_disk->v_volume, label.dkl_vtoc.v_volume, LEN_DKL_VVOL); in write_label()
797 (void) memcpy(label->dkl_vtoc.v_volume, vtoc->v_volume, in vtoc_to_label()
919 (void) memcpy(vtoc->v_volume, label->dkl_vtoc.v_volume, in label_to_vtoc()
993 if (label->dkl_vtoc.v_volume[i] == 0) in dump_label()
995 fmt_print("%c", label->dkl_vtoc.v_volume[i]); in dump_label()
H A Dhardware_structs.h64 char v_volume[LEN_DKL_VVOL]; member
H A Dauto_sense.c359 bzero(disk_info->v_volume, LEN_DKL_VVOL); in auto_efi_sense()
726 (void) memcpy(disk_info->v_volume, label->dkl_vtoc.v_volume, in new_direct_disk_type()
730 (void) memset(disk_info->v_volume, 0, LEN_DKL_VVOL); in new_direct_disk_type()
1935 (void) memcpy(disk_info->v_volume, label->dkl_vtoc.v_volume,
1939 (void) memset(disk_info->v_volume, 0, LEN_DKL_VVOL);
H A Dmenu_partition.c654 return (disk->v_volume[0] != 0); in chk_volname()
667 p = disk->v_volume; in print_volname()
H A Dmenu_command.c503 (void) strlcpy(cur_disk->v_volume, volname, in c_type()
2325 fmt_print("Volume name = <%8s>\n", label->dkl_vtoc.v_volume); in c_verify()
2472 bcopy(cur_disk->v_volume, x.defvolname, LEN_DKL_VVOL); in c_volname()
2516 bzero(cur_disk->v_volume, LEN_DKL_VVOL); in c_volname()
2517 bcopy(volname, cur_disk->v_volume, min((int)strlen(volname), in c_volname()
H A Dstartup.c2037 search_disk->v_volume, LEN_DKL_VVOL); in add_device_to_disklist()
2197 bcopy(search_label.dkl_vtoc.v_volume, in add_device_to_disklist()
2198 search_disk->v_volume, LEN_DKL_VVOL); in add_device_to_disklist()
2201 bzero(search_disk->v_volume, LEN_DKL_VVOL); in add_device_to_disklist()
/illumos-gate/usr/src/uts/sun4v/sys/
H A Dvdsk_common.h386 bcopy((vd_vtoc)->volume_name, (vtoc)->v_volume, \
388 sizeof ((vtoc)->v_volume))); \
429 bcopy((vtoc)->v_volume, (vd_vtoc)->volume_name, \
430 MIN(sizeof ((vtoc)->v_volume), \
/illumos-gate/usr/src/lib/libadm/common/
H A Drdwr_vtoc.c55 bcopy(vs->v_volume, vd->v_volume, LEN_DKL_VVOL); \
/illumos-gate/usr/src/head/
H A Darchives.h159 v_volume[VVOLLEN], member
/illumos-gate/usr/src/boot/sys/sys/
H A Dvtoc.h118 char v_volume[LEN_DKL_VVOL]; /* volume name */ member
/illumos-gate/usr/src/cmd/fmthard/
H A Dfmthard.c337 (void) memcpy(disk_vtoc.v_volume, vname, n); in main()
391 if (*vtoc->v_volume) { in display()
394 if ((c = vtoc->v_volume[i]) == 0) in display()
/illumos-gate/usr/src/cmd/prtvtoc/
H A Dprtvtoc.c563 if (vtoc->v_volume[0] != '\0') in puttable()
564 (void) printf(" (volume \"%.8s\")", vtoc->v_volume); in puttable()
/illumos-gate/usr/src/uts/common/io/
H A Dfd.c919 bcopy(label->dkl_vtoc.v_volume, fdp->d_vtoc_volume, LEN_DKL_VVOL); in fdgetlabel()
1855 bcopy(fdp->d_vtoc_volume, vtocp->v_volume, LEN_DKL_VVOL); in fd_build_user_vtoc()
1938 bcopy(vtocp->v_volume, fdp->d_vtoc_volume, LEN_DKL_VVOL); in fd_build_label_vtoc()
1960 bcopy(vtocp->v_volume, labelp->dkl_vtoc.v_volume, LEN_DKL_VVOL); in fd_build_label_vtoc()
H A Dramdisk.c536 bcopy(RD_DRIVER_NAME, rsp->rd_vtoc.v_volume, 7); in rd_fake_disk_geometry()
H A Dcmlb.c4217 bcopy(cl->cl_vtoc.v_volume, user_vtoc->v_volume, LEN_DKL_VVOL);
4631 bcopy(user_vtoc->v_volume, cl->cl_vtoc.v_volume, LEN_DKL_VVOL);
/illumos-gate/usr/src/uts/sun4v/io/
H A Dvds.c2902 bcopy(vtoc->v_volume, label->dkl_vtoc.v_volume, LEN_DKL_VVOL); in vd_vtocgeom_to_label()
2955 bcopy(label->dkl_vtoc.v_volume, vtoc->v_volume, LEN_DKL_VVOL); in vd_label_to_vtocgeom()
2995 strcmp(vtoc->v_volume, vd->vtoc.v_volume) != 0 || in vd_slice_vtoc_isvalid()
5709 bcopy(VD_VOLUME_NAME, vd->vtoc.v_volume, in vd_setup_partition_vtoc()
5710 MIN(sizeof (VD_VOLUME_NAME), sizeof (vd->vtoc.v_volume))); in vd_setup_partition_vtoc()
5745 bzero(vd->vtoc.v_volume, sizeof (vd->vtoc.v_volume)); in vd_setup_partition_vtoc()
/illumos-gate/usr/src/cmd/fdformat/
H A Dfdformat.c1306 (void) strncpy(fd_vtoc->v_volume, volname, sizeof (fd_vtoc->v_volume)); in write_SunOS_label()
/illumos-gate/usr/src/cmd/rmformat/
H A Drmf_misc.c2047 if (*vtocinfo.v_volume) { in get_media_info()
2048 (void) printf("\tLabel: %s\n", vtocinfo.v_volume); in get_media_info()
H A Drmf_menu.c1182 (void) strncpy(v_toc.v_volume, label, LEN_DKL_VVOL); in process_b_flag()
/illumos-gate/usr/src/cmd/mdb/common/modules/disk_label/
H A Ddisk_label.c917 mdb_printf("Volume name = <%s>\n", dv->v_volume); in cmd_vtoc()
/illumos-gate/usr/src/uts/sun/io/
H A Dfd.c5688 bcopy(un->un_label.dkl_vtoc.v_volume, in fd_build_user_vtoc()
5689 vtoc->v_volume, LEN_DKL_VVOL); in fd_build_user_vtoc()
5800 bcopy(vtoc->v_volume, un->un_label.dkl_vtoc.v_volume, LEN_DKL_VVOL); in fd_build_label_vtoc()

12