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()
445 struct tape_device *device; in tape_generic_pm_suspend()
489 struct tape_device *device; in tape_generic_offline()
525 static struct tape_device *
528 struct tape_device *device; in tape_alloc_device()
530 device = kzalloc(sizeof(struct tape_device), GFP_KERNEL); in tape_alloc_device()
560 struct tape_device *
561 tape_get_device(struct tape_device *device) in tape_get_device()
577 tape_put_device(struct tape_device *device) in tape_put_device()
593 struct tape_device *
596 struct tape_device *device, *tmp; in tape_find_device()
616 struct tape_device *device; in tape_generic_probe()
639 __tape_discard_requests(struct tape_device *device) in __tape_discard_requests()
668 struct tape_device * device; in tape_generic_remove()
777 __tape_start_io(struct tape_device *device, struct tape_request *request) in __tape_start_io()
803 __tape_start_next_request(struct tape_device *device) in __tape_start_next_request()
861 struct tape_device *device = in tape_delayed_next_request()
862 container_of(work, struct tape_device, tape_dnr.work); in tape_delayed_next_request()
872 struct tape_device *device = from_timer(device, t, lb_timeout); in tape_long_busy_timeout()
886 struct tape_device * device, in __tape_end_request()
912 tape_dump_sense_dbf(struct tape_device *device, struct tape_request *request, in tape_dump_sense_dbf()
938 __tape_start_request(struct tape_device *device, struct tape_request *request) in __tape_start_request()
983 tape_do_io_async(struct tape_device *device, struct tape_request *request) in tape_do_io_async()
1009 tape_do_io(struct tape_device *device, struct tape_request *request) in tape_do_io()
1041 tape_do_io_interruptible(struct tape_device *device, in tape_do_io_interruptible()
1084 tape_cancel_io(struct tape_device *device, struct tape_request *request) in tape_cancel_io()
1100 struct tape_device *device; in __tape_do_irq()
1243 tape_open(struct tape_device *device) in tape_open()
1273 tape_release(struct tape_device *device) in tape_release()
1287 tape_mtop(struct tape_device *device, int mt_op, int mt_count) in tape_mtop()