Searched defs:cyl_size (Results 1 - 4 of 4) sorted by relevance
/illumos-gate/usr/src/lib/libsmedia/plugins/floppy/common/ |
H A D | f_format.c | 71 int32_t cyl_size; local 339 cyl_size = 2 * sec_size * spt; 341 if ((obuf = (uchar_t *)malloc((size_t)cyl_size)) == 0) { 478 if (llseek(fd, cyl * cyl_size, 0) != cyl * cyl_size) { 486 if (read(fd, obuf, cyl_size) != cyl_size) {
|
/illumos-gate/usr/src/cmd/rmformat/ |
H A D | rmf_slice.c | 886 uint32_t cyl_size; local 911 cyl_size = dkg.dkg_nhead * dkg.dkg_nsect; 990 if (vt->v_part[i].p_start % cyl_size) { 996 "Cylinder size %d 512 byte sectors\n"), cyl_size);
|
/illumos-gate/usr/src/cmd/fdformat/ |
H A D | fdformat.c | 460 int cyl_size; local 789 cyl_size = 2 * sec_size * spt; 791 if ((ibuf1 = (uchar_t *)malloc((size_t)cyl_size)) == 0 || 792 (obuf = (uchar_t *)malloc((size_t)cyl_size)) == 0) { 802 (void) memset(ibuf1, (uchar_t)0xA5, cyl_size); 951 if (lseek(fd, cyl * cyl_size, 0) != cyl * cyl_size) { 962 if (read(fd, obuf, cyl_size) == cyl_size) { 999 if ((val = verify(fd, 2 * spt * cyl, cyl_size)) ! [all...] |
/illumos-gate/usr/src/cmd/fdisk/ |
H A D | fdisk.c | 3075 int cyl_size; local 3079 cyl_size = heads * sectors; 3163 ((long)((long)cylen * cyl_size) > MAXDOS)) { 3165 n = MAXDOS * 100 / (int)(cyl_size) / Numcyl_usable; 3192 first_free = cyl_size; 3216 if (((uint64_t)cylen * cyl_size) <= size_free) { 3222 max_free /= (cyl_size); 3238 first_free, cylen * cyl_size, 0)) >= 0) { 3286 if (cyl * cyl_size >= t_relsect && 3287 cyl * cyl_size < t_relsec [all...] |
Completed in 80 milliseconds