Lines Matching refs:label

50 #include "label.h"
1732 * read the label early on to see whether the device
1888 * Attempt to read the primary label.
1890 * ioctl, then converted from vtoc to label.)
1898 * If reading the label failed, and this is a SCSI
1914 * a valid label for the disk. Mark
1915 * the disk as needing the label flushed.
1927 * a valid label for the disk.
1941 * If we didn't successfully read the label, or the label
1960 * The label looks ok. Mark the disk as labeled.
2032 * Attempt to match the disk type in the label with a
2061 * Fill in the drive info from the disk label.
2087 * because the label doesn't contain these attributes,
2091 * Note: for SCSI, we believe the label.
2113 * Attempt to match the partition map in the label with
2145 * because the label contains no name for the
2150 * Fill in the partition info from the disk label.
2173 * info from the label. Otherwise, install a default vtoc.
2175 * label, without requiring an upgrade procedure.
2218 * in the disk label.
2221 dtype_match(label, dtype)
2222 register struct dk_label *label;
2234 if ((strcmp(label->dkl_asciilabel, dtype->dtype_asciilabel) != 0) ||
2235 (label->dkl_ncyl != dtype->dtype_ncyl) ||
2236 (label->dkl_acyl != dtype->dtype_acyl) ||
2237 (label->dkl_nhead != dtype->dtype_nhead) ||
2238 (label->dkl_nsect != dtype->dtype_nsect)) {
2249 * in the disk label.
2252 parts_match(label, pinfo)
2253 register struct dk_label *label;
2264 if ((label->dkl_map[i].dkl_cylno !=
2266 (label->dkl_map[i].dkl_nblk !=
2271 label->dkl_vtoc.v_part[i].p_start /
2272 (label->dkl_nhead * label->dkl_nsect)) ||
2274 label->dkl_vtoc.v_part[i].p_size))
2283 if (label->dkl_vtoc.v_version != pinfo->vtoc.v_version)
2285 if (label->dkl_vtoc.v_nparts != pinfo->vtoc.v_nparts)
2288 if (label->dkl_vtoc.v_part[i].p_tag !=
2291 if (label->dkl_vtoc.v_part[i].p_flag !=