Home
last modified time | relevance | path

Searched refs:htbl (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/drivers/infiniband/ulp/ipoib/
H A Dipoib_main.c1280 htbl = rcu_dereference_bh(ntbl->htbl); in ipoib_neigh_get()
1282 if (!htbl) in ipoib_neigh_get()
1320 htbl = rcu_dereference_protected(ntbl->htbl, in __ipoib_reap_neigh()
1323 if (!htbl) in __ipoib_reap_neigh()
1400 htbl = rcu_dereference_protected(ntbl->htbl, in ipoib_neigh_alloc()
1490 htbl = rcu_dereference_protected(ntbl->htbl, in ipoib_neigh_free()
1492 if (!htbl) in ipoib_neigh_free()
1526 htbl = kzalloc(sizeof(*htbl), GFP_KERNEL); in ipoib_neigh_hash_init()
1538 RCU_INIT_POINTER(ntbl->htbl, htbl); in ipoib_neigh_hash_init()
1573 htbl = rcu_dereference_protected(ntbl->htbl, in ipoib_del_neighs_by_gid()
[all …]
H A Dipoib.h305 struct ipoib_neigh_hash __rcu *htbl; member
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/
H A Ddr_ste.c43 if (htbl->byte_mask & bit) in mlx5dr_ste_calc_hash_index()
323 stats_tbl = first_ste->htbl; in mlx5dr_ste_free()
438 htbl, in mlx5dr_ste_htbl_init_and_postsend()
506 if (!htbl) in mlx5dr_ste_htbl_alloc()
513 htbl->chunk = chunk; in mlx5dr_ste_htbl_alloc()
514 htbl->lu_type = lu_type; in mlx5dr_ste_htbl_alloc()
516 htbl->refcount = 0; in mlx5dr_ste_htbl_alloc()
517 htbl->pointing_ste = NULL; in mlx5dr_ste_htbl_alloc()
525 ste->htbl = htbl; in mlx5dr_ste_htbl_alloc()
531 return htbl; in mlx5dr_ste_htbl_alloc()
[all …]
H A Ddr_rule.c99 ste->htbl->pointing_ste = orig_ste->htbl->pointing_ste; in dr_rule_create_collision_entry()
207 new_ste->htbl->pointing_ste = col_ste->htbl->pointing_ste; in dr_rule_rehash_handle_collision()
338 mlx5dr_htbl_put(cur_ste->htbl); in dr_rule_rehash_copy_miss_list()
564 ste->htbl->ctrl.num_of_collisions++; in dr_rule_handle_collision()
697 if (!mlx5dr_ste_htbl_may_grow(htbl)) in dr_rule_need_enlarge_hash()
700 if (dr_get_bits_per_mask(htbl->byte_mask) * BITS_PER_BYTE <= htbl->chunk->size) in dr_rule_need_enlarge_hash()
760 action_ste->htbl); in dr_rule_handle_action_stes()
1125 struct mlx5dr_ste_htbl *htbl = NULL; in dr_rule_create_rule_nic() local
1195 &htbl); in dr_rule_create_rule_nic()
1221 if (htbl) in dr_rule_create_rule_nic()
[all …]
H A Ddr_types.h172 struct mlx5dr_ste_htbl *htbl; member
233 int mlx5dr_ste_htbl_free(struct mlx5dr_ste_htbl *htbl);
237 htbl->refcount--; in mlx5dr_htbl_put()
238 if (!htbl->refcount) in mlx5dr_htbl_put()
239 mlx5dr_ste_htbl_free(htbl); in mlx5dr_htbl_put()
244 htbl->refcount++; in mlx5dr_htbl_get()
1273 if (htbl->chunk->size == DR_CHUNK_SIZE_MAX - 1 || !htbl->byte_mask) in mlx5dr_ste_htbl_may_grow()
1398 struct mlx5dr_ste_htbl *htbl,
1404 struct mlx5dr_ste_htbl *htbl,
1481 struct mlx5dr_ste_htbl *htbl,
[all …]
H A Ddr_send.c655 struct mlx5dr_ste_htbl *htbl, in dr_get_tbl_copy_details() argument
713 struct mlx5dr_ste_htbl *htbl, in mlx5dr_send_postsend_htbl() argument
724 ret = dr_get_tbl_copy_details(dmn, htbl, &data, &byte_size, in mlx5dr_send_postsend_htbl()
749 htbl->chunk->hw_ste_arr + in mlx5dr_send_postsend_htbl()
766 mlx5dr_ste_get_mr_addr(htbl->chunk->ste_arr + ste_index); in mlx5dr_send_postsend_htbl()
767 send_info.rkey = mlx5dr_icm_pool_get_chunk_rkey(htbl->chunk); in mlx5dr_send_postsend_htbl()
781 struct mlx5dr_ste_htbl *htbl, in mlx5dr_send_postsend_formatted_htbl() argument
793 ret = dr_get_tbl_copy_details(dmn, htbl, &data, &byte_size, in mlx5dr_send_postsend_formatted_htbl()
801 copy_dst = htbl->chunk->hw_ste_arr + i * DR_STE_SIZE_REDUCED; in mlx5dr_send_postsend_formatted_htbl()
823 mlx5dr_ste_get_mr_addr(htbl->chunk->ste_arr + ste_index); in mlx5dr_send_postsend_formatted_htbl()
[all …]
H A Ddr_icm_pool.c500 void mlx5dr_icm_pool_free_htbl(struct mlx5dr_icm_pool *pool, struct mlx5dr_ste_htbl *htbl) in mlx5dr_icm_pool_free_htbl() argument
502 kmem_cache_free(pool->dmn->htbls_kmem_cache, htbl); in mlx5dr_icm_pool_free_htbl()
/openbmc/linux/drivers/media/platform/renesas/
H A Drcar_jpu.c546 static void put_htbl(u8 *p, const u8 *htbl, unsigned int len) in put_htbl() argument
552 p[i + j] = htbl[i + 3 - j]; in put_htbl()
/openbmc/linux/drivers/media/platform/samsung/s5p-jpeg/
H A Djpeg-core.c642 const unsigned char *htbl, in s5p_jpeg_set_htbl() argument
648 writel((unsigned int)htbl[i], regs + tab + (i * 0x04)); in s5p_jpeg_set_htbl()