Lines Matching defs:bootlen
1482 write_DOS_label(int fd, uchar_t *bootloadr, int bootlen, char *altbootname,
1493 if (bootlen < 512 || !bootloadr) {
1496 bootlen = 512;
1501 if (bootlen % 512 > 0)
1502 bootlen = (bootlen + 511) / 512 * 512;
1533 bootlen -= 512;
1542 bootclen = (bootlen + 512 * (int)bpb->b_spcl - 1) /
1625 if (bootlen && write(fd, bootloadr, bootlen) != bootlen) {