Lines Matching refs:from_rsvd
305 int from_rsvd; in mlx4_grant_resource() local
330 from_rsvd = count; in mlx4_grant_resource()
338 from_rsvd = count - from_free; in mlx4_grant_resource()
354 res_alloc->res_port_rsvd[port - 1] -= from_rsvd; in mlx4_grant_resource()
358 res_alloc->res_reserved -= from_rsvd; in mlx4_grant_resource()
374 int allocated, guaranteed, from_rsvd; in mlx4_release_resource() local
388 from_rsvd = 0; in mlx4_release_resource()
392 from_rsvd = count - (allocated - guaranteed); in mlx4_release_resource()
394 from_rsvd = count; in mlx4_release_resource()
401 res_alloc->res_port_rsvd[port - 1] += from_rsvd; in mlx4_release_resource()
405 res_alloc->res_reserved += from_rsvd; in mlx4_release_resource()