Lines Matching refs:stc
424 diff_and_fix(pool_conf_t *stc, pool_conf_t *dyn) in diff_and_fix() argument
437 if (process_lists(PEC_SYSTEM, stc, dyn, 0) != PO_SUCCESS) { in diff_and_fix()
440 if (process_lists(PEC_POOL, stc, dyn, 0) != PO_SUCCESS) { in diff_and_fix()
443 if (process_lists(PEC_RES_COMP, stc, dyn, 0) != PO_SUCCESS) { in diff_and_fix()
446 if (process_lists(PEC_COMP, stc, dyn, 0) != PO_SUCCESS) { in diff_and_fix()
449 if (process_lists(PEC_POOL, stc, dyn, 1) != PO_SUCCESS) { in diff_and_fix()
460 if (share_resources(stc) != PO_SUCCESS) { in diff_and_fix()
482 process_elem_gt(pool_elem_t *pe, pool_conf_t *stc, pool_conf_t *dyn) in process_elem_gt() argument
509 parent_res = pool_get_resource(stc, restype, resname); in process_elem_gt()
512 parent_res = resource_by_sysid(stc, PS_NONE, restype); in process_elem_gt()
517 if ((newcomp = pool_component_create(stc, parent_res, in process_elem_gt()
533 if ((newpool = pool_create(stc, name)) == NULL) { in process_elem_gt()
544 if ((newres = pool_resource_create(stc, in process_elem_gt()
575 process_lists(int type, pool_conf_t *stc, pool_conf_t *dyn, int pass) in process_lists() argument
582 if ((stc_elems = get_elem_list(stc, type, &stc_nelem)) == NULL) in process_lists()
617 status = process_elem_gt(dyn_elems[j], stc, dyn); in process_lists()
643 status = process_elem_gt(dyn_elems[j], stc, dyn); in process_lists()