/src/sys/arch/x68k/stand/libsa/ |
fd.c | 97 int nhead, nsect; local in function:fdstrategy 109 nsect = sc->fmt.maxsec.R - sc->fmt.minsec.R + 1; 111 sect = dblk % nsect + sc->fmt.minsec.R; 112 head = (dblk / nsect) % nhead + sc->fmt.minsec.H; 113 cyl = (dblk / nsect) / nhead + sc->fmt.minsec.C;
|
/src/sys/arch/mmeye/stand/boot/ |
wd.c | 247 int i, nsect; local in function:wdstrategy 263 nsect = howmany(size, wd->sc_label.d_secsize); 266 for (i = 0; i < nsect; i++, blkno++) {
|
/src/sys/arch/atari/stand/tostools/rawwrite/ |
rawwrite.c | 62 int nsect; local in function:main 67 nsect = NSECT_DD; 75 nsect = NSECT_HD; 108 n = read(fd, buf, nsect * SECT_SIZE); 115 if (n != (nsect * SECT_SIZE)) 122 brwrite(buf, i, nsect);
|
/src/sys/arch/bebox/stand/boot/ |
wd.c | 286 int i, nsect; local in function:wdstrategy 302 nsect = howmany(size, wd->sc_label.d_secsize); 307 for (i = 0; i < nsect; i++, blkno++) {
|
sd.c | 676 int cmdlen, nsect, i; local in function:sdstrategy 693 nsect = howmany(size, lp->d_secsize); 696 for (i = 0; i < nsect; i++, blkno++) {
|
/src/sys/arch/cobalt/stand/boot/ |
wd.c | 271 int i, nsect; local in function:wdstrategy 287 nsect = howmany(size, wd->sc_label.d_secsize); 292 for (i = 0; i < nsect; i++, blkno++) {
|
/src/sys/arch/i386/stand/misc/ |
rawrite.c | 97 static int nsect[] = {18, 15, 9}; local in function:nsects 110 for (i=0; i < sizeof(nsect)/sizeof(int); ++i) { 112 status = biosdisk(READ, drive, 0, 0, nsect[i], 1, buffer); 114 status = biosdisk(READ, drive, 0, 0, nsect[i], 1, buffer); 117 if (i == sizeof(nsect)/sizeof(int)) { 121 return(nsect[i]);
|
/src/distrib/utils/edlabel/ |
edlabel.c | 181 int nsect, ntrack, ncyl, spc; local in function:edit_geo 183 nsect = ntrack = ncyl = spc = 0; 189 if (sscanf(tmpbuf, "%d", &nsect) != 1) 190 nsect = d->d_nsectors; 197 if (!nsect || !ntrack) 199 spc = nsect * ntrack; 202 d->d_nsectors = nsect;
|
/src/sys/arch/sun3/dev/ |
xdvar.h | 107 u_short sectpercyl; /* nhead*nsect */ 109 u_char nsect; /* number of sectors per track */ member in struct:xd_softc
|
xyvar.h | 108 u_short sectpercyl; /* nhead*nsect */ 110 u_char nsect; /* number of sectors per track */ member in struct:xy_softc
|
/src/sys/dev/vme/ |
xdvar.h | 108 u_short sectpercyl; /* nhead*nsect */ 110 u_char nsect; /* number of sectors per track */ member in struct:xd_softc
|
xyvar.h | 105 u_short sectpercyl; /* nhead*nsect */ 107 u_char nsect; /* number of sectors per track */ member in struct:xy_softc
|
/src/sys/arch/prep/stand/boot/ |
sd.c | 676 int cmdlen, nsect, i; local in function:sdstrategy 693 nsect = howmany(size, lp->d_secsize); 696 for (i = 0; i < nsect; i++, blkno++) {
|
/src/sys/arch/sandpoint/stand/altboot/ |
globals.h | 178 uint64_t nsect; member in struct:disk
|
/src/usr.sbin/sunlabel/ |
sunlabel.c | 101 * nsect assume that the sect/trk and trk/cyl values are constant 105 * mostly invalid these days anyway. (I just use nhead=32 nsect=64, 120 uint32_t nsect; /* Sectors-per-track */ member in struct:label 124 uint32_t spc; /* Sectors per cylinder - nhead*nsect */ 132 * tag is a short name for the field, like "apc" or "nsect". loc is a 203 {"nsect", &label.nsect, print_int, chval_int, update_spc, 0 }, 404 label.nsect = 0; 450 label.nsect = l_s[219]; 453 label.spc = label.nhead * label.nsect; [all...] |