tag | line | file | source code |
krnl_arg | 657 | drivers/char/ftape/ftape-ctl.c | } krnl_arg; |
krnl_arg | 662 | drivers/char/ftape/ftape-ctl.c | if ((command & IOC_INOUT) && arg_size > sizeof(krnl_arg)) { |
krnl_arg | 673 | drivers/char/ftape/ftape-ctl.c | memcpy_fromfs(&krnl_arg.mtop, arg, arg_size); |
krnl_arg | 682 | drivers/char/ftape/ftape-ctl.c | TRACEx1(5, "calling MTIOCTOP command: 0x%08x", krnl_arg.mtop.mt_op); |
krnl_arg | 683 | drivers/char/ftape/ftape-ctl.c | switch (krnl_arg.mtop.mt_op) { |
krnl_arg | 707 | drivers/char/ftape/ftape-ctl.c | if (krnl_arg.mtop.mt_op == MTOFFL) { |
krnl_arg | 749 | drivers/char/ftape/ftape-ctl.c | result = ftape_seek_eof(krnl_arg.mtop.mt_count); |
krnl_arg | 762 | drivers/char/ftape/ftape-ctl.c | result = ftape_seek_eof(-krnl_arg.mtop.mt_count); |
krnl_arg | 769 | drivers/char/ftape/ftape-ctl.c | tracing = krnl_arg.mtop.mt_count; |
krnl_arg | 789 | drivers/char/ftape/ftape-ctl.c | result = ftape_weof(krnl_arg.mtop.mt_count, ftape_seg_pos, 1); |
krnl_arg | 791 | drivers/char/ftape/ftape-ctl.c | ftape_seg_pos += krnl_arg.mtop.mt_count - 1; |
krnl_arg | 802 | drivers/char/ftape/ftape-ctl.c | TRACEi(1, "MTIOCTOP sub-command not implemented:", krnl_arg.mtop.mt_op); |
krnl_arg | 808 | drivers/char/ftape/ftape-ctl.c | krnl_arg.mtget.mt_type = drive_type.vendor_id + 0x800000; |
krnl_arg | 809 | drivers/char/ftape/ftape-ctl.c | krnl_arg.mtget.mt_resid = 0; /* not implemented */ |
krnl_arg | 810 | drivers/char/ftape/ftape-ctl.c | krnl_arg.mtget.mt_dsreg = 0; /* status register */ |
krnl_arg | 811 | drivers/char/ftape/ftape-ctl.c | krnl_arg.mtget.mt_gstat = /* device independent status */ |
krnl_arg | 815 | drivers/char/ftape/ftape-ctl.c | krnl_arg.mtget.mt_erreg = ftape_last_error; /* error register */ |
krnl_arg | 816 | drivers/char/ftape/ftape-ctl.c | result = ftape_file_no(&krnl_arg.mtget.mt_fileno, |
krnl_arg | 817 | drivers/char/ftape/ftape-ctl.c | &krnl_arg.mtget.mt_blkno); |
krnl_arg | 833 | drivers/char/ftape/ftape-ctl.c | memcpy_tofs(arg, &krnl_arg, arg_size); |