Searched refs:boot_sect (Results 1 – 3 of 3) sorted by relevance
/titanic_41/usr/src/cmd/boot/mbr/ |
H A D | mbr.c | 37 static char boot_sect[SECTOR_SIZE]; variable 107 if (fd == -1 || read(fd, boot_sect, SECTOR_SIZE) != SECTOR_SIZE) { in main() 116 mboot = (struct mboot *)boot_sect; in main() 149 bcopy((void *)new_mboot, (void *)boot_sect, BOOTSZ); in main() 153 (write(fd, (void *)boot_sect, SECTOR_SIZE) < 0)) { in main()
|
/titanic_41/usr/src/lib/libgrubmgmt/common/ |
H A D | libgrub_fs.c | 98 char boot_sect[512]; in get_sol_prtnum() local 133 sz = read(fd, boot_sect, sizeof (boot_sect)); in get_sol_prtnum() 136 if (sz != sizeof (boot_sect)) in get_sol_prtnum() 140 mb = (struct mboot *)(uintptr_t)boot_sect; in get_sol_prtnum()
|
/titanic_41/usr/src/cmd/boot/bootadm/ |
H A D | bootadm.c | 4925 char boot_sect[SECTOR_SIZE]; local 4945 if (fd == -1 || read(fd, boot_sect, SECTOR_SIZE) != SECTOR_SIZE) { 4976 mboot = (struct mboot *)((void *)boot_sect);
|