enum disk_flags | flags |
enum generic_disk_type | type |
enum fs_type | fs_type |
void | *fs_data |
char | name[16] |
uint64_t | total_sectors |
bool | is_removable |
void | *driver_data |
uint32_t | sector_size |
bool | (*read_sector)(struct generic_disk *disk, uint64_t lba, uint8_t *buffer, uint64_t sector_count) |
bool | (*write_sector)(struct generic_disk *disk, uint64_t lba, const uint8_t *buffer, uint64_t sector_count) |
bool | (*submit_bio_async)(struct generic_disk *disk, struct bio_request *bio) |
struct bio_scheduler_ops | *ops |
struct bio_scheduler | *scheduler |
struct bcache | *cache |
uint64_t | partition_count |
struct generic_partition | *partitions |