Searched refs:mtfd (Results 1 - 3 of 3) sorted by relevance
/freebsd-10.2-release/usr.bin/mt/ |
H A D | mt.c | 186 static int mt_locate(int argc, char **argv, int mtfd, const char *tape); 189 static int mt_xml_cmd(unsigned long cmd, int argc, char **argv, int mtfd, 196 static int mt_set_param(int mtfd, struct mt_status_data *status_data, 198 static int mt_protect(int argc, char **argv, int mtfd, 200 static int mt_param(int argc, char **argv, int mtfd, char *xml_str, 213 int ch, len, mtfd; local 256 if ((mtfd = open(tape, comp->c_ronly ? O_RDONLY : O_RDWR)) < 0) 303 if (ioctl(mtfd, comp->c_code, (caddr_t)&umn) < 0) 339 if (ioctl(mtfd, comp->c_code, (caddr_t)&block) < 0) 351 if (ioctl(mtfd, com 663 mt_locate(int argc, char **argv, int mtfd, const char *tape) argument 1000 mt_xml_cmd(unsigned long cmd, int argc, char **argv, int mtfd, const char *tape) argument 1069 mt_set_param(int mtfd, struct mt_status_data *status_data, char *param_name, char *param_value) argument 1155 mt_protect(int argc, char **argv, int mtfd, struct mt_status_data *status_data) argument 1331 mt_param(int argc, char **argv, int mtfd, char *xml_str, struct mt_status_data *status_data) argument [all...] |
/freebsd-10.2-release/lib/libmt/ |
H A D | mtlib.h | 118 int mt_get_xml_str(int mtfd, unsigned long cmd, char **xml_str);
|
H A D | mtlib.c | 712 mt_get_xml_str(int mtfd, unsigned long cmd, char **xml_str) argument 728 error = ioctl(mtfd, cmd, (caddr_t)&extget);
|
Completed in 153 milliseconds