Lines Matching refs:errno
128 int errno; member
136 .errno = EBADSLT, /* Invalid element address */
141 .errno = EBADE, /* Import or export element accessed */
146 .errno = EXFULL, /* Medium destination element full */
151 .errno = EBADE, /* Medium source element empty */
156 .errno = EBADRQC, /* Invalid command operation code */
166 int i,errno = 0; in ch_find_errno() local
171 for (i = 0; ch_err[i].errno != 0; i++) { in ch_find_errno()
175 errno = -ch_err[i].errno; in ch_find_errno()
180 if (errno == 0) in ch_find_errno()
181 errno = -EIO; in ch_find_errno()
182 return errno; in ch_find_errno()
190 int errno, retries = 0, timeout, result; in ch_do_scsi() local
197 errno = 0; in ch_do_scsi()
211 errno = ch_find_errno(&sshdr); in ch_do_scsi()
221 return errno; in ch_do_scsi()