Lines Matching refs:coherent
79 void mlx4_free_icm(struct mlx4_dev *dev, struct mlx4_icm *icm, int coherent) in mlx4_free_icm() argument
87 if (coherent) in mlx4_free_icm()
133 gfp_t gfp_mask, int coherent) in mlx4_alloc_icm() argument
142 BUG_ON(coherent && (gfp_mask & __GFP_HIGHMEM)); in mlx4_alloc_icm()
172 chunk->coherent = coherent; in mlx4_alloc_icm()
174 if (!coherent) in mlx4_alloc_icm()
186 if (coherent) in mlx4_alloc_icm()
204 if (coherent) in mlx4_alloc_icm()
221 if (!coherent && chunk) { in mlx4_alloc_icm()
232 mlx4_free_icm(dev, icm, coherent); in mlx4_alloc_icm()
273 __GFP_NOWARN, table->coherent); in mlx4_table_get()
281 mlx4_free_icm(dev, table->icm[i], table->coherent); in mlx4_table_get()
307 mlx4_free_icm(dev, table->icm[i], table->coherent); in mlx4_table_put()
340 if (table->coherent) { in mlx4_table_find()
438 table->coherent = use_coherent; in mlx4_init_icm_table()
489 mlx4_free_icm(dev, table->icm[i], table->coherent); in mlx4_cleanup_icm_table()