/src/sys/arch/atari/stand/installboot/ |
installboot.c | 73 static struct bootblock bootarea; variable in typeref:struct:bootblock 266 mkbootblock(&bootarea, xxboot, bootxx, label, 0); 272 if (write(fd, &bootarea, sizeof(bootarea)) != sizeof(bootarea)) 335 mkbootblock(&bootarea, xxboot, bootxx, label, magic); 345 if (write(fd, &bootarea, sizeof(bootarea)) != sizeof(bootarea))
|
installboot.c | 73 static struct bootblock bootarea; variable in typeref:struct:bootblock 266 mkbootblock(&bootarea, xxboot, bootxx, label, 0); 272 if (write(fd, &bootarea, sizeof(bootarea)) != sizeof(bootarea)) 335 mkbootblock(&bootarea, xxboot, bootxx, label, magic); 345 if (write(fd, &bootarea, sizeof(bootarea)) != sizeof(bootarea))
|
/src/sbin/disklabel/ |
main.c | 145 char bootarea[BBSIZE]; /* Buffer matching part of disk */ variable in typeref:typename:char[] 1224 bootarea_len = pread(f, bootarea, sizeof bootarea, 1228 warn("failed to read bootarea from sector %u", sector); 1241 disk_lp = (void *)(bootarea + offset); 1242 if ((char *)(disk_lp + 1) > bootarea + bootarea_len) 1311 bb = (struct alpha_boot_block *)(void *)bootarea; 1317 wlen = pwrite(f, bootarea, bootarea_len, sector * (off_t)DEV_BSIZE); 1352 disk_lp = (void *)(bootarea + label_offset); 1353 if ((char *)(disk_lp + 1) > bootarea + bootarea_len [all...] |
main.c | 145 char bootarea[BBSIZE]; /* Buffer matching part of disk */ variable in typeref:typename:char[] 1224 bootarea_len = pread(f, bootarea, sizeof bootarea, 1228 warn("failed to read bootarea from sector %u", sector); 1241 disk_lp = (void *)(bootarea + offset); 1242 if ((char *)(disk_lp + 1) > bootarea + bootarea_len) 1311 bb = (struct alpha_boot_block *)(void *)bootarea; 1317 wlen = pwrite(f, bootarea, bootarea_len, sector * (off_t)DEV_BSIZE); 1352 disk_lp = (void *)(bootarea + label_offset); 1353 if ((char *)(disk_lp + 1) > bootarea + bootarea_len [all...] |