Home
last modified time | relevance | path

Searched refs:blkstore (Results 1 – 4 of 4) sorted by relevance

/openbsd-src/usr.sbin/installboot/
H A Dsparc64_installboot.c35 char *blkstore; variable
71 blkstore = calloc(1, blksize); in md_loadboot()
72 if (blkstore == NULL) in md_loadboot()
74 if (read(fd, blkstore, sb.st_size) != (ssize_t)sb.st_size) in md_loadboot()
126 if (pwrite(devfd, blkstore, blksize, DEV_BSIZE) != (ssize_t)blksize) in md_installboot()
H A Dsparc64_installboot.h19 extern char *blkstore;
H A Dsparc64_softraid.c62 bb.bb_bootblk = blkstore; in sr_install_bootldr()
H A Di386_installboot.c75 char *blkstore; variable
120 if ((blkstore = loadproto(stage1, &blksize)) == NULL) in md_loadboot()
209 pbr_set_symbols(stage1, blkstore, pbr_symbols); in write_bootblocks()
236 bcopy(blkstore, secbuf, blksize); in write_bootblocks()