Home
last modified time | relevance | path

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

/freebsd/sbin/fdisk/
H A Dfdisk.c81 off_t bootinst_size; member
526 if ((mboot.bootinst_size = sb.st_size) % secsize != 0) in init_boot()
530 if ((mboot.bootinst = malloc(mboot.bootinst_size = sb.st_size)) == NULL) in init_boot()
532 if ((n = read(fdesc, mboot.bootinst, mboot.bootinst_size)) == -1 || in init_boot()
535 if (n != mboot.bootinst_size) in init_boot()
857 mboot.bootinst_size = secsize; in read_s0()
860 if ((mboot.bootinst = malloc(mboot.bootinst_size)) == NULL) { in read_s0()
894 for(sector = 0; sector < mboot.bootinst_size / secsize; sector++) in write_s0()