Searched refs:buf_geom (Results 1 – 5 of 5) sorted by relevance
141 struct geometry buf_geom; variable162 int sector_size_bits = log2 (buf_geom.sector_size); in rawread()179 if (get_diskinfo (drive, &buf_geom)) in rawread()186 sector_size_bits = log2 (buf_geom.sector_size); in rawread()189 slen = ((byte_offset + byte_len + buf_geom.sector_size - 1) in rawread()193 if ((buf_geom.sectors << sector_size_bits) > BUFFERLEN) in rawread()196 sectors_per_vtrack = buf_geom.sectors; in rawread()222 bios_err = biosdisk (BIOSDISK_READ, drive, &buf_geom, in rawread()237 || biosdisk (BIOSDISK_READ, drive, &buf_geom, in rawread()258 (char *) BUFFERADDR + buf_geom.sector_size, in rawread()[all …]
73 unsigned short sector_size_lg2 = log2(buf_geom.sector_size); in iso9660_devread()87 byte_offset &= (buf_geom.sector_size - 1); in iso9660_devread()
2364 dest_geom = buf_geom; in install_func()2409 src_geom = buf_geom; in install_func()3280 sector = lba % buf_geom.sectors + 1; in partnew_func()3281 head = (lba / buf_geom.sectors) % buf_geom.heads; in partnew_func()3282 cylinder = lba / (buf_geom.sectors * buf_geom.heads); in partnew_func()3284 if (cylinder >= buf_geom.cylinders) in partnew_func()3285 cylinder = buf_geom.cylinders - 1; in partnew_func()
719 extern struct geometry buf_geom;
3329 * stage2/disk_io.c (real_open_partition): Make sure that buf_geom8879 * shared_src/disk_io.c (buf_geom): Declare as struct geometry.8885 (buf_geom): Correct the prototype.