Lines Matching defs:gendisk
128 struct gendisk { struct
133 int major;
134 int first_minor;
135 int minors;
137 char disk_name[DISK_NAME_LEN]; /* name of major driver */
139 unsigned short events; /* supported events */
140 unsigned short event_flags; /* flags related to event processing */
142 struct xarray part_tbl;
143 struct block_device *part0;
145 const struct block_device_operations *fops;
146 struct request_queue *queue;
147 void *private_data;
149 struct bio_set bio_split;
151 int flags;
152 unsigned long state;
161 struct mutex open_mutex; /* open/close mutex */
162 unsigned open_partitions; /* number of open partitions */
164 struct backing_dev_info *bdi;
165 struct kobject queue_kobj; /* the queue/ directory */
166 struct kobject *slave_dir;
168 struct list_head slave_bdevs;
170 struct timer_rand_state *random;
171 atomic_t sync_io; /* RAID */
172 struct disk_events *ev;
212 static inline bool disk_live(struct gendisk *disk) in disk_live() argument