Lines Matching refs:tape_device
96 struct tape_device *tdev; in tape_medium_state_show()
108 struct tape_device *tdev; in tape_first_minor_show()
120 struct tape_device *tdev; in tape_state_show()
133 struct tape_device *tdev; in tape_operation_show()
160 struct tape_device *tdev; in tape_blocksize_show()
187 tape_state_set(struct tape_device *device, enum tape_state newstate) in tape_state_set()
213 struct tape_device *device;
225 struct tape_device *device = p->device; in tape_med_state_work_handler()
249 tape_med_state_work(struct tape_device *device, enum tape_medium_state state) in tape_med_state_work()
263 tape_med_state_set(struct tape_device *device, enum tape_medium_state newstate) in tape_med_state_set()
292 __tape_cancel_io(struct tape_device *device, struct tape_request *request) in __tape_cancel_io()
332 tape_assign_minor(struct tape_device *device) in tape_assign_minor()
334 struct tape_device *tmp; in tape_assign_minor()
356 tape_remove_minor(struct tape_device *device) in tape_remove_minor()
373 tape_generic_online(struct tape_device *device, in tape_generic_online()
421 tape_cleanup_device(struct tape_device *device) in tape_cleanup_device()
440 struct tape_device *device; in tape_generic_offline()
476 static struct tape_device *
479 struct tape_device *device; in tape_alloc_device()
481 device = kzalloc(sizeof(struct tape_device), GFP_KERNEL); in tape_alloc_device()
511 struct tape_device *
512 tape_get_device(struct tape_device *device) in tape_get_device()
528 tape_put_device(struct tape_device *device) in tape_put_device()
544 struct tape_device *
547 struct tape_device *device, *tmp; in tape_find_device()
567 struct tape_device *device; in tape_generic_probe()
590 __tape_discard_requests(struct tape_device *device) in __tape_discard_requests()
619 struct tape_device * device; in tape_generic_remove()
729 __tape_start_io(struct tape_device *device, struct tape_request *request) in __tape_start_io()
755 __tape_start_next_request(struct tape_device *device) in __tape_start_next_request()
813 struct tape_device *device = in tape_delayed_next_request()
814 container_of(work, struct tape_device, tape_dnr.work); in tape_delayed_next_request()
824 struct tape_device *device = from_timer(device, t, lb_timeout); in tape_long_busy_timeout()
838 struct tape_device * device, in __tape_end_request()
864 tape_dump_sense_dbf(struct tape_device *device, struct tape_request *request, in tape_dump_sense_dbf()
890 __tape_start_request(struct tape_device *device, struct tape_request *request) in __tape_start_request()
936 tape_do_io_async(struct tape_device *device, struct tape_request *request) in tape_do_io_async()
962 tape_do_io(struct tape_device *device, struct tape_request *request) in tape_do_io()
994 tape_do_io_interruptible(struct tape_device *device, in tape_do_io_interruptible()
1037 tape_cancel_io(struct tape_device *device, struct tape_request *request) in tape_cancel_io()
1053 struct tape_device *device; in __tape_do_irq()
1197 tape_open(struct tape_device *device) in tape_open()
1227 tape_release(struct tape_device *device) in tape_release()
1241 tape_mtop(struct tape_device *device, int mt_op, int mt_count) in tape_mtop()