Home
last modified time | relevance | path

Searched refs:volume_label (Results 1 – 7 of 7) sorted by relevance

/titanic_41/usr/src/cmd/fs.d/pcfs/fstyp/
H A Dfstyp.c96 char volume_label[PC_LABEL_SIZE + 1]; member
334 (void) memcpy(h->volume_label, PC_LABEL_ADDR(h), PC_LABEL_SIZE); in get_label()
335 h->volume_label[PC_LABEL_SIZE] = '\0'; in get_label()
474 (void) memcpy(h->volume_label, d->pcd_filename, in dir_find_label()
476 h->volume_label[PC_LABEL_SIZE] = '\0'; in dir_find_label()
525 (void) fprintf(fout, "Volume Label: %s\n", h->volume_label); in dumpfs()
597 ADD_STRING(h, "volume_label", h->volume_label); in get_attr()
613 ADD_STRING(h, "gen_volume_label", h->volume_label); in get_attr()
/titanic_41/usr/src/cmd/rmvolmgr/
H A Drmm_common.c313 const char *volume_label = NULL; in rmm_print_nicknames_one() local
330 ((volume_label = libhal_volume_get_label(v)) != NULL) && in rmm_print_nicknames_one()
331 (strlen(volume_label) > 0)) { in rmm_print_nicknames_one()
332 (void) printf("%s%s", comma ? "," : "", volume_label); in rmm_print_nicknames_one()
1072 char *volume_label; in rmm_volume_aa_from_prop() local
1110 if ((volume_label = (char *)libhal_device_get_property_string(hal_ctx, in rmm_volume_aa_from_prop()
1112 if ((len = strlen(volume_label)) > 0) { in rmm_volume_aa_from_prop()
1114 volume_label, len); in rmm_volume_aa_from_prop()
1120 libhal_free_string(volume_label); in rmm_volume_aa_from_prop()
/titanic_41/usr/src/lib/hal/libhal-storage/common/
H A Dlibhal-storage.c355 const char *volume_label; in libhal_volume_policy_compute_display_name() local
364 volume_label = libhal_volume_get_label (volume); in libhal_volume_policy_compute_display_name()
378 if (volume_label != NULL) { in libhal_volume_policy_compute_display_name()
379 name = strdup (volume_label); in libhal_volume_policy_compute_display_name()
729 char *volume_label; /* may be NULL, is never "" */ member
833 libhal_free_string (vol->volume_label); in libhal_volume_free()
1155 LIBHAL_PROP_EXTRACT_STRING ("volume.label", vol->volume_label); in libhal_volume_from_udi()
1648 return volume->volume_label; in libhal_volume_get_label()
/titanic_41/usr/src/cmd/fs.d/pcfs/fsck/
H A Dpcfs_bpb.h141 uchar_t volume_label[11]; member
H A Dpcfs_common.c250 (void) strncpy((char *)wbpb->ebpb.volume_label, (char *)grabp, 11); in swap_pack_grabbpb()
/titanic_41/usr/src/cmd/fs.d/pcfs/mkfs/
H A Dmkfs_pcfs.h139 uchar_t volume_label[11]; member
H A Dmkfs.c1648 (void) strncpy((char *)fillp, (char *)wbpb->ebpb.volume_label, 11); in swap_pack_bpbcpy()
1689 (void) strncpy((char *)fillp, (char *)wbpb->ebpb.volume_label, 11); in swap_pack_bpb32cpy()
1746 (void) strncpy((char *)wbpb->ebpb.volume_label, (char *)grabp, 11); in swap_pack_grabbpb()
2059 ll = min(11, (int)strlen((char *)wbpb->ebpb.volume_label)); in print_reproducing_command()
2066 while (wbpb->ebpb.volume_label[--i] == ' ') in print_reproducing_command()
2076 toupper((int)(wbpb->ebpb.volume_label[i]))) { in print_reproducing_command()
2088 (void) printf("%c", wbpb->ebpb.volume_label[i]); in print_reproducing_command()
2571 wbpb->ebpb.volume_label[i] = toupper(lbl[i]); in label_volume()
2574 wbpb->ebpb.volume_label[i] = ' '; in label_volume()