Home
last modified time | relevance | path

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

/netbsd/src/usr.sbin/installboot/arch/
Dnext68k.c85 uint32_t cd_secsize; in next68k_setboot() local
132 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 …]
/netbsd/src/sys/arch/next68k/next68k/
Ddisksubr.c104 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 …]
/netbsd/src/sys/arch/next68k/stand/boot/
Dsd.c157 while (label->cd_secsize > blklen) in sdgetinfo()
162 if (label->cd_secsize < blklen) in sdgetinfo()
165 label->cd_secsize, blklen>>sc_blkshift); in sdgetinfo()
/netbsd/src/sys/sys/
Dbootblock.h1213 int32_t cd_secsize; /* # of bytes per sector */ member