Searched refs:nh_res_bucket (Results 1 – 4 of 4) sorted by relevance
181 struct nh_res_bucket *bucket = &res_table->nh_buckets[i]; in nh_notifier_res_table_info_init()321 info->nh_res_bucket = kzalloc(sizeof(*info->nh_res_bucket), in nh_notifier_res_bucket_info_init()323 if (!info->nh_res_bucket) in nh_notifier_res_bucket_info_init()326 info->nh_res_bucket->bucket_index = bucket_index; in nh_notifier_res_bucket_info_init()327 info->nh_res_bucket->idle_timer_ms = idle_timer_ms; in nh_notifier_res_bucket_info_init()328 info->nh_res_bucket->force = force; in nh_notifier_res_bucket_info_init()329 __nh_notifier_single_info_init(&info->nh_res_bucket->old_nh, oldi); in nh_notifier_res_bucket_info_init()330 __nh_notifier_single_info_init(&info->nh_res_bucket->new_nh, newi); in nh_notifier_res_bucket_info_init()336 kfree(info->nh_res_bucket); in nh_notifier_res_bucket_info_fini()1096 static unsigned long nh_res_bucket_used_time(const struct nh_res_bucket *bucket) in nh_res_bucket_used_time()[all …]
74 struct nh_res_bucket { struct97 struct nh_res_bucket nh_buckets[] __counted_by(num_nh_buckets); argument240 struct nh_notifier_res_bucket_info *nh_res_bucket; member
1316 info->nh_res_bucket->bucket_index, in nsim_nexthop_bucket_replace()
5058 nh = &info->nh_res_bucket->new_nh; in mlxsw_sp_nexthop_obj_validate()5550 u16 bucket_index = info->nh_res_bucket->bucket_index; in mlxsw_sp_nexthop_obj_bucket_adj_update()5552 bool force = info->nh_res_bucket->force; in mlxsw_sp_nexthop_obj_bucket_adj_update()5561 if (!force && info->nh_res_bucket->idle_timer_ms < in mlxsw_sp_nexthop_obj_bucket_adj_update()5597 u16 bucket_index = info->nh_res_bucket->bucket_index; in mlxsw_sp_nexthop_obj_bucket_replace()5621 nh_obj = &info->nh_res_bucket->new_nh; in mlxsw_sp_nexthop_obj_bucket_replace()5637 nh_obj = &info->nh_res_bucket->old_nh; in mlxsw_sp_nexthop_obj_bucket_replace()