Searched refs:tape_state (Results 1 – 5 of 5) sorted by relevance
121 "OFFLINE" : tape_state_verbose[tdev->tape_state]); in tape_state_show()184 tape_state_set(struct tape_device *device, enum tape_state newstate) in tape_state_set()188 if (device->tape_state == TS_NOT_OPER) { in tape_state_set()194 if (device->tape_state < TS_SIZE && device->tape_state >=0 ) in tape_state_set()195 str = tape_state_verbose[device->tape_state]; in tape_state_set()205 device->tape_state = newstate; in tape_state_set()325 if (device->tape_state != TS_INIT) { in tape_generic_online()326 DBF_LH(3, "Tapestate not INIT (%d)\n", device->tape_state); in tape_generic_online()402 switch (device->tape_state) { in tape_generic_offline()453 device->tape_state = TS_INIT; in tape_alloc_device()[all …]
64 if (device->tape_state >= 0 && in tape_proc_show()65 device->tape_state < TS_SIZE) in tape_proc_show()66 str = tape_state_verbose[device->tape_state]; in tape_proc_show()
70 enum tape_state { enum224 enum tape_state tape_state; member285 extern void tape_state_set(struct tape_device *, enum tape_state);
429 get.mt_dsreg = device->tape_state; in tapechar_ioctl()
105 if (device->tape_state == TS_NOT_OPER) { in tape_std_unassign()