Lines Matching refs:comp
94 struct commands const *comp; in main() local
116 for (comp = com; comp->c_name != NULL; comp++) { in main()
117 if (strncmp(cp, comp->c_name, strlen(cp)) == 0) { in main()
122 if (comp->c_name == NULL) { in main()
127 mtfd = open(tape, comp->c_oflag); in main()
146 if (comp->c_code == MTIOCFORCERESERVE || in main()
147 comp->c_code == MTIOCRESERVE || in main()
148 comp->c_code == MTIOCRELEASE) { in main()
153 if (ioctl(mtfd, comp->c_code) < 0) { in main()
157 } else if (comp->c_code == MTASF) { in main()
167 usecnt = argc > 2 && comp->c_usecnt; in main()
192 tape, comp->c_name, mt_fileno); in main()
210 (void) fprintf(stderr, "%s %s %ld ", tape, comp->c_name, in main()
215 } else if (comp->c_code == MTIOCGETDRIVETYPE) { in main()
219 } else if (comp->c_code != MTNOP) { in main()
222 mt_com.mt_op = comp->c_code; in main()
223 usecnt = argc > 2 && comp->c_usecnt; in main()
227 comp->c_name); in main()
236 comp->c_code == MTSEEK) { in main()
241 comp->c_name, mt_com.mt_count); in main()