Home
last modified time | relevance | path

Searched refs:mtfd (Results 1 – 3 of 3) sorted by relevance

/freebsd-14.2/usr.bin/mt/
H A Dmt.c196 static int mt_protect(int argc, char **argv, int mtfd,
211 int ch, len, mtfd; in main() local
301 if (ioctl(mtfd, comp->c_code, (caddr_t)&umn) < 0) in main()
369 if (ioctl(mtfd, comp->c_code, (caddr_t)&nm) < 0) in main()
384 if (ioctl(mtfd, MTIOCRBLIM, (caddr_t)&rblim) < 0) in main()
415 retval = mt_locate(argc, argv, mtfd, tape); in main()
422 if (ioctl(mtfd, MTIOCTOP, &mt_com) < 0) in main()
425 if (ioctl(mtfd, MTIOCGET, &mt_status) < 0) in main()
758 if (ioctl(mtfd, MTIOCEXTLOCATE, &mtl) == -1) in mt_locate()
1117 if (ioctl(mtfd, MTIOCPARAMSET, &param_set) == -1) in mt_set_param()
[all …]
/freebsd-14.2/lib/libmt/
H A Dmtlib.h116 int mt_get_xml_str(int mtfd, unsigned long cmd, char **xml_str);
H A Dmtlib.c720 mt_get_xml_str(int mtfd, unsigned long cmd, char **xml_str) in mt_get_xml_str() argument
736 error = ioctl(mtfd, cmd, (caddr_t)&extget); in mt_get_xml_str()