agent             142 crmd/crmd_lrm.h                            const char *agent, char **output, enum lrmd_call_options options);
agent             153 crmd/crmd_lrm.h                            const char *provider, const char *agent, enum lrmd_call_options options);
agent             159 crmd/crmd_lrm.h gboolean is_remote_lrmd_ra(const char *agent, const char *provider, const char *id);
agent             603 crmd/lrm_state.c                        const char *agent, char **output, enum lrmd_call_options options)
agent             608 crmd/lrm_state.c     return ((lrmd_t *) lrm_state->conn)->cmds->get_metadata(lrm_state->conn, class, provider, agent,
agent             685 crmd/lrm_state.c                        const char *provider, const char *agent, enum lrmd_call_options options)
agent             695 crmd/lrm_state.c     if (is_remote_lrmd_ra(agent, provider, NULL)) {
agent             700 crmd/lrm_state.c                                                             provider, agent, options);
agent             870 crmd/remote_lrmd_ra.c is_remote_lrmd_ra(const char *agent, const char *provider, const char *id)
agent             872 crmd/remote_lrmd_ra.c     if (agent && provider && !strcmp(agent, REMOTE_LRMD_RA) && !strcmp(provider, "pacemaker")) {
agent             420 fencing/admin.c     const char *agent = NULL;
agent             471 fencing/admin.c                 agent = optarg;
agent             634 fencing/admin.c             rc = st->cmds->register_device(st, st_opts, device, "stonith-ng", agent, params);
agent             644 fencing/admin.c             if (agent == NULL) {
agent             650 fencing/admin.c                 rc = st->cmds->metadata(st, st_opt_sync_call, agent, NULL, &buffer, timeout);
agent             356 fencing/commands.c     if(safe_str_eq(device->agent, STONITH_WATCHDOG_AGENT)) {
agent             391 fencing/commands.c         crm_warn("Agent '%s' does not advertise support for 'reboot', performing 'off' action instead", device->agent);
agent             395 fencing/commands.c     action = stonith_action_create(device->agent,
agent             523 fencing/commands.c     free(device->agent);
agent             689 fencing/commands.c get_agent_metadata(const char *agent)
agent             698 fencing/commands.c     buffer = g_hash_table_lookup(metadata_cache, agent);
agent             699 fencing/commands.c     if(safe_str_eq(agent, STONITH_WATCHDOG_AGENT)) {
agent             704 fencing/commands.c         int rc = st->cmds->metadata(st, st_opt_sync_call, agent, NULL, &buffer, 10);
agent             708 fencing/commands.c             crm_err("Could not retrieve metadata for fencing agent %s", agent);
agent             711 fencing/commands.c         g_hash_table_replace(metadata_cache, strdup(agent), buffer);
agent             895 fencing/commands.c     device->agent = crm_element_value_copy(dev, "agent");
agent             907 fencing/commands.c     device->agent_metadata = get_agent_metadata(device->agent);
agent            1132 fencing/commands.c     } else if (safe_str_neq(dup->agent, device->agent)) {
agent            1133 fencing/commands.c         crm_trace("Different agent: %s != %s", dup->agent, device->agent);
agent            1874 fencing/commands.c         crm_xml_add(dev, "agent", device->agent);
agent              29 fencing/config.y 	char *agent;
agent              55 fencing/config.y 		line_val.agent = $3;
agent              61 fencing/config.y 		line_val.agent = $3;
agent             165 fencing/config.y 	crm_free(line_val.agent);
agent             183 fencing/config.y 		res |= standalone_cfg_add_device(line_val.name, line_val.agent);
agent              24 fencing/internal.h     char *agent;
agent             678 fencing/main.c         const char *agent = crm_element_value(rsc->xml, XML_EXPR_ATTR_TYPE);
agent             698 fencing/main.c         data = create_device_registration_xml(rsc_name(rsc), provider, agent, params, rsc_provides);
agent              30 fencing/standalone_config.c     char *agent;
agent             100 fencing/standalone_config.c standalone_cfg_add_device(const char *device, const char *agent)
agent             104 fencing/standalone_config.c     if (!device || !agent) {
agent             115 fencing/standalone_config.c     dev->agent = strdup(agent);
agent             249 fencing/standalone_config.c         free(dev->agent);
agent             311 fencing/standalone_config.c     data = create_device_registration_xml(dev->name, __FUNCTION__, dev->agent, params);
agent              49 fencing/standalone_config.h int standalone_cfg_add_device(const char *device, const char *agent);
agent              27 include/crm/fencing/internal.h stonith_action_t *stonith_action_create(const char *agent,
agent              43 include/crm/fencing/internal.h gboolean is_redhat_agent(const char *agent);
agent              50 include/crm/fencing/internal.h xmlNode *create_device_registration_xml(const char *id, const char *namespace, const char *agent,
agent             337 include/crm/lrmd.h                          const char *provider, const char *agent, enum lrmd_call_options options);
agent             441 include/crm/lrmd.h                          const char *agent, char **output, enum lrmd_call_options options);
agent             465 include/crm/lrmd.h     int (*list_ocf_providers) (lrmd_t * lrmd, const char *agent, lrmd_list_t ** providers);
agent             170 include/crm/services.h     char *agent;
agent             269 include/crm/services.h                                           const char *provider, const char *agent,
agent             279 include/crm/services.h     const char *resources_find_service_class(const char *agent);
agent             165 include/crm/stonith-ng.h         const char *namespace, const char *agent, stonith_key_value_t *params);
agent             380 include/crm/stonith-ng.h const char *get_stonith_provider(const char *agent, const char *provider);
agent              53 lib/fencing/st_client.c     char *agent;
agent             166 lib/fencing/st_client.c         char *prefix = crm_strdup_printf("%s[%d] stdout:", action->agent, pid);
agent             174 lib/fencing/st_client.c         char *prefix = crm_strdup_printf("%s[%d] stderr:", action->agent, pid);
agent             205 lib/fencing/st_client.c create_device_registration_xml(const char *id, const char *namespace, const char *agent,
agent             212 lib/fencing/st_client.c     namespace = get_stonith_provider(agent, namespace);
agent             214 lib/fencing/st_client.c         hash2field((gpointer) "plugin", (gpointer) agent, args);
agent             215 lib/fencing/st_client.c         agent = "fence_legacy";
agent             221 lib/fencing/st_client.c     crm_xml_add(data, "agent", agent);
agent             236 lib/fencing/st_client.c                             const char *id, const char *namespace, const char *agent,
agent             242 lib/fencing/st_client.c     data = create_device_registration_xml(id, namespace, agent, params, NULL);
agent             510 lib/fencing/st_client.c make_args(const char *agent, const char *action, const char *victim, uint32_t victim_nodeid, GHashTable * device_args,
agent             563 lib/fencing/st_client.c         if(safe_str_eq(agent, "fence_legacy")) {
agent             564 lib/fencing/st_client.c             value = agent;
agent             666 lib/fencing/st_client.c     free(action->agent);
agent             675 lib/fencing/st_client.c stonith_action_create(const char *agent,
agent             684 lib/fencing/st_client.c     crm_debug("Initiating action %s for agent %s (target=%s)", _action, agent, victim);
agent             685 lib/fencing/st_client.c     action->args = make_args(agent, _action, victim, victim_nodeid, device_args, port_map);
agent             686 lib/fencing/st_client.c     action->agent = strdup(agent);
agent             748 lib/fencing/st_client.c                  action->agent, action->action, action->max_retries);
agent             851 lib/fencing/st_client.c                  action->tries, action->agent, action->action, action->remaining_timeout);
agent             857 lib/fencing/st_client.c     if (action->args == NULL || action->agent == NULL)
agent             911 lib/fencing/st_client.c         execlp(action->agent, action->agent, NULL);
agent             921 lib/fencing/st_client.c                    action->agent, pcmk_strerror(rc), rc);
agent             927 lib/fencing/st_client.c                    action->agent, pcmk_strerror(rc), rc);
agent             954 lib/fencing/st_client.c         crm_trace("Op: %s on %s, pid: %d, timeout: %ds", action->action, action->agent, pid,
agent             964 lib/fencing/st_client.c                     action->action, action->agent);
agent            1024 lib/fencing/st_client.c             crm_err("call %s for %s exited due to signal %d", action->action, action->agent,
agent            1029 lib/fencing/st_client.c                     action->action, action->agent, status);
agent            1233 lib/fencing/st_client.c stonith_api_device_metadata(stonith_t * stonith, int call_options, const char *agent,
agent            1238 lib/fencing/st_client.c     const char *provider = get_stonith_provider(agent, namespace);
agent            1240 lib/fencing/st_client.c     crm_trace("looking up %s/%s metadata", agent, provider);
agent            1248 lib/fencing/st_client.c         stonith_action_t *action = stonith_action_create(agent, "metadata", NULL, 0, 5, NULL, NULL);
agent            1255 lib/fencing/st_client.c             crm_warn("Could not obtain metadata for %s", agent);
agent            1263 lib/fencing/st_client.c             crm_warn("Metadata for %s is invalid", agent);
agent            1346 lib/fencing/st_client.c             stonith_obj = (*st_new_fn) (agent);
agent            1351 lib/fencing/st_client.c                     crm_warn("no long description in %s's metadata.", agent);
agent            1357 lib/fencing/st_client.c                     crm_warn("no short description in %s's metadata.", agent);
agent            1363 lib/fencing/st_client.c                     crm_warn("no list of parameters in %s's metadata.", agent);
agent            1376 lib/fencing/st_client.c             bufferlen = strlen(META_TEMPLATE) + strlen(agent)
agent            1382 lib/fencing/st_client.c                      agent, xml_meta_longdesc, xml_meta_shortdesc, meta_param);
agent            1584 lib/fencing/st_client.c is_redhat_agent(const char *agent)
agent            1590 lib/fencing/st_client.c     snprintf(buffer, FILENAME_MAX, "%s/%s", RH_STONITH_DIR, agent);
agent            1599 lib/fencing/st_client.c get_stonith_provider(const char *agent, const char *provider)
agent            1602 lib/fencing/st_client.c     if (is_redhat_agent(agent)) {
agent            1623 lib/fencing/st_client.c             stonith_obj = (*st_new_fn) (agent);
agent            1636 lib/fencing/st_client.c         crm_err("No such device: %s", agent);
agent            1757 lib/lrmd/lrmd_client.c does_provider_have_agent(const char *agent, const char *provider, const char *class)
agent            1765 lib/lrmd/lrmd_client.c         if (safe_str_eq(agent, gIter2->data)) {
agent            1775 lib/lrmd/lrmd_client.c lrmd_api_list_ocf_providers(lrmd_t * lrmd, const char *agent, lrmd_list_t ** providers)
agent            1786 lib/lrmd/lrmd_client.c         if (!agent || does_provider_have_agent(agent, provider,
agent              95 lib/pengine/remote.c     const char *agent = crm_element_value(xml, XML_ATTR_TYPE);
agent              97 lib/pengine/remote.c     if (safe_str_eq(agent, "remote") && safe_str_eq(provider, "pacemaker")
agent              70 lib/services/services.c resources_find_service_class(const char *agent)
agent              82 lib/services/services.c     rc = asprintf(&path, "%s/%s", LSB_ROOT_DIR, agent);
agent              91 lib/services/services.c     if (systemd_unit_exists(agent)) {
agent              97 lib/services/services.c     if (upstart_job_exists(agent)) {
agent             142 lib/services/services.c expand_resource_class(const char *rsc, const char *standard, const char *agent)
agent             147 lib/services/services.c         const char *found_class = resources_find_service_class(agent);
agent             150 lib/services/services.c             crm_debug("Found %s agent %s for %s", found_class, agent, rsc);
agent             154 lib/services/services.c                      agent, rsc);
agent             166 lib/services/services.c                         const char *agent, const char *action, int interval, int timeout,
agent             191 lib/services/services.c     if (crm_strlen_zero(agent)) {
agent             210 lib/services/services.c     op->standard = expand_resource_class(name, standard, agent);
agent             211 lib/services/services.c     op->agent = strdup(agent);
agent             230 lib/services/services.c         if (asprintf(&op->opaque->exec, "%s/resource.d/%s/%s", OCF_ROOT_DIR, provider, agent) == -1) {
agent             238 lib/services/services.c         if (op->agent[0] == '/') {
agent             241 lib/services/services.c             op->opaque->exec = strdup(op->agent);
agent             242 lib/services/services.c         } else if (asprintf(&op->opaque->exec, "%s/%s", LSB_ROOT_DIR, op->agent) == -1) {
agent             256 lib/services/services.c         if (op->agent[0] == '/') {
agent             259 lib/services/services.c             op->opaque->exec = strdup(op->agent);
agent             260 lib/services/services.c         } else if (asprintf(&op->opaque->exec, "%s/%s", HB_RA_DIR, op->agent) == -1) {
agent             299 lib/services/services.c         if (op->agent[0] == '/') {
agent             302 lib/services/services.c             op->opaque->exec = strdup(op->agent);
agent             304 lib/services/services.c         } else if (asprintf(&op->opaque->exec, "%s/%s", NAGIOS_PLUGIN_DIR, op->agent) == -1) {
agent             600 lib/services/services.c     free(op->agent);
agent            1275 lib/services/services.c     if (op->agent == NULL) {
agent            1282 lib/services/services.c                 op->agent);
agent            1287 lib/services/services.c         class = resources_find_service_class(op->agent);
agent            1292 lib/services/services.c                 op->agent);
agent            1297 lib/services/services.c         return (lsb_get_metadata(op->agent, &op->stdout_data) >= 0);
agent            1302 lib/services/services.c         return (nagios_get_metadata(op->agent, &op->stdout_data) >= 0);
agent            1308 lib/services/services.c         return (heartbeat_get_metadata(op->agent, &op->stdout_data) >= 0);
agent             188 lib/services/services_linux.c     if (op->agent != NULL) {
agent             189 lib/services/services_linux.c         set_ocf_env("OCF_RESOURCE_TYPE", op->agent, NULL);
agent             258 lib/services/systemd.c                     op->agent, op->id, error.message);
agent             633 lib/services/systemd.c         char *override_dir = crm_strdup_printf("%s/%s.service.d", SYSTEMD_OVERRIDE_ROOT, op->agent);
agent             634 lib/services/systemd.c         char *override_file = crm_strdup_printf("%s/%s.service.d/50-pacemaker.conf", SYSTEMD_OVERRIDE_ROOT, op->agent);
agent             656 lib/services/systemd.c                 op->agent);
agent             678 lib/services/systemd.c         char *override_file = crm_strdup_printf("%s/%s.service.d/50-pacemaker.conf", SYSTEMD_OVERRIDE_ROOT, op->agent);
agent             701 lib/services/systemd.c         char *name = systemd_service_name(op->agent);
agent             747 lib/services/systemd.c     crm_warn("%s operation on systemd unit %s named '%s' timed out", op->action, op->agent, op->rsc);
agent             764 lib/services/systemd.c               op->synchronous ? "" : "a", op->action, op->agent, op->rsc);
agent             768 lib/services/systemd.c         op->stdout_data = systemd_unit_metadata(op->agent, op->timeout);
agent             777 lib/services/systemd.c     unit = systemd_unit_by_name(op->agent, op);
agent             433 lib/services/upstart.c         op->stdout_data = upstart_job_metadata(op->agent);
agent             438 lib/services/upstart.c     if(!upstart_job_by_name(op->agent, &job, op->timeout)) {
agent             439 lib/services/upstart.c         crm_debug("Could not obtain job named '%s' to %s", op->agent, action);