Lines Matching refs:nh_res_bucket

167 		struct nh_res_bucket *bucket = &res_table->nh_buckets[i];  in nh_notifier_res_table_info_init()
307 info->nh_res_bucket = kzalloc(sizeof(*info->nh_res_bucket), in nh_notifier_res_bucket_info_init()
309 if (!info->nh_res_bucket) in nh_notifier_res_bucket_info_init()
312 info->nh_res_bucket->bucket_index = bucket_index; in nh_notifier_res_bucket_info_init()
313 info->nh_res_bucket->idle_timer_ms = idle_timer_ms; in nh_notifier_res_bucket_info_init()
314 info->nh_res_bucket->force = force; in nh_notifier_res_bucket_info_init()
315 __nh_notifier_single_info_init(&info->nh_res_bucket->old_nh, oldi); in nh_notifier_res_bucket_info_init()
316 __nh_notifier_single_info_init(&info->nh_res_bucket->new_nh, newi); in nh_notifier_res_bucket_info_init()
322 kfree(info->nh_res_bucket); in nh_notifier_res_bucket_info_fini()
868 static unsigned long nh_res_bucket_used_time(const struct nh_res_bucket *bucket) in nh_res_bucket_used_time()
875 const struct nh_res_bucket *bucket, in nh_res_bucket_idle_point()
894 struct nh_res_bucket *bucket) in nh_res_bucket_set_idle()
902 static void nh_res_bucket_set_busy(struct nh_res_bucket *bucket) in nh_res_bucket_set_busy()
907 static clock_t nh_res_bucket_idle_time(const struct nh_res_bucket *bucket) in nh_res_bucket_idle_time()
915 struct nh_res_bucket *bucket, u16 bucket_index, in nh_fill_res_bucket()
964 struct nh_res_bucket *bucket = &res_table->nh_buckets[bucket_index]; in nexthop_bucket_notify()
1219 struct nh_res_bucket *bucket; in nexthop_select_path_res()
1445 static void nh_res_bucket_unset_nh(struct nh_res_bucket *bucket) in nh_res_bucket_unset_nh()
1456 static void nh_res_bucket_set_nh(struct nh_res_bucket *bucket, in nh_res_bucket_set_nh()
1467 struct nh_res_bucket *bucket, in nh_res_bucket_should_migrate()
1528 struct nh_res_bucket *bucket = &res_table->nh_buckets[bucket_index]; in nh_res_bucket_migrate()
1599 struct nh_res_bucket *bucket = &res_table->nh_buckets[i]; in nh_res_table_upkeep()
1696 struct nh_res_bucket *bucket = &res_table->nh_buckets[i]; in nh_res_table_migrate_buckets()
2071 struct nh_res_bucket *bucket = &res_table->nh_buckets[i]; in replace_nexthop_single_notify_res()
2089 struct nh_res_bucket *bucket = &res_table->nh_buckets[i]; in replace_nexthop_single_notify_res()
3372 struct nh_res_bucket *bucket; in rtm_dump_nexthop_bucket_nh()
3675 struct nh_res_bucket *bucket; in nexthop_bucket_set_hw_flags()