rsc_id             23 crmd/crmd_lrm.h extern void lrm_clear_last_failure(const char *rsc_id, const char *node_name,
rsc_id             52 crmd/crmd_lrm.h     char *rsc_id;
rsc_id            143 crmd/crmd_lrm.h int lrm_state_cancel(lrm_state_t * lrm_state, const char *rsc_id, const char *action, int interval);
rsc_id            144 crmd/crmd_lrm.h int lrm_state_exec(lrm_state_t * lrm_state, const char *rsc_id, const char *action, const char *userdata, int interval, /* ms */
rsc_id            149 crmd/crmd_lrm.h                                         const char *rsc_id, enum lrmd_call_options options);
rsc_id            151 crmd/crmd_lrm.h                            const char *rsc_id,
rsc_id            155 crmd/crmd_lrm.h                              const char *rsc_id, enum lrmd_call_options options);
rsc_id            160 crmd/crmd_lrm.h lrmd_rsc_info_t *remote_ra_get_rsc_info(lrm_state_t * lrm_state, const char *rsc_id);
rsc_id            161 crmd/crmd_lrm.h int remote_ra_cancel(lrm_state_t * lrm_state, const char *rsc_id, const char *action, int interval);
rsc_id            162 crmd/crmd_lrm.h int remote_ra_exec(lrm_state_t * lrm_state, const char *rsc_id, const char *action, const char *userdata, int interval, /* ms */
rsc_id             50 crmd/lrm.c     static gboolean is_rsc_active(lrm_state_t * lrm_state, const char *rsc_id);
rsc_id             53 crmd/lrm.c     static int delete_rsc_status(lrm_state_t * lrm_state, const char *rsc_id, int call_options,
rsc_id             57 crmd/lrm.c                                            const char *rsc_id, const char *operation);
rsc_id             62 crmd/lrm.c                          lrmd_rsc_info_t * rsc, lrmd_event_data_t * op, const char *rsc_id);
rsc_id            128 crmd/lrm.c                 && crm_str_eq(op->rsc_id, existing->rsc_id, TRUE)
rsc_id            191 crmd/lrm.c             crm_debug("Purged history for '%s' after %s", op->rsc_id, op->op_type);
rsc_id            192 crmd/lrm.c             delete_rsc_status(lrm_state, op->rsc_id, cib_quorum_override, NULL);
rsc_id            200 crmd/lrm.c         crm_debug("Updating history for '%s' with %s op", op->rsc_id, op->op_type);
rsc_id            202 crmd/lrm.c         entry = g_hash_table_lookup(lrm_state->resource_history, op->rsc_id);
rsc_id            205 crmd/lrm.c             entry->id = strdup(op->rsc_id);
rsc_id            218 crmd/lrm.c             crm_info("Resource %s no longer exists, not updating cache", op->rsc_id);
rsc_id            226 crmd/lrm.c                 crm_trace("Removing cancelled recurring op: %s_%s_%d", op->rsc_id, op->op_type,
rsc_id            231 crmd/lrm.c                 crm_trace("Skipping %s_%s_%d rc=%d, status=%d", op->rsc_id, op->op_type, op->interval,
rsc_id            268 crmd/lrm.c             crm_trace("Adding recurring op: %s_%s_%d", op->rsc_id, op->op_type, op->interval);
rsc_id            273 crmd/lrm.c                       g_list_length(entry->recurring_op_list), op->rsc_id,
rsc_id            293 crmd/lrm.c                      const char *rsc_id, lrmd_rsc_info_t *rsc, const char *task,
rsc_id            296 crmd/lrm.c         lrmd_event_data_t *op = construct_op(lrm_state, input->xml, rsc_id, task);
rsc_id            301 crmd/lrm.c         send_direct_ack(ack_host, ack_sys, rsc, op, rsc_id);
rsc_id            491 crmd/lrm.c                     if (crm_str_eq(entry->id, pending->rsc_id, TRUE)) {
rsc_id            616 crmd/lrm.c         crm_trace("%s: %s, %s", op->rsc_id, digest, list);
rsc_id            647 crmd/lrm.c             crm_trace("%s: %s, %s", op->rsc_id, digest, list);
rsc_id            650 crmd/lrm.c             crm_trace("%s: no secure parameters", op->rsc_id);
rsc_id            687 crmd/lrm.c         crm_trace("Building %s operation update with originator version: %s", op->rsc_id, caller_version);
rsc_id            697 crmd/lrm.c                       op->op_type, op->rsc_id, op->params, rsc);
rsc_id            704 crmd/lrm.c                      op->rsc_id, op->op_type, op->interval, node_name);
rsc_id            756 crmd/lrm.c     is_rsc_active(lrm_state_t * lrm_state, const char *rsc_id)
rsc_id            760 crmd/lrm.c         entry = g_hash_table_lookup(lrm_state->resource_history, rsc_id);
rsc_id            766 crmd/lrm.c                   rsc_id, entry->last->op_type, entry->last->interval, entry->last->rc);
rsc_id            878 crmd/lrm.c     notify_deleted(lrm_state_t * lrm_state, ha_msg_input_t * input, const char *rsc_id, int rc)
rsc_id            885 crmd/lrm.c                  from_sys, (from_host? from_host : "localhost"), rsc_id,
rsc_id            888 crmd/lrm.c         op = construct_op(lrm_state, input->xml, rsc_id, CRMD_ACTION_DELETE);
rsc_id            899 crmd/lrm.c         send_direct_ack(from_host, from_sys, NULL, op, rsc_id);
rsc_id            907 crmd/lrm.c             crm_debug("Triggering a refresh after %s deleted %s from the LRM", from_sys, rsc_id);
rsc_id            935 crmd/lrm.c         if (crm_str_eq(rsc, pending->rsc_id, TRUE)) {
rsc_id            951 crmd/lrm.c     delete_rsc_status(lrm_state_t * lrm_state, const char *rsc_id, int call_options,
rsc_id            958 crmd/lrm.c         CRM_CHECK(rsc_id != NULL, return -ENXIO);
rsc_id            960 crmd/lrm.c         max = strlen(rsc_template) + strlen(lrm_state->node_name) + strlen(rsc_id) + 1;
rsc_id            962 crmd/lrm.c         snprintf(rsc_xpath, max, rsc_template, lrm_state->node_name, rsc_id);
rsc_id            972 crmd/lrm.c     delete_rsc_entry(lrm_state_t * lrm_state, ha_msg_input_t * input, const char *rsc_id,
rsc_id            977 crmd/lrm.c         CRM_CHECK(rsc_id != NULL, return);
rsc_id            980 crmd/lrm.c             char *rsc_id_copy = strdup(rsc_id);
rsc_id            994 crmd/lrm.c             notify_deleted(lrm_state, input, rsc_id, rc);
rsc_id            998 crmd/lrm.c         event.rsc = rsc_id;
rsc_id           1022 crmd/lrm.c             char *op_id = generate_op_key(op->rsc_id, op->op_type, op->interval);
rsc_id           1030 crmd/lrm.c                   op->rsc_id, op->op_type, op->interval, op->call_id);
rsc_id           1070 crmd/lrm.c     erase_lrm_history_by_id(lrm_state_t *lrm_state, const char *rsc_id,
rsc_id           1075 crmd/lrm.c         CRM_CHECK((rsc_id != NULL) && (key != NULL), return);
rsc_id           1079 crmd/lrm.c                                          lrm_state->node_name, rsc_id, key,
rsc_id           1084 crmd/lrm.c                                          lrm_state->node_name, rsc_id, key,
rsc_id           1088 crmd/lrm.c                                          lrm_state->node_name, rsc_id, key);
rsc_id           1092 crmd/lrm.c                   key, rsc_id, call_id);
rsc_id           1125 crmd/lrm.c     lrm_clear_last_failure(const char *rsc_id, const char *node_name,
rsc_id           1138 crmd/lrm.c         op_key = generate_op_key(rsc_id, "last_failure", 0);
rsc_id           1140 crmd/lrm.c             orig_op_key = generate_op_key(rsc_id, operation, interval);
rsc_id           1142 crmd/lrm.c         erase_lrm_history_by_id(lrm_state, rsc_id, op_key, orig_op_key, 0);
rsc_id           1149 crmd/lrm.c                                                        rsc_id);
rsc_id           1160 crmd/lrm.c     cancel_op(lrm_state_t * lrm_state, const char *rsc_id, const char *key, int op, gboolean remove)
rsc_id           1167 crmd/lrm.c         CRM_CHECK(rsc_id != NULL, return FALSE);
rsc_id           1169 crmd/lrm.c             local_key = make_stop_id(rsc_id, op);
rsc_id           1194 crmd/lrm.c         crm_debug("Cancelling op %d for %s (%s)", op, rsc_id, key);
rsc_id           1195 crmd/lrm.c         rc = lrm_state_cancel(lrm_state, pending->rsc_id, pending->op_type, pending->interval);
rsc_id           1197 crmd/lrm.c             crm_debug("Op %d for %s (%s): cancelled", op, rsc_id, key);
rsc_id           1202 crmd/lrm.c         crm_debug("Op %d for %s (%s): Nothing to cancel", op, rsc_id, key);
rsc_id           1346 crmd/lrm.c     get_fake_call_id(lrm_state_t *lrm_state, const char *rsc_id)
rsc_id           1352 crmd/lrm.c             entry = g_hash_table_lookup(lrm_state->resource_history, rsc_id);
rsc_id           1430 crmd/lrm.c         op->call_id = get_fake_call_id(lrm_state, op->rsc_id);
rsc_id           1443 crmd/lrm.c         crm_info("Faking result %d for %s_%s_%d on %s (%p)", op->rc, op->rsc_id, op->op_type, op->interval, target_node, lrm_state);
rsc_id           1451 crmd/lrm.c             rsc.id = strdup(op->rsc_id);
rsc_id           1551 crmd/lrm.c             op->call_id = get_fake_call_id(lrm_state, op->rsc_id);
rsc_id           1802 crmd/lrm.c     construct_op(lrm_state_t * lrm_state, xmlNode * rsc_op, const char *rsc_id, const char *operation)
rsc_id           1812 crmd/lrm.c         CRM_ASSERT(rsc_id != NULL);
rsc_id           1819 crmd/lrm.c         op->rsc_id = strdup(rsc_id);
rsc_id           1836 crmd/lrm.c             crm_trace("Constructed %s op for %s", operation, rsc_id);
rsc_id           1855 crmd/lrm.c             && !is_remote_lrmd_ra(NULL, NULL, rsc_id)) {
rsc_id           1858 crmd/lrm.c             lrmd_rsc_info_t *rsc = lrm_state_get_rsc_info(lrm_state, rsc_id, 0);
rsc_id           1913 crmd/lrm.c             rsc_history_t *entry = g_hash_table_lookup(lrm_state->resource_history, rsc_id);
rsc_id           1955 crmd/lrm.c         crm_trace("Constructed %s op for %s: interval=%d", operation, rsc_id, op->interval);
rsc_id           1962 crmd/lrm.c                     lrmd_rsc_info_t * rsc, lrmd_event_data_t * op, const char *rsc_id)
rsc_id           1969 crmd/lrm.c         if (op->rsc_id == NULL) {
rsc_id           1970 crmd/lrm.c             CRM_ASSERT(rsc_id != NULL);
rsc_id           1971 crmd/lrm.c             op->rsc_id = strdup(rsc_id);
rsc_id           1986 crmd/lrm.c         crm_xml_add(iter, XML_ATTR_ID, op->rsc_id);
rsc_id           1994 crmd/lrm.c                   op->rsc_id, op->op_type, op->interval, op->user_data,
rsc_id           2038 crmd/lrm.c         if (op->interval != 0 && crm_str_eq(op->rsc_id, event->rsc->id, TRUE)) {
rsc_id           2039 crmd/lrm.c             crm_debug("Cancelling op %d for %s (%s)", op->call_id, op->rsc_id, (char*)key);
rsc_id           2054 crmd/lrm.c             crm_info("Cancelling op %d for %s (%s)", op->call_id, op->rsc_id, key);
rsc_id           2055 crmd/lrm.c             remove = !cancel_op(lrm_state, op->rsc_id, key, op->call_id, FALSE);
rsc_id           2094 crmd/lrm.c                   op->rsc_id, op->op_type, op->interval, node_name);
rsc_id           2239 crmd/lrm.c             pending->rsc_id = strdup(rsc->id);
rsc_id           2334 crmd/lrm.c         crm_xml_add(iter, XML_ATTR_ID, op->rsc_id);
rsc_id           2349 crmd/lrm.c                 crm_trace("Resource %s is a part of container resource %s", op->rsc_id, container);
rsc_id           2354 crmd/lrm.c             crm_warn("Resource %s no longer exists in the lrmd", op->rsc_id);
rsc_id           2355 crmd/lrm.c             send_direct_ack(NULL, NULL, rsc, op, op->rsc_id);
rsc_id           2386 crmd/lrm.c                   op->op_type, op->interval, op->rsc_id);
rsc_id           2435 crmd/lrm.c         CRM_CHECK(op->rsc_id != NULL, return FALSE);
rsc_id           2437 crmd/lrm.c         op_id = make_stop_id(op->rsc_id, op->call_id);
rsc_id           2438 crmd/lrm.c         op_key = generate_op_key(op->rsc_id, op->op_type, op->interval);
rsc_id           2439 crmd/lrm.c         rsc = lrm_state_get_rsc_info(lrm_state, op->rsc_id, 0);
rsc_id           2463 crmd/lrm.c                 send_direct_ack(NULL, NULL, NULL, op, op->rsc_id);
rsc_id           2470 crmd/lrm.c             send_direct_ack(NULL, NULL, NULL, op, op->rsc_id);
rsc_id           2493 crmd/lrm.c             send_direct_ack(NULL, NULL, NULL, op, op->rsc_id);
rsc_id           2519 crmd/lrm.c                          op->rsc_id, lrm_state->node_name,
rsc_id           2529 crmd/lrm.c                            op->rsc_id, lrm_state->node_name,
rsc_id           2539 crmd/lrm.c                         op->rsc_id, lrm_state->node_name,
rsc_id           2548 crmd/lrm.c                         op->rsc_id, lrm_state->node_name,
rsc_id           2555 crmd/lrm.c                 crm_strdup_printf("%s-%s_%s_%d:%d", lrm_state->node_name, op->rsc_id, op->op_type, op->interval, op->call_id);
rsc_id           2575 crmd/lrm.c             crm_info("Deletion of resource '%s' complete after %s", op->rsc_id, op_key);
rsc_id           2576 crmd/lrm.c             delete_rsc_entry(lrm_state, NULL, op->rsc_id, NULL, pcmk_ok, NULL);
rsc_id             64 crmd/lrm_state.c     free(op->rsc_id);
rsc_id             81 crmd/lrm_state.c               op->rsc_id, op->op_type, op->interval,
rsc_id             85 crmd/lrm_state.c     event.rsc_id = op->rsc_id;
rsc_id            613 crmd/lrm_state.c lrm_state_cancel(lrm_state_t * lrm_state, const char *rsc_id, const char *action, int interval)
rsc_id            621 crmd/lrm_state.c     if (is_remote_lrmd_ra(NULL, NULL, rsc_id)) {
rsc_id            622 crmd/lrm_state.c         return remote_ra_cancel(lrm_state, rsc_id, action, interval);
rsc_id            624 crmd/lrm_state.c     return ((lrmd_t *) lrm_state->conn)->cmds->cancel(lrm_state->conn, rsc_id, action, interval);
rsc_id            628 crmd/lrm_state.c lrm_state_get_rsc_info(lrm_state_t * lrm_state, const char *rsc_id, enum lrmd_call_options options)
rsc_id            635 crmd/lrm_state.c     if (is_remote_lrmd_ra(NULL, NULL, rsc_id)) {
rsc_id            636 crmd/lrm_state.c         return remote_ra_get_rsc_info(lrm_state, rsc_id);
rsc_id            639 crmd/lrm_state.c     rsc = g_hash_table_lookup(lrm_state->rsc_info_cache, rsc_id);
rsc_id            642 crmd/lrm_state.c         rsc = ((lrmd_t *) lrm_state->conn)->cmds->get_rsc_info(lrm_state->conn, rsc_id, options);
rsc_id            655 crmd/lrm_state.c lrm_state_exec(lrm_state_t * lrm_state, const char *rsc_id, const char *action, const char *userdata, int interval,     /* ms */
rsc_id            666 crmd/lrm_state.c     if (is_remote_lrmd_ra(NULL, NULL, rsc_id)) {
rsc_id            668 crmd/lrm_state.c                               rsc_id, action, userdata, interval, timeout, start_delay, params);
rsc_id            672 crmd/lrm_state.c                                                     rsc_id,
rsc_id            683 crmd/lrm_state.c                        const char *rsc_id,
rsc_id            696 crmd/lrm_state.c         return lrm_state_find_or_create(rsc_id) ? pcmk_ok : -1;
rsc_id            699 crmd/lrm_state.c     return ((lrmd_t *) lrm_state->conn)->cmds->register_rsc(lrm_state->conn, rsc_id, class,
rsc_id            705 crmd/lrm_state.c                          const char *rsc_id, enum lrmd_call_options options)
rsc_id            714 crmd/lrm_state.c     if (is_remote_lrmd_ra(NULL, NULL, rsc_id)) {
rsc_id            715 crmd/lrm_state.c         lrm_state_destroy(rsc_id);
rsc_id            719 crmd/lrm_state.c     g_hash_table_remove(lrm_state->rsc_info_cache, rsc_id);
rsc_id            721 crmd/lrm_state.c     return ((lrmd_t *) lrm_state->conn)->cmds->unregister_rsc(lrm_state->conn, rsc_id, options);
rsc_id             64 crmd/misc.c                       input->rsc_id, input->call_id, input->rc,
rsc_id             40 crmd/remote_lrmd_ra.c     char *rsc_id;
rsc_id            115 crmd/remote_lrmd_ra.c     free(cmd->rsc_id);
rsc_id            143 crmd/remote_lrmd_ra.c     connection_rsc = lrm_state_find(cmd->rsc_id);
rsc_id            162 crmd/remote_lrmd_ra.c     connection_rsc = lrm_state_find(cmd->rsc_id);
rsc_id            302 crmd/remote_lrmd_ra.c         remote_node_up(cmd->rsc_id);
rsc_id            312 crmd/remote_lrmd_ra.c         crm_node_t *node = crm_remote_peer_get(cmd->rsc_id);
rsc_id            318 crmd/remote_lrmd_ra.c         lrm_state_t *lrm_state = lrm_state_find(cmd->rsc_id);
rsc_id            324 crmd/remote_lrmd_ra.c                 remote_node_down(cmd->rsc_id, DOWN_KEEP_LRM);
rsc_id            330 crmd/remote_lrmd_ra.c                 crm_remote_peer_cache_remove(cmd->rsc_id);
rsc_id            354 crmd/remote_lrmd_ra.c     op.rsc_id = cmd->rsc_id;
rsc_id            450 crmd/remote_lrmd_ra.c     crm_info("takeover event timed out for node %s", cmd->rsc_id);
rsc_id            453 crmd/remote_lrmd_ra.c     lrm_state = lrm_state_find(cmd->rsc_id);
rsc_id            467 crmd/remote_lrmd_ra.c     lrm_state = lrm_state_find(cmd->rsc_id);
rsc_id            469 crmd/remote_lrmd_ra.c     crm_info("Poke async response timed out for node %s (%p)", cmd->rsc_id, lrm_state);
rsc_id            495 crmd/remote_lrmd_ra.c synthesize_lrmd_success(lrm_state_t *lrm_state, const char *rsc_id, const char *op_type)
rsc_id            506 crmd/remote_lrmd_ra.c     op.rsc_id = rsc_id;
rsc_id            793 crmd/remote_lrmd_ra.c                 crm_debug("poked remote lrmd at node %s, waiting for async response.", cmd->rsc_id);
rsc_id            883 crmd/remote_lrmd_ra.c remote_ra_get_rsc_info(lrm_state_t * lrm_state, const char *rsc_id)
rsc_id            887 crmd/remote_lrmd_ra.c     if ((lrm_state_find(rsc_id))) {
rsc_id            890 crmd/remote_lrmd_ra.c         info->id = strdup(rsc_id);
rsc_id            934 crmd/remote_lrmd_ra.c         crm_trace("Pre-emptively failing %s %s (interval=%d, %s)", cmd->action, cmd->rsc_id, cmd->interval, cmd->userdata);
rsc_id            967 crmd/remote_lrmd_ra.c remote_ra_cancel(lrm_state_t * lrm_state, const char *rsc_id, const char *action, int interval)
rsc_id            972 crmd/remote_lrmd_ra.c     connection_rsc = lrm_state_find(rsc_id);
rsc_id           1033 crmd/remote_lrmd_ra.c     crm_trace("merging duplicate monitor cmd %s_monitor_%d", cmd->rsc_id, interval);
rsc_id           1061 crmd/remote_lrmd_ra.c remote_ra_exec(lrm_state_t * lrm_state, const char *rsc_id, const char *action, const char *userdata, int interval,     /* ms */
rsc_id           1076 crmd/remote_lrmd_ra.c     connection_rsc = lrm_state_find(rsc_id);
rsc_id           1092 crmd/remote_lrmd_ra.c     cmd->rsc_id = strdup(rsc_id);
rsc_id            319 crmd/te_actions.c     const char *rsc_id = NULL;
rsc_id            341 crmd/te_actions.c     rsc_id = ID(action_rsc);
rsc_id            342 crmd/te_actions.c     CRM_CHECK(rsc_id != NULL, crm_log_xml_err(action->xml, "Bad:action");
rsc_id            364 crmd/te_actions.c     crm_xml_add(rsc, XML_ATTR_ID, rsc_id);
rsc_id            380 crmd/te_actions.c               crm_element_name(action->xml), crm_str(task), rsc_id, target);
rsc_id            128 crmd/te_events.c     char *rsc_id = NULL;
rsc_id            148 crmd/te_events.c     CRM_CHECK(parse_op_key(id, &rsc_id, &task, &interval),
rsc_id            151 crmd/te_events.c     CRM_CHECK(rsc_id != NULL, goto bail);
rsc_id            189 crmd/te_events.c                  rsc_id, on_uname, task, rc, value, now);
rsc_id            193 crmd/te_events.c             attr_name = crm_failcount_name(rsc_id, task, interval);
rsc_id            201 crmd/te_events.c         attr_name = crm_lastfailure_name(rsc_id, task, interval);
rsc_id            209 crmd/te_events.c     free(rsc_id);
rsc_id            449 fencing/main.c         const char *rsc_id = NULL;
rsc_id            462 fencing/main.c         rsc_id = crm_element_value(match, XML_ATTR_ID);
rsc_id            464 fencing/main.c         stonith_device_remove(rsc_id, TRUE);
rsc_id            762 fencing/main.c             const char *rsc_id = NULL;
rsc_id            771 fencing/main.c             rsc_id = strstr(mutable, "primitive[@id=\'");
rsc_id            772 fencing/main.c             if (rsc_id != NULL) {
rsc_id            773 fencing/main.c                 rsc_id += strlen("primitive[@id=\'");
rsc_id            774 fencing/main.c                 search = strchr(rsc_id, '\'');
rsc_id            778 fencing/main.c                 stonith_device_remove(rsc_id, TRUE);
rsc_id            845 fencing/main.c             const char *rsc_id = NULL;
rsc_id            849 fencing/main.c             rsc_id = crm_element_value(match, XML_ATTR_ID);
rsc_id            856 fencing/main.c             crm_trace("Fencing resource %s was added or modified", rsc_id);
rsc_id             25 include/crm/common/cib_secrets.h int replace_secret_params(char * rsc_id, GHashTable * params);
rsc_id            109 include/crm/common/internal.h crm_fail_attr_name(const char *prefix, const char *rsc_id, const char *op,
rsc_id            112 include/crm/common/internal.h     CRM_CHECK(prefix && rsc_id && op, return NULL);
rsc_id            113 include/crm/common/internal.h     return crm_strdup_printf("%s-%s#%s_%d", prefix, rsc_id, op, interval);
rsc_id            117 include/crm/common/internal.h crm_failcount_name(const char *rsc_id, const char *op, int interval)
rsc_id            119 include/crm/common/internal.h     return crm_fail_attr_name(CRM_FAIL_COUNT_PREFIX, rsc_id, op, interval);
rsc_id            123 include/crm/common/internal.h crm_lastfailure_name(const char *rsc_id, const char *op, int interval)
rsc_id            125 include/crm/common/internal.h     return crm_fail_attr_name(CRM_LAST_FAILURE_PREFIX, rsc_id, op, interval);
rsc_id            122 include/crm/common/util.h gboolean parse_op_key(const char *key, char **rsc_id, char **op_type,
rsc_id            209 include/crm/lrmd.h     const char *rsc_id;
rsc_id            335 include/crm/lrmd.h                          const char *rsc_id,
rsc_id            346 include/crm/lrmd.h                                       const char *rsc_id, enum lrmd_call_options options);
rsc_id            362 include/crm/lrmd.h     int (*unregister_rsc) (lrmd_t * lrmd, const char *rsc_id, enum lrmd_call_options options);
rsc_id            384 include/crm/lrmd.h     int (*exec) (lrmd_t * lrmd, const char *rsc_id, const char *action, const char *userdata,   /* userdata string given back in event notification */
rsc_id            413 include/crm/lrmd.h     int (*cancel) (lrmd_t * lrmd, const char *rsc_id, const char *action, int interval);
rsc_id            147 include/crm_internal.h char *generate_op_key(const char *rsc_id, const char *op_type, int interval);
rsc_id            148 include/crm_internal.h char *generate_notify_key(const char *rsc_id, const char *notify_type, const char *op_type);
rsc_id             26 lib/common/cib_secrets.c static int do_replace_secret_params(char *rsc_id, GHashTable *params, gboolean from_legacy_dir);
rsc_id             89 lib/common/cib_secrets.c replace_secret_params(char *rsc_id, GHashTable *params)
rsc_id             91 lib/common/cib_secrets.c     if (do_replace_secret_params(rsc_id, params, FALSE) < 0
rsc_id             92 lib/common/cib_secrets.c         && do_replace_secret_params(rsc_id, params, TRUE) < 0) {
rsc_id            100 lib/common/cib_secrets.c do_replace_secret_params(char *rsc_id, GHashTable *params, gboolean from_legacy_dir)
rsc_id            129 lib/common/cib_secrets.c     crm_debug("replace secret parameters for resource %s", rsc_id);
rsc_id            132 lib/common/cib_secrets.c         "%s/%s/", dir_prefix, rsc_id) > FILENAME_MAX) {
rsc_id            133 lib/common/cib_secrets.c         crm_err("filename size exceeded for resource %s", rsc_id);
rsc_id            142 lib/common/cib_secrets.c             crm_err("odd, no parameter %s for rsc %s found now", key, rsc_id);
rsc_id            157 lib/common/cib_secrets.c                           "will try "LRM_LEGACY_CIBSECRETS_DIR, rsc_id, key, dir_prefix);
rsc_id            161 lib/common/cib_secrets.c                         rsc_id, key, dir_prefix);
rsc_id            180 lib/common/cib_secrets.c                         "cannot be read from %s", rsc_id, key, hash_file);
rsc_id            187 lib/common/cib_secrets.c                         "does not match", rsc_id, key);
rsc_id             37 lib/common/operations.c generate_op_key(const char *rsc_id, const char *op_type, int interval)
rsc_id             39 lib/common/operations.c     CRM_ASSERT(rsc_id != NULL);
rsc_id             42 lib/common/operations.c     return crm_strdup_printf("%s_%s_%d", rsc_id, op_type, interval);
rsc_id             46 lib/common/operations.c parse_op_key(const char *key, char **rsc_id, char **op_type, int *interval)
rsc_id            112 lib/common/operations.c     *rsc_id = mutable_key;
rsc_id            118 lib/common/operations.c generate_notify_key(const char *rsc_id, const char *notify_type, const char *op_type)
rsc_id            123 lib/common/operations.c     CRM_CHECK(rsc_id != NULL, return NULL);
rsc_id            128 lib/common/operations.c     len += strlen(rsc_id);
rsc_id            134 lib/common/operations.c         sprintf(op_id, "%s_%s_notify_%s_0", rsc_id, notify_type, op_type);
rsc_id            474 lib/common/operations.c                origin, op->rsc_id, op->op_type, services_lrm_status_str(op->op_status),
rsc_id            504 lib/common/operations.c     key = generate_op_key(op->rsc_id, task, op->interval);
rsc_id            514 lib/common/operations.c         op_id = generate_notify_key(op->rsc_id, n_type, n_task);
rsc_id            521 lib/common/operations.c         op_id = generate_op_key(op->rsc_id, "last_failure", 0);
rsc_id            524 lib/common/operations.c             op_id_additional = generate_op_key(op->rsc_id, "last", 0);
rsc_id            532 lib/common/operations.c         op_id = generate_op_key(op->rsc_id, "last", 0);
rsc_id            544 lib/common/operations.c                   op->rsc_id, op->op_type, op->interval, op->call_id, origin);
rsc_id            571 lib/common/operations.c                       op->rsc_id, op->op_type, op->interval,
rsc_id            351 lib/lrmd/lrmd_alerts.c     params = alert_key2param(params, CRM_alert_rsc, op->rsc_id);
rsc_id            201 lib/lrmd/lrmd_client.c     copy->rsc_id = event->rsc_id ? strdup(event->rsc_id) : NULL;
rsc_id            220 lib/lrmd/lrmd_client.c     free((char *)event->rsc_id);
rsc_id            253 lib/lrmd/lrmd_client.c     event.rsc_id = crm_element_value(msg, F_LRMD_RSC_ID);
rsc_id           1416 lib/lrmd/lrmd_client.c                       const char *rsc_id,
rsc_id           1423 lib/lrmd/lrmd_client.c     if (!class || !type || !rsc_id) {
rsc_id           1433 lib/lrmd/lrmd_client.c     crm_xml_add(data, F_LRMD_RSC_ID, rsc_id);
rsc_id           1444 lib/lrmd/lrmd_client.c lrmd_api_unregister_rsc(lrmd_t * lrmd, const char *rsc_id, enum lrmd_call_options options)
rsc_id           1450 lib/lrmd/lrmd_client.c     crm_xml_add(data, F_LRMD_RSC_ID, rsc_id);
rsc_id           1488 lib/lrmd/lrmd_client.c lrmd_api_get_rsc_info(lrmd_t * lrmd, const char *rsc_id, enum lrmd_call_options options)
rsc_id           1498 lib/lrmd/lrmd_client.c     crm_xml_add(data, F_LRMD_RSC_ID, rsc_id);
rsc_id           1519 lib/lrmd/lrmd_client.c     rsc_info->id = strdup(rsc_id);
rsc_id           1630 lib/lrmd/lrmd_client.c lrmd_api_exec(lrmd_t * lrmd, const char *rsc_id, const char *action, const char *userdata, int interval,        /* ms */
rsc_id           1641 lib/lrmd/lrmd_client.c     crm_xml_add(data, F_LRMD_RSC_ID, rsc_id);
rsc_id           1687 lib/lrmd/lrmd_client.c lrmd_api_cancel(lrmd_t * lrmd, const char *rsc_id, const char *action, int interval)
rsc_id           1694 lib/lrmd/lrmd_client.c     crm_xml_add(data, F_LRMD_RSC_ID, rsc_id);
rsc_id             21 lib/pengine/failcounts.c is_matched_failure(const char *rsc_id, xmlNode *conf_op_xml,
rsc_id             32 lib/pengine/failcounts.c     if (rsc_id == NULL || conf_op_xml == NULL || lrm_op_xml == NULL) {
rsc_id             47 lib/pengine/failcounts.c     last_failure_key = generate_op_key(rsc_id, "last_failure", 0);
rsc_id             53 lib/pengine/failcounts.c         char *expected_op_key = generate_op_key(rsc_id, conf_op_name,
rsc_id           1647 lib/pengine/unpack.c create_fake_resource(const char *rsc_id, xmlNode * rsc_entry, pe_working_set_t * data_set)
rsc_id           1653 lib/pengine/unpack.c     crm_xml_add(xml_rsc, XML_ATTR_ID, rsc_id);
rsc_id           1663 lib/pengine/unpack.c         crm_debug("Detected orphaned remote node %s", rsc_id);
rsc_id           1664 lib/pengine/unpack.c         node = pe_find_node(data_set->nodes, rsc_id);
rsc_id           1666 lib/pengine/unpack.c 	        node = pe_create_node(rsc_id, rsc_id, "remote", NULL, data_set);
rsc_id           1671 lib/pengine/unpack.c             crm_trace("Setting node %s as shutting down due to orphaned connection resource", rsc_id);
rsc_id           1678 lib/pengine/unpack.c         crm_trace("Detected orphaned container filler %s", rsc_id);
rsc_id           1690 lib/pengine/unpack.c                      const char *rsc_id)
rsc_id           1701 lib/pengine/unpack.c     pe_rsc_trace(parent, "Looking for %s on %s in %s", rsc_id, node->details->uname, parent->id);
rsc_id           1718 lib/pengine/unpack.c                 rsc = parent->fns->find_rsc(child, rsc_id, NULL, pe_find_clone);
rsc_id           1740 lib/pengine/unpack.c         pe_rsc_trace(parent, "Looking for %s anywhere", rsc_id);
rsc_id           1753 lib/pengine/unpack.c                 rsc = parent->fns->find_rsc(child, rsc_id, NULL, pe_find_clone);
rsc_id           1765 lib/pengine/unpack.c         rsc = top->fns->find_rsc(top, rsc_id, NULL, pe_find_clone);
rsc_id           1768 lib/pengine/unpack.c         pe_rsc_debug(parent, "Created orphan %s for %s: %s on %s", top->id, parent->id, rsc_id,
rsc_id           1772 lib/pengine/unpack.c     if (safe_str_neq(rsc_id, rsc->id)) {
rsc_id           1774 lib/pengine/unpack.c                     rsc_id, node->details->uname, rsc->id,
rsc_id           1782 lib/pengine/unpack.c unpack_find_resource(pe_working_set_t * data_set, node_t * node, const char *rsc_id,
rsc_id           1788 lib/pengine/unpack.c     crm_trace("looking for %s", rsc_id);
rsc_id           1789 lib/pengine/unpack.c     rsc = pe_find_resource(data_set->resources, rsc_id);
rsc_id           1794 lib/pengine/unpack.c         char *tmp = clone_zero(rsc_id);
rsc_id           1800 lib/pengine/unpack.c             crm_trace("%s is not known as %s either", rsc_id, tmp);
rsc_id           1806 lib/pengine/unpack.c         crm_trace("%s not found: %s", rsc_id, parent ? parent->id : "orphan");
rsc_id           1810 lib/pengine/unpack.c                   rsc_id);
rsc_id           1818 lib/pengine/unpack.c         rsc = find_container_child(rsc_id, rsc, node);
rsc_id           1822 lib/pengine/unpack.c             char *base = clone_strip(rsc_id);
rsc_id           1829 lib/pengine/unpack.c         if (rsc && safe_str_neq(rsc_id, rsc->id)) {
rsc_id           1831 lib/pengine/unpack.c             rsc->clone_name = strdup(rsc_id);
rsc_id           1842 lib/pengine/unpack.c     const char *rsc_id = crm_element_value(rsc_entry, XML_ATTR_ID);
rsc_id           1844 lib/pengine/unpack.c     crm_debug("Detected orphan resource %s on %s", rsc_id, node->details->uname);
rsc_id           1845 lib/pengine/unpack.c     rsc = create_fake_resource(rsc_id, rsc_entry, data_set);
rsc_id           2196 lib/pengine/unpack.c     const char *rsc_id = crm_element_value(rsc_entry, XML_ATTR_ID);
rsc_id           2210 lib/pengine/unpack.c               crm_element_name(rsc_entry), rsc_id, node->details->uname);
rsc_id           2228 lib/pengine/unpack.c     rsc = unpack_find_resource(data_set, node, rsc_id, rsc_entry);
rsc_id           2290 lib/pengine/unpack.c         const char *rsc_id;
rsc_id           2298 lib/pengine/unpack.c         rsc_id = crm_element_value(rsc_entry, XML_ATTR_ID);
rsc_id           2299 lib/pengine/unpack.c         if (container_id == NULL || rsc_id == NULL) {
rsc_id           2308 lib/pengine/unpack.c         rsc = pe_find_resource(data_set->resources, rsc_id);
rsc_id           3467 lib/pengine/unpack.c                         const char *rsc_id = crm_element_value(lrm_rsc, XML_ATTR_ID);
rsc_id           3469 lib/pengine/unpack.c                         if (rsc != NULL && safe_str_neq(rsc_id, rsc)) {
rsc_id           3473 lib/pengine/unpack.c                         intermediate = extract_operations(uname, rsc_id, lrm_rsc, active_filter);
rsc_id            315 lib/transition/unpack.c     op->rsc_id = strdup(ID(action_resource));
rsc_id             63 lrmd/lrmd.c        char *rsc_id;
rsc_id            112 lrmd/lrmd.c                   cmd->rsc_id, cmd->action, cmd->call_id, cmd->last_pid ? "pid:" : "", pid_str,
rsc_id            116 lrmd/lrmd.c                   cmd->rsc_id,
rsc_id            131 lrmd/lrmd.c                   cmd->rsc_id, cmd->action, cmd->call_id);
rsc_id            156 lrmd/lrmd.c        rsc->rsc_id = crm_element_value_copy(rsc_xml, F_LRMD_RSC_ID);
rsc_id            186 lrmd/lrmd.c        cmd->rsc_id = crm_element_value_copy(rsc_xml, F_LRMD_RSC_ID);
rsc_id            193 lrmd/lrmd.c                g_hash_table_insert(cmd->params, strdup("CRM_meta_isolation_instance"), strdup(rsc->rsc_id));
rsc_id            203 lrmd/lrmd.c            crm_debug("Setting flag to leave pid group on timeout and only kill action pid for %s_%s_%d", cmd->rsc_id, cmd->action, cmd->interval);
rsc_id            225 lrmd/lrmd.c        free(cmd->rsc_id);
rsc_id            240 lrmd/lrmd.c        if (!cmd->rsc_id) {
rsc_id            244 lrmd/lrmd.c        rsc = g_hash_table_lookup(rsc_list, cmd->rsc_id);
rsc_id            269 lrmd/lrmd.c        rsc = cmd->rsc_id ? g_hash_table_lookup(rsc_list, cmd->rsc_id) : NULL;
rsc_id            313 lrmd/lrmd.c                rsc->rsc_id,
rsc_id            334 lrmd/lrmd.c            services_action_kick(rsc->rsc_id, normalize_action_name(rsc, dup->action), dup->interval);
rsc_id            348 lrmd/lrmd.c        crm_trace("Scheduling %s on %s", cmd->action, rsc->rsc_id);
rsc_id            520 lrmd/lrmd.c        crm_xml_add(notify, F_LRMD_RSC_ID, cmd->rsc_id);
rsc_id            562 lrmd/lrmd.c            const char *rsc_id = crm_element_value(rsc_xml, F_LRMD_RSC_ID);
rsc_id            572 lrmd/lrmd.c            crm_xml_add(notify, F_LRMD_RSC_ID, rsc_id);
rsc_id            597 lrmd/lrmd.c        crm_trace("Resource operation rsc:%s action:%s completed (%p %p)", cmd->rsc_id, cmd->action,
rsc_id            877 lrmd/lrmd.c        rsc = cmd->rsc_id ? g_hash_table_lookup(rsc_list, cmd->rsc_id) : NULL;
rsc_id            918 lrmd/lrmd.c                              cmd->rsc_id, cmd->real_action, time_sum, timeout_left, services_ocf_exitcode_str(cmd->exec_rc), cmd->exec_rc);
rsc_id            964 lrmd/lrmd.c                              cmd->rsc_id, cmd->real_action, time_sum, timeout_left, delay);
rsc_id            968 lrmd/lrmd.c                             cmd->rsc_id, cmd->action, time_sum, timeout_left, delay);
rsc_id            972 lrmd/lrmd.c                               cmd->rsc_id, cmd->action, services_ocf_exitcode_str(cmd->exec_rc), cmd->exec_rc, time_sum, timeout_left, delay);
rsc_id            986 lrmd/lrmd.c                           cmd->rsc_id, cmd->real_action?cmd->real_action:cmd->action, cmd->exec_rc, time_sum, timeout_left);
rsc_id           1013 lrmd/lrmd.c        rsc = g_hash_table_lookup(rsc_list, cmd->rsc_id);
rsc_id           1134 lrmd/lrmd.c                                                    cmd->rsc_id,
rsc_id           1142 lrmd/lrmd.c            rc = stonith_api->cmds->remove_device(stonith_api, st_opt_sync_call, cmd->rsc_id);
rsc_id           1156 lrmd/lrmd.c        rc = stonith_api->cmds->monitor(stonith_api, 0, cmd->rsc_id, cmd->timeout / 1000);
rsc_id           1187 lrmd/lrmd.c                  rsc->rsc_id, cmd->action, rsc->class, rsc->provider, rsc->type);
rsc_id           1203 lrmd/lrmd.c            action = resources_action_create(rsc->rsc_id,
rsc_id           1213 lrmd/lrmd.c            action = resources_action_create(rsc->rsc_id,
rsc_id           1225 lrmd/lrmd.c            crm_err("Failed to create action, action:%s on resource %s", cmd->action, rsc->rsc_id);
rsc_id           1264 lrmd/lrmd.c            crm_trace("%s is still active", rsc->rsc_id);
rsc_id           1275 lrmd/lrmd.c                     cmd->rsc_id, cmd->action, cmd->start_delay);
rsc_id           1290 lrmd/lrmd.c            crm_trace("Nothing further to do for %s", rsc->rsc_id);
rsc_id           1356 lrmd/lrmd.c                services_action_cancel(rsc->rsc_id, normalize_action_name(rsc, cmd->action), cmd->interval);
rsc_id           1364 lrmd/lrmd.c        free(rsc->rsc_id);
rsc_id           1407 lrmd/lrmd.c        lrmd_rsc_t *dup = g_hash_table_lookup(rsc_list, rsc->rsc_id);
rsc_id           1414 lrmd/lrmd.c                     rsc->rsc_id, g_hash_table_size(rsc_list));
rsc_id           1420 lrmd/lrmd.c        g_hash_table_replace(rsc_list, rsc->rsc_id, rsc);
rsc_id           1422 lrmd/lrmd.c                 rsc->rsc_id, g_hash_table_size(rsc_list));
rsc_id           1434 lrmd/lrmd.c        const char *rsc_id = crm_element_value(rsc_xml, F_LRMD_RSC_ID);
rsc_id           1440 lrmd/lrmd.c        if (!rsc_id) {
rsc_id           1445 lrmd/lrmd.c        if (!(rsc = g_hash_table_lookup(rsc_list, rsc_id))) {
rsc_id           1447 lrmd/lrmd.c                     rsc_id, g_hash_table_size(rsc_list));
rsc_id           1460 lrmd/lrmd.c            crm_xml_add(reply, F_LRMD_RSC_ID, rsc->rsc_id);
rsc_id           1481 lrmd/lrmd.c        const char *rsc_id = crm_element_value(rsc_xml, F_LRMD_RSC_ID);
rsc_id           1483 lrmd/lrmd.c        if (!rsc_id) {
rsc_id           1487 lrmd/lrmd.c        if (!(rsc = g_hash_table_lookup(rsc_list, rsc_id))) {
rsc_id           1489 lrmd/lrmd.c                     rsc_id, g_hash_table_size(rsc_list));
rsc_id           1499 lrmd/lrmd.c        g_hash_table_remove(rsc_list, rsc_id);
rsc_id           1510 lrmd/lrmd.c        const char *rsc_id = crm_element_value(rsc_xml, F_LRMD_RSC_ID);
rsc_id           1513 lrmd/lrmd.c        if (!rsc_id) {
rsc_id           1516 lrmd/lrmd.c        if (!(rsc = g_hash_table_lookup(rsc_list, rsc_id))) {
rsc_id           1518 lrmd/lrmd.c                     rsc_id, g_hash_table_size(rsc_list));
rsc_id           1533 lrmd/lrmd.c    cancel_op(const char *rsc_id, const char *action, int interval)
rsc_id           1536 lrmd/lrmd.c        lrmd_rsc_t *rsc = g_hash_table_lookup(rsc_list, rsc_id);
rsc_id           1577 lrmd/lrmd.c        } else if (services_action_cancel(rsc_id, normalize_action_name(rsc, action), interval) == TRUE) {
rsc_id           1621 lrmd/lrmd.c            cancel_op(rsc->rsc_id, cmd->action, cmd->interval);
rsc_id           1631 lrmd/lrmd.c        const char *rsc_id = crm_element_value(rsc_xml, F_LRMD_RSC_ID);
rsc_id           1637 lrmd/lrmd.c        if (!rsc_id || !action) {
rsc_id           1641 lrmd/lrmd.c        return cancel_op(rsc_id, action, interval);
rsc_id             38 lrmd/lrmd_private.h     char *rsc_id;
rsc_id             75 lrmd/remote_ctl.c     const char *rsc_id;
rsc_id            220 lrmd/remote_ctl.c         rsc_info = lrmd_conn->cmds->get_rsc_info(lrmd_conn, options.rsc_id, 0);
rsc_id            222 lrmd/remote_ctl.c             rc = lrmd_conn->cmds->register_rsc(lrmd_conn, options.rsc_id,
rsc_id            226 lrmd/remote_ctl.c                 crm_err("failed to register resource %s with pacemaker_remote. rc: %d", options.rsc_id, rc);
rsc_id            233 lrmd/remote_ctl.c                                    options.rsc_id,
rsc_id            243 lrmd/remote_ctl.c             crm_err("execution of rsc %s failed. rc = %d", options.rsc_id, rc);
rsc_id            312 lrmd/remote_ctl.c                 options.rsc_id = optarg;
rsc_id             82 lrmd/test.c        const char *rsc_id;
rsc_id            111 lrmd/test.c                 event->rsc_id,                                             \
rsc_id            225 lrmd/test.c                                       options.rsc_id,
rsc_id            239 lrmd/test.c                                               options.rsc_id,
rsc_id            244 lrmd/test.c            rsc_info = lrmd_conn->cmds->get_rsc_info(lrmd_conn, options.rsc_id, 0);
rsc_id            257 lrmd/test.c            rc = lrmd_conn->cmds->unregister_rsc(lrmd_conn, options.rsc_id, 0);
rsc_id            259 lrmd/test.c            rc = lrmd_conn->cmds->cancel(lrmd_conn, options.rsc_id, options.action, options.interval);
rsc_id            394 lrmd/test.c        if (options.rsc_id) {
rsc_id            395 lrmd/test.c            rsc = pe_find_resource_with_flags(data_set.resources, options.rsc_id,
rsc_id            494 lrmd/test.c                    options.rsc_id = optarg;
rsc_id            570 lrmd/test.c            if (!options.rsc_id) {
rsc_id            582 pengine/allocate.c                             const char *rsc_id = ID(rsc_entry);
rsc_id            584 pengine/allocate.c                             CRM_CHECK(rsc_id != NULL, return);
rsc_id            586 pengine/allocate.c                             result = find_rsc_list(NULL, NULL, rsc_id, TRUE, FALSE, data_set);
rsc_id           1756 pengine/allocate.c         char *rsc_id = NULL;
rsc_id           1760 pengine/allocate.c         parse_op_key(order->lh_action_task, &rsc_id, &op_type, &interval);
rsc_id           1781 pengine/allocate.c         free(rsc_id);
rsc_id           1322 pengine/constraints.c     char *rsc_id = NULL;
rsc_id           1330 pengine/constraints.c         rc = parse_op_key(key, &rsc_id, &op_type, &interval);
rsc_id           1335 pengine/constraints.c         free(rsc_id);
rsc_id            150 pengine/notif.c     const char *rsc_id = NULL;
rsc_id            188 pengine/notif.c         rsc_id = entry->rsc->id;
rsc_id            189 pengine/notif.c         CRM_ASSERT(rsc_id != NULL);
rsc_id            192 pengine/notif.c         if (safe_str_eq(rsc_id, last_rsc_id)) {
rsc_id            195 pengine/notif.c         last_rsc_id = rsc_id;
rsc_id            199 pengine/notif.c             int len = 2 + strlen(rsc_id);       /* +1 space, +1 EOS */
rsc_id            205 pengine/notif.c             crm_trace("Adding %s (%dc) at offset %d", rsc_id, len - 2, existing_len);
rsc_id            207 pengine/notif.c             sprintf(*rsc_list + existing_len, "%s%s", existing_len == 0 ? "":" ", rsc_id);
rsc_id            137 pengine/utilization.c     const char *rsc_id;
rsc_id            152 pengine/utilization.c         CRM_ASSERT(data->rsc_id);
rsc_id            156 pengine/utilization.c                   data->node->details->uname, (char *)key, data->rsc_id, required, remaining);
rsc_id            162 pengine/utilization.c have_enough_capacity(node_t * node, const char * rsc_id, GHashTable * utilization)
rsc_id            167 pengine/utilization.c     data.rsc_id = rsc_id;
rsc_id             54 tools/crm_attribute.c const char *rsc_id = NULL;
rsc_id            193 tools/crm_attribute.c                 rsc_id = optarg;
rsc_id           1247 tools/crm_mon.c                         resource_t *rsc, const char *rsc_id, gboolean all)
rsc_id           1263 tools/crm_mon.c             print_as("   %s:", rsc_id);
rsc_id           1268 tools/crm_mon.c             fprintf(stream, "   <li>%s:", rsc_id);
rsc_id           1272 tools/crm_mon.c             fprintf(stream, "            <resource_history id=\"%s\"", rsc_id);
rsc_id           1516 tools/crm_mon.c     const char *rsc_id = crm_element_value(rsc_entry, XML_ATTR_ID);
rsc_id           1517 tools/crm_mon.c     resource_t *rsc = pe_find_resource(data_set->resources, rsc_id);
rsc_id           1522 tools/crm_mon.c         print_rsc_history_start(stream, data_set, node, rsc, rsc_id, FALSE);
rsc_id           1556 tools/crm_mon.c             print_rsc_history_start(stream, data_set, node, rsc, rsc_id, TRUE);
rsc_id            420 tools/crm_resource.c     const char *rsc_id = NULL;
rsc_id            618 tools/crm_resource.c                 rsc_id = optarg;
rsc_id            805 tools/crm_resource.c     if (require_resource && !rsc_id) {
rsc_id            811 tools/crm_resource.c     if (find_flags && rsc_id) {
rsc_id            848 tools/crm_resource.c     if (find_flags && rsc_id) {
rsc_id            849 tools/crm_resource.c         rsc = pe_find_resource_with_flags(data_set.resources, rsc_id,
rsc_id            852 tools/crm_resource.c             CMD_ERR("Resource '%s' not found", rsc_id);
rsc_id            906 tools/crm_resource.c         rc = cli_resource_execute(rsc, rsc_id, rsc_long_cmd, override_params,
rsc_id            951 tools/crm_resource.c         rc = cli_resource_fail(crmd_channel, host_uname, rsc_id, &data_set);
rsc_id            957 tools/crm_resource.c         rc = cli_resource_print_operations(rsc_id, host_uname, TRUE, &data_set);
rsc_id            960 tools/crm_resource.c         rc = cli_resource_print_operations(rsc_id, host_uname, FALSE, &data_set);
rsc_id            963 tools/crm_resource.c         rc = cli_resource_search(rsc, rsc_id, &data_set);
rsc_id            998 tools/crm_resource.c             rc = cli_resource_clear(rsc_id, dest->details->uname, NULL, cib_conn);
rsc_id           1001 tools/crm_resource.c             rc = cli_resource_clear(rsc_id, NULL, data_set.nodes, cib_conn);
rsc_id           1005 tools/crm_resource.c         rc = cli_resource_move(rsc, rsc_id, host_uname, cib_conn, &data_set);
rsc_id           1015 tools/crm_resource.c         rc = cli_resource_ban(rsc_id, dest->details->uname, NULL, cib_conn);
rsc_id           1021 tools/crm_resource.c             rc = cli_resource_ban(rsc_id, current->details->uname, NULL, cib_conn);
rsc_id           1039 tools/crm_resource.c                 rc = cli_resource_ban(rsc_id, current->details->uname, NULL, cib_conn);
rsc_id           1042 tools/crm_resource.c                 CMD_ERR("Resource '%s' not moved: active in %d locations (promoted in %d).", rsc_id, g_list_length(rsc->running_on), count);
rsc_id           1043 tools/crm_resource.c                 CMD_ERR("You can prevent '%s' from running on a specific location with: --ban --node <name>", rsc_id);
rsc_id           1045 tools/crm_resource.c                         " --ban --master --node <name>", rsc_id);
rsc_id           1049 tools/crm_resource.c             CMD_ERR("Resource '%s' not moved: active in %d locations.", rsc_id, g_list_length(rsc->running_on));
rsc_id           1050 tools/crm_resource.c             CMD_ERR("You can prevent '%s' from running on a specific location with: --ban --node <name>", rsc_id);
rsc_id           1073 tools/crm_resource.c         crm_xml_add(msg_data, XML_ATTR_ID, rsc_id);
rsc_id           1090 tools/crm_resource.c         rc = cli_resource_update_attribute(rsc, rsc_id, prop_set, prop_id,
rsc_id           1096 tools/crm_resource.c         rc = cli_resource_delete_attribute(rsc, rsc_id, prop_set, prop_id,
rsc_id           1113 tools/crm_resource.c             } else if(rsc_id && safe_str_neq(rsc_id, resource_name)) {
rsc_id           1142 tools/crm_resource.c                   rsc->id, rsc_id, host_uname);
rsc_id           1228 tools/crm_resource.c         crm_xml_add(msg_data, XML_ATTR_ID, rsc_id);
rsc_id             51 tools/crm_resource.h int cli_resource_prefer(const char *rsc_id, const char *host, cib_t * cib_conn);
rsc_id             52 tools/crm_resource.h int cli_resource_ban(const char *rsc_id, const char *host, GListPtr allnodes, cib_t * cib_conn);
rsc_id             53 tools/crm_resource.h int cli_resource_clear(const char *rsc_id, const char *host, GListPtr allnodes, cib_t * cib_conn);
rsc_id             69 tools/crm_resource.h int cli_resource_print_operations(const char *rsc_id, const char *host_uname, bool active, pe_working_set_t * data_set);
rsc_id             73 tools/crm_resource.h int cli_resource_fail(crm_ipc_t * crmd_channel, const char *host_uname, const char *rsc_id, pe_working_set_t * data_set);
rsc_id             80 tools/crm_resource.h int cli_resource_move(resource_t *rsc, const char *rsc_id,
rsc_id             61 tools/crm_resource_ban.c cli_resource_ban(const char *rsc_id, const char *host, GListPtr allnodes, cib_t * cib_conn)
rsc_id             73 tools/crm_resource_ban.c             rc = cli_resource_ban(rsc_id, target->details->uname, NULL, cib_conn);
rsc_id             86 tools/crm_resource_ban.c     crm_xml_set_id(location, "cli-ban-%s-on-%s", rsc_id, host);
rsc_id             91 tools/crm_resource_ban.c                 " on %s.", ID(location), rsc_id, host);
rsc_id             95 tools/crm_resource_ban.c                 " with cibadmin", rsc_id, scope_master?"being promoted":"running", host);
rsc_id            101 tools/crm_resource_ban.c     crm_xml_add(location, XML_LOC_ATTR_SOURCE, rsc_id);
rsc_id            117 tools/crm_resource_ban.c         crm_xml_set_id(rule, "cli-ban-%s-on-%s-rule", rsc_id, host);
rsc_id            121 tools/crm_resource_ban.c         crm_xml_set_id(expr, "cli-ban-%s-on-%s-expr", rsc_id, host);
rsc_id            128 tools/crm_resource_ban.c         crm_xml_set_id(expr, "cli-ban-%s-on-%s-lifetime", rsc_id, host);
rsc_id            143 tools/crm_resource_ban.c cli_resource_prefer(const char *rsc_id, const char *host, cib_t * cib_conn)
rsc_id            162 tools/crm_resource_ban.c     crm_xml_set_id(location, "cli-prefer-%s", rsc_id);
rsc_id            164 tools/crm_resource_ban.c     crm_xml_add(location, XML_LOC_ATTR_SOURCE, rsc_id);
rsc_id            180 tools/crm_resource_ban.c         crm_xml_set_id(rule, "cli-prefer-rule-%s", rsc_id);
rsc_id            184 tools/crm_resource_ban.c         crm_xml_set_id(expr, "cli-prefer-expr-%s", rsc_id);
rsc_id            191 tools/crm_resource_ban.c         crm_xml_set_id(expr, "cli-prefer-lifetime-end-%s", rsc_id);
rsc_id            205 tools/crm_resource_ban.c cli_resource_clear(const char *rsc_id, const char *host, GListPtr allnodes, cib_t * cib_conn)
rsc_id            219 tools/crm_resource_ban.c         crm_xml_set_id(location, "cli-ban-%s-on-%s", rsc_id, host);
rsc_id            228 tools/crm_resource_ban.c                            rsc_id, target->details->uname);
rsc_id            233 tools/crm_resource_ban.c     crm_xml_set_id(location, "cli-prefer-%s", rsc_id);
rsc_id            162 tools/crm_resource_print.c cli_resource_print_operations(const char *rsc_id, const char *host_uname, bool active,
rsc_id            167 tools/crm_resource_print.c     GListPtr ops = find_operations(rsc_id, host_uname, active, data_set);
rsc_id            168 tools/crm_resource_runtime.c find_matching_attr_resource(resource_t * rsc, const char * rsc_id, const char * attr_set, const char * attr_id,
rsc_id            182 tools/crm_resource_runtime.c                     printf("Performing %s of '%s' for '%s' will not apply to its peers in '%s'\n", cmd, attr_name, rsc_id, rsc->parent->id);
rsc_id            188 tools/crm_resource_runtime.c                 rc = find_resource_attr(cib, XML_ATTR_ID, rsc_id, attr_set_type, attr_set, attr_id, attr_name, &local_attr_id);
rsc_id            194 tools/crm_resource_runtime.c                         printf("Performing %s of '%s' on '%s', the parent of '%s'\n", cmd, attr_name, rsc->id, rsc_id);
rsc_id            203 tools/crm_resource_runtime.c         printf("Forcing %s of '%s' for '%s' instead of '%s'\n", cmd, attr_name, rsc_id, rsc->parent->id);
rsc_id            215 tools/crm_resource_runtime.c                     printf("A value for '%s' already exists in child '%s', performing %s on that instead of '%s'\n", attr_name, lookup_id, cmd, rsc_id);
rsc_id            447 tools/crm_resource_runtime.c                 const char *host_uname, const char *rsc_id,
rsc_id            459 tools/crm_resource_runtime.c     resource_t *rsc = pe_find_resource(data_set->resources, rsc_id);
rsc_id            462 tools/crm_resource_runtime.c         CMD_ERR("Resource %s not found", rsc_id);
rsc_id            466 tools/crm_resource_runtime.c         CMD_ERR("We can only process primitive resources, not %s", rsc_id);
rsc_id            507 tools/crm_resource_runtime.c         CMD_ERR("%s has no type!  Aborting...", rsc_id);
rsc_id            513 tools/crm_resource_runtime.c         CMD_ERR("%s has no class!  Aborting...", rsc_id);
rsc_id            725 tools/crm_resource_runtime.c              const char *rsc_id, pe_working_set_t * data_set)
rsc_id            727 tools/crm_resource_runtime.c     crm_warn("Failing: %s", rsc_id);
rsc_id            728 tools/crm_resource_runtime.c     return send_lrm_rsc_op(crmd_channel, CRM_OP_LRM_FAIL, host_uname, rsc_id, FALSE, data_set);
rsc_id           1088 tools/crm_resource_runtime.c     char *rsc_id = NULL;
rsc_id           1111 tools/crm_resource_runtime.c     rsc_id = strdup(rsc->id);
rsc_id           1139 tools/crm_resource_runtime.c         free(rsc_id);
rsc_id           1151 tools/crm_resource_runtime.c         rc = cli_resource_ban(rsc_id, host, NULL, cib);
rsc_id           1163 tools/crm_resource_runtime.c         rc = cli_resource_update_attribute(rsc, rsc_id, NULL, NULL,
rsc_id           1168 tools/crm_resource_runtime.c         fprintf(stderr, "Could not set target-role for %s: %s (%d)\n", rsc_id, pcmk_strerror(rc), rc);
rsc_id           1175 tools/crm_resource_runtime.c         free(rsc_id);
rsc_id           1225 tools/crm_resource_runtime.c             fprintf(stderr, "Could not complete shutdown of %s, %d resources remaining\n", rsc_id, g_list_length(list_delta));
rsc_id           1234 tools/crm_resource_runtime.c         rc = cli_resource_clear(rsc_id, host, NULL, cib);
rsc_id           1237 tools/crm_resource_runtime.c         rc = cli_resource_update_attribute(rsc, rsc_id, NULL, NULL,
rsc_id           1244 tools/crm_resource_runtime.c         rc = cli_resource_delete_attribute(rsc, rsc_id, NULL, NULL,
rsc_id           1250 tools/crm_resource_runtime.c         fprintf(stderr, "Could not unset target-role for %s: %s (%d)\n", rsc_id, pcmk_strerror(rc), rc);
rsc_id           1251 tools/crm_resource_runtime.c         free(rsc_id);
rsc_id           1304 tools/crm_resource_runtime.c             fprintf(stdout, "Could not complete restart of %s, %d resources remaining\n", rsc_id, g_list_length(list_delta));
rsc_id           1317 tools/crm_resource_runtime.c         cli_resource_clear(rsc_id, host, NULL, cib);
rsc_id           1319 tools/crm_resource_runtime.c         cli_resource_update_attribute(rsc, rsc_id, NULL, NULL,
rsc_id           1324 tools/crm_resource_runtime.c         cli_resource_delete_attribute(rsc, rsc_id, NULL, NULL,
rsc_id           1342 tools/crm_resource_runtime.c     free(rsc_id);
rsc_id           1617 tools/crm_resource_runtime.c cli_resource_move(resource_t *rsc, const char *rsc_id, const char *host_name,
rsc_id           1629 tools/crm_resource_runtime.c             CMD_ERR("Using parent '%s' for --move command instead of '%s'.", rsc->id, rsc_id);
rsc_id           1630 tools/crm_resource_runtime.c             rsc_id = p->id;
rsc_id           1661 tools/crm_resource_runtime.c         CMD_ERR("Resource '%s' not moved: active on multiple nodes", rsc_id);
rsc_id           1678 tools/crm_resource_runtime.c         crm_trace("%s is already active on %s but not in correct state", rsc_id, dest->details->uname);
rsc_id           1683 tools/crm_resource_runtime.c                      rsc_id, scope_master?"promoted":"active", dest->details->uname);
rsc_id           1686 tools/crm_resource_runtime.c                     rsc_id, scope_master?"promoted":"active", dest->details->uname);
rsc_id           1692 tools/crm_resource_runtime.c     cli_resource_clear(rsc_id, dest->details->uname, data_set->nodes, cib);
rsc_id           1695 tools/crm_resource_runtime.c     rc = cli_resource_prefer(rsc_id, dest->details->uname, cib);
rsc_id           1706 tools/crm_resource_runtime.c             (void)cli_resource_ban(rsc_id, current->details->uname, NULL, cib);
rsc_id           1710 tools/crm_resource_runtime.c                     rsc_id, scope_master?"promoted":"active", count, dest->details->uname);
rsc_id           1712 tools/crm_resource_runtime.c                     " --ban %s--host <name>", rsc_id, scope_master?"promoted":"active", scope_master?"--master ":"");
rsc_id           1715 tools/crm_resource_runtime.c             crm_trace("Not banning %s from its current location: not active", rsc_id);
rsc_id            152 tools/fake_transition.c     op->rsc_id = strdup(ID(cib_resource));