rule_xml 89 lib/common/tests/rules/pcmk_evaluate_rule_test.c xmlNode *rule_xml = pcmk__xe_create(parent_xml, PCMK_XE_RULE); rule_xml 92 lib/common/tests/rules/pcmk_evaluate_rule_test.c crm_xml_add(rule_xml, PCMK_XA_ID_REF, "r"); rule_xml 93 lib/common/tests/rules/pcmk_evaluate_rule_test.c assert_int_equal(pcmk_evaluate_rule(rule_xml, &rule_input, next_change), rule_xml 104 lib/common/tests/rules/pcmk_evaluate_rule_test.c xmlNode *rule_xml = pcmk__xe_create(parent_xml, PCMK_XE_RULE); rule_xml 107 lib/common/tests/rules/pcmk_evaluate_rule_test.c crm_xml_add(rule_xml, PCMK_XA_ID_REF, "x"); rule_xml 108 lib/common/tests/rules/pcmk_evaluate_rule_test.c assert_int_equal(pcmk_evaluate_rule(rule_xml, &rule_input, next_change), rule_xml 111 lib/pacemaker/pcmk_sched_location.c generate_location_rule(pcmk_resource_t *rsc, xmlNode *rule_xml, rule_xml 129 lib/pacemaker/pcmk_sched_location.c rule_xml = expand_idref(rule_xml, rsc->cluster->input); rule_xml 130 lib/pacemaker/pcmk_sched_location.c if (rule_xml == NULL) { rule_xml 134 lib/pacemaker/pcmk_sched_location.c rule_id = crm_element_value(rule_xml, PCMK_XA_ID); rule_xml 141 lib/pacemaker/pcmk_sched_location.c boolean = crm_element_value(rule_xml, PCMK_XA_BOOLEAN_OP); rule_xml 142 lib/pacemaker/pcmk_sched_location.c role_spec = crm_element_value(rule_xml, PCMK_XA_ROLE); rule_xml 154 lib/pacemaker/pcmk_sched_location.c score = crm_element_value(rule_xml, PCMK_XA_SCORE); rule_xml 156 lib/pacemaker/pcmk_sched_location.c score = crm_element_value(rule_xml, PCMK_XA_SCORE_ATTRIBUTE); rule_xml 204 lib/pacemaker/pcmk_sched_location.c if (pcmk_evaluate_rule(rule_xml, rule_input, rule_xml 305 lib/pacemaker/pcmk_sched_location.c for (xmlNode *rule_xml = pcmk__xe_first_child(xml_obj, PCMK_XE_RULE, rule_xml 307 lib/pacemaker/pcmk_sched_location.c rule_xml != NULL; rule_xml = pcmk__xe_next_same(rule_xml)) { rule_xml 309 lib/pacemaker/pcmk_sched_location.c if (generate_location_rule(rsc, rule_xml, discovery, next_change,