Searched refs:allmap (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/lib/libsmedia/plugins/floppy/common/
H A Df_format.c87 struct dk_allmap allmap; local
144 if (ioctl(fd, DKIOCGAPART, &allmap) < 0) {
150 save_allmap = allmap;
165 size_of_part = allmap.dka_map[dkinfo.dki_partition].dkl_nblk
279 if (allmap.dka_map[2].dkl_nblk !=
281 allmap.dka_map[1].dkl_cylno = num_cyl - 1;
282 allmap.dka_map[0].dkl_nblk = 2 * (num_cyl - 1) * spt *
284 allmap.dka_map[1].dkl_nblk = 2 * spt * (M_flag ? 2 : 1);
285 allmap.dka_map[2].dkl_nblk = 2 * num_cyl * spt *
287 if (allmap
[all...]
/illumos-gate/usr/src/cmd/fdformat/
H A Dfdformat.c81 static struct dk_allmap allmap; variable in typeref:struct:dk_allmap
497 if (ioctl(fd, DKIOCGAPART, &allmap) == -1) {
505 save_allmap = allmap;
522 size_of_part = allmap.dka_map[dkinfo.dki_partition].dkl_nblk
654 if (allmap.dka_map[2].dkl_nblk !=
656 allmap.dka_map[1].dkl_cylno = num_cyl - 1;
657 allmap.dka_map[0].dkl_nblk = 2 * (num_cyl - 1) * spt *
659 allmap.dka_map[1].dkl_nblk = 2 * spt * (m_flag ? 2 : 1);
660 allmap.dka_map[2].dkl_nblk = 2 * num_cyl * spt *
662 if (allmap
[all...]

Completed in 44 milliseconds