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