Lines Matching refs:from_rsvd
308 int from_rsvd; in mlx4_grant_resource() local
333 from_rsvd = count; in mlx4_grant_resource()
341 from_rsvd = count - from_free; in mlx4_grant_resource()
357 res_alloc->res_port_rsvd[port - 1] -= from_rsvd; in mlx4_grant_resource()
361 res_alloc->res_reserved -= from_rsvd; in mlx4_grant_resource()
377 int allocated, guaranteed, from_rsvd; in mlx4_release_resource() local
391 from_rsvd = 0; in mlx4_release_resource()
395 from_rsvd = count - (allocated - guaranteed); in mlx4_release_resource()
397 from_rsvd = count; in mlx4_release_resource()
404 res_alloc->res_port_rsvd[port - 1] += from_rsvd; in mlx4_release_resource()
408 res_alloc->res_reserved += from_rsvd; in mlx4_release_resource()