Home
last modified time | relevance | path

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

/netbsd-src/sys/arch/atari/stand/ahdilabel/
H A Dread.c78 if (dl->d_secperunit != ptable->secperunit) { in ahdi_readlabel()
80 ptable->secperunit = dl->d_secperunit; in ahdi_readlabel()
124 ptable->secperunit=root->ar_hdsize; in read_rsec()
154 if (((part->ap_st + rsec) > ptable->secperunit || in read_rsec()
156 ptable->secperunit)) { in read_rsec()
H A Dwritedtab.c56 ptable->secperunit); in ahdi_writedisktab()
65 RAW_PART + 'a', ptable->secperunit, in ahdi_writedisktab()
101 RAW_PART + 'a', ptable->secperunit, in ahdi_writedisktab()
H A Dprivahdi.h62 u_int32_t secperunit; /* number of total sectors */ member
H A Dcheck.c90 if (i_end >= ptable->secperunit) { in ahdi_checklabel()
H A Dahdilabel.c219 printf (" total sectors: %d\n", ptable->secperunit); in show_parts()
332 return (ptable->secperunit - in read_sector()
H A Dwrite.c146 root->ar_hdsize = ptable->secperunit; in ahdi_writelabel()
/netbsd-src/sys/arch/evbmips/evbmips/
H A Ddisksubr.c57 uint32_t secperunit; in readdisklabel() local
70 secperunit = lp->d_secperunit; in readdisklabel()
104 if ((msg = convertdisklabel(lp, strat, bp, secperunit)) != NULL) in readdisklabel()
/netbsd-src/sys/kern/
H A Dsubr_disk.c435 struct buf *bp, uint32_t secperunit) in convertdisklabel() argument
442 rp.p_size = secperunit; in convertdisklabel()
446 if (secperunit != 0 && in convertdisklabel()
447 disk_read_sectors(strat, lp, bp, secperunit - 1, 1) == 0) in convertdisklabel()
454 secperunit, geom_ok ? "ok" : "not ok"); in convertdisklabel()
H A Dsubr_disk_mbr.c111 uint32_t secperunit; member
414 a.secperunit = lp->d_secperunit; in readdisklabel()
666 a->secperunit)) != NULL) in validate_label()
/netbsd-src/sys/arch/mvme68k/mvme68k/
H A Ddisksubr.c197 clp->secperunit = lp->d_secperunit; in bsdtocpulabel()
272 lp->d_secperunit = clp->secperunit; in cputobsdlabel()
274 lp->d_secperunit = clp->secperunit; in cputobsdlabel()
/netbsd-src/sys/arch/evbcf/include/
H A Ddisklabel.h90 u_long secperunit; /* 4 */ member
/netbsd-src/sys/arch/mvme68k/include/
H A Ddisklabel.h90 u_long secperunit; /* 4 */ member
/netbsd-src/sys/dev/ic/
H A Dcacreg.h120 u_int32_t secperunit; member
/netbsd-src/sys/arch/mvme68k/stand/libsa/
H A Dbugdev.c203 lp->d_secperunit = (uint32_t)clp->secperunit; in cputobsdlabel()