Lines Matching refs:last_offset
558 u32 last_offset; in mlx4_create_zones() local
611 last_offset = dev->caps.reserved_qps_cnt[MLX4_QP_REGION_FW]; in mlx4_create_zones()
635 if (((last_offset & MLX4_BF_QP_SKIP_MASK) && in mlx4_create_zones()
636 ((int)(max_table_offset - last_offset)) >= in mlx4_create_zones()
638 (!(last_offset & MLX4_BF_QP_SKIP_MASK) && in mlx4_create_zones()
639 !((last_offset + requested_size - 1) & in mlx4_create_zones()
644 (last_offset | MLX4_BF_QP_SKIP_MASK | bf_mask) + 1; in mlx4_create_zones()
646 if (last_offset & MLX4_BF_QP_SKIP_MASK) in mlx4_create_zones()
647 last_offset = candidate_offset; in mlx4_create_zones()
651 if (last_offset > max_table_offset) { in mlx4_create_zones()
655 size = min3(max_table_offset - last_offset, in mlx4_create_zones()
656 bf_mask - (last_offset & bf_mask), in mlx4_create_zones()
663 bf_mask - (last_offset & bf_mask), in mlx4_create_zones()
670 last_offset = candidate_offset; in mlx4_create_zones()
692 last_offset = offset + size; in mlx4_create_zones()