rule_data 606 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 31 lib/pacemaker/pcmk_rule.c pe_rule_eval_data_t rule_data = { rule_data 40 lib/pacemaker/pcmk_rule.c return pe__eval_date_expr(expr, &rule_data, NULL); rule_data 109 lib/pengine/complex.c expand_parents_fixed_nvpairs(pe_resource_t * rsc, pe_rule_eval_data_t * rule_data, GHashTable * meta_hash, pe_working_set_t * data_set) rule_data 123 lib/pengine/complex.c rule_data, parent_orig_meta, NULL, FALSE, data_set); rule_data 158 lib/pengine/complex.c pe_rule_eval_data_t rule_data = { rule_data 168 lib/pengine/complex.c rule_data.node_hash = node->details->attrs; rule_data 178 lib/pengine/complex.c pe__unpack_dataset_nvpairs(rsc->xml, XML_TAG_META_SETS, &rule_data, rule_data 184 lib/pengine/complex.c expand_parents_fixed_nvpairs(rsc, &rule_data, meta_hash, data_set); rule_data 189 lib/pengine/complex.c &rule_data, meta_hash, NULL, FALSE, data_set); rule_data 202 lib/pengine/complex.c pe_rule_eval_data_t rule_data = { rule_data 212 lib/pengine/complex.c rule_data.node_hash = node->details->attrs; rule_data 215 lib/pengine/complex.c pe__unpack_dataset_nvpairs(rsc->xml, XML_TAG_ATTR_SETS, &rule_data, rule_data 225 lib/pengine/complex.c &rule_data, meta_hash, NULL, FALSE, data_set); rule_data 600 lib/pengine/complex.c pe_rule_eval_data_t rule_data = { rule_data 614 lib/pengine/complex.c rule_data.now = data_set->now; rule_data 891 lib/pengine/complex.c pe__unpack_dataset_nvpairs((*rsc)->xml, XML_TAG_UTILIZATION, &rule_data, rule_data 237 lib/pengine/pe_actions.c pe_rule_eval_data_t rule_data = { rule_data 248 lib/pengine/pe_actions.c &rule_data, action->extra, NULL, rule_data 655 lib/pengine/pe_actions.c pe_rule_eval_data_t rule_data = { rule_data 669 lib/pengine/pe_actions.c pe__unpack_dataset_nvpairs(data_set->op_defaults, XML_TAG_META_SETS, &rule_data, rule_data 691 lib/pengine/pe_actions.c pe__unpack_dataset_nvpairs(xml_obj, XML_TAG_META_SETS, &rule_data, rule_data 1225 lib/pengine/pe_actions.c pe_rule_eval_data_t rule_data = { rule_data 1246 lib/pengine/pe_actions.c &rule_data, action_meta, NULL, FALSE, data_set); 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 415 lib/pengine/rules.c const pe_rule_eval_data_t *rule_data; rule_data 425 lib/pengine/rules.c if (!pe_eval_rules(pair->attr_set, unpack_data->rule_data, rule_data 498 lib/pengine/rules.c const pe_rule_eval_data_t *rule_data, GHashTable *hash, rule_data 510 lib/pengine/rules.c .rule_data = rule_data rule_data 537 lib/pengine/rules.c pe_rule_eval_data_t rule_data = { rule_data 546 lib/pengine/rules.c pe_eval_nvpairs(top, xml_obj, set_name, &rule_data, hash, rule_data 626 lib/pengine/rules.c pe_eval_rules(xmlNode *ruleset, const pe_rule_eval_data_t *rule_data, rule_data 636 lib/pengine/rules.c if (pe_eval_expr(rule, rule_data, next_change)) { rule_data 660 lib/pengine/rules.c pe_eval_expr(xmlNode *rule, const pe_rule_eval_data_t *rule_data, rule_data 681 lib/pengine/rules.c test = pe_eval_subexpr(expr, rule_data, next_change); rule_data 712 lib/pengine/rules.c pe_eval_subexpr(xmlNode *expr, const pe_rule_eval_data_t *rule_data, rule_data 720 lib/pengine/rules.c accept = pe_eval_expr(expr, rule_data, next_change); rule_data 727 lib/pengine/rules.c if (rule_data->node_hash != NULL) { rule_data 728 lib/pengine/rules.c accept = pe__eval_attr_expr(expr, rule_data); rule_data 733 lib/pengine/rules.c switch (pe__eval_date_expr(expr, rule_data, next_change)) { rule_data 746 lib/pengine/rules.c accept = pe__eval_role_expr(expr, rule_data); rule_data 750 lib/pengine/rules.c accept = pe__eval_rsc_expr(expr, rule_data); rule_data 754 lib/pengine/rules.c accept = pe__eval_op_expr(expr, rule_data); rule_data 761 lib/pengine/rules.c if (rule_data->node_hash) { rule_data 762 lib/pengine/rules.c uname = g_hash_table_lookup(rule_data->node_hash, CRM_ATTR_UNAME); rule_data 969 lib/pengine/rules.c pe__eval_attr_expr(const xmlNode *expr, const pe_rule_eval_data_t *rule_data) rule_data 995 lib/pengine/rules.c if (rule_data->match_data != NULL) { rule_data 997 lib/pengine/rules.c if (rule_data->match_data->re != NULL) { rule_data 998 lib/pengine/rules.c char *resolved_attr = pe_expand_re_matches(attr, rule_data->match_data->re); rule_data 1007 lib/pengine/rules.c value = expand_value_source(value, value_source, rule_data->match_data); rule_data 1010 lib/pengine/rules.c if (rule_data->node_hash != NULL) { rule_data 1011 lib/pengine/rules.c h_val = (const char *)g_hash_table_lookup(rule_data->node_hash, attr); rule_data 1033 lib/pengine/rules.c pe__eval_date_expr(const xmlNode *expr, const pe_rule_eval_data_t *rule_data, rule_data 1068 lib/pengine/rules.c } else if ((start != NULL) && (crm_time_compare(rule_data->now, start) < 0)) { rule_data 1071 lib/pengine/rules.c } else if ((end != NULL) && (crm_time_compare(rule_data->now, end) > 0)) { rule_data 1083 lib/pengine/rules.c rc = pe_cron_range_satisfied(rule_data->now, date_spec); rule_data 1089 lib/pengine/rules.c } else if (crm_time_compare(rule_data->now, start) > 0) { rule_data 1102 lib/pengine/rules.c } else if (crm_time_compare(rule_data->now, end) < 0) { rule_data 1116 lib/pengine/rules.c pe__eval_op_expr(const xmlNode *expr, const pe_rule_eval_data_t *rule_data) rule_data 1124 lib/pengine/rules.c if (rule_data->op_data == NULL) { rule_data 1135 lib/pengine/rules.c if (interval_s != NULL && interval != rule_data->op_data->interval) { rule_data 1136 lib/pengine/rules.c crm_trace("Interval doesn't match: %d != %d", interval, rule_data->op_data->interval); rule_data 1140 lib/pengine/rules.c if (!pcmk__str_eq(name, rule_data->op_data->op_name, pcmk__str_none)) { rule_data 1141 lib/pengine/rules.c crm_trace("Name doesn't match: %s != %s", name, rule_data->op_data->op_name); rule_data 1158 lib/pengine/rules.c pe__eval_role_expr(const xmlNode *expr, const pe_rule_eval_data_t *rule_data) rule_data 1164 lib/pengine/rules.c if (rule_data->role == RSC_ROLE_UNKNOWN) { rule_data 1172 lib/pengine/rules.c if (rule_data->role > RSC_ROLE_STARTED) { rule_data 1177 lib/pengine/rules.c if ((rule_data->role > RSC_ROLE_UNKNOWN) rule_data 1178 lib/pengine/rules.c && (rule_data->role < RSC_ROLE_UNPROMOTED)) { rule_data 1183 lib/pengine/rules.c if (text2role(value) == rule_data->role) { rule_data 1189 lib/pengine/rules.c if ((rule_data->role > RSC_ROLE_UNKNOWN) rule_data 1190 lib/pengine/rules.c && (rule_data->role < RSC_ROLE_UNPROMOTED)) { rule_data 1193 lib/pengine/rules.c } else if (text2role(value) != rule_data->role) { rule_data 1201 lib/pengine/rules.c pe__eval_rsc_expr(const xmlNode *expr, const pe_rule_eval_data_t *rule_data) rule_data 1209 lib/pengine/rules.c if (rule_data->rsc_data == NULL) { rule_data 1215 lib/pengine/rules.c !pcmk__str_eq(class, rule_data->rsc_data->standard, pcmk__str_none)) { rule_data 1216 lib/pengine/rules.c crm_trace("Class doesn't match: %s != %s", class, rule_data->rsc_data->standard); rule_data 1220 lib/pengine/rules.c if ((provider == NULL && rule_data->rsc_data->provider != NULL) || rule_data 1221 lib/pengine/rules.c (provider != NULL && rule_data->rsc_data->provider == NULL) || rule_data 1222 lib/pengine/rules.c !pcmk__str_eq(provider, rule_data->rsc_data->provider, pcmk__str_none)) { rule_data 1223 lib/pengine/rules.c crm_trace("Provider doesn't match: %s != %s", provider, rule_data->rsc_data->provider); rule_data 1228 lib/pengine/rules.c !pcmk__str_eq(type, rule_data->rsc_data->agent, pcmk__str_none)) { rule_data 1229 lib/pengine/rules.c crm_trace("Agent doesn't match: %s != %s", type, rule_data->rsc_data->agent); rule_data 1302 lib/pengine/rules.c pe_rule_eval_data_t rule_data = { rule_data 1311 lib/pengine/rules.c pe_eval_nvpairs(top, xml_obj, set_name, &rule_data, hash, always_first, rule_data 219 lib/pengine/unpack.c pe_rule_eval_data_t rule_data = { rule_data 230 lib/pengine/unpack.c pe__unpack_dataset_nvpairs(config, XML_CIB_TAG_PROPSET, &rule_data, config_hash, rule_data 4643 lib/pengine/unpack.c pe_rule_eval_data_t rule_data = { rule_data 4673 lib/pengine/unpack.c pe__unpack_dataset_nvpairs(xml_obj, XML_TAG_ATTR_SETS, &rule_data, rule_data 4676 lib/pengine/unpack.c pe__unpack_dataset_nvpairs(xml_obj, XML_TAG_UTILIZATION, &rule_data, rule_data 738 lib/pengine/utils.c const pe_rule_eval_data_t *rule_data, rule_data 744 lib/pengine/utils.c pe_eval_nvpairs(data_set->input, xml_obj, set_name, rule_data, hash,