Home
last modified time | relevance | path

Searched refs:MLX5_UIDX_TABLE_MASK (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/ofed/libmlx5/
H A Dmlx5.c159 if (ctx->uidx_table[tind].refcnt < MLX5_UIDX_TABLE_MASK) in get_free_uidx()
169 for (i = 0; i < MLX5_UIDX_TABLE_MASK + 1; i++) { in get_free_uidx()
191 ctx->uidx_table[tind].table = calloc(MLX5_UIDX_TABLE_MASK + 1, in mlx5_store_uidx()
198 ctx->uidx_table[tind].table[uidx & MLX5_UIDX_TABLE_MASK] = rsc; in mlx5_store_uidx()
215 ctx->uidx_table[tind].table[uidx & MLX5_UIDX_TABLE_MASK] = NULL; in mlx5_clear_uidx()
H A Dmlx5.h118 MLX5_UIDX_TABLE_MASK = (1 << MLX5_UIDX_TABLE_SHIFT) - 1, enumerator
686 return ctx->uidx_table[tind].table[uidx & MLX5_UIDX_TABLE_MASK]; in mlx5_find_uidx()