Searched refs:buf_geom (Results 1 - 4 of 4) sorted by relevance

/osnet-11/usr/src/grub/grub-0.97/stage2/
H A Ddisk_io.c140 struct geometry buf_geom; variable in typeref:struct:geometry
161 int sector_size_bits = log2 (buf_geom.sector_size);
178 if (get_diskinfo (drive, &buf_geom))
185 sector_size_bits = log2 (buf_geom.sector_size);
188 slen = ((byte_offset + byte_len + buf_geom.sector_size - 1)
192 if ((buf_geom.sectors << sector_size_bits) > BUFFERLEN)
195 sectors_per_vtrack = buf_geom.sectors;
221 bios_err = biosdisk (BIOSDISK_READ, drive, &buf_geom,
236 || biosdisk (BIOSDISK_READ, drive, &buf_geom,
257 (char *) BUFFERADDR + buf_geom
[all...]
H A Dfsys_iso9660.c73 unsigned short sector_size_lg2 = log2(buf_geom.sector_size);
87 byte_offset &= (buf_geom.sector_size - 1);
H A Dbuiltins.c2516 dest_geom = buf_geom;
2561 src_geom = buf_geom;
3805 sector = lba % buf_geom.sectors + 1;
3806 head = (lba / buf_geom.sectors) % buf_geom.heads;
3807 cylinder = lba / (buf_geom.sectors * buf_geom.heads);
3809 if (cylinder >= buf_geom.cylinders)
3810 cylinder = buf_geom.cylinders - 1;
H A Dshared.h717 extern struct geometry buf_geom;

Completed in 31 milliseconds