/src/usr.sbin/installboot/arch/ |
news.c | 153 uint8_t boot00[NEWS_BOOT_BLOCK_BLOCKSIZE]; local in function:news_copydisklabel 162 memset(boot00, 0, sizeof(boot00)); 163 rv = pread(params->fsfd, boot00, sizeof(boot00), 0); 170 boot00 + NEWS_BOOT_BLOCK_LABELOFFSET, 171 sizeof(boot00) - NEWS_BOOT_BLOCK_LABELOFFSET);
|
news.c | 153 uint8_t boot00[NEWS_BOOT_BLOCK_BLOCKSIZE]; local in function:news_copydisklabel 162 memset(boot00, 0, sizeof(boot00)); 163 rv = pread(params->fsfd, boot00, sizeof(boot00), 0); 170 boot00 + NEWS_BOOT_BLOCK_LABELOFFSET, 171 sizeof(boot00) - NEWS_BOOT_BLOCK_LABELOFFSET);
|
/src/sys/arch/prep/stand/installboot/ |
installboot.c | 226 int boot00[512/sizeof(int)]; local in function:main 287 memset(boot00, 0, sizeof(boot00)); 289 if (write(devfd, boot00, sizeof(boot00)) != sizeof(boot00)) { 290 warn("write boot00(prep mbr)"); 295 boot00[0] = htole32(dbtob(2)); 296 boot00[1] = htole32(bootsize); 297 if (write(devfd, boot00, sizeof(boot00)) != sizeof(boot00)) [all...] |
installboot.c | 226 int boot00[512/sizeof(int)]; local in function:main 287 memset(boot00, 0, sizeof(boot00)); 289 if (write(devfd, boot00, sizeof(boot00)) != sizeof(boot00)) { 290 warn("write boot00(prep mbr)"); 295 boot00[0] = htole32(dbtob(2)); 296 boot00[1] = htole32(bootsize); 297 if (write(devfd, boot00, sizeof(boot00)) != sizeof(boot00)) [all...] |