/titanic_50/usr/src/lib/libsmedia/plugins/floppy/common/ |
H A D | f_format.c | 74 int32_t cyl, hd; in format_floppy() local 394 for (cyl = start_cyl; cyl < (int32_t)end_cyl; cyl++) { in format_floppy() 401 fdr_seek.fdr_cmd[2] = cyl; in format_floppy() 405 cyl); in format_floppy() 419 *p++ = (uchar_t)cyl; in format_floppy() 441 cyl, hd); in format_floppy() 465 cyl, hd); in format_floppy() 478 if (llseek(fd, cyl * cyl_size, 0) != cyl * cyl_size) { in format_floppy()
|
H A D | f_generic.c | 226 int32_t cyl, rem, head, start_sector; in _m_raw_read() local 261 cyl = r_p->offset/(fdchar.fdc_nhead * fdchar.fdc_secptrack); in _m_raw_read() 273 fdraw.fdr_cmd[2] = cyl; /* track number */ in _m_raw_read() 300 int32_t cyl, rem, head, start_sector; in _m_raw_write() local 334 cyl = r_p->offset/(fdchar.fdc_nhead * fdchar.fdc_secptrack); in _m_raw_write() 346 fdraw.fdr_cmd[2] = cyl; /* track number */ in _m_raw_write()
|
/titanic_50/usr/src/cmd/format/ |
H A D | defect.c | 245 fmt_print("%4d%8d%7d", num, def->cyl, def->head); in pr_defect() 258 fmt_print("%8llu", chs2bn(def->cyl, def->head, def->sect)); in pr_defect() 296 if (def->cyl < ptr->cyl) in sort_defect() 298 if (def->cyl != ptr->cyl) in sort_defect() 416 def.cyl = bn2c(blkno); in add_ldef()
|
H A D | menu_defect.c | 298 def.cyl = bn2c(bn); in d_add() 309 def.cyl = input(FIO_INT, in d_add() 589 i+1, dptr->cyl, dptr->head, in d_dump() 710 items = fscanf(fptr, "%*d%hd%hd%d%hd%hd\n", &dptr->cyl, in d_load()
|
H A D | auto_sense.c | 227 static int adjust_disk_geometry(diskaddr_t capacity, uint_t *cyl, 1452 int cyl; local 1579 cyl = 0; 1585 label->dkl_vtoc.v_part[i].p_start = cyl * blks_per_cyl; 1587 cyl += ncyls[i]; 1608 label->dkl_map[i].dkl_cylno = cyl; 1611 label->dkl_vtoc.v_part[i].p_start = cyl * blks_per_cyl; 1618 cyl += ncyls[i]; 2100 adjust_disk_geometry(diskaddr_t capacity, uint_t *cyl, uint_t *nhead, argument 2103 uint_t lcyl = *cyl; [all …]
|
H A D | defect.h | 56 short cyl; member
|
H A D | ctlr_ata.c | 306 new_defect->cyl = in ata_convert_list() 491 (uint_t)chs2bn(dlist->cyl, dlist->head, dlist->sect); in ata_wr_cur()
|
H A D | io.c | 352 int cyl, head, sect; local 402 if (geti(buf, &cyl, &wild)) 404 if ((cyl < 0) || (cyl >= (ncyl + acyl))) { 405 err_print("`%d' is out of range.\n", cyl); 433 *iptr = chs2bn(cyl, head, sect);
|
/titanic_50/usr/src/test/zfs-tests/tests/functional/grow_pool/ |
H A D | setup.ksh | 44 log_must set_partition $i "$cyl" $SIZE $DISK 45 cyl=$(get_endslice $DISK $i)
|
/titanic_50/usr/src/cmd/fdformat/ |
H A D | fdformat.c | 463 int cyl, hd; in format_diskette() local 864 for (cyl = 0; cyl < (z_flag ? 1 : (int)num_cyl); cyl++) { in format_diskette() 871 fdr_seek.fdr_cmd[2] = cyl; in format_diskette() 875 myname, cyl); in format_diskette() 889 *p++ = cyl; in format_diskette() 910 myname, cyl, hd); in format_diskette() 936 myname, cyl, hd); in format_diskette() 951 if (lseek(fd, cyl * cyl_size, 0) != cyl * cyl_size) { in format_diskette() 996 for (cyl = 0; cyl < (int)num_cyl; cyl++) { in format_diskette() 999 if ((val = verify(fd, 2 * spt * cyl, cyl_size)) != 0) { in format_diskette()
|
/titanic_50/usr/src/cmd/rmformat/ |
H A D | rmf_menu.c | 1055 uint32_t cyl, head; in process_H_flag() local 1064 for (cyl = 0; cyl < med_info.sm_pcyl; cyl++) { in process_H_flag() 1066 if (smedia_format_track(handle, cyl, head, SM_FORMAT_HD) in process_H_flag() 1072 new_per = (cyl * 80)/med_info.sm_pcyl; in process_H_flag() 1086 uint32_t cyl, head; in process_D_flag() local 1094 for (cyl = 0; cyl < med_info.sm_pcyl; cyl++) { in process_D_flag() 1096 if (smedia_format_track(handle, cyl, head, SM_FORMAT_DD) in process_D_flag() 1102 new_per = (cyl * 80)/med_info.sm_pcyl; in process_D_flag()
|
/titanic_50/usr/src/test/zfs-tests/tests/functional/inuse/ |
H A D | inuse_008_pos.ksh | 88 cyl=$(get_endslice $disk ${saved_slice}) 89 log_must set_partition $slice "$cyl" $FS_SIZE $disk
|
H A D | inuse_005_pos.ksh | 87 cyl=$(get_endslice $disk ${saved_slice}) 88 log_must set_partition $slice "$cyl" $FS_SIZE $disk
|
H A D | inuse_006_pos.ksh | 90 cyl=$(get_endslice $disk ${saved_slice}) 91 log_must set_partition $slice "$cyl" $FS_SIZE $disk
|
H A D | inuse_009_pos.ksh | 87 cyl=$(get_endslice $disk ${saved_slice}) 88 log_must set_partition $slice "$cyl" $FS_SIZE $disk
|
H A D | inuse_007_pos.ksh | 95 cyl=$(get_endslice $disk ${saved_slice}) 96 log_must set_partition $slice "$cyl" $FS_SIZE $disk
|
H A D | inuse_003_pos.ksh | 107 cyl=$(get_endslice $disk ${saved_slice}) 108 log_must set_partition $slice "$cyl" $FS_SIZE $disk
|
/titanic_50/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_import/ |
H A D | setup.ksh | 50 log_must set_partition $i "$cyl" $SLICE_SIZE $ZFS_DISK1 51 cyl=$(get_endslice $ZFS_DISK1 $i)
|
/titanic_50/usr/src/test/zfs-tests/tests/functional/grow_replicas/ |
H A D | grow_replicas_001_pos.ksh | 69 log_must set_partition $slice "$cyl" $SIZE $DISK 70 cyl=$(get_endslice $DISK $slice)
|
/titanic_50/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_create/ |
H A D | zpool_create_011_neg.ksh | 83 cyl=$(get_endslice $disk $SLICE6) 84 set_partition $SLICE7 "$cyl" $SIZE1 $disk
|
/titanic_50/usr/src/cmd/fdisk/ |
H A D | fdisk.c | 3072 int cyl, cylen; local 3248 if ((cyl = getcyl()) == -1) { 3253 if (cyl == 0) { 3261 if (cyl >= Numcyl_usable) { 3266 cyl, Numcyl_usable - 1); 3286 if (cyl * cyl_size >= t_relsect && 3287 cyl * cyl_size < t_relsect + t_numsect) { 3292 cyl); 3296 if (cyl * cyl_size < t_relsect && 3297 (cyl + cylen - 1) * cyl_size > t_relsect) { [all …]
|
/titanic_50/usr/src/uts/intel/io/dktp/controller/ata/ |
H A D | capacity.notes.txt | 139 num-cyl = [60:61] / (favorite heads) * (favorite sectors) 141 The drive capacity is (num-cyl)*(favorite heads)*(favorite sectors). 150 num-cyl = ([1]*[3]*[6]) / (num heads) * (num sectors) 152 The drive capacity is (num-cyl)*(num-head)*(num-sectors).
|
/titanic_50/usr/src/uts/common/io/ |
H A D | fd.c | 1128 int cyl, head, sect; in fdstart() local 1197 cyl = blk / secpcyl; in fdstart() 1226 blk, (void *)addr, len, cyl, head, sect, in fdstart() 1233 bp->b_flags & B_READ, cyl, head, sect, addr, tlen); in fdstart() 1731 int cyl, head, spc, spt; in fd_ioctl() local 1794 cyl = fc.fdc_blkno / spc; in fd_ioctl() 1796 if ((cyl | head) == 0) in fd_ioctl() 1801 (CE_CONT, "fd_format cyl %d, hd %d\n", cyl, head)); in fd_ioctl() 1803 rval = fjp->fj_ops->fco_format(fjp, unit, cyl, head, in fd_ioctl()
|
H A D | fdc.c | 1126 fdrw(struct fcu_obj *fjp, int funit, int rw, int cyl, int head, in fdrw() argument 1151 csb->csb_cmd[2] = (uchar_t)cyl; in fdrw() 1246 fdtrkformat(struct fcu_obj *fjp, int funit, int cyl, int head, int filldata) in fdtrkformat() argument 1260 (CE_NOTE, "fdformattrk unit %d cyl=%d, hd=%d", funit, cyl, head)); in fdtrkformat() 1274 csb->csb_npcyl = (uchar_t)(cyl * fjp->fj_chars->fdc_steps); in fdtrkformat() 1320 *dp++ = (uchar_t)cyl; in fdtrkformat() 1714 fdcseek(struct fdcntlr *fcp, int unit, int cyl) in fdcseek() argument 1719 unit, cyl)); in fdcseek() 1721 seekabscmd[2] = (uchar_t)cyl; in fdcseek()
|
/titanic_50/usr/src/uts/sun/io/ |
H A D | fd.c | 196 static int fdformat(struct fdctlr *fdc, int unit, int cyl, int hd); 2417 int cyl, hd, spc, spt; in fd_ioctl() local 2490 cyl = fc.fdc_blkno / spc; in fd_ioctl() 2521 if (fdformat(fdc, unit, cyl, hd)) in fd_ioctl() 2947 fdformat(struct fdctlr *fdc, int unit, int cyl, int hd) in fdformat() argument 2961 (C, "fdformat cyl %d, hd %d\n", cyl, hd)); in fdformat() 2977 if (fdrecalseek(fdc, unit, cyl, FDXC_CHECKCHG)) { in fdformat() 3044 *fd++ = (uchar_t)cyl; /* cylinder */ in fdformat() 3094 uint_t cyl; /* starting cylinder of the transfer */ in fdstart() local 3240 cyl = blk / secpcyl; /* cylinder of transfer */ in fdstart() [all …]
|