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

/freebsd-10.0-release/sbin/fdisk/
H A Dfdisk.c82 off_t bootinst_size; member in struct:mboot
520 if ((mboot.bootinst_size = sb.st_size) % secsize != 0)
524 if ((mboot.bootinst = malloc(mboot.bootinst_size = sb.st_size)) == NULL)
526 if ((n = read(fdesc, mboot.bootinst, mboot.bootinst_size)) == -1 ||
529 if (n != mboot.bootinst_size)
534 mboot.bootinst_size = secsize;
535 if ((mboot.bootinst = malloc(mboot.bootinst_size)) == NULL)
537 memset(mboot.bootinst, 0, mboot.bootinst_size);
887 mboot.bootinst_size = secsize;
890 if ((mboot.bootinst = malloc(mboot.bootinst_size))
[all...]

Completed in 113 milliseconds