Searched refs:secs (Results 1 – 6 of 6) sorted by relevance
183 unsigned eta, secs, hours; in bb_progress_update() local208 secs = eta % 3600; in bb_progress_update()210 fprintf(stderr, "%3u:%02u:%02u ETA", hours, secs / 60, secs % 60); in bb_progress_update()
214 static ALWAYS_INLINE unsigned random_delay_ms(unsigned secs) in random_delay_ms() argument216 return (unsigned)rand() % (secs * 1000); in random_delay_ms()
231 static void arm(unsigned secs) in arm() argument234 alarm(secs); in arm()
603 unsigned secs; in init_packet() local613 secs = client_data.last_secs - client_data.first_secs; in init_packet()614 packet->secs = (secs < 0xffff) ? htons(secs) : 0xffff; in init_packet()
485 unsigned secs; in init_d6_packet() local501 secs = client_data.last_secs - client_data.first_secs; in init_d6_packet()502 *((uint16_t*)ptr) = (secs < 0xffff) ? htons(secs) : 0xffff; in init_d6_packet()
36 uint16_t secs; /* elapsed since client began acquisition/renewal */ member