Searched refs:to_ticks (Results 1 – 5 of 5) sorted by relevance
| /f-stack/lib/ |
| H A D | ff_kern_timeout.c | 298 callout_get_bucket(int to_ticks) in callout_get_bucket() argument 300 return (to_ticks & callwheelmask); in callout_get_bucket() 365 c->c_time = ticks + to_ticks; in callout_cc_add() 629 timeout(timeout_t *ftn, void *arg, int to_ticks) 643 callout_reset(new, to_ticks, ftn, arg); 693 callout_reset_tick_on(struct callout *c, int to_ticks, in callout_reset_tick_on() argument 765 if (to_ticks <= 0) in callout_reset_tick_on() 766 to_ticks = 1; in callout_reset_tick_on() 768 callout_cc_add(c, cc, to_ticks, ftn, arg, cpu, flags); in callout_reset_tick_on() 780 callout_schedule_on(struct callout *c, int to_ticks, int cpu) in callout_schedule_on() argument [all …]
|
| /f-stack/tools/compat/include/sys/ |
| H A D | callout.h | 109 #define callout_reset_on(c, to_ticks, fn, arg, cpu) \ argument 110 callout_reset_sbt_on((c), tick_sbt * (to_ticks), 0, (fn), (arg), \
|
| /f-stack/freebsd/sys/ |
| H A D | callout.h | 111 #define callout_reset_on(c, to_ticks, fn, arg, cpu) \ argument 112 callout_reset_tick_on((c), (to_ticks), (fn), (arg), \
|
| /f-stack/freebsd/netinet/ |
| H A D | sctputil.c | 2146 uint32_t to_ticks; in sctp_timer_start() local 2274 to_ticks = stcb->asoc.initial_rto; in sctp_timer_start() 2276 to_ticks = net->RTO; in sctp_timer_start() 2279 jitter = rndval % to_ticks; in sctp_timer_start() 2280 to_ticks >>= 1; in sctp_timer_start() 2282 to_ticks += jitter; in sctp_timer_start() 2284 to_ticks = UINT32_MAX; in sctp_timer_start() 2289 to_ticks += net->heart_beat_delay; in sctp_timer_start() 2291 to_ticks = UINT32_MAX; in sctp_timer_start() 2298 to_ticks = sctp_msecs_to_ticks(to_ticks); in sctp_timer_start() [all …]
|
| /f-stack/freebsd/kern/ |
| H A D | kern_timeout.c | 1039 callout_schedule_on(struct callout *c, int to_ticks, int cpu) in callout_schedule_on() argument 1041 return callout_reset_on(c, to_ticks, c->c_func, c->c_arg, cpu); in callout_schedule_on() 1045 callout_schedule(struct callout *c, int to_ticks) in callout_schedule() argument 1047 return callout_reset_on(c, to_ticks, c->c_func, c->c_arg, c->c_cpu); in callout_schedule()
|