Lines Matching defs:pktcdvd_device
155 struct pktcdvd_device struct
157 struct block_device *bdev; /* dev attached */
158 dev_t pkt_dev; /* our dev */
159 struct packet_settings settings;
160 struct packet_stats stats;
161 int refcnt; /* Open count */
162 int write_speed; /* current write speed, kB/s */
163 int read_speed; /* current read speed, kB/s */
164 unsigned long offset; /* start offset */
165 __u8 mode_offset; /* 0 / 8 */
166 __u8 type;
167 unsigned long flags;
168 __u16 mmc3_profile;
169 __u32 nwa; /* next writable address */
170 __u32 lra; /* last recorded address */
171 struct packet_cdrw cdrw;
172 wait_queue_head_t wqueue;
174 spinlock_t lock; /* Serialize access to bio_queue */
175 struct rb_root bio_queue; /* Work queue of bios we need to handle */
176 int bio_queue_size; /* Number of nodes in bio_queue */
177 bool congested; /* Someone is waiting for bio_queue_size
179 sector_t current_sector; /* Keep track of where the elevator is */
180 atomic_t scan_queue; /* Set to non-zero when pkt_handle_queue */
182 mempool_t rb_pool; /* mempool for pkt_rb_node allocations */
184 struct packet_iosched iosched;
185 struct gendisk *disk;
187 int write_congestion_off;
188 int write_congestion_on;
190 struct device *dev; /* sysfs pktcdvd[0-7] dev */
192 struct dentry *dfs_d_root; /* debugfs: devname directory */
193 struct dentry *dfs_f_info; /* debugfs: info file */