Lines Matching defs:gendisk
122 struct gendisk { struct
127 int major;
128 int first_minor;
129 int minors;
131 char disk_name[DISK_NAME_LEN]; /* name of major driver */
133 unsigned short events; /* supported events */
134 unsigned short event_flags; /* flags related to event processing */
136 struct xarray part_tbl;
137 struct block_device *part0;
139 const struct block_device_operations *fops;
140 struct request_queue *queue;
141 void *private_data;
143 struct bio_set bio_split;
145 int flags;
146 unsigned long state;
155 struct mutex open_mutex; /* open/close mutex */
156 unsigned open_partitions; /* number of open partitions */
158 struct backing_dev_info *bdi;
159 struct kobject *slave_dir;
161 struct list_head slave_bdevs;
163 struct timer_rand_state *random;
164 atomic_t sync_io; /* RAID */
165 struct disk_events *ev;
167 struct kobject integrity_kobj;
207 static inline bool disk_live(struct gendisk *disk) in disk_live() argument