Searched refs:cyl (Results 1 - 23 of 23) sorted by relevance

/freebsd-current/usr.bin/mkimg/
H A Dmkimg.h72 u_int cyl = nsecs * nheads; local
73 u_int r = n % cyl;
74 return ((r == 0) ? n : n + cyl - r);
H A Dmbr.c63 u_int cyl, hd, sec; local
65 mkimg_chs(lba, 1023, &cyl, &hd, &sec);
66 *cylp = cyl;
68 *secp = (sec & 0x3f) | ((cyl >> 2) & 0xc0);
H A Debr.c59 u_int cyl, hd, sec; local
61 mkimg_chs(lba, 1023, &cyl, &hd, &sec);
62 *cylp = cyl;
64 *secp = (sec & 0x3f) | ((cyl >> 2) & 0xc0);
/freebsd-current/tests/sys/cddl/zfs/tests/interop/
H A Dsetup.ksh50 typeset cyl=$(get_endslice $META_DISK0 $i)
51 log_must set_partition ${META_SIDE1##*s} "$cyl" $FS_SIZE $META_DISK1
57 typeset cyl=$(get_endslice $META_DISK1 $i)
58 log_must set_partition ${ZFS_SIDE2##*s} "$cyl" $FS_SIZE $ZFS_DISK2
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_create/
H A Dzpool_create_011_neg.ksh85 cyl=$(get_endslice $DISK0 6)
86 log_must set_partition 7 "$cyl" $SIZE1 $DISK0
/freebsd-current/usr.sbin/fdwrite/
H A Dfdwrite.c24 format_track(int fd, int cyl, int secs, int head, int rate, argument
40 f.cyl = cyl;
48 f.fd_formb_cylno(i) = cyl;
/freebsd-current/sys/sys/
H A Dfdcio.h44 int cyl, head; member in struct:fd_formb
107 * cyl and head are being passed into ioctl(FD_READID)
111 u_char cyl; /* C - 0...79 */ member in struct:fdc_readid
/freebsd-current/sys/dev/fdc/
H A Dfdc.c569 int cyl, st0, ret; local
587 if (fdc_in(fdc, &cyl) != 0)
588 return fdc_err(fdc, "can't get cyl num\n");
591 *cylp = cyl;
763 int st0, st3, cyl, mfm, steptrac, cylinder, descyl, sec; local
807 fdc_sense_int(fdc, &st0, &cyl);
920 if (fdc_sense_int(fdc, &st0, &cyl) == FD_NOT_VALID)
923 if ((st0 & 0xc0) || cyl != 0)
941 if (fdc_sense_int(fdc, &st0, &cyl) == FD_NOT_VALID)
944 if ((st0 & 0xc0) || cyl !
1207 int st0, st3, cyl; local
[all...]
/freebsd-current/tools/tools/vhba/faulty/
H A Dvhba_faulty.c213 uint32_t cyl = (DISK_NBLKS + ((PSEUDO_SPC - 1))) / PSEUDO_SPC; local
215 ptr[2] = (cyl >> 24) & 0xff;
216 ptr[3] = (cyl >> 16) & 0xff;
217 ptr[4] = cyl & 0xff;
/freebsd-current/tools/tools/vhba/lots/
H A Dvhba_lots.c199 uint32_t cyl = (DISK_NBLKS + ((PSEUDO_SPC - 1))) / PSEUDO_SPC; local
201 ptr[2] = (cyl >> 24) & 0xff;
202 ptr[3] = (cyl >> 16) & 0xff;
203 ptr[4] = cyl & 0xff;
/freebsd-current/tools/tools/vhba/medium/
H A Dvhba_medium.c199 uint32_t cyl = (DISK_NBLKS + ((PSEUDO_SPC - 1))) / PSEUDO_SPC; local
201 ptr[2] = (cyl >> 24) & 0xff;
202 ptr[3] = (cyl >> 16) & 0xff;
203 ptr[4] = cyl & 0xff;
/freebsd-current/tools/tools/vhba/rptluns/
H A Dvhba_rptluns.c228 uint32_t cyl = (DISK_NBLKS + ((PSEUDO_SPC - 1))) / PSEUDO_SPC; local
230 ptr[2] = (cyl >> 24) & 0xff;
231 ptr[3] = (cyl >> 16) & 0xff;
232 ptr[4] = cyl & 0xff;
/freebsd-current/tools/tools/vhba/simple/
H A Dvhba_simple.c199 uint32_t cyl = (DISK_NBLKS + ((PSEUDO_SPC - 1))) / PSEUDO_SPC; local
201 ptr[2] = (cyl >> 24) & 0xff;
202 ptr[3] = (cyl >> 16) & 0xff;
203 ptr[4] = cyl & 0xff;
/freebsd-current/usr.sbin/fdformat/
H A Dfdformat.c48 format_track(int fd, int cyl, int secs, int head, int rate, argument
65 f.cyl = cyl;
73 f.fd_formb_cylno(i) = cyl;
/freebsd-current/sys/geom/part/
H A Dg_part_mbr.c196 uint32_t cyl, hd, sec; local
202 cyl = lba;
203 if (cyl > 1023)
204 sec = hd = cyl = ~0;
206 *cylp = cyl & 0xff;
208 *secp = (sec & 0x3f) | ((cyl >> 2) & 0xc0);
H A Dg_part_ebr.c209 uint32_t cyl, hd, sec; local
215 cyl = lba;
216 if (cyl > 1023)
217 sec = hd = cyl = ~0;
219 *cylp = cyl & 0xff;
221 *secp = (sec & 0x3f) | ((cyl >> 2) & 0xc0);
/freebsd-current/tools/tools/vhba/mptest/
H A Dvhba_mptest.c239 uint32_t cyl = (DISK_NBLKS + ((PSEUDO_SPC - 1))) / PSEUDO_SPC; local
241 ptr[2] = (cyl >> 24) & 0xff;
242 ptr[3] = (cyl >> 16) & 0xff;
243 ptr[4] = cyl & 0xff;
/freebsd-current/usr.sbin/fdread/
H A Dfdread.c314 info.cyl = trackno / fdt.heads;
318 info.cyl, info.head, info.sec, info.secshift);
/freebsd-current/contrib/llvm-project/libcxx/modules/std/
H A Dcmath.inc297 // [sf.cmath.cyl.bessel.i], regular modified cylindrical Bessel functions
302 // [sf.cmath.cyl.bessel.j], cylindrical Bessel functions of the first kind
307 // [sf.cmath.cyl.bessel.k], irregular modified cylindrical Bessel functions
312 // [sf.cmath.cyl.neumann], cylindrical Neumann functions
/freebsd-current/stand/i386/libi386/
H A Dbiosdisk.c1172 uint32_t x, bpc, cyl, hd, sec; local
1178 cyl = x / bpc; /* block # / blocks per cylinder */
1186 if (cyl > 1023) {
1197 v86.ecx = ((cyl & 0xff) << 8) | ((cyl & 0x300) >> 2) | sec;
/freebsd-current/usr.sbin/bhyve/
H A Dpci_ahci.c1037 uint16_t cyl; local
1044 blockif_chs(p->bctx, &cyl, &heads, &sech);
1047 ata_ident->cylinders = cyl;
/freebsd-current/tests/sys/cddl/zfs/include/
H A Dlibtest.kshlib688 # Get the end cyl of the given slice
720 typeset cyl
/freebsd-current/sys/ufs/ffs/
H A Dffs_softdep.c611 "Block or frag allocated from cyl group map");
2587 uint64_t cyl, i; local
2666 for (cyl = 0; cyl < fs->fs_ncg; cyl++) {
2667 if ((error = bread(devvp, fsbtodb(fs, cgtod(fs, cyl)),
2678 fs->fs_cs(fs, cyl) = cgp->cg_cs;

Completed in 195 milliseconds