rule_data 581 include/crm/pengine/internal.h const pe_rule_eval_data_t *rule_data, rule_data 52 include/crm/pengine/rules.h const pe_rule_eval_data_t *rule_data, GHashTable *hash, rule_data 65 include/crm/pengine/rules.h gboolean pe_eval_rules(xmlNode *ruleset, const pe_rule_eval_data_t *rule_data, rule_data 67 include/crm/pengine/rules.h gboolean pe_eval_expr(xmlNode *rule, const pe_rule_eval_data_t *rule_data, rule_data 69 include/crm/pengine/rules.h gboolean pe_eval_subexpr(xmlNode *expr, const pe_rule_eval_data_t *rule_data, rule_data 23 include/crm/pengine/rules_internal.h const pe_rule_eval_data_t *rule_data); rule_data 25 include/crm/pengine/rules_internal.h const pe_rule_eval_data_t *rule_data, rule_data 28 include/crm/pengine/rules_internal.h const pe_rule_eval_data_t *rule_data); rule_data 30 include/crm/pengine/rules_internal.h const pe_rule_eval_data_t *rule_data); rule_data 32 include/crm/pengine/rules_internal.h const pe_rule_eval_data_t *rule_data); rule_data 32 lib/pacemaker/pcmk_rule.c pe_rule_eval_data_t rule_data = { rule_data 41 lib/pacemaker/pcmk_rule.c return pe__eval_date_expr(expr, &rule_data, NULL); rule_data 116 lib/pengine/complex.c pe_rule_eval_data_t *rule_data, rule_data 130 lib/pengine/complex.c pe__unpack_dataset_nvpairs(p->xml, XML_TAG_META_SETS, rule_data, rule_data 166 lib/pengine/complex.c pe_rule_eval_data_t rule_data = { rule_data 176 lib/pengine/complex.c rule_data.node_hash = node->details->attrs; rule_data 186 lib/pengine/complex.c pe__unpack_dataset_nvpairs(rsc->xml, XML_TAG_META_SETS, &rule_data, rule_data 192 lib/pengine/complex.c expand_parents_fixed_nvpairs(rsc, &rule_data, meta_hash, scheduler); rule_data 197 lib/pengine/complex.c &rule_data, meta_hash, NULL, FALSE, scheduler); rule_data 210 lib/pengine/complex.c pe_rule_eval_data_t rule_data = { rule_data 220 lib/pengine/complex.c rule_data.node_hash = node->details->attrs; rule_data 223 lib/pengine/complex.c pe__unpack_dataset_nvpairs(rsc->xml, XML_TAG_ATTR_SETS, &rule_data, rule_data 233 lib/pengine/complex.c &rule_data, meta_hash, NULL, FALSE, rule_data 613 lib/pengine/complex.c pe_rule_eval_data_t rule_data = { rule_data 627 lib/pengine/complex.c rule_data.now = scheduler->now; rule_data 905 lib/pengine/complex.c pe__unpack_dataset_nvpairs((*rsc)->xml, XML_TAG_UTILIZATION, &rule_data, rule_data 246 lib/pengine/pe_actions.c pe_rule_eval_data_t rule_data = { rule_data 256 lib/pengine/pe_actions.c &rule_data, params, NULL, rule_data 713 lib/pengine/pe_actions.c pe_rule_eval_data_t rule_data = { rule_data 726 lib/pengine/pe_actions.c &rule_data, meta, NULL, FALSE, rsc->cluster); rule_data 753 lib/pengine/pe_actions.c pe__unpack_dataset_nvpairs(action_config, XML_TAG_META_SETS, &rule_data, rule_data 1412 lib/pengine/pe_actions.c pe_rule_eval_data_t rule_data = { rule_data 1433 lib/pengine/pe_actions.c &rule_data, action_meta, NULL, FALSE, rule_data 42 lib/pengine/rules.c pe_rule_eval_data_t rule_data = { rule_data 51 lib/pengine/rules.c return pe_eval_rules(ruleset, &rule_data, next_change); rule_data 59 lib/pengine/rules.c pe_rule_eval_data_t rule_data = { rule_data 68 lib/pengine/rules.c return pe_eval_expr(rule, &rule_data, next_change); rule_data 92 lib/pengine/rules.c pe_rule_eval_data_t rule_data = { rule_data 101 lib/pengine/rules.c return pe_eval_subexpr(expr, &rule_data, next_change); rule_data 417 lib/pengine/rules.c const pe_rule_eval_data_t *rule_data; rule_data 427 lib/pengine/rules.c if (!pe_eval_rules(pair->attr_set, unpack_data->rule_data, rule_data 501 lib/pengine/rules.c const pe_rule_eval_data_t *rule_data, GHashTable *hash, rule_data 513 lib/pengine/rules.c .rule_data = rule_data rule_data 540 lib/pengine/rules.c pe_rule_eval_data_t rule_data = { rule_data 549 lib/pengine/rules.c pe_eval_nvpairs(top, xml_obj, set_name, &rule_data, hash, rule_data 629 lib/pengine/rules.c pe_eval_rules(xmlNode *ruleset, const pe_rule_eval_data_t *rule_data, rule_data 639 lib/pengine/rules.c if (pe_eval_expr(rule, rule_data, next_change)) { rule_data 663 lib/pengine/rules.c pe_eval_expr(xmlNode *rule, const pe_rule_eval_data_t *rule_data, rule_data 684 lib/pengine/rules.c test = pe_eval_subexpr(expr, rule_data, next_change); rule_data 715 lib/pengine/rules.c pe_eval_subexpr(xmlNode *expr, const pe_rule_eval_data_t *rule_data, rule_data 723 lib/pengine/rules.c accept = pe_eval_expr(expr, rule_data, next_change); rule_data 730 lib/pengine/rules.c if (rule_data->node_hash != NULL) { rule_data 731 lib/pengine/rules.c accept = pe__eval_attr_expr(expr, rule_data); rule_data 736 lib/pengine/rules.c switch (pe__eval_date_expr(expr, rule_data, next_change)) { rule_data 749 lib/pengine/rules.c accept = pe__eval_role_expr(expr, rule_data); rule_data 753 lib/pengine/rules.c accept = pe__eval_rsc_expr(expr, rule_data); rule_data 757 lib/pengine/rules.c accept = pe__eval_op_expr(expr, rule_data); rule_data 764 lib/pengine/rules.c if (rule_data->node_hash) { rule_data 765 lib/pengine/rules.c uname = g_hash_table_lookup(rule_data->node_hash, CRM_ATTR_UNAME); rule_data 972 lib/pengine/rules.c pe__eval_attr_expr(const xmlNode *expr, const pe_rule_eval_data_t *rule_data) rule_data 998 lib/pengine/rules.c if (rule_data->match_data != NULL) { rule_data 1000 lib/pengine/rules.c if (rule_data->match_data->re != NULL) { rule_data 1001 lib/pengine/rules.c char *resolved_attr = pe_expand_re_matches(attr, rule_data->match_data->re); rule_data 1010 lib/pengine/rules.c value = expand_value_source(value, value_source, rule_data->match_data); rule_data 1013 lib/pengine/rules.c if (rule_data->node_hash != NULL) { rule_data 1014 lib/pengine/rules.c h_val = (const char *)g_hash_table_lookup(rule_data->node_hash, attr); rule_data 1036 lib/pengine/rules.c pe__eval_date_expr(const xmlNode *expr, const pe_rule_eval_data_t *rule_data, rule_data 1071 lib/pengine/rules.c } else if ((start != NULL) && (crm_time_compare(rule_data->now, start) < 0)) { rule_data 1074 lib/pengine/rules.c } else if ((end != NULL) && (crm_time_compare(rule_data->now, end) > 0)) { rule_data 1086 lib/pengine/rules.c rc = pe_cron_range_satisfied(rule_data->now, date_spec); rule_data 1092 lib/pengine/rules.c } else if (crm_time_compare(rule_data->now, start) > 0) { rule_data 1105 lib/pengine/rules.c } else if (crm_time_compare(rule_data->now, end) < 0) { rule_data 1119 lib/pengine/rules.c pe__eval_op_expr(const xmlNode *expr, const pe_rule_eval_data_t *rule_data) rule_data 1127 lib/pengine/rules.c if (rule_data->op_data == NULL) { rule_data 1138 lib/pengine/rules.c if (interval_s != NULL && interval != rule_data->op_data->interval) { rule_data 1139 lib/pengine/rules.c crm_trace("Interval doesn't match: %d != %d", interval, rule_data->op_data->interval); rule_data 1143 lib/pengine/rules.c if (!pcmk__str_eq(name, rule_data->op_data->op_name, pcmk__str_none)) { rule_data 1144 lib/pengine/rules.c crm_trace("Name doesn't match: %s != %s", name, rule_data->op_data->op_name); rule_data 1161 lib/pengine/rules.c pe__eval_role_expr(const xmlNode *expr, const pe_rule_eval_data_t *rule_data) rule_data 1167 lib/pengine/rules.c if (rule_data->role == pcmk_role_unknown) { rule_data 1175 lib/pengine/rules.c if (rule_data->role > pcmk_role_started) { rule_data 1180 lib/pengine/rules.c if ((rule_data->role > pcmk_role_unknown) rule_data 1181 lib/pengine/rules.c && (rule_data->role < pcmk_role_unpromoted)) { rule_data 1186 lib/pengine/rules.c if (text2role(value) == rule_data->role) { rule_data 1192 lib/pengine/rules.c if ((rule_data->role > pcmk_role_unknown) rule_data 1193 lib/pengine/rules.c && (rule_data->role < pcmk_role_unpromoted)) { rule_data 1196 lib/pengine/rules.c } else if (text2role(value) != rule_data->role) { rule_data 1204 lib/pengine/rules.c pe__eval_rsc_expr(const xmlNode *expr, const pe_rule_eval_data_t *rule_data) rule_data 1212 lib/pengine/rules.c if (rule_data->rsc_data == NULL) { rule_data 1218 lib/pengine/rules.c !pcmk__str_eq(class, rule_data->rsc_data->standard, pcmk__str_none)) { rule_data 1219 lib/pengine/rules.c crm_trace("Class doesn't match: %s != %s", class, rule_data->rsc_data->standard); rule_data 1223 lib/pengine/rules.c if ((provider == NULL && rule_data->rsc_data->provider != NULL) || rule_data 1224 lib/pengine/rules.c (provider != NULL && rule_data->rsc_data->provider == NULL) || rule_data 1225 lib/pengine/rules.c !pcmk__str_eq(provider, rule_data->rsc_data->provider, pcmk__str_none)) { rule_data 1226 lib/pengine/rules.c crm_trace("Provider doesn't match: %s != %s", provider, rule_data->rsc_data->provider); rule_data 1231 lib/pengine/rules.c !pcmk__str_eq(type, rule_data->rsc_data->agent, pcmk__str_none)) { rule_data 1232 lib/pengine/rules.c crm_trace("Agent doesn't match: %s != %s", type, rule_data->rsc_data->agent); rule_data 1305 lib/pengine/rules.c pe_rule_eval_data_t rule_data = { rule_data 1314 lib/pengine/rules.c pe_eval_nvpairs(top, xml_obj, set_name, &rule_data, hash, always_first, rule_data 217 lib/pengine/unpack.c pe_rule_eval_data_t rule_data = { rule_data 228 lib/pengine/unpack.c pe__unpack_dataset_nvpairs(config, XML_CIB_TAG_PROPSET, &rule_data, config_hash, rule_data 4892 lib/pengine/unpack.c pe_rule_eval_data_t rule_data = { rule_data 4922 lib/pengine/unpack.c pe__unpack_dataset_nvpairs(xml_obj, XML_TAG_ATTR_SETS, &rule_data, rule_data 4926 lib/pengine/unpack.c pe__unpack_dataset_nvpairs(xml_obj, XML_TAG_UTILIZATION, &rule_data, rule_data 708 lib/pengine/utils.c const pe_rule_eval_data_t *rule_data, rule_data 714 lib/pengine/utils.c pe_eval_nvpairs(scheduler->input, xml_obj, set_name, rule_data, hash,