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()
119 static struct pktcdvd_kobj* pkt_kobj_create(struct pktcdvd_device *pd, in pkt_kobj_create()
210 struct pktcdvd_device *pd = to_pktcdvdkobj(kobj)->pd; in kobj_pkt_show()
270 struct pktcdvd_device *pd = to_pktcdvdkobj(kobj)->pd; in kobj_pkt_store()
314 static void pkt_sysfs_dev_new(struct pktcdvd_device *pd) in pkt_sysfs_dev_new()
332 static void pkt_sysfs_dev_remove(struct pktcdvd_device *pd) in pkt_sysfs_dev_remove()
360 struct pktcdvd_device *pd = pkt_devs[idx]; in device_map_show()
473 static void pkt_debugfs_dev_new(struct pktcdvd_device *pd) in pkt_debugfs_dev_new()
485 static void pkt_debugfs_dev_remove(struct pktcdvd_device *pd) in pkt_debugfs_dev_remove()
509 static void pkt_bio_finished(struct pktcdvd_device *pd) in pkt_bio_finished()
591 static void pkt_shrink_pktlist(struct pktcdvd_device *pd) in pkt_shrink_pktlist()
603 static int pkt_grow_pktlist(struct pktcdvd_device *pd, int nr_packets) in pkt_grow_pktlist()
631 static void pkt_rbtree_erase(struct pktcdvd_device *pd, struct pkt_rb_node *node) in pkt_rbtree_erase()
642 static struct pkt_rb_node *pkt_rbtree_find(struct pktcdvd_device *pd, sector_t s) in pkt_rbtree_find()
676 static void pkt_rbtree_insert(struct pktcdvd_device *pd, struct pkt_rb_node *node) in pkt_rbtree_insert()
700 static int pkt_generic_packet(struct pktcdvd_device *pd, struct packet_command *cgc) in pkt_generic_packet()
748 static void pkt_dump_sense(struct pktcdvd_device *pd, in pkt_dump_sense()
765 static int pkt_flush_cache(struct pktcdvd_device *pd) in pkt_flush_cache()
786 static noinline_for_stack int pkt_set_speed(struct pktcdvd_device *pd, in pkt_set_speed()
812 static void pkt_queue_bio(struct pktcdvd_device *pd, struct bio *bio) in pkt_queue_bio()
841 static void pkt_iosched_process_queue(struct pktcdvd_device *pd) in pkt_iosched_process_queue()
924 static int pkt_set_segment_merging(struct pktcdvd_device *pd, struct request_queue *q) in pkt_set_segment_merging()
950 struct pktcdvd_device *pd = pkt->pd; in pkt_end_io_read()
969 struct pktcdvd_device *pd = pkt->pd; in pkt_end_io_packet_write()
985 static void pkt_gather_data(struct pktcdvd_device *pd, struct packet_data *pkt) in pkt_gather_data()
1060 static struct packet_data *pkt_get_packet_data(struct pktcdvd_device *pd, int zone) in pkt_get_packet_data()
1076 static void pkt_put_packet_data(struct pktcdvd_device *pd, struct packet_data *pkt) in pkt_put_packet_data()
1103 static int pkt_handle_queue(struct pktcdvd_device *pd) in pkt_handle_queue()
1206 static void pkt_start_write(struct pktcdvd_device *pd, struct packet_data *pkt) in pkt_start_write()
1263 static void pkt_run_state_machine(struct pktcdvd_device *pd, struct packet_data *pkt) in pkt_run_state_machine()
1316 static void pkt_handle_packets(struct pktcdvd_device *pd) in pkt_handle_packets()
1345 static void pkt_count_states(struct pktcdvd_device *pd, int *states) in pkt_count_states()
1366 struct pktcdvd_device *pd = foobar; in kcdrwd()
1460 static void pkt_print_settings(struct pktcdvd_device *pd) in pkt_print_settings()
1468 static int pkt_mode_sense(struct pktcdvd_device *pd, struct packet_command *cgc, int page_code, int… in pkt_mode_sense()
1480 static int pkt_mode_select(struct pktcdvd_device *pd, struct packet_command *cgc) in pkt_mode_select()
1492 static int pkt_get_disc_info(struct pktcdvd_device *pd, disc_information *di) in pkt_get_disc_info()
1520 static int pkt_get_track_info(struct pktcdvd_device *pd, __u16 track, __u8 type, track_information … in pkt_get_track_info()
1547 static noinline_for_stack int pkt_get_last_written(struct pktcdvd_device *pd, in pkt_get_last_written()
1588 static noinline_for_stack int pkt_set_write_settings(struct pktcdvd_device *pd) in pkt_set_write_settings()
1675 static int pkt_writable_track(struct pktcdvd_device *pd, track_information *ti) in pkt_writable_track()
1708 static int pkt_writable_disc(struct pktcdvd_device *pd, disc_information *di) in pkt_writable_disc()
1751 static noinline_for_stack int pkt_probe_settings(struct pktcdvd_device *pd) in pkt_probe_settings()
1852 static noinline_for_stack int pkt_write_caching(struct pktcdvd_device *pd, in pkt_write_caching()
1885 static int pkt_lock_door(struct pktcdvd_device *pd, int lockflag) in pkt_lock_door()
1898 static noinline_for_stack int pkt_get_max_speed(struct pktcdvd_device *pd, in pkt_get_max_speed()
1959 static noinline_for_stack int pkt_media_speed(struct pktcdvd_device *pd, in pkt_media_speed()
2032 static noinline_for_stack int pkt_perform_opc(struct pktcdvd_device *pd) in pkt_perform_opc()
2051 static int pkt_open_write(struct pktcdvd_device *pd) in pkt_open_write()
2108 static int pkt_open_dev(struct pktcdvd_device *pd, fmode_t write) in pkt_open_dev()
2177 static void pkt_release_dev(struct pktcdvd_device *pd, int flush) in pkt_release_dev()
2190 static struct pktcdvd_device *pkt_find_dev_from_minor(unsigned int dev_minor) in pkt_find_dev_from_minor()
2201 struct pktcdvd_device *pd = NULL; in pkt_open()
2245 struct pktcdvd_device *pd = disk->private_data; in pkt_close()
2263 struct pktcdvd_device *pd = psd->pd; in pkt_end_io_read_cloned()
2272 static void pkt_make_request_read(struct pktcdvd_device *pd, struct bio *bio) in pkt_make_request_read()
2288 struct pktcdvd_device *pd = q->queuedata; in pkt_make_request_write()
2372 struct pktcdvd_device *pd; in pkt_submit_bio()
2431 static void pkt_init_queue(struct pktcdvd_device *pd) in pkt_init_queue()
2442 struct pktcdvd_device *pd = m->private; in pkt_seq_show()
2502 static int pkt_new_dev(struct pktcdvd_device *pd, dev_t dev) in pkt_new_dev()
2513 struct pktcdvd_device *pd2 = pkt_devs[i]; in pkt_new_dev()
2563 struct pktcdvd_device *pd = bdev->bd_disk->private_data; in pkt_ioctl()
2602 struct pktcdvd_device *pd = disk->private_data; in pkt_check_events()
2638 struct pktcdvd_device *pd; in pkt_setup_dev()
2652 pd = kzalloc(sizeof(struct pktcdvd_device), GFP_KERNEL); in pkt_setup_dev()
2727 struct pktcdvd_device *pd; in pkt_remove_dev()
2778 struct pktcdvd_device *pd; in pkt_get_status()