Home
last modified time | relevance | path

Searched refs:bucket_index (Results 1 - 10 of 10) sorted by relevance

/kernel/linux/linux-6.6/net/ipv4/
H A Dnexthop.c294 u16 bucket_index, bool force, in nh_notifier_res_bucket_info_init()
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()
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()
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()
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()
293 nh_notifier_res_bucket_info_init(struct nh_notifier_info *info, u16 bucket_index, bool force, struct nh_info *oldi, struct nh_info *newi) nh_notifier_res_bucket_info_init() argument
325 __call_nexthop_res_bucket_notifiers(struct net *net, u32 nhg_id, u16 bucket_index, bool force, struct nh_info *oldi, struct nh_info *newi, struct netlink_ext_ack *extack) __call_nexthop_res_bucket_notifiers() argument
377 call_nexthop_res_bucket_notifiers(struct net *net, u32 nhg_id, u16 bucket_index, bool force, struct nexthop *old_nh, struct nexthop *new_nh, struct netlink_ext_ack *extack) call_nexthop_res_bucket_notifiers() argument
914 nh_fill_res_bucket(struct sk_buff *skb, struct nexthop *nh, struct nh_res_bucket *bucket, u16 bucket_index, int event, u32 portid, u32 seq, unsigned int nlflags, struct netlink_ext_ack *extack) nh_fill_res_bucket() argument
961 nexthop_bucket_notify(struct nh_res_table *res_table, u16 bucket_index) nexthop_bucket_notify() argument
1218 u16 bucket_index = hash % res_table->num_nh_buckets; nexthop_select_path_res() local
1524 nh_res_bucket_migrate(struct nh_res_table *res_table, u16 bucket_index, bool notify, bool notify_nl, bool force) nh_res_bucket_migrate() argument
3338 u16 bucket_index; global() member
3364 u16 bucket_index; rtm_dump_nexthop_bucket_nh() local
3452 nh_valid_get_bucket_req_res_bucket(struct nlattr *res, u16 *bucket_index, struct netlink_ext_ack *extack) nh_valid_get_bucket_req_res_bucket() argument
3473 nh_valid_get_bucket_req(const struct nlmsghdr *nlh, u32 *id, u16 *bucket_index, struct netlink_ext_ack *extack) nh_valid_get_bucket_req() argument
3512 u16 bucket_index; rtm_get_nexthop_bucket() local
3671 nexthop_bucket_set_hw_flags(struct net *net, u32 id, u16 bucket_index, bool offload, bool trap) nexthop_bucket_set_hw_flags() argument
[all...]
/kernel/linux/linux-5.10/drivers/md/bcache/
H A Djournal.c36 unsigned int bucket_index) in journal_read_bucket()
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()
35 journal_read_bucket(struct cache *ca, struct list_head *list, unsigned int bucket_index) journal_read_bucket() argument
/kernel/linux/linux-6.6/drivers/md/bcache/
H A Djournal.c36 unsigned int bucket_index) in journal_read_bucket()
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()
79 pr_debug("%u: bad magic\n", bucket_index); in journal_read_bucket()
86 bucket_index, bytes, offset); in journal_read_bucket()
95 bucket_index, bytes, offset); in journal_read_bucket()
158 if (j->seq > ja->seq[bucket_index]) in journal_read_bucket()
159 ja->seq[bucket_index] = j->seq; in journal_read_bucket()
35 journal_read_bucket(struct cache *ca, struct list_head *list, unsigned int bucket_index) journal_read_bucket() argument
/kernel/linux/linux-5.10/fs/xfs/
H A Dxfs_inode.c2106 unsigned int bucket_index, in xfs_iunlink_update_bucket()
2115 old_value = be32_to_cpu(agi->agi_unlinked[bucket_index]); in xfs_iunlink_update_bucket()
2116 trace_xfs_iunlink_update_bucket(tp->t_mountp, agno, bucket_index, in xfs_iunlink_update_bucket()
2129 agi->agi_unlinked[bucket_index] = cpu_to_be32(new_agino); in xfs_iunlink_update_bucket()
2131 (sizeof(xfs_agino_t) * bucket_index); in xfs_iunlink_update_bucket()
2237 short bucket_index = agino % XFS_AGI_UNLINKED_BUCKETS; in xfs_iunlink() local
2255 next_agino = be32_to_cpu(agi->agi_unlinked[bucket_index]); in xfs_iunlink()
2285 return xfs_iunlink_update_bucket(tp, agno, agibp, bucket_index, agino); in xfs_iunlink()
2419 short bucket_index = agino % XFS_AGI_UNLINKED_BUCKETS; in xfs_iunlink_remove() local
2434 head_agino = be32_to_cpu(agi->agi_unlinked[bucket_index]); in xfs_iunlink_remove()
2102 xfs_iunlink_update_bucket( struct xfs_trans *tp, xfs_agnumber_t agno, struct xfs_buf *agibp, unsigned int bucket_index, xfs_agino_t new_agino) xfs_iunlink_update_bucket() argument
[all...]
/kernel/linux/linux-6.6/fs/xfs/
H A Dxfs_inode.c1902 unsigned int bucket_index, in xfs_iunlink_update_bucket()
1911 old_value = be32_to_cpu(agi->agi_unlinked[bucket_index]); in xfs_iunlink_update_bucket()
1912 trace_xfs_iunlink_update_bucket(tp->t_mountp, pag->pag_agno, bucket_index, in xfs_iunlink_update_bucket()
1925 agi->agi_unlinked[bucket_index] = cpu_to_be32(new_agino); in xfs_iunlink_update_bucket()
1927 (sizeof(xfs_agino_t) * bucket_index); in xfs_iunlink_update_bucket()
2001 short bucket_index = agino % XFS_AGI_UNLINKED_BUCKETS; in xfs_iunlink_insert_inode() local
2009 next_agino = be32_to_cpu(agi->agi_unlinked[bucket_index]); in xfs_iunlink_insert_inode()
2039 return xfs_iunlink_update_bucket(tp, pag, agibp, bucket_index, agino); in xfs_iunlink_insert_inode()
2087 short bucket_index = agino % XFS_AGI_UNLINKED_BUCKETS; in xfs_iunlink_remove_inode() local
2096 head_agino = be32_to_cpu(agi->agi_unlinked[bucket_index]); in xfs_iunlink_remove_inode()
1898 xfs_iunlink_update_bucket( struct xfs_trans *tp, struct xfs_perag *pag, struct xfs_buf *agibp, unsigned int bucket_index, xfs_agino_t new_agino) xfs_iunlink_update_bucket() argument
[all...]
/kernel/linux/linux-6.6/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
1384 if (sscanf(buf, "%u %hu", &nhid, &bucket_index) != 2) in nsim_nexthop_bucket_activity_write()
1392 bucket_index >= nexthop->occ) { in nsim_nexthop_bucket_activity_write()
1403 bitmap_set(activity, bucket_index, 1); in nsim_nexthop_bucket_activity_write()
/kernel/linux/linux-6.6/include/net/
H A Dnexthop.h194 u16 bucket_index; member
223 void nexthop_bucket_set_hw_flags(struct net *net, u32 id, u16 bucket_index,
/kernel/linux/linux-5.10/net/ceph/
H A Dosdmap.c361 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()
/kernel/linux/linux-6.6/net/ceph/
H A Dosdmap.c377 u32 bucket_index; in decode_choose_args() local
379 ceph_decode_32_safe(p, end, bucket_index, e_inval); in decode_choose_args()
380 if (bucket_index >= arg_map->size) in decode_choose_args()
383 arg = &arg_map->args[bucket_index]; in decode_choose_args()
389 arg->ids_size != c->buckets[bucket_index]->size) in decode_choose_args()
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_router.c3974 u16 bucket_index) in mlxsw_sp_nexthop_bucket_offload_refresh()
3986 bucket_index, offload, trap); in mlxsw_sp_nexthop_bucket_offload_refresh() local
5383 u16 bucket_index = info->nh_res_bucket->bucket_index; in mlxsw_sp_nexthop_obj_bucket_adj_update() local
5398 adj_index = nh->nhgi->adj_index + bucket_index; in mlxsw_sp_nexthop_obj_bucket_adj_update()
5422 mlxsw_sp_nexthop_bucket_offload_refresh(mlxsw_sp, nh, bucket_index); in mlxsw_sp_nexthop_obj_bucket_adj_update()
5430 u16 bucket_index = info->nh_res_bucket->bucket_index; in mlxsw_sp_nexthop_obj_bucket_replace() local
5446 if (bucket_index >= nhgi->count) { in mlxsw_sp_nexthop_obj_bucket_replace()
5451 nh = &nhgi->nexthops[bucket_index]; in mlxsw_sp_nexthop_obj_bucket_replace()
3972 mlxsw_sp_nexthop_bucket_offload_refresh(struct mlxsw_sp *mlxsw_sp, const struct mlxsw_sp_nexthop *nh, u16 bucket_index) mlxsw_sp_nexthop_bucket_offload_refresh() argument
[all...]

Completed in 33 milliseconds