Home | History | Annotate | Download | only in sunlabel

Lines Matching defs:labelbuf

170 static unsigned char labelbuf[512];	/* Buffer holding the label sector */
374 * for write. We are careful to use labelbuf, l_s, or l_l as
417 l_s[i] = (labelbuf[i + i] << 8) | labelbuf[i + i + 1];
440 (void)memcpy(&label.asciilabel[0], &labelbuf[0], 128);
518 memcpy(&labelbuf[0], &label.asciilabel[0], 128);
520 l_s[i] = (labelbuf[i + i] << 8) | labelbuf[i + i + 1];
567 labelbuf[i + i] = ((uint32_t)l_s[i]) >> 8;
568 labelbuf[i + i + 1] = l_s[i] & 0xff;
585 if ((rv = read(diskfd, &labelbuf[0], 512)) == -1)
616 if ((rv = write(diskfd, &labelbuf[0], 512)) == -1) {