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

/freebsd-13-stable/sys/dev/mlx4/mlx4_core/
H A Dmlx4_resource_tracker.c310 struct resource_allocator *res_alloc = local
311 &priv->mfunc.master.res_tracker.res_alloc[res_type];
319 spin_lock(&res_alloc->alloc_lock);
321 res_alloc->allocated[(port - 1) *
323 res_alloc->allocated[slave];
324 free = (port > 0) ? res_alloc->res_port_free[port - 1] :
325 res_alloc->res_free;
326 reserved = (port > 0) ? res_alloc->res_port_rsvd[port - 1] :
327 res_alloc->res_reserved;
328 guaranteed = res_alloc
381 struct resource_allocator *res_alloc = local
421 initialize_res_quotas(struct mlx4_dev *dev, struct resource_allocator *res_alloc, enum mlx4_resource res_type, int vf, int num_instances) argument
506 struct resource_allocator *res_alloc = local
[all...]
H A Dmlx4_fw.c474 size = priv->mfunc.master.res_tracker.res_alloc[RES_QP].quota[slave];
479 size = priv->mfunc.master.res_tracker.res_alloc[RES_SRQ].quota[slave];
484 size = priv->mfunc.master.res_tracker.res_alloc[RES_CQ].quota[slave];
508 size = priv->mfunc.master.res_tracker.res_alloc[RES_MPT].quota[slave];
513 size = priv->mfunc.master.res_tracker.res_alloc[RES_MTT].quota[slave];
H A Dmlx4.h553 struct resource_allocator res_alloc[MLX4_NUM_OF_RESOURCE_TYPE]; member in struct:mlx4_resource_tracker
/freebsd-13-stable/sys/dev/qlnx/qlnxe/
H A Dmcp_private.h139 struct res_alloc_cache res_alloc; member in struct:private_global
140 #define G_RES_ALLOC_P (&g_spad.private_data.global.res_alloc)

Completed in 171 milliseconds