Home
last modified time | relevance | path

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

/freebsd-13.1/usr.bin/mt/
H A Dmt.c198 static int mt_protect(int argc, char **argv, int mtfd,
213 int ch, len, mtfd; in main() local
303 if (ioctl(mtfd, comp->c_code, (caddr_t)&umn) < 0) in main()
371 if (ioctl(mtfd, comp->c_code, (caddr_t)&nm) < 0) in main()
386 if (ioctl(mtfd, MTIOCRBLIM, (caddr_t)&rblim) < 0) in main()
417 retval = mt_locate(argc, argv, mtfd, tape); in main()
424 if (ioctl(mtfd, MTIOCTOP, &mt_com) < 0) in main()
427 if (ioctl(mtfd, MTIOCGET, &mt_status) < 0) in main()
760 if (ioctl(mtfd, MTIOCEXTLOCATE, &mtl) == -1) in mt_locate()
1119 if (ioctl(mtfd, MTIOCPARAMSET, &param_set) == -1) in mt_set_param()
[all …]
/freebsd-13.1/lib/libmt/
H A Dmtlib.h118 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()