Lines Matching defs:pd
75 #define pkt_err(pd, fmt, ...) \ argument
77 #define pkt_notice(pd, fmt, ...) \ argument
79 #define pkt_info(pd, fmt, ...) \ argument
82 #define pkt_dbg(level, pd, fmt, ...) \ argument
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() local
270 struct pktcdvd_device *pd = to_pktcdvdkobj(kobj)->pd; in kobj_pkt_store() local
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() local
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() local
969 struct pktcdvd_device *pd = pkt->pd; in pkt_end_io_packet_write() local
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()
1240 static void pkt_start_write(struct pktcdvd_device *pd, struct packet_data *pkt) in pkt_start_write()
1297 static void pkt_run_state_machine(struct pktcdvd_device *pd, struct packet_data *pkt) in pkt_run_state_machine()
1350 static void pkt_handle_packets(struct pktcdvd_device *pd) in pkt_handle_packets()
1379 static void pkt_count_states(struct pktcdvd_device *pd, int *states) in pkt_count_states()
1400 struct pktcdvd_device *pd = foobar; in kcdrwd() local
1494 static void pkt_print_settings(struct pktcdvd_device *pd) in pkt_print_settings()
1502 static int pkt_mode_sense(struct pktcdvd_device *pd, struct packet_command *cgc, int page_code, int… in pkt_mode_sense()
1514 static int pkt_mode_select(struct pktcdvd_device *pd, struct packet_command *cgc) in pkt_mode_select()
1526 static int pkt_get_disc_info(struct pktcdvd_device *pd, disc_information *di) in pkt_get_disc_info()
1554 static int pkt_get_track_info(struct pktcdvd_device *pd, __u16 track, __u8 type, track_information … in pkt_get_track_info()
1581 static noinline_for_stack int pkt_get_last_written(struct pktcdvd_device *pd, in pkt_get_last_written()
1622 static noinline_for_stack int pkt_set_write_settings(struct pktcdvd_device *pd) in pkt_set_write_settings()
1709 static int pkt_writable_track(struct pktcdvd_device *pd, track_information *ti) in pkt_writable_track()
1742 static int pkt_writable_disc(struct pktcdvd_device *pd, disc_information *di) in pkt_writable_disc()
1785 static noinline_for_stack int pkt_probe_settings(struct pktcdvd_device *pd) in pkt_probe_settings()
1886 static noinline_for_stack int pkt_write_caching(struct pktcdvd_device *pd, in pkt_write_caching()
1919 static int pkt_lock_door(struct pktcdvd_device *pd, int lockflag) in pkt_lock_door()
1932 static noinline_for_stack int pkt_get_max_speed(struct pktcdvd_device *pd, in pkt_get_max_speed()
1993 static noinline_for_stack int pkt_media_speed(struct pktcdvd_device *pd, in pkt_media_speed()
2066 static noinline_for_stack int pkt_perform_opc(struct pktcdvd_device *pd) in pkt_perform_opc()
2085 static int pkt_open_write(struct pktcdvd_device *pd) in pkt_open_write()
2142 static int pkt_open_dev(struct pktcdvd_device *pd, fmode_t write) in pkt_open_dev()
2210 static void pkt_release_dev(struct pktcdvd_device *pd, int flush) in pkt_release_dev()
2234 struct pktcdvd_device *pd = NULL; in pkt_open() local
2278 struct pktcdvd_device *pd = disk->private_data; in pkt_close() local
2296 struct pktcdvd_device *pd = psd->pd; in pkt_end_io_read_cloned() local
2305 static void pkt_make_request_read(struct pktcdvd_device *pd, struct bio *bio) in pkt_make_request_read()
2321 struct pktcdvd_device *pd = q->queuedata; in pkt_make_request_write() local
2405 struct pktcdvd_device *pd; in pkt_submit_bio() local
2466 static void pkt_init_queue(struct pktcdvd_device *pd) in pkt_init_queue()
2477 struct pktcdvd_device *pd = m->private; in pkt_seq_show() local
2537 static int pkt_new_dev(struct pktcdvd_device *pd, dev_t dev) in pkt_new_dev()
2598 struct pktcdvd_device *pd = bdev->bd_disk->private_data; in pkt_ioctl() local
2639 struct pktcdvd_device *pd = disk->private_data; in pkt_check_events() local
2675 struct pktcdvd_device *pd; in pkt_setup_dev() local
2762 struct pktcdvd_device *pd; in pkt_remove_dev() local
2812 struct pktcdvd_device *pd; in pkt_get_status() local