Lines Matching refs:disklabelbuffer
275 char disklabelbuffer[BSD_BBSIZE];
281 #define disklabelbuffer (bsd_globals_ptr->disklabelbuffer)
732 if (!xbsd_get_bootstrap(path, disklabelbuffer, (int) xbsd_dlabel.d_secsize))
736 d = &disklabelbuffer[BSD_LABELSECTOR * SECTOR_SIZE];
743 if (!xbsd_get_bootstrap(path, &disklabelbuffer[xbsd_dlabel.d_secsize],
760 alpha_bootblock_checksum(disklabelbuffer);
766 xwrite(dev_fd, disklabelbuffer, BSD_BBSIZE);
937 if (BSD_BBSIZE != full_read(dev_fd, disklabelbuffer, BSD_BBSIZE))
940 memmove(d, &disklabelbuffer[BSD_LABELSECTOR * SECTOR_SIZE + BSD_LABELOFFSET],
977 memmove(&disklabelbuffer[BSD_LABELSECTOR * SECTOR_SIZE + BSD_LABELOFFSET],
981 alpha_bootblock_checksum(disklabelbuffer);
983 xwrite(dev_fd, disklabelbuffer, BSD_BBSIZE);
1048 #undef disklabelbuffer