Home
last modified time | relevance | path

Searched refs:tape_state (Results 1 – 5 of 5) sorted by relevance

/drivers/s390/char/
Dtape_core.c121 "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 …]
Dtape_proc.c64 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()
Dtape.h70 enum tape_state { enum
224 enum tape_state tape_state; member
285 extern void tape_state_set(struct tape_device *, enum tape_state);
Dtape_char.c429 get.mt_dsreg = device->tape_state; in tapechar_ioctl()
Dtape_std.c105 if (device->tape_state == TS_NOT_OPER) { in tape_std_unassign()