Searched refs:sec_diff (Results 1 – 1 of 1) sorted by relevance
962 long sec_diff; in bio_wait() local977 sec_diff = (long)(max_time - time(NULL)); /* might overflow */ in bio_wait()978 if (sec_diff < 0) in bio_wait()982 if (sec_diff == 0) { /* we are below the 1 seconds resolution of max_time */ in bio_wait()986 if ((unsigned long)sec_diff * 1000 < nap_milliseconds) in bio_wait()987 nap_milliseconds = (unsigned int)sec_diff * 1000; in bio_wait()
Completed in 6 milliseconds