Home
last modified time | relevance | path

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

/freebsd/sys/dev/mlx4/mlx4_core/
H A Dmlx4_resource_tracker.c323 res_alloc->allocated[slave]; in mlx4_grant_resource()
325 res_alloc->res_free; in mlx4_grant_resource()
327 res_alloc->res_reserved; in mlx4_grant_resource()
393 res_alloc->allocated[slave]; in mlx4_release_resource()
428 res_alloc->quota[vf] = (num_instances / 2) + res_alloc->guaranteed[vf]; in initialize_res_quotas()
525 if (!res_alloc->quota || !res_alloc->guaranteed || in mlx4_init_resource_tracker()
526 !res_alloc->allocated) in mlx4_init_resource_tracker()
576 res_alloc->quota[t] = in mlx4_init_resource_tracker()
594 res_alloc->quota[t]; in mlx4_init_resource_tracker()
612 res_alloc->res_free -= res_alloc->guaranteed[t]; in mlx4_init_resource_tracker()
[all …]
H A Dmlx4_fw.c474 size = priv->mfunc.master.res_tracker.res_alloc[RES_QP].quota[slave]; in mlx4_QUERY_FUNC_CAP_wrapper()
479 size = priv->mfunc.master.res_tracker.res_alloc[RES_SRQ].quota[slave]; in mlx4_QUERY_FUNC_CAP_wrapper()
484 size = priv->mfunc.master.res_tracker.res_alloc[RES_CQ].quota[slave]; in mlx4_QUERY_FUNC_CAP_wrapper()
508 size = priv->mfunc.master.res_tracker.res_alloc[RES_MPT].quota[slave]; in mlx4_QUERY_FUNC_CAP_wrapper()
513 size = priv->mfunc.master.res_tracker.res_alloc[RES_MTT].quota[slave]; in mlx4_QUERY_FUNC_CAP_wrapper()
H A Dmlx4.h553 struct resource_allocator res_alloc[MLX4_NUM_OF_RESOURCE_TYPE]; member
/freebsd/sys/dev/qlnx/qlnxe/
H A Dmcp_private.h137 struct res_alloc_cache res_alloc; member
138 #define G_RES_ALLOC_P (&g_spad.private_data.global.res_alloc)