Searched refs:cd_secsize (Results 1 – 4 of 4) sorted by relevance
85 uint32_t cd_secsize; in next68k_setboot() local132 cd_secsize = be32toh(next68klabel->cd_secsize); in next68k_setboot()133 sec_netonb_mult = (cd_secsize / params->sectorsize); in next68k_setboot()140 bootsize = roundup(params->s1stat.st_size, cd_secsize); in next68k_setboot()161 if (bootsize > be16toh(next68klabel->cd_front) * cd_secsize - in next68k_setboot()175 if (((bootsize / cd_secsize) > b1 - b0) || in next68k_setboot()176 ((bootsize / cd_secsize) > fp - b1)) { in next68k_setboot()177 if (2 * bootsize > (fp * cd_secsize - NEXT68K_LABEL_SIZE)) in next68k_setboot()179 b0 = b1 = NEXT68K_LABEL_SIZE / cd_secsize; in next68k_setboot()181 if (2 * bootsize > (fp * cd_secsize - in next68k_setboot()[all …]
104 lp->d_secsize = ondisk->cd_secsize; in parse_nextstep_label()105 KASSERT(ondisk->cd_secsize >= lp->d_secsize); in parse_nextstep_label()121 (ondisk->cd_secsize / lp->d_secsize); in parse_nextstep_label()125 (ondisk->cd_secsize / lp->d_secsize); in parse_nextstep_label()181 ondisk->cd_secsize = lp->d_secsize; in build_nextstep_label()191 KASSERT(ondisk->cd_secsize >= lp->d_secsize); in build_nextstep_label()225 (ondisk->cd_secsize / lp->d_secsize)) && in build_nextstep_label()229 (ondisk->cd_secsize / lp->d_secsize)) && in build_nextstep_label()247 front_porch /= (ondisk->cd_secsize / lp->d_secsize); in build_nextstep_label()257 (ondisk->cd_secsize / lp->d_secsize); in build_nextstep_label()[all …]
157 while (label->cd_secsize > blklen) in sdgetinfo()162 if (label->cd_secsize < blklen) in sdgetinfo()165 label->cd_secsize, blklen>>sc_blkshift); in sdgetinfo()
1213 int32_t cd_secsize; /* # of bytes per sector */ member