Home
last modified time | relevance | path

Searched refs:BS_VolLab (Results 1 – 4 of 4) sorted by relevance

/freebsd/usr.sbin/fstyp/
H A Dmsdosfs.c98 if (strncmp(pfat_bsbpb->BS_VolLab, LABEL_NO_NAME, in fstyp_msdosfs()
99 sizeof(pfat_bsbpb->BS_VolLab)) == 0) { in fstyp_msdosfs()
102 copysize = MIN(size - 1, sizeof(pfat_bsbpb->BS_VolLab)); in fstyp_msdosfs()
103 memcpy(label, pfat_bsbpb->BS_VolLab, copysize); in fstyp_msdosfs()
119 if (strncmp(pfat32_bsbpb->BS_VolLab, LABEL_NO_NAME, in fstyp_msdosfs()
120 sizeof(pfat32_bsbpb->BS_VolLab)) != 0) { in fstyp_msdosfs()
122 sizeof(pfat32_bsbpb->BS_VolLab)); in fstyp_msdosfs()
123 memcpy(label, pfat32_bsbpb->BS_VolLab, copysize); in fstyp_msdosfs()
H A Dmsdosfs.h71 uint8_t BS_VolLab[11]; member
107 uint8_t BS_VolLab[11]; member
/freebsd/sys/geom/label/
H A Dg_label_msdosfs.c105 if (strncmp(pfat_bsbpb->BS_VolLab, LABEL_NO_NAME, in g_label_msdosfs_taste()
106 sizeof(pfat_bsbpb->BS_VolLab)) == 0) { in g_label_msdosfs_taste()
112 copysize = MIN(size - 1, sizeof(pfat_bsbpb->BS_VolLab)); in g_label_msdosfs_taste()
113 memcpy(label, pfat_bsbpb->BS_VolLab, copysize); in g_label_msdosfs_taste()
133 if (strncmp(pfat32_bsbpb->BS_VolLab, LABEL_NO_NAME, in g_label_msdosfs_taste()
134 sizeof(pfat32_bsbpb->BS_VolLab)) != 0) { in g_label_msdosfs_taste()
136 sizeof(pfat32_bsbpb->BS_VolLab)); in g_label_msdosfs_taste()
137 memcpy(label, pfat32_bsbpb->BS_VolLab, copysize); in g_label_msdosfs_taste()
H A Dg_label_msdosfs.h73 uint8_t BS_VolLab[11]; member
109 uint8_t BS_VolLab[11]; member