Lines Matching defs:result
189 int errno, retries = 0, timeout, result;
200 result = scsi_execute_cmd(ch->device, cmd, op, buffer, buflength,
202 if (result < 0)
203 return result;
241 int result;
257 if (0 == (result = ch_do_scsi(ch, cmd, 12,
275 return result;
298 int result,id,lun,i;
310 result = ch_do_scsi(ch, cmd, 10, buffer, 255, REQ_OP_DRV_IN);
311 if (0 != result) {
313 result = ch_do_scsi(ch, cmd, 10, buffer, 255, REQ_OP_DRV_IN);
315 if (0 == result) {
510 int result;
535 result = ch_do_scsi(ch, cmd, 12, buffer, 256, REQ_OP_DRV_OUT);
537 return result;
778 int result,i;
803 result = ch_do_scsi(ch, ch_cmd, 12, buffer, 256, REQ_OP_DRV_IN);
804 if (!result) {
846 return result;