Home
last modified time | relevance | path

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

/linux/fs/xfs/libxfs/
H A Dxfs_inode_util.c438 unsigned int bucket_index, in xfs_iunlink_update_bucket() argument
447 old_value = be32_to_cpu(agi->agi_unlinked[bucket_index]); in xfs_iunlink_update_bucket()
448 trace_xfs_iunlink_update_bucket(pag, bucket_index, old_value, in xfs_iunlink_update_bucket()
462 agi->agi_unlinked[bucket_index] = cpu_to_be32(new_agino); in xfs_iunlink_update_bucket()
464 (sizeof(xfs_agino_t) * bucket_index); in xfs_iunlink_update_bucket()
480 short bucket_index = agino % XFS_AGI_UNLINKED_BUCKETS; in xfs_iunlink_insert_inode() local
488 next_agino = be32_to_cpu(agi->agi_unlinked[bucket_index]); in xfs_iunlink_insert_inode()
519 return xfs_iunlink_update_bucket(tp, pag, agibp, bucket_index, agino); in xfs_iunlink_insert_inode()
567 short bucket_index = agino % XFS_AGI_UNLINKED_BUCKETS; in xfs_iunlink_remove_inode() local
576 head_agino = be32_to_cpu(agi->agi_unlinked[bucket_index]); in xfs_iunlink_remove_inode()
[all...]
/linux/net/ipv4/
H A Dnexthop.c308 u16 bucket_index, bool force, in nh_notifier_res_bucket_info_init() argument
326 info->nh_res_bucket->bucket_index = bucket_index; in nh_notifier_res_bucket_info_init()
340 u16 bucket_index, bool force, in __call_nexthop_res_bucket_notifiers() argument
355 err = nh_notifier_res_bucket_info_init(&info, bucket_index, force, in __call_nexthop_res_bucket_notifiers()
392 u16 bucket_index, bool force, in call_nexthop_res_bucket_notifiers() argument
400 return __call_nexthop_res_bucket_notifiers(net, nhg_id, bucket_index, in call_nexthop_res_bucket_notifiers()
1143 struct nh_res_bucket *bucket, u16 bucket_index, in nh_fill_res_bucket() argument
1171 if (nla_put_u16(skb, NHA_RES_BUCKET_INDEX, bucket_index) || in nh_fill_res_bucket()
1190 u16 bucket_index) in nexthop_bucket_notify() argument
1467 u16 bucket_index = hash % res_table->num_nh_buckets; nexthop_select_path_res() local
1775 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
3649 u16 bucket_index; global() member
3675 u16 bucket_index; rtm_dump_nexthop_bucket_nh() local
3759 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
3780 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
3818 u16 bucket_index; rtm_get_nexthop_bucket() local
3984 nexthop_bucket_set_hw_flags(struct net * net,u32 id,u16 bucket_index,bool offload,bool trap) nexthop_bucket_set_hw_flags() argument
[all...]
/linux/drivers/md/bcache/
H A Djournal.c36 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()
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()
/linux/include/net/
H A Dnexthop.h209 u16 bucket_index; member
252 void nexthop_bucket_set_hw_flags(struct net *net, u32 id, u16 bucket_index,
/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/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()
/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()
5553 u16 bucket_index = info->nh_res_bucket->bucket_index; in mlxsw_sp_nexthop_obj_bucket_adj_update() local
5568 adj_index = nh->nhgi->adj_index + bucket_index; in mlxsw_sp_nexthop_obj_bucket_adj_update()
5592 mlxsw_sp_nexthop_bucket_offload_refresh(mlxsw_sp, nh, bucket_index); in mlxsw_sp_nexthop_obj_bucket_adj_update()
5600 u16 bucket_index = info->nh_res_bucket->bucket_index; in mlxsw_sp_nexthop_obj_bucket_replace() local
5616 if (bucket_index >= nhgi->count) { in mlxsw_sp_nexthop_obj_bucket_replace()
5621 nh = &nhgi->nexthops[bucket_index]; in mlxsw_sp_nexthop_obj_bucket_replace()
[all...]