Lines Matching refs:bucket_index

294 					    u16 bucket_index, bool force,  in nh_notifier_res_bucket_info_init()  argument
312 info->nh_res_bucket->bucket_index = bucket_index; in nh_notifier_res_bucket_info_init()
326 u16 bucket_index, bool force, in __call_nexthop_res_bucket_notifiers() argument
341 err = nh_notifier_res_bucket_info_init(&info, bucket_index, force, in __call_nexthop_res_bucket_notifiers()
378 u16 bucket_index, bool force, in call_nexthop_res_bucket_notifiers() argument
386 return __call_nexthop_res_bucket_notifiers(net, nhg_id, bucket_index, in call_nexthop_res_bucket_notifiers()
915 struct nh_res_bucket *bucket, u16 bucket_index, in nh_fill_res_bucket() argument
943 if (nla_put_u16(skb, NHA_RES_BUCKET_INDEX, bucket_index) || in nh_fill_res_bucket()
962 u16 bucket_index) in nexthop_bucket_notify() argument
964 struct nh_res_bucket *bucket = &res_table->nh_buckets[bucket_index]; in nexthop_bucket_notify()
974 err = nh_fill_res_bucket(skb, nh, bucket, bucket_index, in nexthop_bucket_notify()
1195 u16 bucket_index = hash % res_table->num_nh_buckets; in nexthop_select_path_res() local
1202 bucket = &res_table->nh_buckets[bucket_index]; in nexthop_select_path_res()
1502 u16 bucket_index, bool notify, in nh_res_bucket_migrate() argument
1505 struct nh_res_bucket *bucket = &res_table->nh_buckets[bucket_index]; in nh_res_bucket_migrate()
1527 bucket_index, force, in nh_res_bucket_migrate()
1547 nexthop_bucket_notify(res_table, bucket_index); in nh_res_bucket_migrate()
3320 u16 bucket_index; member
3347 u16 bucket_index; in rtm_dump_nexthop_bucket_nh() local
3355 for (bucket_index = dd->ctx->bucket_index; in rtm_dump_nexthop_bucket_nh()
3356 bucket_index < res_table->num_nh_buckets; in rtm_dump_nexthop_bucket_nh()
3357 bucket_index++) { in rtm_dump_nexthop_bucket_nh()
3361 bucket = &res_table->nh_buckets[bucket_index]; in rtm_dump_nexthop_bucket_nh()
3370 err = nh_fill_res_bucket(skb, nh, bucket, bucket_index, in rtm_dump_nexthop_bucket_nh()
3382 bucket_index = 0; in rtm_dump_nexthop_bucket_nh()
3387 dd->ctx->bucket_index = bucket_index; in rtm_dump_nexthop_bucket_nh()
3450 u16 *bucket_index, in nh_valid_get_bucket_req_res_bucket() argument
3466 *bucket_index = nla_get_u16(tb[NHA_RES_BUCKET_INDEX]); in nh_valid_get_bucket_req_res_bucket()
3471 u32 *id, u16 *bucket_index, in nh_valid_get_bucket_req() argument
3493 bucket_index, extack); in nh_valid_get_bucket_req()
3509 u16 bucket_index; in rtm_get_nexthop_bucket() local
3513 err = nh_valid_get_bucket_req(nlh, &id, &bucket_index, extack); in rtm_get_nexthop_bucket()
3523 if (bucket_index >= res_table->num_nh_buckets) { in rtm_get_nexthop_bucket()
3532 err = nh_fill_res_bucket(skb, nh, &res_table->nh_buckets[bucket_index], in rtm_get_nexthop_bucket()
3533 bucket_index, RTM_NEWNEXTHOPBUCKET, in rtm_get_nexthop_bucket()
3668 void nexthop_bucket_set_hw_flags(struct net *net, u32 id, u16 bucket_index, in nexthop_bucket_set_hw_flags() argument
3686 if (bucket_index >= nhg->res_table->num_nh_buckets) in nexthop_bucket_set_hw_flags()
3690 bucket = &res_table->nh_buckets[bucket_index]; in nexthop_bucket_set_hw_flags()