Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/
A Ddr_ste.c35 if (htbl->chunk->num_of_entries == 1 || htbl->byte_mask == 0) in mlx5dr_ste_calc_hash_index()
410 htbl, in mlx5dr_ste_htbl_init_and_postsend()
475 htbl = kzalloc(sizeof(*htbl), GFP_KERNEL); in mlx5dr_ste_htbl_alloc()
476 if (!htbl) in mlx5dr_ste_htbl_alloc()
483 htbl->chunk = chunk; in mlx5dr_ste_htbl_alloc()
489 htbl->refcount = 0; in mlx5dr_ste_htbl_alloc()
495 ste->htbl = htbl; in mlx5dr_ste_htbl_alloc()
502 return htbl; in mlx5dr_ste_htbl_alloc()
505 kfree(htbl); in mlx5dr_ste_htbl_alloc()
511 if (htbl->refcount) in mlx5dr_ste_htbl_free()
[all …]
A Ddr_rule.c84 ste->htbl->pointing_ste = orig_ste->htbl->pointing_ste; in dr_rule_create_collision_entry()
190 new_ste->htbl->pointing_ste = col_ste->htbl->pointing_ste; in dr_rule_rehash_handle_collision()
321 mlx5dr_htbl_put(cur_ste->htbl); in dr_rule_rehash_copy_miss_list()
537 ste->htbl->ctrl.num_of_collisions++; in dr_rule_handle_collision()
670 if (!mlx5dr_ste_htbl_may_grow(htbl)) in dr_rule_need_enlarge_hash()
673 if (dr_get_bits_per_mask(htbl->byte_mask) * BITS_PER_BYTE <= htbl->chunk_size) in dr_rule_need_enlarge_hash()
733 action_ste->htbl); in dr_rule_handle_action_stes()
1073 struct mlx5dr_ste_htbl *htbl = NULL; in dr_rule_create_rule_nic() local
1129 &htbl); in dr_rule_create_rule_nic()
1155 if (htbl) in dr_rule_create_rule_nic()
[all …]
A Ddr_types.h155 struct mlx5dr_ste_htbl *htbl; member
226 int mlx5dr_ste_htbl_free(struct mlx5dr_ste_htbl *htbl);
230 htbl->refcount--; in mlx5dr_htbl_put()
231 if (!htbl->refcount) in mlx5dr_htbl_put()
232 mlx5dr_ste_htbl_free(htbl); in mlx5dr_htbl_put()
237 htbl->refcount++; in mlx5dr_htbl_get()
1099 if (htbl->chunk_size == DR_CHUNK_SIZE_MAX - 1 || !htbl->byte_mask) in mlx5dr_ste_htbl_may_grow()
1223 struct mlx5dr_ste_htbl *htbl,
1229 struct mlx5dr_ste_htbl *htbl,
1308 struct mlx5dr_ste_htbl *htbl,
[all …]
A Ddr_send.c404 struct mlx5dr_ste_htbl *htbl, in dr_get_tbl_copy_details() argument
413 *iterations = htbl->chunk->byte_size / in dr_get_tbl_copy_details()
420 *num_stes = htbl->chunk->num_of_entries; in dr_get_tbl_copy_details()
456 send_info.rkey = ste->htbl->chunk->rkey; in mlx5dr_send_postsend_ste()
462 struct mlx5dr_ste_htbl *htbl, in mlx5dr_send_postsend_htbl() argument
465 u32 byte_size = htbl->chunk->byte_size; in mlx5dr_send_postsend_htbl()
498 htbl->ste_arr[ste_index + j].hw_ste, in mlx5dr_send_postsend_htbl()
515 send_info.rkey = htbl->chunk->rkey; in mlx5dr_send_postsend_htbl()
529 struct mlx5dr_ste_htbl *htbl, in mlx5dr_send_postsend_formatted_htbl() argument
533 u32 byte_size = htbl->chunk->byte_size; in mlx5dr_send_postsend_formatted_htbl()
[all …]
/linux/drivers/infiniband/ulp/ipoib/
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 …]
A Dipoib.h305 struct ipoib_neigh_hash __rcu *htbl; member
/linux/drivers/media/platform/
A Drcar_jpu.c553 static void put_htbl(u8 *p, const u8 *htbl, unsigned int len) in put_htbl() argument
559 p[i + j] = htbl[i + 3 - j]; in put_htbl()
/linux/drivers/media/platform/s5p-jpeg/
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()

Completed in 38 milliseconds