Lines Matching refs:from_rsvd
316 int from_rsvd; in mlx4_grant_resource() local
341 from_rsvd = count; in mlx4_grant_resource()
349 from_rsvd = count - from_free; in mlx4_grant_resource()
365 res_alloc->res_port_rsvd[port - 1] -= from_rsvd; in mlx4_grant_resource()
369 res_alloc->res_reserved -= from_rsvd; in mlx4_grant_resource()
385 int allocated, guaranteed, from_rsvd; in mlx4_release_resource() local
399 from_rsvd = 0; in mlx4_release_resource()
403 from_rsvd = count - (allocated - guaranteed); in mlx4_release_resource()
405 from_rsvd = count; in mlx4_release_resource()
412 res_alloc->res_port_rsvd[port - 1] += from_rsvd; in mlx4_release_resource()
416 res_alloc->res_reserved += from_rsvd; in mlx4_release_resource()