Searched refs:res_alloc (Results 1 – 11 of 11) sorted by relevance
323 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 …]
474 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()
551 struct resource_allocator res_alloc[MLX4_NUM_OF_RESOURCE_TYPE]; member
215 r = (rc_res_resource *) res_alloc (sizeof *r); in bin_to_res_cursor()231 r = (rc_res_resource *) res_alloc (sizeof *r); in bin_to_res_menu()234 m = (rc_menu *) res_alloc (sizeof (rc_menu)); in bin_to_res_menu()290 mi = (rc_menuitem *) res_alloc (sizeof *mi); in bin_to_res_menuitems()583 res_alloc (sizeof (rc_rcdata_item))); in bin_to_res_dialog()597 r = (rc_res_resource *) res_alloc (sizeof *r); in bin_to_res_dialog()643 r = (rc_res_resource *) res_alloc (sizeof *r); in bin_to_res_string()714 r = (rc_res_resource *) res_alloc (sizeof *r); in bin_to_res_fontdir()779 r = (rc_res_resource *) res_alloc (sizeof *r); in bin_to_res_rcdata()890 r = (rc_res_resource *) res_alloc (sizeof *r); in bin_to_res_group_icon()[all …]
920 data = (bfd_byte *) res_alloc (s.st_size); in define_font()1406 m = (rc_menu *) res_alloc (sizeof (rc_menu)); in define_menu()1456 data = (bfd_byte *) res_alloc (s.st_size); in define_messagetable()1499 s = (char *) res_alloc (len); in define_rcdata_string()1561 res_alloc (sizeof (rc_stringtable))); in define_stringtable()1652 res_alloc (sizeof (rc_rcdata_item))); in define_user_data()1678 data = (bfd_byte *) res_alloc (s.st_size); in define_rcdata_file()1713 data = (bfd_byte *) res_alloc (s.st_size); in define_user_file()1728 res_alloc (sizeof (rc_rcdata_item))); in define_user_file()1748 res_alloc (sizeof (rc_versioninfo))); in define_versioninfo()[all …]
216 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));
146 data = (bfd_byte *) res_alloc (size); in read_coff_rsrc()194 rd = (rc_res_directory *) res_alloc (sizeof (rc_res_directory)); in read_coff_res_dir()231 re = (rc_res_entry *) res_alloc (sizeof *re); in read_coff_res_dir()236 re->id.u.n.name = (unichar *) res_alloc (length * sizeof (unichar)); in read_coff_res_dir()275 re = (rc_res_entry *) res_alloc (sizeof *re); in read_coff_res_dir()
287 h = (unichar *) res_alloc ((l1 + l2 + 1) * sizeof (unichar));304 h = (unichar *) res_alloc ((l1 + l2 + 1) * sizeof (unichar));
175 res_alloc (rc_uint_type bytes) in res_alloc() function312 ret = res_alloc (sizeof (mc_node)); in mc_add_node()334 ret = res_alloc (sizeof (mc_node_lang)); in mc_add_node_lang()622 ret = res_alloc ((len + 3) & ~3); in mc_generate_bin_item()648 ret = res_alloc ((len + 3) & ~3); in mc_generate_bin_item()
205 buff = res_alloc (reshdr.data_size); in read_resource_entry()673 res_alloc (sizeof (rc_res_directory))); in res_append_resource()689 re = (rc_res_entry *) res_alloc (sizeof (rc_res_entry)); in res_append_resource()
139 struct res_alloc_cache res_alloc; member140 #define G_RES_ALLOC_P (&g_spad.private_data.global.res_alloc)