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

/freebsd-11-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-11-stable/contrib/binutils/binutils/
H A Dresbin.c141 ret = (unichar *) res_alloc ((c + 1) * sizeof (unichar));
190 r = (rc_res_resource *) res_alloc (sizeof (rc_res_resource));
209 c = (rc_cursor *) res_alloc (sizeof (rc_cursor));
215 r = (rc_res_resource *) res_alloc (sizeof *r);
231 r = (rc_res_resource *) res_alloc (sizeof *r);
234 m = (rc_menu *) res_alloc (sizeof (rc_menu));
290 mi = (rc_menuitem *) res_alloc (sizeof *mi);
367 mi = (rc_menuitem *) res_alloc (sizeof (rc_menuitem));
434 d = (rc_dialog *) res_alloc (sizeof (rc_dialog));
452 d->ex = (rc_dialog_ex *) res_alloc (sizeo
[all...]
H A Dmcparse.y287 h = (unichar *) res_alloc ((l1 + l2 + 1) * sizeof (unichar));
304 h = (unichar *) res_alloc ((l1 + l2 + 1) * sizeof (unichar));
H A Drcparse.y216 a = (rc_accelerator *) res_alloc (sizeof *a);
389 res_alloc (sizeof (rc_dialog_ex)));
416 res_alloc (sizeof (rc_dialog_ex)));
1363 res_alloc (sizeof (rc_toolbar_item));
1382 res_alloc (sizeof (rc_toolbar_item));
1415 res_alloc (sizeof (rc_fixed_versioninfo)));
1679 unichar *h = (unichar *) res_alloc ((l1 + l2 + 1) * sizeof (unichar));
1710 char *h = (char *) res_alloc (l);
1726 unichar *h = (unichar *) res_alloc (l * sizeof (unichar));
H A Drescoff.c147 data = (bfd_byte *) res_alloc (size);
195 rd = (rc_res_directory *) res_alloc (sizeof (rc_res_directory));
232 re = (rc_res_entry *) res_alloc (sizeof *re);
237 re->id.u.n.name = (unichar *) res_alloc (length * sizeof (unichar));
276 re = (rc_res_entry *) res_alloc (sizeof *re);
H A Dwindmc.c175 res_alloc (rc_uint_type bytes) function
312 ret = res_alloc (sizeof (mc_node));
334 ret = res_alloc (sizeof (mc_node_lang));
622 ret = res_alloc ((len + 3) & ~3);
648 ret = res_alloc ((len + 3) & ~3);
H A Dresres.c205 buff = res_alloc (reshdr.data_size);
673 res_alloc (sizeof (rc_res_directory)));
689 re = (rc_res_entry *) res_alloc (sizeof (rc_res_entry));
/freebsd-11-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 122 milliseconds