Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlx4/
Dicm.c395 int obj_per_chunk; in mlx4_init_icm_table() local
401 obj_per_chunk = MLX4_TABLE_CHUNK_SIZE / obj_size; in mlx4_init_icm_table()
402 num_icm = (nobj + obj_per_chunk - 1) / obj_per_chunk; in mlx4_init_icm_table()
/drivers/infiniband/hw/mthca/
Dmthca_memfree.c362 int obj_per_chunk; in mthca_alloc_icm_table() local
367 obj_per_chunk = MTHCA_TABLE_CHUNK_SIZE / obj_size; in mthca_alloc_icm_table()
368 num_icm = DIV_ROUND_UP(nobj, obj_per_chunk); in mthca_alloc_icm_table()