Lines Matching defs:boot_size
169 size_t boot_size;
180 boot_size = roundup(bootstrapsb.st_size, DEV_BSIZE);
182 if (boot_size > 8192-1024)
183 FATAL("bootstrap program too large (%d bytes)", boot_size);
185 boot_code = malloc(boot_size);
187 FATAL("malloc %d bytes failed", boot_size);
188 memset(boot_code, 0, boot_size);
217 boot_size, 2);
222 len = pwrite(fd, boot_code, boot_size, BOOTBLOCK_OFFSET);
226 if (len != boot_size)