Lines Matching refs:bucket_index

308 					    u16 bucket_index, bool force,  in nh_notifier_res_bucket_info_init()  argument
326 info->nh_res_bucket->bucket_index = bucket_index; in nh_notifier_res_bucket_info_init()
340 u16 bucket_index, bool force, in __call_nexthop_res_bucket_notifiers() argument
355 err = nh_notifier_res_bucket_info_init(&info, bucket_index, force, in __call_nexthop_res_bucket_notifiers()
392 u16 bucket_index, bool force, in call_nexthop_res_bucket_notifiers() argument
400 return __call_nexthop_res_bucket_notifiers(net, nhg_id, bucket_index, in call_nexthop_res_bucket_notifiers()
1143 struct nh_res_bucket *bucket, u16 bucket_index, in nh_fill_res_bucket() argument
1171 if (nla_put_u16(skb, NHA_RES_BUCKET_INDEX, bucket_index) || in nh_fill_res_bucket()
1190 u16 bucket_index) in nexthop_bucket_notify() argument
1192 struct nh_res_bucket *bucket = &res_table->nh_buckets[bucket_index]; in nexthop_bucket_notify()
1202 err = nh_fill_res_bucket(skb, nh, bucket, bucket_index, in nexthop_bucket_notify()
1454 u16 bucket_index = hash % res_table->num_nh_buckets; in nexthop_select_path_res() local
1461 bucket = &res_table->nh_buckets[bucket_index]; in nexthop_select_path_res()
1762 u16 bucket_index, bool notify, in nh_res_bucket_migrate() argument
1765 struct nh_res_bucket *bucket = &res_table->nh_buckets[bucket_index]; in nh_res_bucket_migrate()
1787 bucket_index, force, in nh_res_bucket_migrate()
1807 nexthop_bucket_notify(res_table, bucket_index); in nh_res_bucket_migrate()
3599 u16 bucket_index; member
3625 u16 bucket_index; in rtm_dump_nexthop_bucket_nh() local
3630 for (bucket_index = dd->ctx->bucket_index; in rtm_dump_nexthop_bucket_nh()
3631 bucket_index < res_table->num_nh_buckets; in rtm_dump_nexthop_bucket_nh()
3632 bucket_index++) { in rtm_dump_nexthop_bucket_nh()
3636 bucket = &res_table->nh_buckets[bucket_index]; in rtm_dump_nexthop_bucket_nh()
3645 dd->ctx->bucket_index = bucket_index; in rtm_dump_nexthop_bucket_nh()
3646 err = nh_fill_res_bucket(skb, nh, bucket, bucket_index, in rtm_dump_nexthop_bucket_nh()
3654 dd->ctx->bucket_index = 0; in rtm_dump_nexthop_bucket_nh()
3709 u16 *bucket_index, in nh_valid_get_bucket_req_res_bucket() argument
3725 *bucket_index = nla_get_u16(tb[NHA_RES_BUCKET_INDEX]); in nh_valid_get_bucket_req_res_bucket()
3730 u32 *id, u16 *bucket_index, in nh_valid_get_bucket_req() argument
3752 bucket_index, extack); in nh_valid_get_bucket_req()
3768 u16 bucket_index; in rtm_get_nexthop_bucket() local
3772 err = nh_valid_get_bucket_req(nlh, &id, &bucket_index, extack); in rtm_get_nexthop_bucket()
3782 if (bucket_index >= res_table->num_nh_buckets) { in rtm_get_nexthop_bucket()
3791 err = nh_fill_res_bucket(skb, nh, &res_table->nh_buckets[bucket_index], in rtm_get_nexthop_bucket()
3792 bucket_index, RTM_NEWNEXTHOPBUCKET, in rtm_get_nexthop_bucket()
3934 void nexthop_bucket_set_hw_flags(struct net *net, u32 id, u16 bucket_index, in nexthop_bucket_set_hw_flags() argument
3952 if (bucket_index >= nhg->res_table->num_nh_buckets) in nexthop_bucket_set_hw_flags()
3956 bucket = &res_table->nh_buckets[bucket_index]; in nexthop_bucket_set_hw_flags()