Lines Matching refs:bucket_expiry

494 				  unsigned long *bucket_expiry)  in calc_index()  argument
506 *bucket_expiry = expires << LVL_SHIFT(lvl); in calc_index()
511 unsigned long *bucket_expiry) in calc_wheel_index() argument
517 idx = calc_index(expires, 0, bucket_expiry); in calc_wheel_index()
519 idx = calc_index(expires, 1, bucket_expiry); in calc_wheel_index()
521 idx = calc_index(expires, 2, bucket_expiry); in calc_wheel_index()
523 idx = calc_index(expires, 3, bucket_expiry); in calc_wheel_index()
525 idx = calc_index(expires, 4, bucket_expiry); in calc_wheel_index()
527 idx = calc_index(expires, 5, bucket_expiry); in calc_wheel_index()
529 idx = calc_index(expires, 6, bucket_expiry); in calc_wheel_index()
531 idx = calc_index(expires, 7, bucket_expiry); in calc_wheel_index()
534 *bucket_expiry = clk; in calc_wheel_index()
543 idx = calc_index(expires, LVL_DEPTH - 1, bucket_expiry); in calc_wheel_index()
579 unsigned int idx, unsigned long bucket_expiry) in enqueue_timer() argument
593 if (time_before(bucket_expiry, base->next_expiry)) { in enqueue_timer()
598 base->next_expiry = bucket_expiry; in enqueue_timer()
607 unsigned long bucket_expiry; in internal_add_timer() local
610 idx = calc_wheel_index(timer->expires, base->clk, &bucket_expiry); in internal_add_timer()
611 enqueue_timer(base, timer, idx, bucket_expiry); in internal_add_timer()
962 unsigned long clk = 0, flags, bucket_expiry; in __mod_timer() local
1003 idx = calc_wheel_index(expires, clk, &bucket_expiry); in __mod_timer()
1060 enqueue_timer(base, timer, idx, bucket_expiry); in __mod_timer()