HomeSort by: relevance | last modified time | path
    Searched defs:bootstrapsize (Results 1 - 4 of 4) sorted by relevancy

  /src/usr.sbin/installboot/arch/
landisk.c 72 size_t bootstrapsize; local in function:landisk_setboot
126 bootstrapsize = roundup(params->s1stat.st_size, 512);
128 bootstrapbuf = malloc(bootstrapsize);
130 warn("Allocating %zu bytes", bootstrapsize);
133 memset(bootstrapbuf, 0, bootstrapsize);
244 bootstrapsize - 512 * 2, 512 * 2);
248 } else if ((size_t)rv != bootstrapsize - 512 * 2) {
vax.c 177 size_t bootstrapsize; local in function:vax_setboot
204 &bootstrapexec, &bootstrapsize))
267 rv = pwrite(params->fsfd, bootstrapbuf, bootstrapsize, 0);
271 } else if ((size_t)rv != bootstrapsize) {
alpha.c 215 size_t bootstrapsize; local in function:alpha_setboot
233 bootstrapsize = roundup(params->s1stat.st_size,
236 bootstrapbuf = malloc(bootstrapsize);
238 warn("Allocating %lu bytes", (unsigned long) bootstrapsize);
241 memset(bootstrapbuf, 0, bootstrapsize);
312 rv = pwrite(params->fsfd, bootstrapbuf, bootstrapsize,
317 } else if ((size_t)rv != bootstrapsize) {
pmax.c 195 size_t bootstrapsize = 0; /* XXX: gcc */ local in function:pmax_setboot
210 &bootstrapexec, &bootstrapsize))
241 htole32(howmany(bootstrapsize, PMAX_BOOT_BLOCK_BLOCKSIZE));
271 rv = pwrite(params->fsfd, bootstrapbuf, bootstrapsize,
276 } else if ((size_t)rv != bootstrapsize) {

Completed in 13 milliseconds