Searched refs:disklabelbuffer (Results 1 – 1 of 1) sorted by relevance
/busybox-1.35.0/util-linux/ |
D | fdisk_osf.c | 272 char disklabelbuffer[BSD_BBSIZE]; member 278 #define disklabelbuffer (bsd_globals_ptr->disklabelbuffer) macro 733 if (!xbsd_get_bootstrap(path, disklabelbuffer, (int) xbsd_dlabel.d_secsize)) in xbsd_write_bootstrap() 737 d = &disklabelbuffer[BSD_LABELSECTOR * SECTOR_SIZE]; in xbsd_write_bootstrap() 744 if (!xbsd_get_bootstrap(path, &disklabelbuffer[xbsd_dlabel.d_secsize], in xbsd_write_bootstrap() 761 alpha_bootblock_checksum(disklabelbuffer); in xbsd_write_bootstrap() 767 xwrite(dev_fd, disklabelbuffer, BSD_BBSIZE); in xbsd_write_bootstrap() 937 if (BSD_BBSIZE != full_read(dev_fd, disklabelbuffer, BSD_BBSIZE)) in xbsd_readlabel() 940 memmove(d, &disklabelbuffer[BSD_LABELSECTOR * SECTOR_SIZE + BSD_LABELOFFSET], in xbsd_readlabel() 977 memmove(&disklabelbuffer[BSD_LABELSECTOR * SECTOR_SIZE + BSD_LABELOFFSET], in xbsd_writelabel() [all …]
|