Searched refs:boot_sect (Results 1 - 3 of 3) sorted by relevance

/illumos-gate/usr/src/cmd/boot/mbr/
H A Dmbr.c37 static char boot_sect[SECTOR_SIZE]; variable
107 if (fd == -1 || read(fd, boot_sect, SECTOR_SIZE) != SECTOR_SIZE) {
116 mboot = (struct mboot *)boot_sect;
150 bcopy((void *)new_mboot, (void *)boot_sect, BOOTSZ);
154 (write(fd, (void *)boot_sect, SECTOR_SIZE) < 0)) {
/illumos-gate/usr/src/lib/libgrubmgmt/common/
H A Dlibgrub_fs.c98 char boot_sect[512]; local
133 sz = read(fd, boot_sect, sizeof (boot_sect));
136 if (sz != sizeof (boot_sect))
140 mb = (struct mboot *)(uintptr_t)boot_sect;
/illumos-gate/usr/src/cmd/boot/bootadm/
H A Dbootadm.c5412 char boot_sect[SECTOR_SIZE]; local
5432 if (fd == -1 || read(fd, boot_sect, SECTOR_SIZE) != SECTOR_SIZE) {
5463 mboot = (struct mboot *)((void *)boot_sect);

Completed in 91 milliseconds