Lines Matching refs:timer
202 timer_Stop(&bundle->choked.timer); in bundle_ClearQueues()
233 != bundle->phys_type.open && bundle->session.timer.state == TIMER_STOPPED) in bundle_LinkAdded()
239 != bundle->phys_type.open && bundle->idle.timer.state == TIMER_STOPPED) in bundle_LinkAdded()
475 if (bundle->choked.timer.state == TIMER_RUNNING) in bundle_UpdateSet()
476 timer_Stop(&bundle->choked.timer); /* Not needed any more */ in bundle_UpdateSet()
482 } else if (bundle->choked.timer.state == TIMER_STOPPED) { in bundle_UpdateSet()
483 bundle->choked.timer.func = bundle_ClearQueues; in bundle_UpdateSet()
484 bundle->choked.timer.name = "output choke"; in bundle_UpdateSet()
485 bundle->choked.timer.load = bundle->cfg.choked.timeout * SECTICKS; in bundle_UpdateSet()
486 bundle->choked.timer.arg = bundle; in bundle_UpdateSet()
487 timer_Start(&bundle->choked.timer); in bundle_UpdateSet()
879 memset(&bundle.idle.timer, '\0', sizeof bundle.idle.timer); in bundle_Create()
882 memset(&bundle.choked.timer, '\0', sizeof bundle.choked.timer); in bundle_Create()
912 timer_Stop(&bundle->idle.timer); in bundle_Destroy()
913 timer_Stop(&bundle->choked.timer); in bundle_Destroy()
989 dl->dial.timer.state == TIMER_RUNNING) || in bundle_Open()
991 timer_Stop(&dl->dial.timer); /* We're finished with this */ in bundle_Open()
1164 timer_Stop(&bundle->idle.timer); in bundle_StartIdleTimer()
1181 bundle->idle.timer.func = bundle_IdleTimeout; in bundle_StartIdleTimer()
1182 bundle->idle.timer.name = "idle"; in bundle_StartIdleTimer()
1183 bundle->idle.timer.load = secs * SECTICKS; in bundle_StartIdleTimer()
1184 bundle->idle.timer.arg = bundle; in bundle_StartIdleTimer()
1185 timer_Start(&bundle->idle.timer); in bundle_StartIdleTimer()
1203 timer_Stop(&bundle->idle.timer); in bundle_StopIdleTimer()
1230 timer_Stop(&bundle->session.timer); in bundle_StartSessionTimer()
1238 bundle->session.timer.func = bundle_SessionTimeout; in bundle_StartSessionTimer()
1239 bundle->session.timer.name = "session"; in bundle_StartSessionTimer()
1240 bundle->session.timer.load = secs * SECTICKS; in bundle_StartSessionTimer()
1241 bundle->session.timer.arg = bundle; in bundle_StartSessionTimer()
1242 timer_Start(&bundle->session.timer); in bundle_StartSessionTimer()
1250 timer_Stop(&bundle->session.timer); in bundle_StopSessionTimer()