Lines Matching defs:pktcdvd_device
258 struct pktcdvd_device struct
260 struct block_device *bdev; /* dev attached */
261 dev_t pkt_dev; /* our dev */
262 char name[20];
263 struct packet_settings settings;
264 struct packet_stats stats;
265 int refcnt; /* Open count */
266 int write_speed; /* current write speed, kB/s */
267 int read_speed; /* current read speed, kB/s */
268 unsigned long offset; /* start offset */
269 __u8 mode_offset; /* 0 / 8 */
270 __u8 type;
271 unsigned long flags;
272 __u16 mmc3_profile;
273 __u32 nwa; /* next writable address */
274 __u32 lra; /* last recorded address */
275 struct packet_cdrw cdrw;
276 wait_queue_head_t wqueue;
278 spinlock_t lock; /* Serialize access to bio_queue */
279 struct rb_root bio_queue; /* Work queue of bios we need to handle */
280 int bio_queue_size; /* Number of nodes in bio_queue */
281 sector_t current_sector; /* Keep track of where the elevator is */
282 atomic_t scan_queue; /* Set to non-zero when pkt_handle_queue */
284 mempool_t *rb_pool; /* mempool for pkt_rb_node allocations */
286 struct packet_iosched iosched;
287 struct gendisk *disk;
289 int write_congestion_off;
290 int write_congestion_on;
292 struct device *dev; /* sysfs pktcdvd[0-7] dev */
293 struct pktcdvd_kobj *kobj_stat; /* sysfs pktcdvd[0-7]/stat/ */
294 struct pktcdvd_kobj *kobj_wqueue; /* sysfs pktcdvd[0-7]/write_queue/ */
296 struct dentry *dfs_d_root; /* debugfs: devname directory */
297 struct dentry *dfs_f_info; /* debugfs: info file */