Lines Matching refs:label
136 } label;
150 rv = pread(params->fsfd, &label, HPPA_BOOT_BLOCK_SIZE, 0);
169 secsize = be32toh(label.l.d_secsize);
170 npart = be16toh(label.l.d_npartitions);
171 if (label.l.d_magic != htobe32(DISKMAGIC) ||
172 label.l.d_magic2 != htobe32(DISKMAGIC) ||
178 } else if (npart < 1 || label.l.d_partitions[0].p_size == 0) {
182 } else if (be32toh(label.l.d_partitions[0].p_offset) +
183 be32toh(label.l.d_partitions[0].p_size) >
199 memcpy(&bb[HPPA_LABELOFFSET], &label.l, HPPA_LABELSIZE);