Home
last modified time | relevance | path

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

/titanic_41/usr/src/lib/libpool/common/
H A Dpool_commit.c90 typedef struct res_info { struct
825 res_info_t *res_info; in resource_allocate_default() local
832 if ((res_info = calloc(nelem, sizeof (res_info_t))) == NULL) { in resource_allocate_default()
844 &res_info[j].ri_max) == PO_FAIL || in resource_allocate_default()
846 &res_info[j].ri_min) == PO_FAIL || in resource_allocate_default()
848 &res_info[j].ri_oldsize) == PO_FAIL || in resource_allocate_default()
850 &res_info[j].ri_pinned) == PO_FAIL) { in resource_allocate_default()
851 free(res_info); in resource_allocate_default()
854 res_info[j].ri_res = res[j]; in resource_allocate_default()
866 real_min = MAX(res_info[j].ri_pinned, res_info[j].ri_min); in resource_allocate_default()
[all …]