• Home
  • Raw
  • Download

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()
916 struct nh_res_bucket *bucket, u16 bucket_index, in nh_fill_res_bucket() argument
944 if (nla_put_u16(skb, NHA_RES_BUCKET_INDEX, bucket_index) || in nh_fill_res_bucket()
963 u16 bucket_index) in nexthop_bucket_notify() argument
965 struct nh_res_bucket *bucket = &res_table->nh_buckets[bucket_index]; in nexthop_bucket_notify()
975 err = nh_fill_res_bucket(skb, nh, bucket, bucket_index, in nexthop_bucket_notify()
1219 u16 bucket_index = hash % res_table->num_nh_buckets; in nexthop_select_path_res() local
1226 bucket = &res_table->nh_buckets[bucket_index]; in nexthop_select_path_res()
1526 u16 bucket_index, bool notify, in nh_res_bucket_migrate() argument
1529 struct nh_res_bucket *bucket = &res_table->nh_buckets[bucket_index]; in nh_res_bucket_migrate()
1551 bucket_index, force, in nh_res_bucket_migrate()
1571 nexthop_bucket_notify(res_table, bucket_index); in nh_res_bucket_migrate()
3339 u16 bucket_index; member
3365 u16 bucket_index; in rtm_dump_nexthop_bucket_nh() local
3370 for (bucket_index = dd->ctx->bucket_index; in rtm_dump_nexthop_bucket_nh()
3371 bucket_index < res_table->num_nh_buckets; in rtm_dump_nexthop_bucket_nh()
3372 bucket_index++) { in rtm_dump_nexthop_bucket_nh()
3376 bucket = &res_table->nh_buckets[bucket_index]; in rtm_dump_nexthop_bucket_nh()
3385 dd->ctx->bucket_index = bucket_index; in rtm_dump_nexthop_bucket_nh()
3386 err = nh_fill_res_bucket(skb, nh, bucket, bucket_index, in rtm_dump_nexthop_bucket_nh()
3394 dd->ctx->bucket_index = 0; in rtm_dump_nexthop_bucket_nh()
3454 u16 *bucket_index, in nh_valid_get_bucket_req_res_bucket() argument
3470 *bucket_index = nla_get_u16(tb[NHA_RES_BUCKET_INDEX]); in nh_valid_get_bucket_req_res_bucket()
3475 u32 *id, u16 *bucket_index, in nh_valid_get_bucket_req() argument
3497 bucket_index, extack); in nh_valid_get_bucket_req()
3513 u16 bucket_index; in rtm_get_nexthop_bucket() local
3517 err = nh_valid_get_bucket_req(nlh, &id, &bucket_index, extack); in rtm_get_nexthop_bucket()
3527 if (bucket_index >= res_table->num_nh_buckets) { in rtm_get_nexthop_bucket()
3536 err = nh_fill_res_bucket(skb, nh, &res_table->nh_buckets[bucket_index], in rtm_get_nexthop_bucket()
3537 bucket_index, RTM_NEWNEXTHOPBUCKET, in rtm_get_nexthop_bucket()
3672 void nexthop_bucket_set_hw_flags(struct net *net, u32 id, u16 bucket_index, in nexthop_bucket_set_hw_flags() argument
3690 if (bucket_index >= nhg->res_table->num_nh_buckets) in nexthop_bucket_set_hw_flags()
3694 bucket = &res_table->nh_buckets[bucket_index]; in nexthop_bucket_set_hw_flags()