Home
last modified time | relevance | path

Searched refs:num_obj (Results 1 – 4 of 4) sorted by relevance

/drivers/net/ethernet/mellanox/mlx4/
Dicm.c232 u32 i = (obj & (table->num_obj - 1)) / in mlx4_table_get()
271 i = (obj & (table->num_obj - 1)) / (MLX4_TABLE_CHUNK_SIZE / table->obj_size); in mlx4_table_put()
300 idx = (u64) (obj & (table->num_obj - 1)) * table->obj_size; in mlx4_table_find()
384 table->num_obj = nobj; in mlx4_init_icm_table()
Dmlx4.h261 u32 num_obj; member
/drivers/infiniband/hw/mthca/
Dmthca_memfree.c224 int i = (obj & (table->num_obj - 1)) * table->obj_size / MTHCA_TABLE_CHUNK_SIZE; in mthca_table_get()
264 i = (obj & (table->num_obj - 1)) * table->obj_size / MTHCA_TABLE_CHUNK_SIZE; in mthca_table_put()
290 idx = (obj & (table->num_obj - 1)) * table->obj_size; in mthca_table_find()
376 table->num_obj = nobj; in mthca_alloc_icm_table()
Dmthca_memfree.h66 int num_obj; member