/Linux-v5.15/net/ipv4/ |
D | nexthop.c | 293 u16 bucket_index, bool force, in nh_notifier_res_bucket_info_init() argument 311 info->nh_res_bucket->bucket_index = bucket_index; in nh_notifier_res_bucket_info_init() 325 u16 bucket_index, bool force, in __call_nexthop_res_bucket_notifiers() argument 340 err = nh_notifier_res_bucket_info_init(&info, bucket_index, force, in __call_nexthop_res_bucket_notifiers() 377 u16 bucket_index, bool force, in call_nexthop_res_bucket_notifiers() argument 385 return __call_nexthop_res_bucket_notifiers(net, nhg_id, bucket_index, in call_nexthop_res_bucket_notifiers() 914 struct nh_res_bucket *bucket, u16 bucket_index, in nh_fill_res_bucket() argument 942 if (nla_put_u16(skb, NHA_RES_BUCKET_INDEX, bucket_index) || in nh_fill_res_bucket() 961 u16 bucket_index) in nexthop_bucket_notify() argument 963 struct nh_res_bucket *bucket = &res_table->nh_buckets[bucket_index]; in nexthop_bucket_notify() [all …]
|
/Linux-v5.15/drivers/md/bcache/ |
D | journal.c | 36 unsigned int bucket_index) in journal_read_bucket() argument 46 sector_t bucket = bucket_to_sector(ca->set, ca->sb.d[bucket_index]); in journal_read_bucket() 50 pr_debug("reading %u\n", bucket_index); in journal_read_bucket() 81 pr_debug("%u: bad magic\n", bucket_index); in journal_read_bucket() 88 bucket_index, bytes, offset); in journal_read_bucket() 97 bucket_index, bytes, offset); in journal_read_bucket() 159 if (j->seq > ja->seq[bucket_index]) in journal_read_bucket() 160 ja->seq[bucket_index] = j->seq; in journal_read_bucket()
|
/Linux-v5.15/fs/xfs/ |
D | xfs_inode.c | 2036 unsigned int bucket_index, in xfs_iunlink_update_bucket() argument 2045 old_value = be32_to_cpu(agi->agi_unlinked[bucket_index]); in xfs_iunlink_update_bucket() 2046 trace_xfs_iunlink_update_bucket(tp->t_mountp, pag->pag_agno, bucket_index, in xfs_iunlink_update_bucket() 2059 agi->agi_unlinked[bucket_index] = cpu_to_be32(new_agino); in xfs_iunlink_update_bucket() 2061 (sizeof(xfs_agino_t) * bucket_index); in xfs_iunlink_update_bucket() 2168 short bucket_index = agino % XFS_AGI_UNLINKED_BUCKETS; in xfs_iunlink() local 2188 next_agino = be32_to_cpu(agi->agi_unlinked[bucket_index]); in xfs_iunlink() 2219 error = xfs_iunlink_update_bucket(tp, pag, agibp, bucket_index, agino); in xfs_iunlink() 2357 short bucket_index = agino % XFS_AGI_UNLINKED_BUCKETS; in xfs_iunlink_remove() local 2372 head_agino = be32_to_cpu(agi->agi_unlinked[bucket_index]); in xfs_iunlink_remove() [all …]
|
/Linux-v5.15/include/net/ |
D | nexthop.h | 194 u16 bucket_index; member 223 void nexthop_bucket_set_hw_flags(struct net *net, u32 id, u16 bucket_index,
|
/Linux-v5.15/drivers/net/netdevsim/ |
D | fib.c | 1301 info->nh_res_bucket->bucket_index, in nsim_nexthop_bucket_replace() 1358 u16 bucket_index; in nsim_nexthop_bucket_activity_write() local 1369 if (sscanf(buf, "%u %hu", &nhid, &bucket_index) != 2) in nsim_nexthop_bucket_activity_write() 1377 bucket_index >= nexthop->occ) { in nsim_nexthop_bucket_activity_write() 1388 bitmap_set(activity, bucket_index, 1); in nsim_nexthop_bucket_activity_write()
|
/Linux-v5.15/net/ceph/ |
D | osdmap.c | 361 u32 bucket_index; in decode_choose_args() local 363 ceph_decode_32_safe(p, end, bucket_index, e_inval); in decode_choose_args() 364 if (bucket_index >= arg_map->size) in decode_choose_args() 367 arg = &arg_map->args[bucket_index]; in decode_choose_args() 373 arg->ids_size != c->buckets[bucket_index]->size) in decode_choose_args()
|
/Linux-v5.15/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_router.c | 3772 u16 bucket_index) in mlxsw_sp_nexthop_bucket_offload_refresh() argument 3784 bucket_index, offload, trap); in mlxsw_sp_nexthop_bucket_offload_refresh() 5062 u16 bucket_index = info->nh_res_bucket->bucket_index; in mlxsw_sp_nexthop_obj_bucket_adj_update() local 5077 adj_index = nh->nhgi->adj_index + bucket_index; in mlxsw_sp_nexthop_obj_bucket_adj_update() 5101 mlxsw_sp_nexthop_bucket_offload_refresh(mlxsw_sp, nh, bucket_index); in mlxsw_sp_nexthop_obj_bucket_adj_update() 5109 u16 bucket_index = info->nh_res_bucket->bucket_index; in mlxsw_sp_nexthop_obj_bucket_replace() local 5125 if (bucket_index >= nhgi->count) { in mlxsw_sp_nexthop_obj_bucket_replace() 5130 nh = &nhgi->nexthops[bucket_index]; in mlxsw_sp_nexthop_obj_bucket_replace()
|