Searched refs:max_tries (Results 1 – 4 of 4) sorted by relevance
2739 int max_tries = 0, try = 0; in ata_eh_reset() local2751 while (ata_eh_reset_timeouts[max_tries] != ULONG_MAX) in ata_eh_reset()2752 max_tries++; in ata_eh_reset()2754 max_tries = 1; in ata_eh_reset()3030 if (try < max_tries) { in ata_eh_reset()3070 if (try >= max_tries) { in ata_eh_reset()3106 if (try == max_tries - 1) { in ata_eh_reset()
2808 int max_tries = 16; in hostap_passive_scan() local2826 max_tries--; in hostap_passive_scan()2829 max_tries > 0); in hostap_passive_scan()2831 if (max_tries == 0) { in hostap_passive_scan()
603 const int max_tries = 4; in drbd_set_role() local626 while (try++ < max_tries) { in drbd_set_role()677 if (try < max_tries) in drbd_set_role()678 try = max_tries - 1; in drbd_set_role()
3949 int max_tries = 600000; in issuecommand() local3959 while (max_tries-- && (IN4500(ai, EVSTAT) & EV_CMD) == 0) { in issuecommand()3963 if (!in_atomic() && (max_tries & 255) == 0) in issuecommand()3967 if ( max_tries == -1 ) { in issuecommand()4002 int max_tries = 3; in bap_setup() local4022 if ( !(max_tries--) ) { in bap_setup()