/titanic_44/usr/src/lib/libpool/common/ |
H A D | pool.h | 147 typedef struct pool_resource pool_resource_t; typedef 178 extern pool_resource_t *pool_get_resource(const pool_conf_t *, const char *, 180 extern pool_resource_t **pool_query_resources(const pool_conf_t *, uint_t *, 188 extern pool_resource_t *pool_resource_create(pool_conf_t *, const char *, 190 extern int pool_resource_destroy(pool_conf_t *, pool_resource_t *); 191 extern int pool_resource_transfer(pool_conf_t *, pool_resource_t *, 192 pool_resource_t *, uint64_t); 193 extern int pool_resource_xtransfer(pool_conf_t *, pool_resource_t *, 194 pool_resource_t *, pool_component_t **); 196 const pool_resource_t *, uint_t *, pool_value_t **); [all …]
|
H A D | pool_xml_impl.h | 80 int (*pr_is_system)(const pool_resource_t *); 81 int (*pr_can_associate)(const pool_resource_t *); 96 int (*pp_associate)(pool_t *, const pool_resource_t *); 97 int (*pp_dissociate)(pool_t *, const pool_resource_t *); 180 int (*pc_res_xfer)(pool_resource_t *, pool_resource_t *, uint64_t); 181 int (*pc_res_xxfer)(pool_resource_t *, pool_resource_t *,
|
H A D | pool_impl.h | 132 int (*pp_associate)(pool_t *, const pool_resource_t *); 133 int (*pp_dissociate)(pool_t *, const pool_resource_t *); 142 int (*pr_is_system)(const pool_resource_t *); 143 int (*pr_can_associate)(const pool_resource_t *); 214 int (*pc_res_xfer)(pool_resource_t *, pool_resource_t *, uint64_t); 215 int (*pc_res_xxfer)(pool_resource_t *, pool_resource_t *, 244 extern pool_resource_t *pool_elem_res(const pool_elem_t *);
|
H A D | pool_kernel_impl.h | 78 int (*pr_is_system)(const pool_resource_t *); 79 int (*pr_can_associate)(const pool_resource_t *); 98 int (*pp_associate)(pool_t *, const pool_resource_t *); 99 int (*pp_dissociate)(pool_t *, const pool_resource_t *); 158 int (*pc_res_xfer)(pool_resource_t *, pool_resource_t *, uint64_t); 159 int (*pc_res_xxfer)(pool_resource_t *, pool_resource_t *,
|
H A D | pool_internal.h | 246 extern int resource_get_max(const pool_resource_t *, uint64_t *); 247 extern int resource_get_min(const pool_resource_t *, uint64_t *); 248 extern int resource_get_size(const pool_resource_t *, uint64_t *); 249 extern int resource_get_pinned(const pool_resource_t *, 285 const pool_resource_t *, int64_t); 401 extern int resource_is_default(const pool_resource_t *); 402 extern int resource_is_system(const pool_resource_t *); 403 extern int resource_can_associate(const pool_resource_t *); 404 extern const pool_resource_t *get_default_resource(const pool_resource_t *); 405 extern pool_resource_t *resource_by_sysid(const pool_conf_t *, id_t,
|
H A D | pool_commit.c | 91 pool_resource_t *ri_res; /* Resource set */ 124 static int resource_allocate(const char *, pool_resource_t **, 126 static int resource_allocate_default(pool_resource_t **, uint_t); 127 static int pset_allocate_imp(pool_resource_t **, uint_t); 148 pool_resource_t *res; in commit_create() 244 pool_resource_t *res; in commit_delete() 286 pool_resource_t *res1; in commit_update() 287 pool_resource_t *res2; in commit_update() 296 const pool_resource_t *newres; in commit_update() 312 res2, (pool_resource_t *)newres, comps); in commit_update() [all …]
|
H A D | pool.c | 144 static int choose_components(pool_resource_t *, pool_resource_t *, uint64_t); 147 static int setup_transfer(pool_conf_t *, pool_resource_t *, pool_resource_t *, 337 pool_resource_t **rs; in pool_base_info() 529 pool_resource_info(const pool_conf_t *conf, const pool_resource_t *res, in pool_resource_info() 1224 pool_resource_t * 1230 pool_resource_t **resources; in pool_resource_create() 1341 pool_component_create(pool_conf_t *conf, const pool_resource_t *res, in pool_component_create() 1900 pool_resource_t * 1905 pool_resource_t **rs; in pool_get_resource() 1906 pool_resource_t *ret; in pool_get_resource() [all …]
|
H A D | pool_internal.c | 80 static int resource_get_common(const pool_resource_t *, const char *, 430 pool_resource_t *res; in elem_set_name() 945 resource_get_common(const pool_resource_t *res, const char *name, in resource_get_common() 971 resource_get_size(const pool_resource_t *res, uint64_t *size) in resource_get_size() 984 resource_get_pinned(const pool_resource_t *res, uint64_t *pinned) in resource_get_pinned() 1013 resource_get_min(const pool_resource_t *res, uint64_t *min) in resource_get_min() 1025 resource_get_max(const pool_resource_t *res, uint64_t *max) in resource_get_max() 1039 const pool_resource_t * 1040 get_default_resource(const pool_resource_t *res) in get_default_resource() 1051 resource_is_default(const pool_resource_t *res) in resource_is_default() [all …]
|
H A D | pool_xml.c | 182 static int pool_xml_res_transfer(pool_resource_t *, pool_resource_t *, 184 static int pool_xml_res_xtransfer(pool_resource_t *, pool_resource_t *, 216 static int pool_xml_pool_associate(pool_t *, const pool_resource_t *); 217 static int pool_xml_pool_dissociate(pool_t *, const pool_resource_t *); 222 static int pool_xml_resource_is_system(const pool_resource_t *); 223 static int pool_xml_resource_can_associate(const pool_resource_t *); 1416 pool_resource_t **rsl; in pool_assoc_default_resource_type() 1740 pool_xml_res_transfer(pool_resource_t *src, pool_resource_t *tgt, uint64_t size) in pool_xml_res_transfer() 1751 pool_xml_res_xtransfer(pool_resource_t *src, pool_resource_t *tgt, in pool_xml_res_xtransfer() 1934 pool_xml_resource_is_system(const pool_resource_t *pr) in pool_xml_resource_is_system() [all …]
|
H A D | pool_kernel.c | 230 static int pool_knl_res_transfer(pool_resource_t *, pool_resource_t *, 232 static int pool_knl_res_xtransfer(pool_resource_t *, pool_resource_t *, 265 static int pool_knl_pool_associate(pool_t *, const pool_resource_t *); 266 static int pool_knl_pool_dissociate(pool_t *, const pool_resource_t *); 271 static int pool_knl_resource_is_system(const pool_resource_t *); 272 static int pool_knl_resource_can_associate(const pool_resource_t *); 927 pool_resource_t **rs; in pool_knl_export() 1402 pool_resource_t **resources; in pool_knl_remove() 1527 pool_resource_t **resources; in pool_knl_get_resource_binding() 1852 pool_knl_res_transfer(pool_resource_t *src, pool_resource_t *tgt, in pool_knl_res_transfer() [all …]
|
/titanic_44/usr/src/cmd/pools/poolcfg/ |
H A D | poolcfg.y | 146 static void transfer_list_walk(cmd_t *, pool_resource_t *); 149 static void process_min_max(pool_resource_t *); 831 pool_resource_t *resource; in parser_resource_info() 909 pool_resource_t *resource; in parser_resource_create() 976 pool_resource_t *resource; in parser_pset_rename() 1018 pool_resource_t *resource; in parser_resource_destroy() 1068 pool_resource_t *resource; in parser_resource_modify() 1158 pool_resource_t *resource; in parser_resource_xtransfer() 1174 pool_resource_t *src; in parser_resource_transfer() 1175 pool_resource_t *tgt; in parser_resource_transfer() [all …]
|
/titanic_44/usr/src/cmd/pools/poold/libjpool/ |
H A D | jpool.c | 650 pool_resource_t *result; in Java_com_sun_solaris_service_pools_PoolInternal_pool_1get_1resource() 673 pool_resource_t **result; in Java_com_sun_solaris_service_pools_PoolInternal_pool_1query_1resources() 837 pool_resource_t *result; in Java_com_sun_solaris_service_pools_PoolInternal_pool_1resource_1create() 861 (pool_resource_t *)(uintptr_t)jresource)); in Java_com_sun_solaris_service_pools_PoolInternal_pool_1resource_1destroy() 873 (pool_resource_t *)(uintptr_t)jsource, in Java_com_sun_solaris_service_pools_PoolInternal_pool_1resource_1transfer() 874 (pool_resource_t *)(uintptr_t)jtarget, in Java_com_sun_solaris_service_pools_PoolInternal_pool_1resource_1transfer() 938 (pool_resource_t *)(uintptr_t)jsource, in Java_com_sun_solaris_service_pools_PoolInternal_pool_1resource_1xtransfer() 939 (pool_resource_t *)(uintptr_t)jtarget, in Java_com_sun_solaris_service_pools_PoolInternal_pool_1resource_1xtransfer() 1006 (pool_resource_t *)(uintptr_t)jresource, &nelem, props); in Java_com_sun_solaris_service_pools_PoolInternal_pool_1query_1resource_1components() 1022 (pool_resource_t *)(uintptr_t)jresource, (int)jflags); in Java_com_sun_solaris_service_pools_PoolInternal_pool_1resource_1info() [all …]
|
/titanic_44/usr/src/cmd/pools/poolstat/ |
H A D | poolstat.c | 758 static pool_resource_t ** 761 pool_resource_t **resources = NULL; in get_resources() 815 prt_resource_stats_by_type(pool_resource_t **resources, const char *rtype) in prt_resource_stats_by_type() 860 update_resource_stats(pool_resource_t *resource, const char *rtype) in update_resource_stats() 912 pool_resource_t **resources; in prt_pool_stats()
|
H A D | sa_libpool.c | 141 pool_resource_t *pset_reso; in update_pset()
|
/titanic_44/usr/src/cmd/rcm_daemon/common/ |
H A D | pool_rcm.c | 113 pool_check_pset(pool_conf_t *conf, pool_resource_t *res, in pool_check_pset() 211 pool_resource_t **res = NULL; in pset_validate_remove()
|
/titanic_44/usr/src/cmd/zonestat/zonestatd/ |
H A D | zonestatd.c | 1675 pool_resource_t **res_list = NULL; in zsd_get_pool_pset() 1676 pool_resource_t *pset; in zsd_get_pool_pset() 1888 pool_resource_t **res_list = NULL; in zsd_refresh_psets() 1889 pool_resource_t *res; in zsd_refresh_psets() 2045 pool_resource_t **res_list = NULL; in zsd_get_zone_pool_pset()
|
/titanic_44/usr/src/lib/libzonecfg/common/ |
H A D | libzonecfg.c | 4027 pool_resource_t *res; in create_tmp_pset() 4143 get_running_tmp_pset(pool_conf_t *pconf, pool_t *pool, pool_resource_t *pset, in get_running_tmp_pset() 4202 pool_resource_t *pset; in verify_del_tmp_pool() 4273 pool_resource_t *pset; in zonecfg_destroy_tmp_pool()
|