Lines Matching refs:errno
127 int errno; member
135 .errno = EBADSLT, /* Invalid element address */
140 .errno = EBADE, /* Import or export element accessed */
145 .errno = EXFULL, /* Medium destination element full */
150 .errno = EBADE, /* Medium source element empty */
155 .errno = EBADRQC, /* Invalid command operation code */
165 int i,errno = 0; in ch_find_errno() local
170 for (i = 0; ch_err[i].errno != 0; i++) { in ch_find_errno()
174 errno = -ch_err[i].errno; in ch_find_errno()
179 if (errno == 0) in ch_find_errno()
180 errno = -EIO; in ch_find_errno()
181 return errno; in ch_find_errno()
189 int errno, retries = 0, timeout, result; in ch_do_scsi() local
196 errno = 0; in ch_do_scsi()
204 errno = ch_find_errno(&sshdr); in ch_do_scsi()
214 return errno; in ch_do_scsi()