Lines Matching refs:open

124 		    "Connection already has a tape or scsi device open");
145 NDMP_LOG(LOG_ERR, "Failed to open device %s: %m.",
194 if ((session->ns_tape.td_fd = open(request->device.name, mode)) < 0) {
195 NDMP_LOG(LOG_ERR, "Failed to open tape device %s: %m.",
232 * This handler closes the currently open tape device.
249 NDMP_LOG(LOG_ERR, "Tape device is not open.");
263 * Status information for the currently open tape device is returned.
284 NDMP_LOG(LOG_ERR, "Tape device is not open.");
364 NDMP_LOG(LOG_ERR, "Tape device is not open.");
502 NDMP_LOG(LOG_ERR, "Tape device is not open.");
552 NDMP_LOG(LOG_ERR, "Tape device is not open.");
595 * Status information for the currently open tape device is returned.
615 NDMP_LOG(LOG_ERR, "Tape device is not open.");
767 NDMP_LOG(LOG_ERR, "Tape device is not open.");
856 NDMP_LOG(LOG_ERR, "Tape device is not open.");
951 * Status information for the currently open tape device is returned.
971 NDMP_LOG(LOG_ERR, "Tape device is not open.");
1036 * This handler (v4) closes the currently open tape device.
1053 NDMP_LOG(LOG_ERR, "Tape device is not open.");
1085 * Send a reply to the tape open message
1195 * devname (input) - tape device name to open.
1216 "Connection already has a tape or scsi device open");
1229 (devid = open(devname, O_RDWR | O_NDELAY)) < 0) {
1231 "Failed to open device %s: %m.", devname);
1259 session->ns_tape.td_fd = open(devname, mode);
1264 * V4 suggests that if the tape is open in raw mode
1269 session->ns_tape.td_fd = open(devname, O_RDONLY);
1272 NDMP_LOG(LOG_ERR, "Failed to open tape device %s: %m.",
1361 * Will try to open the tape with the given flags and
1370 while ((fd = open(path, flags)) == -1 &&