Home
last modified time | relevance | path

Searched refs:cur_order (Results 1 – 3 of 3) sorted by relevance

/NextBSD/sys/dev/ifmlx4/
HDicm.c132 int cur_order; in mlx4_alloc_icm() local
149 cur_order = get_order(MLX4_ICM_ALLOC_SIZE); in mlx4_alloc_icm()
169 while (1 << cur_order > npages) in mlx4_alloc_icm()
170 --cur_order; in mlx4_alloc_icm()
175 cur_order, gfp_mask); in mlx4_alloc_icm()
178 cur_order, gfp_mask, in mlx4_alloc_icm()
182 if (--cur_order < 0) in mlx4_alloc_icm()
204 npages -= 1 << cur_order; in mlx4_alloc_icm()
/NextBSD/sys/ofed/drivers/net/mlx4/
HDicm.c132 int cur_order; in mlx4_alloc_icm() local
149 cur_order = get_order(MLX4_ICM_ALLOC_SIZE); in mlx4_alloc_icm()
169 while (1 << cur_order > npages) in mlx4_alloc_icm()
170 --cur_order; in mlx4_alloc_icm()
175 cur_order, gfp_mask); in mlx4_alloc_icm()
178 cur_order, gfp_mask, in mlx4_alloc_icm()
182 if (--cur_order < 0) in mlx4_alloc_icm()
204 npages -= 1 << cur_order; in mlx4_alloc_icm()
/NextBSD/sys/ofed/drivers/infiniband/hw/mthca/
HDmthca_memfree.c141 int cur_order; in mthca_alloc_icm() local
154 cur_order = get_order(MTHCA_ICM_ALLOC_SIZE); in mthca_alloc_icm()
169 while (1 << cur_order > npages) in mthca_alloc_icm()
170 --cur_order; in mthca_alloc_icm()
175 cur_order, gfp_mask); in mthca_alloc_icm()
178 cur_order, gfp_mask); in mthca_alloc_icm()
197 npages -= 1 << cur_order; in mthca_alloc_icm()
199 --cur_order; in mthca_alloc_icm()
200 if (cur_order < 0) in mthca_alloc_icm()