/freebsd-current/usr.bin/mkimg/ |
H A D | mkimg.h | 72 u_int cyl = nsecs * nheads; local 73 u_int r = n % cyl; 74 return ((r == 0) ? n : n + cyl - r);
|
H A D | mbr.c | 63 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 D | ebr.c | 59 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 D | setup.ksh | 50 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 D | zpool_create_011_neg.ksh | 85 cyl=$(get_endslice $DISK0 6) 86 log_must set_partition 7 "$cyl" $SIZE1 $DISK0
|
/freebsd-current/usr.sbin/fdwrite/ |
H A D | fdwrite.c | 24 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 D | fdcio.h | 44 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 D | fdc.c | 569 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 D | vhba_faulty.c | 213 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 D | vhba_lots.c | 199 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 D | vhba_medium.c | 199 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 D | vhba_rptluns.c | 228 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 D | vhba_simple.c | 199 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 D | fdformat.c | 48 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 D | g_part_mbr.c | 196 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 D | g_part_ebr.c | 209 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 D | vhba_mptest.c | 239 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 D | fdread.c | 314 info.cyl = trackno / fdt.heads; 318 info.cyl, info.head, info.sec, info.secshift);
|
/freebsd-current/contrib/llvm-project/libcxx/modules/std/ |
H A D | cmath.inc | 297 // [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 D | biosdisk.c | 1172 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 D | pci_ahci.c | 1037 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 D | libtest.kshlib | 688 # Get the end cyl of the given slice 720 typeset cyl
|
/freebsd-current/sys/ufs/ffs/ |
H A D | ffs_softdep.c | 611 "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;
|