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()
3606 u16 bucket_index; member
3632 u16 bucket_index; in rtm_dump_nexthop_bucket_nh() local
3637 for (bucket_index = dd->ctx->bucket_index; in rtm_dump_nexthop_bucket_nh()
3638 bucket_index < res_table->num_nh_buckets; in rtm_dump_nexthop_bucket_nh()
3639 bucket_index++) { in rtm_dump_nexthop_bucket_nh()
3643 bucket = &res_table->nh_buckets[bucket_index]; in rtm_dump_nexthop_bucket_nh()
3652 dd->ctx->bucket_index = bucket_index; in rtm_dump_nexthop_bucket_nh()
3653 err = nh_fill_res_bucket(skb, nh, bucket, bucket_index, in rtm_dump_nexthop_bucket_nh()
3661 dd->ctx->bucket_index = 0; in rtm_dump_nexthop_bucket_nh()
3716 u16 *bucket_index, in nh_valid_get_bucket_req_res_bucket() argument
3732 *bucket_index = nla_get_u16(tb[NHA_RES_BUCKET_INDEX]); in nh_valid_get_bucket_req_res_bucket()
3737 u32 *id, u16 *bucket_index, in nh_valid_get_bucket_req() argument
3759 bucket_index, extack); in nh_valid_get_bucket_req()
3775 u16 bucket_index; in rtm_get_nexthop_bucket() local
3779 err = nh_valid_get_bucket_req(nlh, &id, &bucket_index, extack); in rtm_get_nexthop_bucket()
3789 if (bucket_index >= res_table->num_nh_buckets) { in rtm_get_nexthop_bucket()
3798 err = nh_fill_res_bucket(skb, nh, &res_table->nh_buckets[bucket_index], in rtm_get_nexthop_bucket()
3799 bucket_index, RTM_NEWNEXTHOPBUCKET, in rtm_get_nexthop_bucket()
3941 void nexthop_bucket_set_hw_flags(struct net *net, u32 id, u16 bucket_index, in nexthop_bucket_set_hw_flags() argument
3959 if (bucket_index >= nhg->res_table->num_nh_buckets) in nexthop_bucket_set_hw_flags()
3963 bucket = &res_table->nh_buckets[bucket_index]; in nexthop_bucket_set_hw_flags()