Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libpool/common/
H A Dpool.h151 typedef struct pool_conf pool_conf_t; typedef
160 extern pool_conf_t *pool_conf_alloc(void);
161 extern void pool_conf_free(pool_conf_t *);
162 extern pool_conf_state_t pool_conf_status(const pool_conf_t *);
164 extern int pool_conf_close(pool_conf_t *);
165 extern int pool_conf_remove(pool_conf_t *);
166 extern int pool_conf_open(pool_conf_t *, const char *, int);
167 extern int pool_conf_rollback(pool_conf_t *);
168 extern int pool_conf_commit(pool_conf_t *, int);
169 extern int pool_conf_export(const pool_conf_t *, const char *,
[all …]
H A Dpool_impl.h89 pool_conf_t *pe_conf; /* Configuration */
166 pool_conf_t *prs_conf; /* Configuration */
200 int (*pc_close)(pool_conf_t *);
201 int (*pc_validate)(const pool_conf_t *, pool_valid_level_t);
202 int (*pc_commit)(pool_conf_t *);
203 int (*pc_export)(const pool_conf_t *, const char *,
205 int (*pc_rollback)(pool_conf_t *);
206 pool_result_set_t *(*pc_exec_query)(const pool_conf_t *,
209 pool_elem_t *(*pc_elem_create)(pool_conf_t *, pool_elem_class_t,
211 int (*pc_remove)(pool_conf_t *);
[all …]
H A Dpool_xml_impl.h123 const pool_conf_t *prs_conf; /* Configuration */
166 int (*pc_close)(pool_conf_t *);
167 int (*pc_validate)(const pool_conf_t *, pool_valid_level_t);
168 int (*pc_commit)(pool_conf_t *);
169 int (*pc_export)(const pool_conf_t *, const char *,
171 int (*pc_rollback)(pool_conf_t *);
172 pool_result_set_t *(*pc_exec_query)(const pool_conf_t *,
175 pool_elem_t *(*pc_elem_create)(pool_conf_t *, pool_elem_class_t,
177 int (*pc_remove)(pool_conf_t *);
181 char *(*pc_get_binding)(pool_conf_t *, pid_t);
[all …]
H A Dpool_kernel_impl.h116 const pool_conf_t *prs_conf; /* Configuration */
144 int (*pc_close)(pool_conf_t *);
145 int (*pc_validate)(const pool_conf_t *, pool_valid_level_t);
146 int (*pc_commit)(pool_conf_t *);
147 int (*pc_export)(const pool_conf_t *, const char *,
149 int (*pc_rollback)(pool_conf_t *);
150 pool_result_set_t *(*pc_exec_query)(const pool_conf_t *,
153 pool_elem_t *(*pc_elem_create)(pool_conf_t *, pool_elem_class_t,
155 int (*pc_remove)(pool_conf_t *);
159 char *(*pc_get_binding)(pool_conf_t *, pid_t);
[all …]
H A Dpool_internal.h230 pool_conf_t *l_conf; /* Configuration for this log */
271 extern int pool_conf_commit_sys(pool_conf_t *, int);
276 extern int pool_xml_connection_alloc(pool_conf_t *, int);
277 extern int pool_knl_connection_alloc(pool_conf_t *, int);
282 extern pool_component_t *pool_component_create(pool_conf_t *,
369 extern int pool_walk_any_properties(pool_conf_t *, pool_elem_t *,
370 void *, int (*)(pool_conf_t *, pool_elem_t *, const char *,
372 extern int pool_set_temporary(pool_conf_t *, pool_elem_t *);
389 extern int conf_is_dynamic(const pool_conf_t *);
394 extern int pool_knl_update(pool_conf_t *, int *);
[all …]
H A Dpool.c139 static int prop_buf_build_cb(pool_conf_t *, pool_elem_t *, const char *,
143 static int pool_conf_check(const pool_conf_t *);
145 static int setup_transfer(pool_conf_t *, pool_resource_t *, pool_resource_t *,
173 pool_conf_status(const pool_conf_t *conf) in pool_conf_status()
184 pool_conf_t *conf; in pool_set_binding()
210 pool_conf_t *conf; in pool_get_resource_binding()
242 pool_conf_t *conf; in pool_get_binding()
262 prop_buf_build_cb(pool_conf_t *UNUSED, pool_elem_t *pe, const char *name, in prop_buf_build_cb()
337 pool_conf_t *conf = TO_CONF(pe); in pool_base_info()
499 pool_info(const pool_conf_t *conf, const pool_t *pool, int deep) in pool_info()
[all …]
H A Dpool_commit.c107 static int commit_create(pool_conf_t *, pool_elem_t **);
114 static int diff_and_fix(pool_conf_t *, pool_conf_t *);
115 static int process_elem_lt(pool_elem_t *, pool_conf_t *);
116 static int process_elem_gt(pool_elem_t *, pool_conf_t *,
117 pool_conf_t *);
118 static int process_lists(int, pool_conf_t *,
119 pool_conf_t *, int);
120 static pool_elem_t **get_elem_list(const pool_conf_t *, int, uint_t *);
121 static int share_resources(pool_conf_t *);
129 static int set_importance_cb(pool_conf_t *, pool_t *, void *);
[all …]
H A Dpool_xml.c151 static int pool_xml_free_doc(pool_conf_t *conf);
172 static int pool_xml_close(pool_conf_t *);
173 static int pool_xml_validate(const pool_conf_t *, pool_valid_level_t);
174 static int pool_xml_commit(pool_conf_t *conf);
175 static int pool_xml_export(const pool_conf_t *conf, const char *location,
177 static int pool_xml_rollback(pool_conf_t *conf);
178 static pool_result_set_t *pool_xml_exec_query(const pool_conf_t *conf,
181 static int pool_xml_remove(pool_conf_t *conf);
191 static pool_xml_result_set_t *pool_xml_result_set_alloc(const pool_conf_t *);
203 static void pool_xml_elem_init(pool_conf_t *conf, pool_xml_elem_t *elem,
[all …]
H A Dpool_kernel.c92 const pool_conf_t *conf;
195 static int load_group(pool_conf_t *, pool_knl_elem_t *, ea_object_t *,
206 static int pool_knl_recover(pool_conf_t *);
218 static int pool_knl_close(pool_conf_t *);
219 static int pool_knl_validate(const pool_conf_t *, pool_valid_level_t);
220 static int pool_knl_commit(pool_conf_t *);
221 static int pool_knl_export(const pool_conf_t *, const char *,
223 static int pool_knl_rollback(pool_conf_t *);
224 static pool_result_set_t *pool_knl_exec_query(const pool_conf_t *,
226 static int pool_knl_remove(pool_conf_t *);
[all …]
H A Dpool_internal.c727 conf_is_dynamic(const pool_conf_t *conf) in conf_is_dynamic()
1296 resource_by_sysid(const pool_conf_t *conf, id_t sysid, const char *type) in resource_by_sysid()
1412 pool_conf_system(const pool_conf_t *conf) in pool_conf_system()
1659 pool_validate_resource(const pool_conf_t *conf, const char *type, in pool_validate_resource()
1662 pool_conf_t *dyn; in pool_validate_resource()
1712 dyn = (pool_conf_t *)conf; in pool_validate_resource()
1792 log_alloc(pool_conf_t *conf) in log_alloc()
/illumos-gate/usr/src/cmd/pools/poold/libjpool/
H A Djpool.c47 static int pool_property_walker(pool_conf_t *, pool_elem_t *p, const char *,
456 pool_conf_free((pool_conf_t *)(uintptr_t)jconf); in Java_com_sun_solaris_service_pools_PoolInternal_pool_1conf_1free()
467 return ((jint)pool_conf_status((pool_conf_t *)(uintptr_t)jconf)); in Java_com_sun_solaris_service_pools_PoolInternal_pool_1conf_1status()
478 return ((jint)pool_conf_close((pool_conf_t *)(uintptr_t)jconf)); in Java_com_sun_solaris_service_pools_PoolInternal_pool_1conf_1close()
489 return ((jint)pool_conf_remove((pool_conf_t *)(uintptr_t)jconf)); in Java_com_sun_solaris_service_pools_PoolInternal_pool_1conf_1remove()
505 result = (int)pool_conf_open((pool_conf_t *)(uintptr_t)jconf, location, in Java_com_sun_solaris_service_pools_PoolInternal_pool_1conf_1open()
521 return ((jint)pool_conf_rollback((pool_conf_t *)(uintptr_t)jconf)); in Java_com_sun_solaris_service_pools_PoolInternal_pool_1conf_1rollback()
533 (pool_conf_t *)(uintptr_t)jconf, (int)jactive)); in Java_com_sun_solaris_service_pools_PoolInternal_pool_1conf_1commit()
549 result = (int)pool_conf_export((pool_conf_t *)(uintptr_t)jconf, in Java_com_sun_solaris_service_pools_PoolInternal_pool_1conf_1export()
565 return ((jint)pool_conf_validate((pool_conf_t *)(uintptr_t)jconf, in Java_com_sun_solaris_service_pools_PoolInternal_pool_1conf_1validate()
[all …]
/illumos-gate/usr/src/cmd/pools/pooladm/
H A Dpooladm.c70 config_print(pool_conf_t *conf) in config_print()
97 config_destroy(pool_conf_t *conf) in config_destroy()
107 config_commit(pool_conf_t *conf, const char *static_conf_name) in config_commit()
135 pool_conf_t *conf = NULL; in main()
/illumos-gate/usr/src/cmd/pools/poolstat/
H A Dsa_libpool.c42 (pool_conf_t *, pool_elem_t *, const char *, pool_value_t *, void *);
50 static pool_conf_t *conf;
108 populate_userdata_cb(pool_conf_t *unused1, pool_elem_t *unused2, in populate_userdata_cb()
H A Dpoolstat.c140 static pool_conf_t *conf;
/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A Dpool_rcm.c113 pool_check_pset(pool_conf_t *conf, pool_resource_t *res, in pool_check_pset()
209 pool_conf_t *conf; in pset_validate_remove()
/illumos-gate/usr/src/cmd/pools/poold/
H A Dpoold.c278 pool_conf_t *conf = NULL; in handle_sig()
/illumos-gate/usr/src/lib/libproject/common/
H A Dsetproject.c471 pool_conf_t *conf; in bind_to_pool()
/illumos-gate/usr/src/lib/libzonecfg/common/
H A Dlibzonecfg.c4187 create_tmp_pset(char *pool_err, int err_size, pool_conf_t *pconf, pool_t *pool, in create_tmp_pset()
4228 create_tmp_pool(char *pool_err, int err_size, pool_conf_t *pconf, char *name, in create_tmp_pool()
4306 get_running_tmp_pset(pool_conf_t *pconf, pool_t *pool, pool_resource_t *pset, in get_running_tmp_pset()
4360 verify_del_tmp_pool(pool_conf_t *pconf, char *tmp_name, char *pool_err, in verify_del_tmp_pool()
4434 pool_conf_t *pconf; in zonecfg_destroy_tmp_pool()
4507 pool_conf_t *pconf; in zonecfg_bind_tmp_pool()
4573 pool_conf_t *poolconf; in zonecfg_bind_pool()
4736 pool_conf_t *poolconf; in get_pool_sched_class()
/illumos-gate/usr/src/cmd/zonestat/zonestatd/
H A Dzonestatd.c398 pool_conf_t *zsctl_pool_conf;
1671 pool_conf_t *conf = ctl->zsctl_pool_conf; in zsd_get_pool_pset()
1889 pool_conf_t *conf; in zsd_refresh_psets()
2046 pool_conf_t *conf = ctl->zsctl_pool_conf; in zsd_get_zone_pool_pset()
/illumos-gate/usr/src/cmd/pools/poolcfg/
H A Dpoolcfg.y126 static pool_conf_t *conf = NULL; /* Config to be processed */
/illumos-gate/usr/src/cmd/zoneadm/
H A Dzoneadm.c2145 pool_conf_t *poolconf; in verify_pool()
/illumos-gate/usr/src/lib/libdladm/common/
H A Dlinkprop.c2200 pool_conf_t *poolconf; in check_pool()