mt.c (9a55543f8eb5d40120b06bf806d60efbc0ceee5b) | mt.c (1a7ac2bd24c1763b0d32e23d9c70308fbc24b07a) |
---|---|
1/* 2 * SPDX-License-Identifier: BSD-3-Clause 3 * 4 * The Regents of the University of California. All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 166 unchanged lines hidden (view full) --- 175 { "protect", MT_CMD_PROTECT, 0, USE_GETOPT }, 176 { NULL, 0, 0, 0 } 177}; 178 179 180static const char *getblksiz(int); 181static void printreg(const char *, u_int, const char *); 182static void status(struct mtget *); | 1/* 2 * SPDX-License-Identifier: BSD-3-Clause 3 * 4 * The Regents of the University of California. All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 166 unchanged lines hidden (view full) --- 175 { "protect", MT_CMD_PROTECT, 0, USE_GETOPT }, 176 { NULL, 0, 0, 0 } 177}; 178 179 180static const char *getblksiz(int); 181static void printreg(const char *, u_int, const char *); 182static void status(struct mtget *); |
183static void usage(void); | 183static void usage(void) __dead2; |
184const char *get_driver_state_str(int dsreg); 185static void st_status (struct mtget *); 186static int mt_locate(int argc, char **argv, int mtfd, const char *tape); 187static int nstatus_print(int argc, char **argv, char *xml_str, 188 struct mt_status_data *status_data); 189static int mt_xml_cmd(unsigned long cmd, int argc, char **argv, int mtfd, 190 const char *tape); 191static int mt_print_density_entry(struct mt_status_entry *density_root, int indent); --- 1407 unchanged lines hidden --- | 184const char *get_driver_state_str(int dsreg); 185static void st_status (struct mtget *); 186static int mt_locate(int argc, char **argv, int mtfd, const char *tape); 187static int nstatus_print(int argc, char **argv, char *xml_str, 188 struct mt_status_data *status_data); 189static int mt_xml_cmd(unsigned long cmd, int argc, char **argv, int mtfd, 190 const char *tape); 191static int mt_print_density_entry(struct mt_status_entry *density_root, int indent); --- 1407 unchanged lines hidden --- |