Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/
H A Dresource_tracker.c316 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()
[all …]