Searched refs:tape_state (Results 1 – 4 of 4) sorted by relevance
124 "OFFLINE" : tape_state_verbose[tdev->tape_state]); in tape_state_show()187 tape_state_set(struct tape_device *device, enum tape_state newstate) in tape_state_set()191 if (device->tape_state == TS_NOT_OPER) { in tape_state_set()197 if (device->tape_state < TS_SIZE && device->tape_state >=0 ) in tape_state_set()198 str = tape_state_verbose[device->tape_state]; in tape_state_set()208 device->tape_state = newstate; in tape_state_set()380 if (device->tape_state != TS_INIT) { in tape_generic_online()381 DBF_LH(3, "Tapestate not INIT (%d)\n", device->tape_state); in tape_generic_online()451 switch (device->tape_state) { in tape_generic_offline()497 device->tape_state = TS_INIT; in tape_alloc_device()[all …]
65 if (device->tape_state >= 0 && in tape_proc_show()66 device->tape_state < TS_SIZE) in tape_proc_show()67 str = tape_state_verbose[device->tape_state]; in tape_proc_show()
69 enum tape_state { enum201 enum tape_state tape_state; member263 extern void tape_state_set(struct tape_device *, enum tape_state);
97 if (device->tape_state == TS_NOT_OPER) { in tape_std_unassign()