Searched refs:blk_info (Results 1 – 1 of 1) sorted by relevance
44 static struct blkfront_info *blk_info; variable71 blk_info = malloc(blk_nb * sizeof(*blk_info)); in init_disk()78 blk_dev[i] = init_blkfront(path, &blk_info[i]); in init_disk()101 geometry->total_sectors = blk_info[i].sectors; in get_diskinfo()102 geometry->sector_size = blk_info[i].sector_size; in get_diskinfo()104 if (blk_info[i].info & VDISK_CDROM) in get_diskinfo()134 aiocb.aio_nbytes = (size_t)nsec * blk_info[i].sector_size; in biosdisk()135 aiocb.aio_offset = (off_t)sector * blk_info[i].sector_size; in biosdisk()
Completed in 2 milliseconds