Lines Matching refs:pktcdvd_device
94 static struct pktcdvd_device *pkt_devs[MAX_WRITERS];
111 static sector_t get_zone(sector_t sector, struct pktcdvd_device *pd) in get_zone()
135 struct pktcdvd_device *pd = dev_get_drvdata(dev); in packets_started_show()
144 struct pktcdvd_device *pd = dev_get_drvdata(dev); in packets_finished_show()
153 struct pktcdvd_device *pd = dev_get_drvdata(dev); in kb_written_show()
162 struct pktcdvd_device *pd = dev_get_drvdata(dev); in kb_read_show()
171 struct pktcdvd_device *pd = dev_get_drvdata(dev); in kb_read_gather_show()
180 struct pktcdvd_device *pd = dev_get_drvdata(dev); in reset_store()
211 struct pktcdvd_device *pd = dev_get_drvdata(dev); in size_show()
241 struct pktcdvd_device *pd = dev_get_drvdata(dev); in congestion_off_show()
254 struct pktcdvd_device *pd = dev_get_drvdata(dev); in congestion_off_store()
271 struct pktcdvd_device *pd = dev_get_drvdata(dev); in congestion_on_show()
284 struct pktcdvd_device *pd = dev_get_drvdata(dev); in congestion_on_store()
316 static void pkt_sysfs_dev_new(struct pktcdvd_device *pd) in pkt_sysfs_dev_new()
327 static void pkt_sysfs_dev_remove(struct pktcdvd_device *pd) in pkt_sysfs_dev_remove()
353 struct pktcdvd_device *pd = pkt_devs[idx]; in device_map_show()
466 static void pkt_debugfs_dev_new(struct pktcdvd_device *pd) in pkt_debugfs_dev_new()
478 static void pkt_debugfs_dev_remove(struct pktcdvd_device *pd) in pkt_debugfs_dev_remove()
502 static void pkt_bio_finished(struct pktcdvd_device *pd) in pkt_bio_finished()
575 static void pkt_shrink_pktlist(struct pktcdvd_device *pd) in pkt_shrink_pktlist()
587 static int pkt_grow_pktlist(struct pktcdvd_device *pd, int nr_packets) in pkt_grow_pktlist()
615 static void pkt_rbtree_erase(struct pktcdvd_device *pd, struct pkt_rb_node *node) in pkt_rbtree_erase()
626 static struct pkt_rb_node *pkt_rbtree_find(struct pktcdvd_device *pd, sector_t s) in pkt_rbtree_find()
660 static void pkt_rbtree_insert(struct pktcdvd_device *pd, struct pkt_rb_node *node) in pkt_rbtree_insert()
684 static int pkt_generic_packet(struct pktcdvd_device *pd, struct packet_command *cgc) in pkt_generic_packet()
734 static void pkt_dump_sense(struct pktcdvd_device *pd, in pkt_dump_sense()
751 static int pkt_flush_cache(struct pktcdvd_device *pd) in pkt_flush_cache()
772 static noinline_for_stack int pkt_set_speed(struct pktcdvd_device *pd, in pkt_set_speed()
798 static void pkt_queue_bio(struct pktcdvd_device *pd, struct bio *bio) in pkt_queue_bio()
827 static void pkt_iosched_process_queue(struct pktcdvd_device *pd) in pkt_iosched_process_queue()
910 static int pkt_set_segment_merging(struct pktcdvd_device *pd, struct request_queue *q) in pkt_set_segment_merging()
936 struct pktcdvd_device *pd = pkt->pd; in pkt_end_io_read()
956 struct pktcdvd_device *pd = pkt->pd; in pkt_end_io_packet_write()
973 static void pkt_gather_data(struct pktcdvd_device *pd, struct packet_data *pkt) in pkt_gather_data()
1046 static struct packet_data *pkt_get_packet_data(struct pktcdvd_device *pd, int zone) in pkt_get_packet_data()
1062 static void pkt_put_packet_data(struct pktcdvd_device *pd, struct packet_data *pkt) in pkt_put_packet_data()
1089 static int pkt_handle_queue(struct pktcdvd_device *pd) in pkt_handle_queue()
1227 static void pkt_start_write(struct pktcdvd_device *pd, struct packet_data *pkt) in pkt_start_write()
1283 static void pkt_run_state_machine(struct pktcdvd_device *pd, struct packet_data *pkt) in pkt_run_state_machine()
1336 static void pkt_handle_packets(struct pktcdvd_device *pd) in pkt_handle_packets()
1365 static void pkt_count_states(struct pktcdvd_device *pd, int *states) in pkt_count_states()
1386 struct pktcdvd_device *pd = foobar; in kcdrwd()
1480 static void pkt_print_settings(struct pktcdvd_device *pd) in pkt_print_settings()
1488 static int pkt_mode_sense(struct pktcdvd_device *pd, struct packet_command *cgc, int page_code, int… in pkt_mode_sense()
1500 static int pkt_mode_select(struct pktcdvd_device *pd, struct packet_command *cgc) in pkt_mode_select()
1512 static int pkt_get_disc_info(struct pktcdvd_device *pd, disc_information *di) in pkt_get_disc_info()
1540 static int pkt_get_track_info(struct pktcdvd_device *pd, __u16 track, __u8 type, track_information … in pkt_get_track_info()
1567 static noinline_for_stack int pkt_get_last_written(struct pktcdvd_device *pd, in pkt_get_last_written()
1608 static noinline_for_stack int pkt_set_write_settings(struct pktcdvd_device *pd) in pkt_set_write_settings()
1695 static int pkt_writable_track(struct pktcdvd_device *pd, track_information *ti) in pkt_writable_track()
1728 static int pkt_writable_disc(struct pktcdvd_device *pd, disc_information *di) in pkt_writable_disc()
1771 static noinline_for_stack int pkt_probe_settings(struct pktcdvd_device *pd) in pkt_probe_settings()
1872 static noinline_for_stack int pkt_write_caching(struct pktcdvd_device *pd, in pkt_write_caching()
1905 static int pkt_lock_door(struct pktcdvd_device *pd, int lockflag) in pkt_lock_door()
1918 static noinline_for_stack int pkt_get_max_speed(struct pktcdvd_device *pd, in pkt_get_max_speed()
1979 static noinline_for_stack int pkt_media_speed(struct pktcdvd_device *pd, in pkt_media_speed()
2052 static noinline_for_stack int pkt_perform_opc(struct pktcdvd_device *pd) in pkt_perform_opc()
2071 static int pkt_open_write(struct pktcdvd_device *pd) in pkt_open_write()
2128 static int pkt_open_dev(struct pktcdvd_device *pd, fmode_t write) in pkt_open_dev()
2196 static void pkt_release_dev(struct pktcdvd_device *pd, int flush) in pkt_release_dev()
2209 static struct pktcdvd_device *pkt_find_dev_from_minor(unsigned int dev_minor) in pkt_find_dev_from_minor()
2220 struct pktcdvd_device *pd = NULL; in pkt_open()
2264 struct pktcdvd_device *pd = disk->private_data; in pkt_close()
2282 struct pktcdvd_device *pd = psd->pd; in pkt_end_io_read_cloned()
2291 static void pkt_make_request_read(struct pktcdvd_device *pd, struct bio *bio) in pkt_make_request_read()
2307 struct pktcdvd_device *pd = q->queuedata; in pkt_make_request_write()
2399 struct pktcdvd_device *pd = bio->bi_bdev->bd_disk->queue->queuedata; in pkt_submit_bio()
2452 static void pkt_init_queue(struct pktcdvd_device *pd) in pkt_init_queue()
2463 struct pktcdvd_device *pd = m->private; in pkt_seq_show()
2521 static int pkt_new_dev(struct pktcdvd_device *pd, dev_t dev) in pkt_new_dev()
2532 struct pktcdvd_device *pd2 = pkt_devs[i]; in pkt_new_dev()
2583 struct pktcdvd_device *pd = bdev->bd_disk->private_data; in pkt_ioctl()
2624 struct pktcdvd_device *pd = disk->private_data; in pkt_check_events()
2660 struct pktcdvd_device *pd; in pkt_setup_dev()
2674 pd = kzalloc(sizeof(struct pktcdvd_device), GFP_KERNEL); in pkt_setup_dev()
2749 struct pktcdvd_device *pd; in pkt_remove_dev()
2799 struct pktcdvd_device *pd; in pkt_get_status()