Lines Matching refs:retry
585 int dir_in, retry; in usb_stor_CB_comdat() local
589 retry = 5; in usb_stor_CB_comdat()
597 while (retry--) { in usb_stor_CB_comdat()
598 debug("CBI gets a command: Try %d\n", 5 - retry); in usb_stor_CB_comdat()
708 int result, retry; in usb_stor_BBB_transport() local
769 retry = 0; in usb_stor_BBB_transport()
776 if ((result < 0) && (retry < 1) && in usb_stor_BBB_transport()
781 if (result >= 0 && (retry++ < 1)) in usb_stor_BBB_transport()
834 int retry, notready; in usb_stor_CB_transport() local
838 retry = 0; in usb_stor_CB_transport()
928 if (retry++ > USB_TRANSPORT_UNKNOWN_RETRY) { in usb_stor_CB_transport()
976 int retry, i; in usb_inquiry() local
977 retry = 5; in usb_inquiry()
989 } while (--retry); in usb_inquiry()
991 if (!retry) { in usb_inquiry()
1051 int retry; in usb_read_capacity() local
1053 retry = 3; in usb_read_capacity()
1062 } while (retry--); in usb_read_capacity()
1138 int retry; in usb_stor_read() local
1172 retry = 2; in usb_stor_read()
1186 if (retry--) in usb_stor_read()
1220 int retry; in usb_stor_write() local
1258 retry = 2; in usb_stor_write()
1272 if (retry--) in usb_stor_write()