Home
last modified time | relevance | path

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

/freebsd-13.1/sbin/fdisk/
H A Dfdisk.c83 off_t bootinst_size; member
521 if ((mboot.bootinst_size = sb.st_size) % secsize != 0) in init_boot()
525 if ((mboot.bootinst = malloc(mboot.bootinst_size = sb.st_size)) == NULL) in init_boot()
527 if ((n = read(fdesc, mboot.bootinst, mboot.bootinst_size)) == -1 || in init_boot()
530 if (n != mboot.bootinst_size) in init_boot()
852 mboot.bootinst_size = secsize; in read_s0()
855 if ((mboot.bootinst = malloc(mboot.bootinst_size)) == NULL) { in read_s0()
889 for(sector = 0; sector < mboot.bootinst_size / secsize; sector++) in write_s0()