Home
last modified time | relevance | path

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

/titanic_41/usr/src/lib/libpool/common/
H A Dpool.h142 typedef struct pool_value pool_value_t; typedef
177 pool_value_t **);
181 pool_value_t **);
183 pool_value_t **);
196 const pool_resource_t *, uint_t *, pool_value_t **);
207 const pool_t *, uint_t *, pool_value_t **);
217 const pool_elem_t *, const char *, pool_value_t *);
219 const pool_value_t *);
228 int (*)(pool_conf_t *, pool_elem_t *, const char *, pool_value_t *,
241 extern int pool_value_get_uint64(const pool_value_t *, uint64_t *);
[all …]
H A Dpool_value.c67 pool_value_get_uint64(const pool_value_t *pv, uint64_t *result) in pool_value_get_uint64()
82 pool_value_get_int64(const pool_value_t *pv, int64_t *result) in pool_value_get_int64()
98 pool_value_get_double(const pool_value_t *pv, double *result) in pool_value_get_double()
113 pool_value_get_bool(const pool_value_t *pv, uchar_t *result) in pool_value_get_bool()
128 pool_value_get_string(const pool_value_t *pv, const char **result) in pool_value_get_string()
143 pool_value_get_type(const pool_value_t *pv) in pool_value_get_type()
153 pool_value_set_uint64(pool_value_t *pv, uint64_t val) in pool_value_set_uint64()
166 pool_value_set_int64(pool_value_t *pv, int64_t val) in pool_value_set_int64()
180 pool_value_set_double(pool_value_t *pv, double val) in pool_value_set_double()
193 pool_value_set_bool(pool_value_t *pv, uchar_t val) in pool_value_set_bool()
[all …]
H A Dpool_internal.h165 int (*ppo_get_value)(const pool_elem_t *, pool_value_t *);
166 int (*ppo_set_value)(pool_elem_t *, const pool_value_t *);
181 pool_value_t pp_value;
343 extern int pool_value_equal(pool_value_t *, pool_value_t *);
344 extern int pool_value_from_nvpair(pool_value_t *, nvpair_t *);
364 const pool_value_t *);
366 const pool_value_t *);
368 const pool_value_t *);
370 const char *, pool_value_t *);
373 pool_value_t *, void *), int);
[all …]
H A Dpool_internal.c113 static int elem_no_set(pool_elem_t *, const pool_value_t *);
114 static int elem_set_name(pool_elem_t *, const pool_value_t *);
115 static int elem_get_type(const pool_elem_t *, pool_value_t *);
116 static int elem_set_string(pool_elem_t *, const pool_value_t *);
117 static int elem_set_bool(pool_elem_t *, const pool_value_t *);
118 static int elem_set_uint(pool_elem_t *, const pool_value_t *);
120 static int system_set_allocate(pool_elem_t *, const pool_value_t *);
122 static int pool_set_scheduler(pool_elem_t *, const pool_value_t *);
123 static int pool_set_active(pool_elem_t *, const pool_value_t *);
125 static int res_set_max(pool_elem_t *, const pool_value_t *);
[all …]
H A Dpool_impl.h97 pool_value_t *);
98 int (*pe_put_prop)(pool_elem_t *, const char *, const pool_value_t *);
100 pool_value_t **(*pe_get_props)(const pool_elem_t *, uint_t *);
210 pool_value_t **);
277 const pool_elem_t *, const char *, pool_elem_class_t, pool_value_t **);
H A Dpool.c142 pool_value_t *, void *);
146 static void free_value_list(int, pool_value_t **);
265 pool_value_t *pval, void *user) in prop_buf_build_cb()
336 pool_value_t val = POOL_VALUE_INITIALIZER; in pool_base_info()
857 const char *name, pool_value_t *val) in pool_get_property()
892 pool_get_ns_property(const pool_elem_t *pe, const char *name, pool_value_t *val) in pool_get_ns_property()
917 const pool_value_t *val) in pool_put_property()
938 pool_value_t *pv = pool_value_alloc(); in pool_put_property()
985 pool_value_t *val; in pool_set_temporary()
1024 const pool_value_t *val) in pool_put_ns_property()
[all …]
H A Dpool_xml.c164 pool_elem_class_t, pool_value_t **, char_buf_t *, int);
180 pool_elem_class_t classes, pool_value_t **props);
227 const char *, pool_value_t *);
229 const pool_value_t *);
237 pool_value_t *value);
239 const pool_value_t *value);
241 pool_value_t *value);
243 const pool_value_t *value);
244 static pool_value_t **pool_xml_get_properties(const pool_elem_t *, uint_t *);
287 pool_value_t val = POOL_VALUE_INITIALIZER; in get_unique_id()
[all …]
H A Dpool_commit.c136 const char *, pool_value_t *, void *);
138 const char *, pool_value_t *, void *);
153 pool_value_t val = POOL_VALUE_INITIALIZER; in commit_create()
329 pool_value_t val = POOL_VALUE_INITIALIZER; in commit_update()
380 pool_value_t val = POOL_VALUE_INITIALIZER; in commit_update()
381 pool_value_t *pvals[] = { NULL, NULL }; in commit_update()
487 pool_value_t val = POOL_VALUE_INITIALIZER; in process_elem_gt()
724 pool_value_t *props[] = { NULL, NULL }; in share_resources()
725 pool_value_t val = POOL_VALUE_INITIALIZER; in share_resources()
776 pool_value_t val = POOL_VALUE_INITIALIZER; in resource_allocate()
[all …]
H A Dpool_kernel.c95 pool_value_t **props;
173 pool_value_t pru_oldval;
186 extern int pool_xml_set_attr(xmlNodePtr, xmlChar *, const pool_value_t *);
187 extern int pool_xml_set_prop(xmlNodePtr, xmlChar *, const pool_value_t *);
198 const pool_value_t *);
204 const pool_value_t *);
224 const pool_elem_t *, const char *, pool_elem_class_t, pool_value_t **);
276 const char *, pool_value_t *);
278 const char *, pool_value_t *);
280 const pool_value_t *);
[all …]
H A Dpool_xml_impl.h176 pool_elem_class_t, pool_value_t **);
H A Dpool_kernel_impl.h154 pool_elem_class_t, pool_value_t **);
/titanic_41/usr/src/cmd/pools/poold/libjpool/
H A Djpool.c50 pool_value_t *, void *);
583 pool_value_t **props; in Java_com_sun_solaris_service_pools_PoolInternal_pool_1query_1pools()
610 if ((props = calloc(size + 1, sizeof (pool_value_t *))) in Java_com_sun_solaris_service_pools_PoolInternal_pool_1query_1pools()
631 props[i] = (pool_value_t *)(uintptr_t)this; in Java_com_sun_solaris_service_pools_PoolInternal_pool_1query_1pools()
672 pool_value_t **props; in Java_com_sun_solaris_service_pools_PoolInternal_pool_1query_1resources()
697 if ((props = calloc(size + 1, sizeof (pool_value_t *))) in Java_com_sun_solaris_service_pools_PoolInternal_pool_1query_1resources()
719 props[i] = (pool_value_t *)(uintptr_t)this; in Java_com_sun_solaris_service_pools_PoolInternal_pool_1query_1resources()
736 pool_value_t **props; in Java_com_sun_solaris_service_pools_PoolInternal_pool_1query_1components()
762 if ((props = calloc(size + 1, sizeof (pool_value_t *))) in Java_com_sun_solaris_service_pools_PoolInternal_pool_1query_1components()
783 props[i] = (pool_value_t *)(uintptr_t)this; in Java_com_sun_solaris_service_pools_PoolInternal_pool_1query_1components()
[all …]
/titanic_41/usr/src/cmd/pools/poolstat/
H A Dpoolstat.c739 static pool_value_t *
742 pool_value_t *pval; in create_pool_value()
763 pool_value_t *pvals[] = { NULL, NULL, NULL}; in get_resources()
764 pool_value_t *pv_sys_id; in get_resources()
765 pool_value_t *pv_name; in get_resources()
820 pool_value_t *pv_name; in prt_resource_stats_by_type()
864 pool_value_t *pv_name; in update_resource_stats()
908 pool_value_t *pvals[] = { NULL, NULL }; in prt_pool_stats()
909 pool_value_t *pv_name = NULL; in prt_pool_stats()
910 pool_value_t *pv_sys_id = NULL; in prt_pool_stats()
H A Dsa_libpool.c44 (pool_conf_t *, pool_elem_t *, const char *, pool_value_t *, void *);
111 const char *name, pool_value_t *pval, userdata_cb_t *ud) in populate_userdata_cb()
/titanic_41/usr/src/cmd/pools/poolcfg/
H A Dpoolcfg.h53 pool_value_t *prop_value;
H A Dpoolcfg.y781 pool_value_t *pv = NULL; in parser_conf_info()
934 pool_value_t *pv; in parser_rename()
1323 pool_value_t *pv; in check_conf_name()
1480 pool_value_t *vals[3] = {NULL}; in get_cpu()
1568 pool_value_t *pv; in process_min_max()
/titanic_41/usr/src/cmd/rcm_daemon/common/
H A Dpool_rcm.c123 pool_value_t *pval; in pool_check_pset()
210 pool_value_t *pvals[] = { NULL, NULL }; in pset_validate_remove()
/titanic_41/usr/src/cmd/pools/pooladm/
H A Dpooladm.c75 pool_value_t *pv; in config_print()
/titanic_41/usr/src/cmd/pools/poold/
H A Dpoold.c292 pool_value_t *val; in handle_sig()
/titanic_41/usr/src/lib/libproject/common/
H A Dsetproject.c467 pool_value_t *pvals[] = { NULL, NULL }; in bind_to_pool()
/titanic_41/usr/src/cmd/zonestat/zonestatd/
H A Dzonestatd.c439 pool_value_t *zsctl_pool_vals[3];
1674 pool_value_t **vals = ctl->zsctl_pool_vals; in zsd_get_pool_pset()
1887 pool_value_t *pv_save = NULL; in zsd_refresh_psets()
1890 pool_value_t **vals; in zsd_refresh_psets()
2049 pool_value_t *pv_save = NULL; in zsd_get_zone_pool_pset()
2050 pool_value_t **vals = ctl->zsctl_pool_vals; in zsd_get_zone_pool_pset()
/titanic_41/usr/src/lib/libzonecfg/common/
H A Dlibzonecfg.c4029 pool_value_t *val; in create_tmp_pset()
4085 pool_value_t *val; in create_tmp_pool()
4148 pool_value_t *pv = pool_value_alloc(); in get_running_tmp_pset()
4576 pool_value_t *pv = pool_value_alloc(); in get_pool_sched_class()