Lines Matching defs:msb_data
145 struct msb_data { struct
146 struct memstick_dev *card;
147 struct gendisk *disk;
148 struct request_queue *queue;
149 spinlock_t q_lock;
150 struct blk_mq_tag_set tag_set;
151 struct hd_geometry geometry;
152 struct attribute_group attr_group;
153 struct request *req;
154 int caps;
155 int disk_id;
158 struct workqueue_struct *io_queue;
159 bool io_queue_stopped;
160 struct work_struct io_work;
161 bool card_dead;
164 struct ms_boot_page *boot_page;
165 u16 boot_block_locations[2];
166 int boot_block_count;
168 bool read_only;
169 unsigned short page_size;
170 int block_size;
171 int pages_in_block;
172 int zone_count;
173 int block_count;
174 int logical_block_count;
177 unsigned long *used_blocks_bitmap;
178 unsigned long *erased_blocks_bitmap;
179 u16 *lba_to_pba_table;
180 int free_block_count[MS_MAX_ZONES];
181 bool ftl_initialized;
184 unsigned char *cache;
185 unsigned long valid_cache_bitmap;
186 int cache_block_lba;
187 bool need_flush_cache;
188 struct timer_list cache_flush_timer;
191 unsigned char *block_buffer;
192 struct scatterlist prealloc_sg[MS_BLOCK_MAX_SEGS+1];
196 struct ms_register_addr reg_addr;
197 bool addr_valid;
199 u8 command_value;
200 bool command_need_oob;
201 struct scatterlist *current_sg;
202 int current_sg_offset;
204 struct ms_register regs;
205 int current_page;
207 int state;
208 int exit_error;
209 bool int_polling;
210 unsigned long int_timeout;