Searched refs:bootstrapsize (Results 1 - 4 of 4) sorted by relevance

/netbsd-6-1-5-RELEASE/usr.sbin/installboot/arch/
H A Dlandisk.c68 size_t bootstrapsize; local
117 bootstrapsize = roundup(params->s1stat.st_size, 512);
119 bootstrapbuf = malloc(bootstrapsize);
121 warn("Allocating %zu bytes", bootstrapsize);
124 memset(bootstrapbuf, 0, bootstrapsize);
235 bootstrapsize - 512 * 2, 512 * 2);
239 } else if ((size_t)rv != bootstrapsize - 512 * 2) {
H A Dalpha.c210 size_t bootstrapsize; local
228 bootstrapsize = roundup(params->s1stat.st_size,
231 bootstrapbuf = malloc(bootstrapsize);
233 warn("Allocating %lu bytes", (unsigned long) bootstrapsize);
236 memset(bootstrapbuf, 0, bootstrapsize);
307 rv = pwrite(params->fsfd, bootstrapbuf, bootstrapsize,
312 } else if ((size_t)rv != bootstrapsize) {
H A Dpmax.c191 size_t bootstrapsize; local
206 &bootstrapexec, &bootstrapsize))
237 htole32(howmany(bootstrapsize, PMAX_BOOT_BLOCK_BLOCKSIZE));
267 rv = pwrite(params->fsfd, bootstrapbuf, bootstrapsize,
272 } else if ((size_t)rv != bootstrapsize) {
H A Dvax.c167 size_t bootstrapsize; local
194 &bootstrapexec, &bootstrapsize))
257 rv = pwrite(params->fsfd, bootstrapbuf, bootstrapsize, 0);
261 } else if ((size_t)rv != bootstrapsize) {

Completed in 225 milliseconds