Lines Matching refs:error
30 int error = HV_E_FAIL;
69 error = HV_ERROR_ALREADY_EXISTS;
81 error = 0;
83 if (error)
85 return error;
151 int error;
182 syslog(LOG_ERR, "daemon() failed; error: %s", strerror(errno));
192 /* Remove any possible partially-copied file on error */
198 syslog(LOG_ERR, "open /dev/vmbus/hv_fcopy failed; error: %d %s",
237 error = hv_start_fcopy(&buffer.start);
240 error = hv_copy_data(&buffer.copy);
243 error = hv_copy_finished();
246 error = hv_copy_cancel();
250 error = HV_E_FAIL;
257 * pwrite() may return an error due to the faked CANCEL_FCOPY
258 * message upon hibernation. Ignore the error by resetting the
261 if (pwrite(fcopy_fd, &error, sizeof(int), 0) != sizeof(int)) {