Home
last modified time | relevance | path

Searched refs:bucket_index (Results 1 – 5 of 5) sorted by relevance

/linux/net/ipv4/
H A Dnexthop.c307 u16 bucket_index, bool force, in nh_notifier_res_bucket_info_init() argument
324 info->nh_res_bucket->bucket_index = bucket_index; in nh_notifier_res_bucket_info_init()
338 u16 bucket_index, bool force, in __call_nexthop_res_bucket_notifiers() argument
353 err = nh_notifier_res_bucket_info_init(&info, bucket_index, force, in __call_nexthop_res_bucket_notifiers()
390 u16 bucket_index, bool force, in call_nexthop_res_bucket_notifiers() argument
398 return __call_nexthop_res_bucket_notifiers(net, nhg_id, bucket_index, in call_nexthop_res_bucket_notifiers()
1155 struct nh_res_bucket *bucket, u16 bucket_index, in nh_fill_res_bucket() argument
1183 if (nla_put_u16(skb, NHA_RES_BUCKET_INDEX, bucket_index) || in nh_fill_res_bucket()
1202 u16 bucket_index) in nexthop_bucket_notify() argument
1204 struct nh_res_bucket *bucket = &res_table->nh_buckets[bucket_index]; in nexthop_bucket_notify()
[all …]
/linux/drivers/net/netdevsim/
H A Dfib.c1316 info->nh_res_bucket->bucket_index, in nsim_nexthop_bucket_replace()
1373 u16 bucket_index; in nsim_nexthop_bucket_activity_write() local
1386 if (sscanf(buf, "%u %hu", &nhid, &bucket_index) != 2) in nsim_nexthop_bucket_activity_write()
1394 bucket_index >= nexthop->occ) { in nsim_nexthop_bucket_activity_write()
1405 bitmap_set(activity, bucket_index, 1); in nsim_nexthop_bucket_activity_write()
/linux/include/net/
H A Dnexthop.h209 u16 bucket_index;
252 void nexthop_bucket_set_hw_flags(struct net *net, u32 id, u16 bucket_index,
207 u16 bucket_index; global() member
/linux/net/ceph/
H A Dosdmap.c380 u32 bucket_index; in decode_choose_args() local
382 ceph_decode_32_safe(p, end, bucket_index, e_inval); in decode_choose_args()
383 if (bucket_index >= arg_map->size) in decode_choose_args()
386 arg = &arg_map->args[bucket_index]; in decode_choose_args()
392 arg->ids_size != c->buckets[bucket_index]->size) in decode_choose_args()
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_router.c4095 u16 bucket_index) in mlxsw_sp_nexthop_bucket_offload_refresh() argument
4107 bucket_index, offload, trap); in mlxsw_sp_nexthop_bucket_offload_refresh()
5552 u16 bucket_index = info->nh_res_bucket->bucket_index; in mlxsw_sp_nexthop_obj_bucket_adj_update() local
5567 adj_index = nh->nhgi->adj_index + bucket_index; in mlxsw_sp_nexthop_obj_bucket_adj_update()
5591 mlxsw_sp_nexthop_bucket_offload_refresh(mlxsw_sp, nh, bucket_index); in mlxsw_sp_nexthop_obj_bucket_adj_update()
5599 u16 bucket_index = info->nh_res_bucket->bucket_index; in mlxsw_sp_nexthop_obj_bucket_replace() local
5615 if (bucket_index >= nhgi->count) { in mlxsw_sp_nexthop_obj_bucket_replace()
5620 nh = &nhgi->nexthops[bucket_index]; in mlxsw_sp_nexthop_obj_bucket_replace()