Lines Matching defs:gendisk
130 struct gendisk { struct
135 int major;
136 int first_minor;
137 int minors;
139 char disk_name[DISK_NAME_LEN]; /* name of major driver */
141 unsigned short events; /* supported events */
142 unsigned short event_flags; /* flags related to event processing */
144 struct xarray part_tbl;
145 struct block_device *part0;
147 const struct block_device_operations *fops;
148 struct request_queue *queue;
149 void *private_data;
151 struct bio_set bio_split;
153 int flags;
154 unsigned long state;
163 struct mutex open_mutex; /* open/close mutex */
164 unsigned open_partitions; /* number of open partitions */
166 struct backing_dev_info *bdi;
167 struct kobject queue_kobj; /* the queue/ directory */
168 struct kobject *slave_dir;
170 struct list_head slave_bdevs;
172 struct timer_rand_state *random;
173 atomic_t sync_io; /* RAID */
174 struct disk_events *ev;
214 static inline bool disk_live(struct gendisk *disk) in disk_live() argument