Searched refs:num_icm (Results 1 – 4 of 4) sorted by relevance
420 int num_icm; in mlx4_init_icm_table() local428 num_icm = DIV_ROUND_UP(nobj, obj_per_chunk); in mlx4_init_icm_table()430 table->icm = kvcalloc(num_icm, sizeof(*table->icm), GFP_KERNEL); in mlx4_init_icm_table()434 table->num_icm = num_icm; in mlx4_init_icm_table()469 for (i = 0; i < num_icm; ++i) in mlx4_init_icm_table()485 for (i = 0; i < table->num_icm; ++i) in mlx4_cleanup_icm_table()
262 int num_icm; member
363 int num_icm; in mthca_alloc_icm_table() local368 num_icm = DIV_ROUND_UP(nobj, obj_per_chunk); in mthca_alloc_icm_table()370 table = kmalloc(struct_size(table, icm, num_icm), GFP_KERNEL); in mthca_alloc_icm_table()375 table->num_icm = num_icm; in mthca_alloc_icm_table()382 for (i = 0; i < num_icm; ++i) in mthca_alloc_icm_table()412 for (i = 0; i < num_icm; ++i) in mthca_alloc_icm_table()428 for (i = 0; i < table->num_icm; ++i) in mthca_free_icm_table()
65 int num_icm; member