Searched refs:obj_per_chunk (Results 1 – 2 of 2) sorted by relevance
395 int obj_per_chunk; in mlx4_init_icm_table() local401 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()
362 int obj_per_chunk; in mthca_alloc_icm_table() local367 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()