rule_input         28 include/crm/common/nvpair_internal.h     pcmk_rule_input_t rule_input;   // Data used to evaluate rules
rule_input        105 include/crm/common/rules.h int pcmk_evaluate_rule(xmlNode *rule, const pcmk_rule_input_t *rule_input,
rule_input         33 include/crm/common/rules_internal.h int pcmk__evaluate_condition(xmlNode *expr, const pcmk_rule_input_t *rule_input,
rule_input         35 include/crm/common/rules_internal.h int pcmk__evaluate_rules(xmlNode *xml, const pcmk_rule_input_t *rule_input,
rule_input        394 lib/common/crmcommon_private.h                                    const pcmk_rule_input_t *rule_input);
rule_input        398 lib/common/crmcommon_private.h                                   const pcmk_rule_input_t *rule_input);
rule_input        402 lib/common/crmcommon_private.h                                  const pcmk_rule_input_t *rule_input);
rule_input        993 lib/common/rules.c                   const pcmk_rule_input_t *rule_input)
rule_input       1011 lib/common/rules.c             table = rule_input->rsc_params;
rule_input       1015 lib/common/rules.c             table = rule_input->rsc_meta;
rule_input       1040 lib/common/rules.c                                const pcmk_rule_input_t *rule_input)
rule_input       1057 lib/common/rules.c     if ((expression == NULL) || (rule_input == NULL)) {
rule_input       1080 lib/common/rules.c     expanded_attr = pcmk__replace_submatches(attr, rule_input->rsc_id,
rule_input       1081 lib/common/rules.c                                              rule_input->rsc_id_submatches,
rule_input       1082 lib/common/rules.c                                              rule_input->rsc_id_nmatches);
rule_input       1136 lib/common/rules.c     reference = value_from_source(value, source, rule_input);
rule_input       1139 lib/common/rules.c     if (rule_input->node_attrs != NULL) {
rule_input       1140 lib/common/rules.c         actual = g_hash_table_lookup(rule_input->node_attrs, attr);
rule_input       1190 lib/common/rules.c                               const pcmk_rule_input_t *rule_input)
rule_input       1197 lib/common/rules.c     if ((rsc_expression == NULL) || (rule_input == NULL)) {
rule_input       1215 lib/common/rules.c         && !pcmk__str_eq(standard, rule_input->rsc_standard, pcmk__str_none)) {
rule_input       1218 lib/common/rules.c                   id, pcmk__s(rule_input->rsc_standard, ""), standard);
rule_input       1225 lib/common/rules.c         && !pcmk__str_eq(provider, rule_input->rsc_provider, pcmk__str_none)) {
rule_input       1228 lib/common/rules.c                   id, pcmk__s(rule_input->rsc_provider, ""), provider);
rule_input       1235 lib/common/rules.c         && !pcmk__str_eq(type, rule_input->rsc_agent, pcmk__str_none)) {
rule_input       1238 lib/common/rules.c                   id, pcmk__s(rule_input->rsc_agent, ""), type);
rule_input       1261 lib/common/rules.c                              const pcmk_rule_input_t *rule_input)
rule_input       1268 lib/common/rules.c     if ((op_expression == NULL) || (rule_input == NULL)) {
rule_input       1300 lib/common/rules.c     if (!pcmk__str_eq(name, rule_input->op_name, pcmk__str_none)) {
rule_input       1303 lib/common/rules.c                   id, pcmk__s(rule_input->op_name, ""), name);
rule_input       1308 lib/common/rules.c     if ((interval_s != NULL) && (interval_ms != rule_input->op_interval_ms)) {
rule_input       1311 lib/common/rules.c                   id, pcmk__readable_interval(rule_input->op_interval_ms),
rule_input       1317 lib/common/rules.c               id, name, pcmk__readable_interval(rule_input->op_interval_ms));
rule_input       1335 lib/common/rules.c                          const pcmk_rule_input_t *rule_input,
rule_input       1339 lib/common/rules.c     if ((condition == NULL) || (rule_input == NULL)) {
rule_input       1345 lib/common/rules.c             return pcmk_evaluate_rule(condition, rule_input, next_change);
rule_input       1349 lib/common/rules.c             return pcmk__evaluate_attr_expression(condition, rule_input);
rule_input       1354 lib/common/rules.c                                                         rule_input->now,
rule_input       1361 lib/common/rules.c             return pcmk__evaluate_rsc_expression(condition, rule_input);
rule_input       1364 lib/common/rules.c             return pcmk__evaluate_op_expression(condition, rule_input);
rule_input       1386 lib/common/rules.c pcmk_evaluate_rule(xmlNode *rule, const pcmk_rule_input_t *rule_input,
rule_input       1395 lib/common/rules.c     if ((rule == NULL) || (rule_input == NULL)) {
rule_input       1443 lib/common/rules.c         if (pcmk__evaluate_condition(condition, rule_input,
rule_input       1487 lib/common/rules.c pcmk__evaluate_rules(xmlNode *xml, const pcmk_rule_input_t *rule_input,
rule_input       1507 lib/common/rules.c         rc = pcmk_evaluate_rule(rule, rule_input, next_change);
rule_input         31 lib/common/tests/rules/pcmk__evaluate_attr_expression_test.c static pcmk_rule_input_t rule_input = {
rule_input         52 lib/common/tests/rules/pcmk__evaluate_attr_expression_test.c     rule_input.rsc_params = pcmk__strkey_table(free, free);
rule_input         53 lib/common/tests/rules/pcmk__evaluate_attr_expression_test.c     pcmk__insert_dup(rule_input.rsc_params, "foo-param", "bar");
rule_input         54 lib/common/tests/rules/pcmk__evaluate_attr_expression_test.c     pcmk__insert_dup(rule_input.rsc_params, "myparam", "different");
rule_input         56 lib/common/tests/rules/pcmk__evaluate_attr_expression_test.c     rule_input.rsc_meta = pcmk__strkey_table(free, free);
rule_input         57 lib/common/tests/rules/pcmk__evaluate_attr_expression_test.c     pcmk__insert_dup(rule_input.rsc_meta, "foo-meta", "bar");
rule_input         58 lib/common/tests/rules/pcmk__evaluate_attr_expression_test.c     pcmk__insert_dup(rule_input.rsc_params, "mymeta", "different");
rule_input         60 lib/common/tests/rules/pcmk__evaluate_attr_expression_test.c     rule_input.node_attrs = pcmk__strkey_table(free, free);
rule_input         61 lib/common/tests/rules/pcmk__evaluate_attr_expression_test.c     pcmk__insert_dup(rule_input.node_attrs, "foo", "bar");
rule_input         62 lib/common/tests/rules/pcmk__evaluate_attr_expression_test.c     pcmk__insert_dup(rule_input.node_attrs, "num", "10");
rule_input         63 lib/common/tests/rules/pcmk__evaluate_attr_expression_test.c     pcmk__insert_dup(rule_input.node_attrs, "ver", "3.5.0");
rule_input         64 lib/common/tests/rules/pcmk__evaluate_attr_expression_test.c     pcmk__insert_dup(rule_input.node_attrs, "prefer-north", "100");
rule_input         72 lib/common/tests/rules/pcmk__evaluate_attr_expression_test.c     g_hash_table_destroy(rule_input.rsc_params);
rule_input         73 lib/common/tests/rules/pcmk__evaluate_attr_expression_test.c     g_hash_table_destroy(rule_input.rsc_meta);
rule_input         74 lib/common/tests/rules/pcmk__evaluate_attr_expression_test.c     g_hash_table_destroy(rule_input.node_attrs);
rule_input         90 lib/common/tests/rules/pcmk__evaluate_attr_expression_test.c     assert_int_equal(pcmk__evaluate_attr_expression(xml, &rule_input),
rule_input        114 lib/common/tests/rules/pcmk__evaluate_attr_expression_test.c     assert_int_equal(pcmk__evaluate_attr_expression(NULL, &rule_input), EINVAL);
rule_input         23 lib/common/tests/rules/pcmk__evaluate_condition_test.c static pcmk_rule_input_t rule_input = {
rule_input         54 lib/common/tests/rules/pcmk__evaluate_condition_test.c     assert_int_equal(pcmk__evaluate_condition(NULL, &rule_input, next_change),
rule_input         69 lib/common/tests/rules/pcmk__evaluate_condition_test.c     assert_int_equal(pcmk__evaluate_condition(xml, &rule_input, next_change),
rule_input         86 lib/common/tests/rules/pcmk__evaluate_condition_test.c     rule_input.node_attrs = pcmk__strkey_table(free, free);
rule_input         87 lib/common/tests/rules/pcmk__evaluate_condition_test.c     pcmk__insert_dup(rule_input.node_attrs, "foo", "bar");
rule_input         89 lib/common/tests/rules/pcmk__evaluate_condition_test.c     assert_int_equal(pcmk__evaluate_condition(xml, &rule_input, NULL),
rule_input         92 lib/common/tests/rules/pcmk__evaluate_condition_test.c     g_hash_table_destroy(rule_input.node_attrs);
rule_input         93 lib/common/tests/rules/pcmk__evaluate_condition_test.c     rule_input.node_attrs = NULL;
rule_input        108 lib/common/tests/rules/pcmk__evaluate_condition_test.c     rule_input.node_attrs = pcmk__strkey_table(free, free);
rule_input        109 lib/common/tests/rules/pcmk__evaluate_condition_test.c     pcmk__insert_dup(rule_input.node_attrs, CRM_ATTR_UNAME, "node1");
rule_input        111 lib/common/tests/rules/pcmk__evaluate_condition_test.c     assert_int_equal(pcmk__evaluate_condition(xml, &rule_input, NULL),
rule_input        114 lib/common/tests/rules/pcmk__evaluate_condition_test.c     g_hash_table_destroy(rule_input.node_attrs);
rule_input        115 lib/common/tests/rules/pcmk__evaluate_condition_test.c     rule_input.node_attrs = NULL;
rule_input        133 lib/common/tests/rules/pcmk__evaluate_condition_test.c     rule_input.now = now;
rule_input        134 lib/common/tests/rules/pcmk__evaluate_condition_test.c     assert_int_equal(pcmk__evaluate_condition(xml, &rule_input, next_change),
rule_input        137 lib/common/tests/rules/pcmk__evaluate_condition_test.c     rule_input.now = NULL;
rule_input        154 lib/common/tests/rules/pcmk__evaluate_condition_test.c     assert_int_equal(pcmk__evaluate_condition(xml, &rule_input, NULL),
rule_input        169 lib/common/tests/rules/pcmk__evaluate_condition_test.c     assert_int_equal(pcmk__evaluate_condition(xml, &rule_input, NULL),
rule_input        184 lib/common/tests/rules/pcmk__evaluate_condition_test.c     assert_int_equal(pcmk__evaluate_condition(xml, &rule_input, NULL),
rule_input         24 lib/common/tests/rules/pcmk__evaluate_op_expression_test.c static pcmk_rule_input_t rule_input = {
rule_input         42 lib/common/tests/rules/pcmk__evaluate_op_expression_test.c     assert_int_equal(pcmk__evaluate_op_expression(xml, &rule_input),
rule_input        121 lib/common/tests/rules/pcmk__evaluate_op_expression_test.c     rule_input.op_name = NULL;
rule_input        124 lib/common/tests/rules/pcmk__evaluate_op_expression_test.c     rule_input.op_name = PCMK_ACTION_MONITOR;
rule_input         24 lib/common/tests/rules/pcmk__evaluate_rsc_expression_test.c static pcmk_rule_input_t rule_input = {
rule_input         43 lib/common/tests/rules/pcmk__evaluate_rsc_expression_test.c     assert_int_equal(pcmk__evaluate_rsc_expression(xml, &rule_input),
rule_input        117 lib/common/tests/rules/pcmk__evaluate_rsc_expression_test.c     rule_input.rsc_standard = NULL;
rule_input        120 lib/common/tests/rules/pcmk__evaluate_rsc_expression_test.c     rule_input.rsc_standard = PCMK_RESOURCE_CLASS_OCF;
rule_input        140 lib/common/tests/rules/pcmk__evaluate_rsc_expression_test.c     rule_input.rsc_provider = NULL;
rule_input        143 lib/common/tests/rules/pcmk__evaluate_rsc_expression_test.c     rule_input.rsc_provider = "heartbeat";
rule_input        163 lib/common/tests/rules/pcmk__evaluate_rsc_expression_test.c     rule_input.rsc_agent = NULL;
rule_input        166 lib/common/tests/rules/pcmk__evaluate_rsc_expression_test.c     rule_input.rsc_agent = "IPaddr2";
rule_input         23 lib/common/tests/rules/pcmk_evaluate_rule_test.c static pcmk_rule_input_t rule_input = {
rule_input         56 lib/common/tests/rules/pcmk_evaluate_rule_test.c     assert_int_equal(pcmk_evaluate_rule(NULL, &rule_input, next_change),
rule_input         76 lib/common/tests/rules/pcmk_evaluate_rule_test.c     assert_int_equal(pcmk_evaluate_rule(xml, &rule_input, next_change),
rule_input         93 lib/common/tests/rules/pcmk_evaluate_rule_test.c     assert_int_equal(pcmk_evaluate_rule(rule_xml, &rule_input, next_change),
rule_input        108 lib/common/tests/rules/pcmk_evaluate_rule_test.c     assert_int_equal(pcmk_evaluate_rule(rule_xml, &rule_input, next_change),
rule_input        123 lib/common/tests/rules/pcmk_evaluate_rule_test.c     assert_int_equal(pcmk_evaluate_rule(xml, &rule_input, NULL),
rule_input        139 lib/common/tests/rules/pcmk_evaluate_rule_test.c     assert_int_equal(pcmk_evaluate_rule(xml, &rule_input, NULL),
rule_input        155 lib/common/tests/rules/pcmk_evaluate_rule_test.c     assert_int_equal(pcmk_evaluate_rule(xml, &rule_input, NULL),
rule_input        176 lib/common/tests/rules/pcmk_evaluate_rule_test.c     assert_int_equal(pcmk_evaluate_rule(xml, &rule_input, NULL),
rule_input        198 lib/common/tests/rules/pcmk_evaluate_rule_test.c     assert_int_equal(pcmk_evaluate_rule(xml, &rule_input, NULL),
rule_input        219 lib/common/tests/rules/pcmk_evaluate_rule_test.c     assert_int_equal(pcmk_evaluate_rule(xml, &rule_input, NULL), pcmk_rc_ok);
rule_input        236 lib/common/tests/rules/pcmk_evaluate_rule_test.c     assert_int_equal(pcmk_evaluate_rule(xml, &rule_input, NULL), pcmk_rc_ok);
rule_input        256 lib/common/tests/rules/pcmk_evaluate_rule_test.c     assert_int_equal(pcmk_evaluate_rule(xml, &rule_input, NULL),
rule_input        277 lib/common/tests/rules/pcmk_evaluate_rule_test.c     assert_int_equal(pcmk_evaluate_rule(xml, &rule_input, NULL),
rule_input        298 lib/common/tests/rules/pcmk_evaluate_rule_test.c     assert_int_equal(pcmk_evaluate_rule(xml, &rule_input, NULL), pcmk_rc_ok);
rule_input        318 lib/common/tests/rules/pcmk_evaluate_rule_test.c     assert_int_equal(pcmk_evaluate_rule(xml, &rule_input, NULL), pcmk_rc_ok);
rule_input        336 lib/common/tests/rules/pcmk_evaluate_rule_test.c     assert_int_equal(pcmk_evaluate_rule(xml, &rule_input, NULL), pcmk_rc_ok);
rule_input        356 lib/common/tests/rules/pcmk_evaluate_rule_test.c     assert_int_equal(pcmk_evaluate_rule(xml, &rule_input, NULL),
rule_input         34 lib/pacemaker/pcmk_sched_constraints.c     pcmk_rule_input_t rule_input = {
rule_input         38 lib/pacemaker/pcmk_sched_constraints.c     result = (pcmk__evaluate_rules(lifetime, &rule_input,
rule_input        113 lib/pacemaker/pcmk_sched_location.c                        pcmk_rule_input_t *rule_input)
rule_input        184 lib/pacemaker/pcmk_sched_location.c     if ((rule_input->rsc_id != NULL) && (rule_input->rsc_id_nmatches > 0)
rule_input        187 lib/pacemaker/pcmk_sched_location.c         char *result = pcmk__replace_submatches(score, rule_input->rsc_id,
rule_input        188 lib/pacemaker/pcmk_sched_location.c                                                 rule_input->rsc_id_submatches,
rule_input        189 lib/pacemaker/pcmk_sched_location.c                                                 rule_input->rsc_id_nmatches);
rule_input        200 lib/pacemaker/pcmk_sched_location.c         rule_input->node_attrs = node->details->attrs;
rule_input        201 lib/pacemaker/pcmk_sched_location.c         rule_input->rsc_params = pe_rsc_params(rsc, node, rsc->cluster);
rule_input        203 lib/pacemaker/pcmk_sched_location.c         if (pcmk_evaluate_rule(rule_xml, rule_input,
rule_input        287 lib/pacemaker/pcmk_sched_location.c         pcmk_rule_input_t rule_input = {
rule_input        309 lib/pacemaker/pcmk_sched_location.c                                        &rule_input)) {
rule_input        190 lib/pengine/rules.c     if (pcmk__evaluate_rules(pair, &(unpack_data->rule_input),
rule_input        260 lib/pengine/rules.c         map_rule_input(&(data.rule_input), rule_data);
rule_input        308 lib/pengine/rules.c     pcmk_rule_input_t rule_input = { NULL, };
rule_input        310 lib/pengine/rules.c     map_rule_input(&rule_input, rule_data);
rule_input        311 lib/pengine/rules.c     return pcmk__evaluate_rules(ruleset, &rule_input,
rule_input        319 lib/pengine/rules.c     pcmk_rule_input_t rule_input = {
rule_input        324 lib/pengine/rules.c     return pcmk__evaluate_rules(ruleset, &rule_input, next_change);
rule_input        332 lib/pengine/rules.c     pcmk_rule_input_t rule_input = {
rule_input        338 lib/pengine/rules.c         rule_input.rsc_params = match_data->params;
rule_input        339 lib/pengine/rules.c         rule_input.rsc_meta = match_data->meta;
rule_input        341 lib/pengine/rules.c             rule_input.rsc_id = match_data->re->string;
rule_input        342 lib/pengine/rules.c             rule_input.rsc_id_submatches = match_data->re->pmatch;
rule_input        343 lib/pengine/rules.c             rule_input.rsc_id_nmatches = match_data->re->nregs;
rule_input        346 lib/pengine/rules.c     return pcmk_evaluate_rule(rule, &rule_input, next_change) == pcmk_rc_ok;
rule_input        384 lib/pengine/rules.c     pcmk_rule_input_t rule_input = {
rule_input        390 lib/pengine/rules.c         rule_input.rsc_params = match_data->params;
rule_input        391 lib/pengine/rules.c         rule_input.rsc_meta = match_data->meta;
rule_input        393 lib/pengine/rules.c             rule_input.rsc_id = match_data->re->string;
rule_input        394 lib/pengine/rules.c             rule_input.rsc_id_submatches = match_data->re->pmatch;
rule_input        395 lib/pengine/rules.c             rule_input.rsc_id_nmatches = match_data->re->nregs;
rule_input        398 lib/pengine/rules.c     return pcmk__evaluate_condition(expr, &rule_input,
rule_input        431 lib/pengine/rules.c     pcmk_rule_input_t rule_input = { NULL, };
rule_input        433 lib/pengine/rules.c     map_rule_input(&rule_input, rule_data);
rule_input        434 lib/pengine/rules.c     return pcmk_evaluate_rule(rule, &rule_input, next_change) == pcmk_rc_ok;
rule_input        441 lib/pengine/rules.c     pcmk_rule_input_t rule_input = { NULL, };
rule_input        443 lib/pengine/rules.c     map_rule_input(&rule_input, rule_data);
rule_input        444 lib/pengine/rules.c     return pcmk__evaluate_condition(expr, &rule_input,
rule_input         27 tools/crm_resource_print.c     pcmk_rule_input_t rule_input = {
rule_input         37 tools/crm_resource_print.c     if (pcmk__evaluate_rules(lifetime, &rule_input, NULL) != pcmk_rc_ok) {