Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/net/ethernet/mellanox/mlx4/
Dicm.c127 int cur_order; in mlx4_alloc_icm() local
140 cur_order = get_order(MLX4_ICM_ALLOC_SIZE); in mlx4_alloc_icm()
155 while (1 << cur_order > npages) in mlx4_alloc_icm()
156 --cur_order; in mlx4_alloc_icm()
161 cur_order, gfp_mask); in mlx4_alloc_icm()
164 cur_order, gfp_mask); in mlx4_alloc_icm()
167 if (--cur_order < 0) in mlx4_alloc_icm()
189 npages -= 1 << cur_order; in mlx4_alloc_icm()
/linux-3.4.99/drivers/infiniband/hw/mthca/
Dmthca_memfree.c142 int cur_order; in mthca_alloc_icm() local
155 cur_order = get_order(MTHCA_ICM_ALLOC_SIZE); in mthca_alloc_icm()
170 while (1 << cur_order > npages) in mthca_alloc_icm()
171 --cur_order; in mthca_alloc_icm()
176 cur_order, gfp_mask); in mthca_alloc_icm()
179 cur_order, gfp_mask); in mthca_alloc_icm()
198 npages -= 1 << cur_order; in mthca_alloc_icm()
200 --cur_order; in mthca_alloc_icm()
201 if (cur_order < 0) in mthca_alloc_icm()