Home
last modified time | relevance | path

Searched refs:total_sectors (Results 1 – 6 of 6) sorted by relevance

/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dbios.c73 if (sector >= geometry->total_sectors) in biosdisk()
168 geometry->total_sectors = MAXUINT; in get_cdinfo()
202 geometry->total_sectors = MAXUINT; in get_cdinfo()
223 unsigned long long total_sectors = 0; in get_diskinfo() local
257 unsigned long long total_sectors; in get_diskinfo() member
323 if (drp.total_sectors) in get_diskinfo()
324 total_sectors = drp.total_sectors; in get_diskinfo()
329 total_sectors = (unsigned long long)drp.cylinders * in get_diskinfo()
339 if (! total_sectors) in get_diskinfo()
341 total_sectors = ((unsigned long long)geometry->cylinders in get_diskinfo()
[all …]
H A Ddisk_io.c963 (buf_geom.total_sectors > MAXUINT) ? MAXUINT : buf_geom.total_sectors; in real_open_partition()
H A Dshared.h707 unsigned long long total_sectors; member
H A Dbuiltins.c1855 disks[current_drive].total_sectors = num_total_sector; in geometry_func()
1857 disks[current_drive].total_sectors in geometry_func()
1879 geom.total_sectors, msg); in geometry_func()
/illumos-gate/usr/src/grub/grub-0.97/lib/
H A Ddevice.c171 geom->total_sectors = nr; in get_drive_geometry()
191 geom->total_sectors = media_size / sector_size; in get_drive_geometry()
199 else if (geom->total_sectors <= 63 * 1 * 1024) in get_drive_geometry()
201 else if (geom->total_sectors <= 63 * 16 * 1024) in get_drive_geometry()
206 geom->cylinders = (geom->total_sectors in get_drive_geometry()
224 geom->total_sectors = hdg.d_secperunit; in get_drive_geometry()
239 geom->total_sectors = (unsigned long long)dkg.dkg_ncyl * dkg.dkg_nhead in get_drive_geometry()
272 geom->total_sectors = st.st_blocks >> SECTOR_BITS; in get_drive_geometry()
274 geom->total_sectors = (unsigned long long)geom->cylinders * in get_drive_geometry()
/illumos-gate/usr/src/grub/grub-0.97/
H A DChangeLog8708 * shared_src/shared.h (struct geometry): Declare total_sectors as
8745 total_sectors.