name 1080 daemons/attrd/attrd_commands.c char *name = user_data; name 1081 daemons/attrd/attrd_commands.c attribute_t *a = g_hash_table_lookup(attributes, name); name 1084 daemons/attrd/attrd_commands.c crm_info("Attribute %s no longer exists", name); name 1146 daemons/attrd/attrd_commands.c a->timeout_ms, name); name 248 daemons/attrd/pacemaker-attrd.c if (client->name == NULL) { name 250 daemons/attrd/pacemaker-attrd.c client->name = crm_strdup_printf("%s.%d", value?value:"unknown", client->pid); name 235 daemons/based/based_callbacks.c if (cib_client->name == NULL) { name 239 daemons/based/based_callbacks.c cib_client->name = pcmk__itoa(cib_client->pid); name 241 daemons/based/based_callbacks.c cib_client->name = strdup(value); name 260 daemons/based/based_callbacks.c crm_xml_add(op_request, F_CIB_CLIENTNAME, cib_client->name); name 189 daemons/based/based_io.c const char *name = NULL; name 268 daemons/based/based_io.c name = XML_ATTR_GENERATION_ADMIN; name 269 daemons/based/based_io.c value = crm_element_value(root, name); name 271 daemons/based/based_io.c crm_warn("No value for %s was specified in the configuration.", name); name 277 daemons/based/based_io.c crm_xml_add_int(root, name, 0); name 280 daemons/based/based_io.c name = XML_ATTR_GENERATION; name 281 daemons/based/based_io.c value = crm_element_value(root, name); name 283 daemons/based/based_io.c crm_xml_add_int(root, name, 0); name 286 daemons/based/based_io.c name = XML_ATTR_NUMUPDATES; name 287 daemons/based/based_io.c value = crm_element_value(root, name); name 289 daemons/based/based_io.c crm_xml_add_int(root, name, 0); name 420 daemons/based/based_remote.c if (client->name == NULL) { name 423 daemons/based/based_remote.c client->name = strdup(client->id); name 425 daemons/based/based_remote.c client->name = strdup(value); name 447 daemons/based/based_remote.c crm_xml_add(command, F_CIB_CLIENTNAME, client->name); name 524 daemons/based/based_remote.c client->name = crm_element_value_copy(command, "name"); name 32 daemons/controld/controld_attrd.c log_attrd_error(const char *host, const char *name, const char *value, name 42 daemons/controld/controld_attrd.c CRM_XS " rc=%d", (name? name : "all resources"), node_type, name 59 daemons/controld/controld_attrd.c CRM_XS " rc=%d", name, value, node_type, host, when, name 79 daemons/controld/controld_attrd.c update_attrd_helper(const char *host, const char *name, const char *value, name 112 daemons/controld/controld_attrd.c rc = pcmk__node_attr_request(attrd_ipc, command, host, name, name 119 daemons/controld/controld_attrd.c rc = pcmk__node_attr_request_clear(attrd_ipc, host, name, name 148 daemons/controld/controld_attrd.c log_attrd_error(host, name, value, is_remote_node, command, rc); name 153 daemons/controld/controld_attrd.c update_attrd(const char *host, const char *name, const char *value, name 156 daemons/controld/controld_attrd.c update_attrd_helper(host, name, value, NULL, user_name, is_remote_node, name 674 daemons/controld/controld_control.c crmd_pref(GHashTable * options, const char *name) name 677 daemons/controld/controld_control.c name); name 1084 daemons/controld/controld_messages.c const char *name = NULL; name 1087 daemons/controld/controld_messages.c name = crm_element_value(stored_msg, XML_ATTR_UNAME); name 1092 daemons/controld/controld_messages.c crm_err("Could not instruct peers to remove references to node %s/%u", name, id); name 1094 daemons/controld/controld_messages.c crm_notice("Instructing peers to remove references to node %s/%u", name, id); name 1099 daemons/controld/controld_messages.c reap_crm_member(id, name); name 1105 daemons/controld/controld_messages.c st_fail_count_reset(name); name 385 daemons/controld/controld_te_actions.c char *name; name 394 daemons/controld/controld_te_actions.c free(peer->name); name 426 daemons/controld/controld_te_actions.c r->name = strdup(target); name 427 daemons/controld/controld_te_actions.c g_hash_table_insert(te_targets, r->name, r); name 491 daemons/controld/controld_te_actions.c r->name = strdup(target); name 492 daemons/controld/controld_te_actions.c g_hash_table_insert(te_targets, r->name, r); name 91 daemons/controld/controld_te_callbacks.c const char *name = crm_element_value(attr, XML_NVPAIR_ATTR_NAME); name 94 daemons/controld/controld_te_callbacks.c if (pcmk__str_eq(CRM_OP_PROBED, name, pcmk__str_casei)) { name 245 daemons/controld/controld_te_callbacks.c } else if (strcmp((const char*)xml->name, XML_CIB_TAG_LRM) == 0) { name 250 daemons/controld/controld_te_callbacks.c CRM_ASSERT(strcmp((const char*)xml->name, XML_LRM_TAG_RESOURCES) == 0); name 425 daemons/controld/controld_te_callbacks.c const char *name = NULL; name 465 daemons/controld/controld_te_callbacks.c name = (const char *)match->name; name 470 daemons/controld/controld_te_callbacks.c (name? " matched by " : ""), (name? name : "")); name 478 daemons/controld/controld_te_callbacks.c || pcmk__str_eq(name, XML_CIB_TAG_TICKETS, pcmk__str_casei)) { name 483 daemons/controld/controld_te_callbacks.c || pcmk__str_eq(name, XML_TAG_TRANSIENT_NODEATTRS, pcmk__str_casei)) { name 490 daemons/controld/controld_te_callbacks.c } else if (name == NULL) { name 494 daemons/controld/controld_te_callbacks.c } else if (strcmp(name, XML_TAG_CIB) == 0) { name 497 daemons/controld/controld_te_callbacks.c } else if (strcmp(name, XML_CIB_TAG_STATUS) == 0) { name 500 daemons/controld/controld_te_callbacks.c } else if (strcmp(name, XML_CIB_TAG_STATE) == 0) { name 503 daemons/controld/controld_te_callbacks.c } else if (strcmp(name, XML_CIB_TAG_LRM) == 0) { name 506 daemons/controld/controld_te_callbacks.c } else if (strcmp(name, XML_LRM_TAG_RESOURCES) == 0) { name 512 daemons/controld/controld_te_callbacks.c } else if (strcmp(name, XML_LRM_TAG_RESOURCE) == 0) { name 518 daemons/controld/controld_te_callbacks.c } else if (strcmp(name, XML_LRM_TAG_RSC_OP) == 0) { name 526 daemons/controld/controld_te_callbacks.c op, xpath, name); name 86 daemons/controld/controld_utils.h void update_attrd(const char *host, const char *name, const char *value, const char *user_name, gboolean is_remote_node); name 529 daemons/execd/execd_commands.c if (client->name == NULL) { name 124 daemons/execd/pacemaker-execd.c if (!client->name) { name 128 daemons/execd/pacemaker-execd.c client->name = pcmk__itoa(pcmk__client_pid(c)); name 130 daemons/execd/pacemaker-execd.c client->name = strdup(value); name 140 daemons/execd/pacemaker-execd.c crm_xml_add(request, F_LRMD_CLIENTNAME, client->name); name 108 daemons/execd/remoted_pidone.c char *name = NULL; name 114 daemons/execd/remoted_pidone.c if (find_env_var_name(line, &name, &end) && (*++end == '=')) { name 175 daemons/execd/remoted_pidone.c setenv(name, value, 0); name 257 daemons/execd/remoted_pidone.c const char *name = "pcmk-init"; name 272 daemons/execd/remoted_pidone.c i = strlen(name); name 275 daemons/execd/remoted_pidone.c snprintf(argv[0], maxlen, "%s", name); name 90 daemons/execd/remoted_proxy.c client->name = crm_strdup_printf("proxy-%s-%d-%.8s", ipc_channel, client->pid, client->id); name 111 daemons/execd/remoted_tls.c if (!client->name) { name 115 daemons/execd/remoted_tls.c client->name = strdup(value); name 125 daemons/execd/remoted_tls.c crm_xml_add(request, F_LRMD_CLIENTNAME, client->name); name 629 daemons/fenced/fenced_commands.c char *name = NULL; name 644 daemons/fenced/fenced_commands.c free(name); name 645 daemons/fenced/fenced_commands.c name = calloc(1, 1 + lpc - last); name 646 daemons/fenced/fenced_commands.c memcpy(name, hostmap + last, lpc - last); name 657 daemons/fenced/fenced_commands.c if (name) { name 663 daemons/fenced/fenced_commands.c crm_debug("Adding alias '%s'='%s'", name, value); name 664 daemons/fenced/fenced_commands.c g_hash_table_replace(aliases, name, value); name 669 daemons/fenced/fenced_commands.c name = NULL; name 689 daemons/fenced/fenced_commands.c free(name); name 882 daemons/fenced/fenced_commands.c xml2device_params(const char *name, xmlNode *dev) name 894 daemons/fenced/fenced_commands.c name, STONITH_ATTR_ACTION_OP); name 1373 daemons/fenced/fenced_commands.c const char *name = crm_element_value(level, XML_ATTR_STONITH_TARGET_ATTRIBUTE); name 1376 daemons/fenced/fenced_commands.c if(name && value) { name 1377 daemons/fenced/fenced_commands.c return crm_strdup_printf("%s=%s", name, value); name 2461 daemons/fenced/fenced_commands.c const char *name = NULL; name 2476 daemons/fenced/fenced_commands.c name = names[lpc]; name 2477 daemons/fenced/fenced_commands.c value = crm_element_value(request, name); name 2478 daemons/fenced/fenced_commands.c crm_xml_add(reply, name, value); name 2859 daemons/fenced/fenced_commands.c const char *name = NULL; name 2862 daemons/fenced/fenced_commands.c name = crm_element_value(request, XML_ATTR_UNAME); name 2863 daemons/fenced/fenced_commands.c reap_crm_member(node_id, name); name 121 daemons/fenced/pacemaker-fenced.c if (c->name == NULL) { name 127 daemons/fenced/pacemaker-fenced.c c->name = crm_strdup_printf("%s.%u", value, c->pid); name 274 daemons/fenced/pacemaker-fenced.c get_stonith_flag(const char *name) name 276 daemons/fenced/pacemaker-fenced.c if (pcmk__str_eq(name, T_STONITH_NOTIFY_FENCE, pcmk__str_casei)) { name 279 daemons/fenced/pacemaker-fenced.c } else if (pcmk__str_eq(name, STONITH_OP_DEVICE_ADD, pcmk__str_casei)) { name 282 daemons/fenced/pacemaker-fenced.c } else if (pcmk__str_eq(name, STONITH_OP_DEVICE_DEL, pcmk__str_casei)) { name 285 daemons/fenced/pacemaker-fenced.c } else if (pcmk__str_eq(name, T_STONITH_NOTIFY_HISTORY, pcmk__str_casei)) { name 288 daemons/fenced/pacemaker-fenced.c } else if (pcmk__str_eq(name, T_STONITH_NOTIFY_HISTORY_SYNCED, pcmk__str_casei)) { name 715 daemons/fenced/pacemaker-fenced.c const char *name = NULL; name 726 daemons/fenced/pacemaker-fenced.c while (g_hash_table_iter_next(&gIter, (gpointer *) & name, (gpointer *) & value)) { name 727 daemons/fenced/pacemaker-fenced.c if (!name || !value) { name 730 daemons/fenced/pacemaker-fenced.c params = stonith_key_value_add(params, name, value); name 731 daemons/fenced/pacemaker-fenced.c crm_trace(" %s=%s", name, value); name 948 daemons/fenced/pacemaker-fenced.c node_has_attr(const char *node, const char *name, const char *value) name 964 daemons/fenced/pacemaker-fenced.c node, name, value); name 214 daemons/fenced/pacemaker-fenced.h uint64_t get_stonith_flag(const char *name); name 265 daemons/fenced/pacemaker-fenced.h gboolean node_has_attr(const char *node, const char *name, const char *value); name 19 daemons/pacemakerd/pacemakerd.h const char *name; name 122 daemons/pacemakerd/pcmkd_subdaemons.c crm_err("%s[%lld] terminated%s", pcmk_children[lpc].name, name 127 daemons/pacemakerd/pcmkd_subdaemons.c crm_notice("%s[%lld] terminated%s", pcmk_children[lpc].name, name 158 daemons/pacemakerd/pcmkd_subdaemons.c crm_err("Child %s not terminating in a timely manner, forcing", child->name); name 168 daemons/pacemakerd/pcmkd_subdaemons.c const char *name = mainloop_child_name(p); name 173 daemons/pacemakerd/pcmkd_subdaemons.c name, pid, signo, core); name 179 daemons/pacemakerd/pcmkd_subdaemons.c name, pid, exitcode, crm_exit_str(exitcode)); name 184 daemons/pacemakerd/pcmkd_subdaemons.c name, pid); name 191 daemons/pacemakerd/pcmkd_subdaemons.c crm_emerg("%s[%d] instructed the machine to reset", name, pid); name 200 daemons/pacemakerd/pcmkd_subdaemons.c name, pid, exitcode, crm_exit_str(exitcode)); name 216 daemons/pacemakerd/pcmkd_subdaemons.c crm_err("Child respawn count exceeded by %s", child->name); name 228 daemons/pacemakerd/pcmkd_subdaemons.c crm_err("Rebooting system because of %s", child->name); name 234 daemons/pacemakerd/pcmkd_subdaemons.c child->name, child->endpoint); name 244 daemons/pacemakerd/pcmkd_subdaemons.c crm_notice("Respawning failed child process: %s", child->name); name 285 daemons/pacemakerd/pcmkd_subdaemons.c child->name, (long) SHUTDOWN_ESCALATION_PERIOD, name 300 daemons/pacemakerd/pcmkd_subdaemons.c child->name, (long long) child->pid, name 307 daemons/pacemakerd/pcmkd_subdaemons.c crm_debug("%s confirmed stopped", child->name); name 360 daemons/pacemakerd/pcmkd_subdaemons.c crm_info("Nothing to do for child \"%s\"", child->name); name 368 daemons/pacemakerd/pcmkd_subdaemons.c } else if (env_callgrind != NULL && strstr(env_callgrind, child->name)) { name 375 daemons/pacemakerd/pcmkd_subdaemons.c } else if (env_valgrind != NULL && strstr(env_valgrind, child->name)) { name 381 daemons/pacemakerd/pcmkd_subdaemons.c " The location of the valgrind binary is unknown", child->name); name 387 daemons/pacemakerd/pcmkd_subdaemons.c crm_err("Invalid user (%s) for %s: not found", child->uid, child->name); name 390 daemons/pacemakerd/pcmkd_subdaemons.c crm_info("Using uid=%u and group=%u for process %s", uid, gid, child->name); name 398 daemons/pacemakerd/pcmkd_subdaemons.c mainloop_child_add(child->pid, 0, child->name, child, pcmk_child_exit); name 401 daemons/pacemakerd/pcmkd_subdaemons.c (long long) child->pid, child->name, name 504 daemons/pacemakerd/pcmkd_subdaemons.c child->name); name 552 daemons/pacemakerd/pcmkd_subdaemons.c int ret = pcmk__pid_active(child->pid, child->name); name 557 daemons/pacemakerd/pcmkd_subdaemons.c child->name) == pcmk_rc_ok))) { name 672 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_children[i].name, WAIT_TRIES - 1); name 680 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_children[i].name, name 693 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_children[i].name, name 720 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_children[i].name, pcmk_rc_str(rc), rc); name 793 daemons/pacemakerd/pcmkd_subdaemons.c child->name, (long long) PCMK__SPECIAL_PID_AS_0(child->pid)); name 798 daemons/pacemakerd/pcmkd_subdaemons.c crm_trace("Client %s not running", child->name); name 805 daemons/pacemakerd/pcmkd_subdaemons.c child->name, signal, (long long) child->pid); name 809 daemons/pacemakerd/pcmkd_subdaemons.c child->name, (long long) child->pid, signal, strerror(errno)); name 73 daemons/schedulerd/pacemaker-schedulerd.c const char *name; name 139 daemons/schedulerd/pacemaker-schedulerd.c if (pcmk__read_series_sequence(PE_STATE_DIR, series[series_id].name, name 145 daemons/schedulerd/pacemaker-schedulerd.c series[series_id].name, series_wrap, seq, value); name 158 daemons/schedulerd/pacemaker-schedulerd.c series[series_id].name, seq, true); name 202 daemons/schedulerd/pacemaker-schedulerd.c pcmk__write_series_sequence(PE_STATE_DIR, series[series_id].name, name 43 include/crm/cib.h char *get_shadow_file(const char *name); name 44 include/crm/cib.h cib_t *cib_shadow_new(const char *name); name 73 include/crm/cib/cib_types.h int (*signon) (cib_t *cib, const char *name, enum cib_conn_type type); name 74 include/crm/cib/cib_types.h int (*signon_raw) (cib_t *cib, const char *name, enum cib_conn_type type, name 66 include/crm/cib/util.h const char *cib_pref(GHashTable * options, const char *name); name 141 include/crm/cluster.h guint reap_crm_member(uint32_t id, const char *name); name 69 include/crm/cluster/election_internal.h election_t *election_init(const char *name, const char *uname, guint period_ms, GSourceFunc cb); name 75 include/crm/common/alerts_internal.h void pcmk__add_alert_key(GHashTable *table, enum pcmk__alert_keys_e name, name 77 include/crm/common/alerts_internal.h void pcmk__add_alert_key_int(GHashTable *table, enum pcmk__alert_keys_e name, name 33 include/crm/common/attrd_internal.h const char *name, const char *value, name 43 include/crm/common/attrd_internal.h const char *pcmk__node_attr_target(const char *name); name 101 include/crm/common/cmdline_internal.h void pcmk__add_arg_group(GOptionContext *context, const char *name, name 79 include/crm/common/internal.h void pcmk__sync_directory(const char *name); name 116 include/crm/common/internal.h const char *pcmk__message_name(const char *name); name 121 include/crm/common/internal.h int pcmk__scan_nvpair(const char *input, char **name, char **value); name 122 include/crm/common/internal.h char *pcmk__format_nvpair(const char *name, const char *value, name 124 include/crm/common/internal.h char *pcmk__format_named_time(const char *name, time_t epoch_time); name 129 include/crm/common/internal.h pid_t pcmk__procfs_pid_of(const char *name); name 162 include/crm/common/internal.h int pcmk__lock_pidfile(const char *filename, const char *name); name 250 include/crm/common/internal.h void pcmk__daemonize(const char *name, const char *pidfile); name 164 include/crm/common/ipc.h crm_ipc_t *crm_ipc_new(const char *name, size_t max_size); name 88 include/crm/common/ipc_internal.h int pcmk__ipc_is_authentic_process_active(const char *name, uid_t refuid, name 140 include/crm/common/ipc_internal.h char *name; name 140 include/crm/common/logging.h # define CRM_TRACE_INIT_DATA(name) name 143 include/crm/common/logging.h # define CRM_TRACE_INIT_DATA(name) QB_LOG_INIT_DATA(name) name 76 include/crm/common/logging_internal.h void pcmk__cli_init_logging(const char *name, unsigned int verbosity); name 65 include/crm/common/mainloop.h mainloop_timer_t *mainloop_timer_add(const char *name, guint period_ms, bool repeat, GSourceFunc cb, void *userdata); name 93 include/crm/common/mainloop.h qb_ipcs_service_t *mainloop_add_ipc_server(const char *name, enum qb_ipc_type type, name 115 include/crm/common/mainloop.h qb_ipcs_service_t *mainloop_add_ipc_server_with_prio(const char *name, name 122 include/crm/common/mainloop.h mainloop_io_t *mainloop_add_ipc_client(const char *name, int priority, size_t max_size, name 147 include/crm/common/mainloop.h mainloop_io_t *mainloop_add_fd(const char *name, int priority, int fd, void *userdata, name 29 include/crm/common/nvpair.h char *name; name 33 include/crm/common/nvpair.h GSList *pcmk_prepend_nvpair(GSList *nvpairs, const char *name, const char *value); name 40 include/crm/common/nvpair.h const char *name, const char *value); name 47 include/crm/common/nvpair.h const char *crm_xml_add(xmlNode *node, const char *name, const char *value); name 48 include/crm/common/nvpair.h const char *crm_xml_replace(xmlNode *node, const char *name, const char *value); name 49 include/crm/common/nvpair.h const char *crm_xml_add_int(xmlNode *node, const char *name, int value); name 50 include/crm/common/nvpair.h const char *crm_xml_add_ll(xmlNode *node, const char *name, long long value); name 51 include/crm/common/nvpair.h const char *crm_xml_add_ms(xmlNode *node, const char *name, guint ms); name 56 include/crm/common/nvpair.h const char *crm_element_value(const xmlNode *data, const char *name); name 57 include/crm/common/nvpair.h int crm_element_value_int(const xmlNode *data, const char *name, int *dest); name 58 include/crm/common/nvpair.h int crm_element_value_ll(const xmlNode *data, const char *name, long long *dest); name 59 include/crm/common/nvpair.h int crm_element_value_ms(const xmlNode *data, const char *name, guint *dest); name 60 include/crm/common/nvpair.h int crm_element_value_epoch(const xmlNode *xml, const char *name, time_t *dest); name 63 include/crm/common/nvpair.h char *crm_element_value_copy(const xmlNode *data, const char *name); name 96 include/crm/common/nvpair.h crm_xml_add_boolean(xmlNode *node, const char *name, gboolean value) name 98 include/crm/common/nvpair.h return crm_xml_add(node, name, (value? "true" : "false")); name 44 include/crm/common/options_internal.h const char *name; name 83 include/crm/common/options_internal.h const char *name; name 98 include/crm/common/options_internal.h const char *name); name 100 include/crm/common/options_internal.h void pcmk__print_option_metadata(const char *name, const char *version, name 125 include/crm/common/output_internal.h const char *name; name 393 include/crm/common/output_internal.h void (*output_xml) (pcmk__output_t *out, const char *name, const char *buf); name 427 include/crm/common/output_internal.h void (*list_item) (pcmk__output_t *out, const char *name, const char *format, ...) name 571 include/crm/common/output_internal.h pcmk__register_format(GOptionGroup *group, const char *name, name 722 include/crm/common/output_internal.h pcmk__output_xml_create_parent(pcmk__output_t *out, const char *name, ...) name 746 include/crm/common/output_internal.h pcmk__output_create_xml_node(pcmk__output_t *out, const char *name, ...) name 759 include/crm/common/output_internal.h pcmk__output_create_xml_text_node(pcmk__output_t *out, const char *name, const char *content); name 845 include/crm/common/output_internal.h pcmk__html_add_header(const char *name, ...) name 124 include/crm/common/util.h bool crm_is_daemon_name(const char *name); name 126 include/crm/common/util.h int crm_user_lookup(const char *name, uid_t * uid, gid_t * gid); name 63 include/crm/common/util_compat.h int pcmk_scan_nvpair(const char *input, char **name, char **value); name 66 include/crm/common/util_compat.h char *pcmk_format_nvpair(const char *name, const char *value, name 70 include/crm/common/util_compat.h char *pcmk_format_named_time(const char *name, time_t epoch_time); name 68 include/crm/common/xml.h void expand_plus_plus(xmlNode * target, const char *name, const char *value); name 78 include/crm/common/xml.h xmlNode *create_xml_node(xmlNode * parent, const char *name); name 88 include/crm/common/xml.h xmlNode *pcmk_create_xml_text_node(xmlNode * parent, const char *name, const char *content); name 115 include/crm/common/xml.h int add_node_nocopy(xmlNode * parent, const char *name, xmlNode * child); name 152 include/crm/common/xml.h void xml_remove_prop(xmlNode * obj, const char *name); name 169 include/crm/common/xml.h return xml? (const char *)(xml->name) : NULL; name 175 include/crm/common/xml.h const char *name = crm_element_name(xml); name 177 include/crm/common/xml.h if (strcmp(name, "master") == 0) { name 180 include/crm/common/xml.h return name; name 235 include/crm/common/xml.h int get_schema_version(const char *name); name 246 include/crm/common/xml.h xmlNode *first_named_child(const xmlNode *parent, const char *name); name 202 include/crm/compatibility.h get_resource_type(const char *name) name 204 include/crm/compatibility.h if (safe_str_eq(name, XML_CIB_TAG_RESOURCE)) { name 207 include/crm/compatibility.h } else if (safe_str_eq(name, XML_CIB_TAG_GROUP)) { name 210 include/crm/compatibility.h } else if (safe_str_eq(name, XML_CIB_TAG_INCARNATION) name 211 include/crm/compatibility.h || safe_str_eq(name, PCMK_XE_PROMOTABLE_LEGACY)) { name 214 include/crm/compatibility.h } else if (safe_str_eq(name, XML_CIB_TAG_CONTAINER)) { name 144 include/crm/pengine/common.h const char *pe_pref(GHashTable * options, const char *name); name 216 include/crm/pengine/internal.h void add_hash_param(GHashTable * hash, const char *name, const char *value); name 218 include/crm/pengine/internal.h char *native_parameter(pe_resource_t * rsc, pe_node_t * node, gboolean create, const char *name, name 247 include/crm/pengine/internal.h gchar * pcmk__native_output_string(pe_resource_t *rsc, const char *name, pe_node_t *node, name 341 include/crm/pengine/internal.h extern pe_action_t *get_pseudo_op(const char *name, pe_working_set_t * data_set); name 417 include/crm/pengine/internal.h extern enum action_tasks get_complex_task(pe_resource_t * rsc, const char *name, name 525 include/crm/pengine/internal.h void common_print(pe_resource_t * rsc, const char *pre_text, const char *name, pe_node_t *node, long options, void *print_data); name 526 include/crm/pengine/internal.h int pe__common_output_text(pcmk__output_t *out, pe_resource_t * rsc, const char *name, pe_node_t *node, unsigned int options); name 527 include/crm/pengine/internal.h int pe__common_output_html(pcmk__output_t *out, pe_resource_t * rsc, const char *name, pe_node_t *node, unsigned int options); name 536 include/crm/pengine/internal.h const char *name, name 538 include/crm/pengine/internal.h const char *pe_node_attribute_raw(pe_node_t *node, const char *name); name 218 include/crm/services.h svc_action_t *services_action_create(const char *name, const char *action, name 239 include/crm/services.h svc_action_t *resources_action_create(const char *name, const char *standard, name 248 include/crm/services.h gboolean services_action_kick(const char *name, const char *action, name 291 include/crm/services.h gboolean services_action_cancel(const char *name, const char *action, name 35 include/crm/services_internal.h svc_action_t *services__create_resource_action(const char *name, const char *standard, name 157 include/crm/stonith-ng.h int (*connect) (stonith_t *st, const char *name, int *stonith_fd); name 176 include/crm/stonith-ng.h stonith_t *st, int options, const char *name); name 450 include/crm/stonith-ng.h int stonith_api_connect_retry(stonith_t *st, const char *name, name 105 include/pacemaker.h const char *name, unsigned int timeout, unsigned int tolerance, name 35 include/pcmki/pcmki_fence.h const char *name, unsigned int timeout, unsigned int tolerance, name 81 include/pcmki/pcmki_sched_utils.h pe_action_t *pe_cancel_op(pe_resource_t *rsc, const char *name, name 39 include/portability.h int setenv(const char *name, const char *value, int why); name 411 lib/cib/cib_attrs.c tag = (const char *) (result->name); name 415 lib/cib/cib_attrs.c tag = (const char *) (result->name); name 551 lib/cib/cib_attrs.c if (pcmk__str_eq((const char *)a_child->name, XML_CIB_TAG_NODE, name 214 lib/cib/cib_client.c char *name = crm_strdup_printf("shadow.%s", suffix); name 262 lib/cib/cib_client.c fullname = crm_strdup_printf("%s/%s", dir, name); name 264 lib/cib/cib_client.c free(name); name 67 lib/cib/cib_file.c int cib_file_signon(cib_t * cib, const char *name, enum cib_conn_type type); name 582 lib/cib/cib_file.c cib_file_signon(cib_t * cib, const char *name, enum cib_conn_type type) name 595 lib/cib/cib_file.c private->filename, name); name 601 lib/cib/cib_file.c private->filename, name, pcmk_strerror(rc)); name 50 lib/cib/cib_native.c int cib_native_signon(cib_t * cib, const char *name, enum cib_conn_type type); name 51 lib/cib/cib_native.c int cib_native_signon_raw(cib_t * cib, const char *name, enum cib_conn_type type, int *event_fd); name 84 lib/cib/cib_native.c cib_native_signon(cib_t * cib, const char *name, enum cib_conn_type type) name 86 lib/cib/cib_native.c return cib_native_signon_raw(cib, name, type, NULL); name 147 lib/cib/cib_native.c cib_native_signon_raw(cib_t * cib, const char *name, enum cib_conn_type type, int *async_fd) name 196 lib/cib/cib_native.c crm_info("Could not connect to CIB manager for %s", name); name 206 lib/cib/cib_native.c crm_xml_add(hello, F_CIB_CLIENTNAME, name); name 236 lib/cib/cib_native.c crm_info("Successfully connected to CIB manager for %s", name); name 241 lib/cib/cib_native.c name, pcmk_strerror(rc)); name 303 lib/cib/cib_ops.c crm_trace("No matching object to delete: %s=%s", child->name, ID(child)); name 308 lib/cib/cib_ops.c crm_trace("No matching object to delete: %s=%s", input->name, ID(input)); name 770 lib/cib/cib_ops.c parent->name, id, name 773 lib/cib/cib_ops.c new_path = crm_strdup_printf("/%s%s", parent->name, name 69 lib/cib/cib_remote.c int cib_remote_signon(cib_t * cib, const char *name, enum cib_conn_type type); name 75 lib/cib/cib_remote.c const char *name); name 375 lib/cib/cib_remote.c cib_remote_signon(cib_t * cib, const char *name, enum cib_conn_type type) name 406 lib/cib/cib_remote.c crm_xml_add(hello, F_CIB_CLIENTNAME, name); name 413 lib/cib/cib_remote.c private->server, private->port, name); name 419 lib/cib/cib_remote.c private->server, private->port, name, pcmk_strerror(rc)); name 468 lib/cib/cib_remote.c xmlNode * data, xmlNode ** output_data, int call_options, const char *name) name 29 lib/cib/cib_utils.c const char *name; name 123 lib/cib/cib_utils.c if ((object_type == NULL && known_paths[lpc].name == NULL) name 124 lib/cib/cib_utils.c || pcmk__str_eq(object_type, known_paths[lpc].name, pcmk__str_casei)) { name 138 lib/cib/cib_utils.c if (pcmk__str_eq(object_type, known_paths[lpc].name, pcmk__str_casei)) { name 303 lib/cib/cib_utils.c current_cib = create_xml_node(NULL, (const char *)scratch->name); name 664 lib/cib/cib_utils.c cib_pref(GHashTable * options, const char *name) name 667 lib/cib/cib_utils.c name); name 157 lib/cluster/cluster.c static char *name = NULL; name 159 lib/cluster/cluster.c if (name == NULL) { name 160 lib/cluster/cluster.c name = get_node_name(0); name 162 lib/cluster/cluster.c return name; name 177 lib/cluster/cluster.c char *name = NULL; name 183 lib/cluster/cluster.c name = pcmk__corosync_name(0, nodeid); name 191 lib/cluster/cluster.c if ((name == NULL) && (nodeid == 0)) { name 192 lib/cluster/cluster.c name = pcmk_hostname(); name 193 lib/cluster/cluster.c if (name == NULL) { name 203 lib/cluster/cluster.c if (name == NULL) { name 207 lib/cluster/cluster.c return name; name 68 lib/cluster/corosync.c node_name_is_valid(const char *key, const char *name) name 72 lib/cluster/corosync.c if (name == NULL) { name 76 lib/cluster/corosync.c } else if (sscanf(name, "%d.%d.%d.%d", &octet, &octet, &octet, &octet) == 4) { name 77 lib/cluster/corosync.c crm_trace("%s contains an IPv4 address (%s), ignoring", key, name); name 80 lib/cluster/corosync.c } else if (strstr(name, ":") != NULL) { name 81 lib/cluster/corosync.c crm_trace("%s contains an IPv6 address (%s), ignoring", key, name); name 84 lib/cluster/corosync.c crm_trace("'%s: %s' is valid", key, name); name 108 lib/cluster/corosync.c char *name = NULL; name 166 lib/cluster/corosync.c while (name == NULL && cmap_handle != 0) { name 181 lib/cluster/corosync.c nodeid, lpc, crm_str(name)); name 182 lib/cluster/corosync.c if (name == NULL) { name 184 lib/cluster/corosync.c cmap_get_string(cmap_handle, key, &name); name 185 lib/cluster/corosync.c crm_trace("%s = %s", key, crm_str(name)); name 188 lib/cluster/corosync.c if (name == NULL) { name 190 lib/cluster/corosync.c cmap_get_string(cmap_handle, key, &name); name 191 lib/cluster/corosync.c crm_trace("%s = %s", key, crm_str(name)); name 193 lib/cluster/corosync.c if (!node_name_is_valid(key, name)) { name 194 lib/cluster/corosync.c free(name); name 195 lib/cluster/corosync.c name = NULL; name 210 lib/cluster/corosync.c if (name == NULL) { name 213 lib/cluster/corosync.c return name; name 314 lib/cluster/corosync.c char *name = pcmk__corosync_name(0, id); name 317 lib/cluster/corosync.c node = crm_get_peer(id, name); name 318 lib/cluster/corosync.c free(name); name 613 lib/cluster/corosync.c char *name = NULL; name 624 lib/cluster/corosync.c name = pcmk__corosync_name(cmap_handle, nodeid); name 625 lib/cluster/corosync.c if (name != NULL) { name 631 lib/cluster/corosync.c if(node && node->uname && strcasecmp(node->uname, name) == 0) { name 634 lib/cluster/corosync.c nodeid, name); name 641 lib/cluster/corosync.c if (nodeid > 0 || name != NULL) { name 642 lib/cluster/corosync.c crm_trace("Initializing node[%d] %u = %s", lpc, nodeid, name); name 643 lib/cluster/corosync.c crm_get_peer(nodeid, name); name 646 lib/cluster/corosync.c if (nodeid > 0 && name != NULL) { name 653 lib/cluster/corosync.c crm_xml_add(node, XML_ATTR_UNAME, name); name 657 lib/cluster/corosync.c free(name); name 28 lib/cluster/election.c char *name; // Descriptive name for this election name 54 lib/cluster/election.c crm_info("%s timed out, declaring local node as winner", e->name); name 89 lib/cluster/election.c election_init(const char *name, const char *uname, guint period_ms, GSourceFunc cb) name 110 lib/cluster/election.c e->name = name? crm_strdup_printf("election-%s", name) name 113 lib/cluster/election.c e->timeout = mainloop_timer_add(e->name, period_ms, FALSE, name 115 lib/cluster/election.c crm_trace("Created %s", e->name); name 132 lib/cluster/election.c crm_trace("Discarding %s (no-)vote from lost peer %s", e->name, uname); name 146 lib/cluster/election.c crm_trace("Resetting election %s", e->name); name 169 lib/cluster/election.c crm_trace("Destroying %s", e->name); name 172 lib/cluster/election.c free(e->name); name 303 lib/cluster/election.c e->name); name 321 lib/cluster/election.c crm_debug("Started %s round %d", e->name, e->count); name 352 lib/cluster/election.c crm_trace("%s check requested, but no votes received yet", e->name); name 371 lib/cluster/election.c crm_warn("Received too many votes in %s", e->name); name 386 lib/cluster/election.c crm_info("%s won by local node", e->name); name 392 lib/cluster/election.c e->name, num_members - voted_size, num_members); name 442 lib/cluster/election.c (e? e->name : "election")); name 454 lib/cluster/election.c (e? e->name : "election"), vote->op, vote->from); name 460 lib/cluster/election.c (e? e->name : "election"), vote->from, vote->op); name 477 lib/cluster/election.c e->name, vote->op, vote->from); name 581 lib/cluster/election.c e->name, vote.election_id, vote.op, vote.from, name 588 lib/cluster/election.c e->name, vote.election_id, vote.op, vote.from); name 636 lib/cluster/election.c e->name, e->election_wins, STORM_INTERVAL); name 659 lib/cluster/election.c e->name, vote.election_id, vote.op, e->count, vote.from, name 681 lib/cluster/election.c e->name, vote.election_id, vote.election_owner, vote.op, name 699 lib/cluster/election.c e->name, vote.election_id, vote.election_owner, vote.from, name 707 lib/cluster/election.c e->name, vote.election_id, vote.election_owner, vote.op, name 335 lib/cluster/membership.c reap_crm_member(uint32_t id, const char *name) name 346 lib/cluster/membership.c search.uname = name ? strdup(name) : NULL; name 173 lib/common/acl.c if (!strcmp(XML_ACL_TAG_ROLE, (const char *) role->name)) { name 366 lib/common/acl.c const char *prop_name = (const char *)xIter->name; name 373 lib/common/acl.c xmlUnsetProp(xml, tmp->name); name 498 lib/common/acl.c if (strcmp((const char *) prop->name, XML_ATTR_ID) != 0) { name 599 lib/common/acl.c pcmk__check_acl(xmlNode *xml, const char *name, enum xml_private_flags mode) name 613 lib/common/acl.c if (name) { name 615 lib/common/acl.c "[@%s]", name); name 631 lib/common/acl.c if (name) { name 632 lib/common/acl.c xmlAttr *attr = xmlHasProp(xml, (pcmkXmlStr) name); name 153 lib/common/alerts.c pcmk__add_alert_key(GHashTable *table, enum pcmk__alert_keys_e name, name 156 lib/common/alerts.c for (const char **key = pcmk__alert_keys[name]; *key; key++) { name 167 lib/common/alerts.c pcmk__add_alert_key_int(GHashTable *table, enum pcmk__alert_keys_e name, name 170 lib/common/alerts.c for (const char **key = pcmk__alert_keys[name]; *key; key++) { name 238 lib/common/alerts.c const char *name = NULL; name 242 lib/common/alerts.c ((name = crm_element_name(section)) == NULL) || name 243 lib/common/alerts.c (strcmp(name, XML_CIB_TAG_ALERTS) != 0)) { name 134 lib/common/attrd_client.c const char *name, const char *value, name 153 lib/common/attrd_client.c if (name == NULL && command == 'U') { name 191 lib/common/attrd_client.c if (name == NULL) { name 195 lib/common/attrd_client.c crm_xml_add(update, name_as, name); name 219 lib/common/attrd_client.c name, value, display_host, pcmk_rc_str(rc), rc); name 279 lib/common/attrd_client.c pcmk__node_attr_target(const char *name) name 281 lib/common/attrd_client.c if (name == NULL || pcmk__strcase_any_of(name, "auto", "localhost", NULL)) { name 289 lib/common/attrd_client.c name = host_physical; name 295 lib/common/attrd_client.c name = host_pcmk; name 303 lib/common/attrd_client.c return name; name 132 lib/common/cmdline.c pcmk__add_arg_group(GOptionContext *context, const char *name, name 138 lib/common/cmdline.c group = g_option_group_new(name, header, desc, NULL, NULL); name 129 lib/common/crmcommon_private.h bool pcmk__check_acl(xmlNode *xml, const char *name, name 142 lib/common/crmcommon_private.h bool pcmk__xa_filterable(const char *name); name 252 lib/common/digest.c pcmk__xa_filterable(const char *name) name 263 lib/common/digest.c if (strcmp(name, filter[i]) == 0) { name 395 lib/common/io.c pcmk__sync_directory(const char *name) name 400 lib/common/io.c directory = opendir(name); name 402 lib/common/io.c crm_perror(LOG_ERR, "Could not open %s for syncing", name); name 408 lib/common/io.c crm_perror(LOG_ERR, "Could not obtain file descriptor for %s", name); name 413 lib/common/io.c crm_perror(LOG_ERR, "Could not sync %s", name); name 416 lib/common/io.c crm_perror(LOG_ERR, "Could not close %s after fsync", name); name 745 lib/common/ipc_client.c crm_ipc_new(const char *name, size_t max_size) name 755 lib/common/ipc_client.c client->server_name = strdup(name); name 758 lib/common/ipc_client.c name, strerror(errno)); name 766 lib/common/ipc_client.c name, strerror(errno)); name 1399 lib/common/ipc_client.c pcmk__ipc_is_authentic_process_active(const char *name, uid_t refuid, name 1410 lib/common/ipc_client.c c = qb_ipcc_connect(name, 0); name 1412 lib/common/ipc_client.c crm_info("Could not connect to %s IPC: %s", name, strerror(errno)); name 1421 lib/common/ipc_client.c name, pcmk_rc_str(rc), rc); name 1430 lib/common/ipc_client.c name, (long long) PCMK__SPECIAL_PID_AS_0(found_pid), name 1439 lib/common/ipc_client.c CRM_XS " rc=%d", name, pcmk_rc_str(rc), rc); name 1449 lib/common/ipc_client.c && strncmp(last_asked_name, name, sizeof(last_asked_name))) { name 1454 lib/common/ipc_client.c name, (long long) refuid, (long long) refgid); name 1459 lib/common/ipc_client.c name, (long long) found_uid, (long long) found_gid, name 1462 lib/common/ipc_client.c memccpy(last_asked_name, name, '\0', sizeof(last_asked_name)); name 147 lib/common/ipc_pacemakerd.c if (pcmk__str_eq((const char *) reply->name, "ack", pcmk__str_casei)) { name 104 lib/common/ipc_server.c } else if (c->name != NULL) { name 105 lib/common/ipc_server.c return c->name; name 334 lib/common/ipc_server.c free(c->name); name 958 lib/common/ipc_server.c crm_is_daemon_name(const char *name) name 960 lib/common/ipc_server.c name = pcmk__message_name(name); name 961 lib/common/ipc_server.c return (!strcmp(name, CRM_SYSTEM_CRMD) name 962 lib/common/ipc_server.c || !strcmp(name, CRM_SYSTEM_STONITHD) name 963 lib/common/ipc_server.c || !strcmp(name, "stonith-ng") name 964 lib/common/ipc_server.c || !strcmp(name, "attrd") name 965 lib/common/ipc_server.c || !strcmp(name, CRM_SYSTEM_CIB) name 966 lib/common/ipc_server.c || !strcmp(name, CRM_SYSTEM_MCP) name 967 lib/common/ipc_server.c || !strcmp(name, CRM_SYSTEM_DC) name 968 lib/common/ipc_server.c || !strcmp(name, CRM_SYSTEM_TENGINE) name 969 lib/common/ipc_server.c || !strcmp(name, CRM_SYSTEM_LRMD)); name 685 lib/common/logging.c crm_priority2int(const char *name) name 688 lib/common/logging.c const char *name; name 704 lib/common/logging.c for (lpc = 0; name != NULL && p_names[lpc].name != NULL; lpc++) { name 705 lib/common/logging.c if (pcmk__str_eq(p_names[lpc].name, name, pcmk__str_none)) { name 1053 lib/common/logging.c pcmk__cli_init_logging(const char *name, unsigned int verbosity) name 1055 lib/common/logging.c crm_log_init(name, LOG_ERR, FALSE, FALSE, 0, NULL, TRUE); name 56 lib/common/mainloop.c char *name; name 670 lib/common/mainloop.c mainloop_add_ipc_server(const char *name, enum qb_ipc_type type, name 673 lib/common/mainloop.c return mainloop_add_ipc_server_with_prio(name, type, callbacks, QB_LOOP_MED); name 677 lib/common/mainloop.c mainloop_add_ipc_server_with_prio(const char *name, enum qb_ipc_type type, name 688 lib/common/mainloop.c server = qb_ipcs_create(name, 0, pick_ipc_type(type), callbacks); name 691 lib/common/mainloop.c crm_err("Could not create %s IPC server: %s (%d)", name, pcmk_strerror(rc), rc); name 705 lib/common/mainloop.c crm_err("Could not start %s IPC server: %s (%d)", name, pcmk_strerror(rc), rc); name 721 lib/common/mainloop.c char *name; name 762 lib/common/mainloop.c client->name, pcmk_strerror(read_rc), read_rc); name 769 lib/common/mainloop.c read_rc, client->name, (int) condition); name 771 lib/common/mainloop.c crm_trace("Connection to %s no longer required", client->name); name 780 lib/common/mainloop.c client->name, (int) condition); name 783 lib/common/mainloop.c crm_trace("Connection to %s no longer required", client->name); name 792 lib/common/mainloop.c client->name, client, condition); name 797 lib/common/mainloop.c client->name, client, condition); name 841 lib/common/mainloop.c char *c_name = strdup(client->name); name 868 lib/common/mainloop.c free(client->name); client->name = NULL; name 935 lib/common/mainloop.c mainloop_add_ipc_client(const char *name, int priority, size_t max_size, name 938 lib/common/mainloop.c crm_ipc_t *ipc = crm_ipc_new(name, max_size); name 946 lib/common/mainloop.c name, pcmk_rc_str(rc)); name 975 lib/common/mainloop.c mainloop_add_fd(const char *name, int priority, int fd, void *userdata, name 985 lib/common/mainloop.c client->name = strdup(name); name 1010 lib/common/mainloop.c crm_trace("Added connection %d for %s[%p].%d", client->source, client->name, client, fd); name 1022 lib/common/mainloop.c crm_trace("Removing client %s[%p]", client->name, client); name 1326 lib/common/mainloop.c crm_trace("Invoking callbacks for timer %s", t->name); name 1329 lib/common/mainloop.c crm_trace("Timer %s complete", t->name); name 1356 lib/common/mainloop.c crm_trace("Starting timer %s", t->name); name 1365 lib/common/mainloop.c crm_trace("Stopping timer %s", t->name); name 1388 lib/common/mainloop.c mainloop_timer_add(const char *name, guint period_ms, bool repeat, GSourceFunc cb, void *userdata) name 1393 lib/common/mainloop.c if(name) { name 1394 lib/common/mainloop.c t->name = crm_strdup_printf("%s-%u-%d", name, period_ms, repeat); name 1396 lib/common/mainloop.c t->name = crm_strdup_printf("%p-%u-%d", t, period_ms, repeat); name 1403 lib/common/mainloop.c crm_trace("Created timer %s with %p %p", t->name, userdata, t->userdata); name 1412 lib/common/mainloop.c crm_trace("Destroying timer %s", t->name); name 1414 lib/common/mainloop.c free(t->name); name 182 lib/common/messages.c pcmk__message_name(const char *name) name 184 lib/common/messages.c if (name == NULL) { name 187 lib/common/messages.c } else if (!strcmp(name, "pacemaker-attrd")) { name 190 lib/common/messages.c } else if (!strcmp(name, "pacemaker-based")) { name 193 lib/common/messages.c } else if (!strcmp(name, "pacemaker-controld")) { name 196 lib/common/messages.c } else if (!strcmp(name, "pacemaker-execd")) { name 199 lib/common/messages.c } else if (!strcmp(name, "pacemaker-fenced")) { name 202 lib/common/messages.c } else if (!strcmp(name, "pacemaker-schedulerd")) { name 206 lib/common/messages.c return name; name 48 lib/common/nvpair.c pcmk__new_nvpair(const char *name, const char *value) name 52 lib/common/nvpair.c CRM_ASSERT(name); name 57 lib/common/nvpair.c nvpair->name = strdup(name); name 74 lib/common/nvpair.c free(nvpair->name); name 92 lib/common/nvpair.c pcmk_prepend_nvpair(GSList *nvpairs, const char *name, const char *value) name 94 lib/common/nvpair.c return g_slist_prepend(nvpairs, pcmk__new_nvpair(name, value)); name 125 lib/common/nvpair.c CRM_ASSERT(pair_a->name != NULL); name 128 lib/common/nvpair.c CRM_ASSERT(pair_b->name != NULL); name 130 lib/common/nvpair.c rc = strcmp(pair_a->name, pair_b->name); name 170 lib/common/nvpair.c (const char *) iter->name, name 192 lib/common/nvpair.c crm_xml_add(parent, pair->name, pair->value); name 222 lib/common/nvpair.c pcmk__scan_nvpair(const char *input, char **name, char **value) name 225 lib/common/nvpair.c *name = NULL; name 227 lib/common/nvpair.c if (sscanf(input, "%m[^=]=%m[^\n]", name, value) <= 0) { name 232 lib/common/nvpair.c *name = NULL; name 240 lib/common/nvpair.c *name = strndup(input, sep-input); name 242 lib/common/nvpair.c if (*name == NULL) { name 258 lib/common/nvpair.c if (*name != NULL && *value != NULL) { name 260 lib/common/nvpair.c } else if (*name != NULL || *value != NULL) { name 285 lib/common/nvpair.c pcmk__format_nvpair(const char *name, const char *value, const char *units) name 287 lib/common/nvpair.c return crm_strdup_printf("%s=\"%s%s\"", name, value, units ? units : ""); name 304 lib/common/nvpair.c pcmk__format_named_time(const char *name, time_t epoch_time) name 308 lib/common/nvpair.c return crm_strdup_printf("%s=\"%s\"", name, now_str ? now_str : ""); name 324 lib/common/nvpair.c crm_xml_add(xmlNode *node, const char *name, const char *value) name 330 lib/common/nvpair.c CRM_CHECK(name != NULL, return NULL); name 339 lib/common/nvpair.c old_value = crm_element_value(node, name); name 343 lib/common/nvpair.c crm_err("Cannot reset %s with crm_xml_add(%s)", name, value); name 349 lib/common/nvpair.c const char *old = crm_element_value(node, name); name 356 lib/common/nvpair.c if (dirty && (pcmk__check_acl(node, name, xpf_acl_create) == FALSE)) { name 357 lib/common/nvpair.c crm_trace("Cannot add %s=%s to %s", name, value, node->name); name 361 lib/common/nvpair.c attr = xmlSetProp(node, (pcmkXmlStr) name, (pcmkXmlStr) value); name 381 lib/common/nvpair.c crm_xml_replace(xmlNode *node, const char *name, const char *value) name 388 lib/common/nvpair.c CRM_CHECK(name != NULL && name[0] != 0, return NULL); name 390 lib/common/nvpair.c old_value = crm_element_value(node, name); name 395 lib/common/nvpair.c if (pcmk__check_acl(node, name, xpf_acl_write) == FALSE) { name 397 lib/common/nvpair.c crm_trace("Cannot replace %s=%s to %s", name, value, node->name); name 401 lib/common/nvpair.c xml_remove_prop(node, name); name 411 lib/common/nvpair.c attr = xmlSetProp(node, (pcmkXmlStr) name, (pcmkXmlStr) value); name 432 lib/common/nvpair.c crm_xml_add_int(xmlNode *node, const char *name, int value) name 435 lib/common/nvpair.c const char *added = crm_xml_add(node, name, number); name 454 lib/common/nvpair.c crm_xml_add_ms(xmlNode *node, const char *name, guint ms) name 457 lib/common/nvpair.c const char *added = crm_xml_add(node, name, number); name 482 lib/common/nvpair.c crm_xml_add_ll(xmlNode *xml, const char *name, long long value) name 489 lib/common/nvpair.c return crm_xml_add(xml, name, s); name 530 lib/common/nvpair.c crm_element_value(const xmlNode *data, const char *name) name 535 lib/common/nvpair.c crm_err("Couldn't find %s in NULL", name ? name : "<null>"); name 539 lib/common/nvpair.c } else if (name == NULL) { name 547 lib/common/nvpair.c attr = xmlHasProp((xmlNode *) data, (pcmkXmlStr) name); name 566 lib/common/nvpair.c crm_element_value_int(const xmlNode *data, const char *name, int *dest) name 571 lib/common/nvpair.c value = crm_element_value(data, name); name 598 lib/common/nvpair.c crm_element_value_ll(const xmlNode *data, const char *name, long long *dest) name 603 lib/common/nvpair.c value = crm_element_value(data, name); name 623 lib/common/nvpair.c crm_element_value_ms(const xmlNode *data, const char *name, guint *dest) name 630 lib/common/nvpair.c value = crm_element_value(data, name); name 651 lib/common/nvpair.c crm_element_value_epoch(const xmlNode *xml, const char *name, time_t *dest) name 655 lib/common/nvpair.c if (crm_element_value_ll(xml, name, &value_ll) < 0) { name 727 lib/common/nvpair.c crm_element_value_copy(const xmlNode *data, const char *name) name 730 lib/common/nvpair.c const char *value = crm_element_value(data, name); name 754 lib/common/nvpair.c const char *name = key; name 759 lib/common/nvpair.c if (isdigit(name[0])) { name 762 lib/common/nvpair.c crm_xml_add(tmp, XML_NVPAIR_ATTR_NAME, name); name 765 lib/common/nvpair.c } else if (crm_element_value(xml_node, name) == NULL) { name 766 lib/common/nvpair.c crm_xml_add(xml_node, name, s_value); name 767 lib/common/nvpair.c crm_trace("dumped: %s=%s", name, s_value); name 770 lib/common/nvpair.c crm_trace("duplicate: %s=%s", name, s_value); name 788 lib/common/nvpair.c const char *name = key; name 793 lib/common/nvpair.c if (crm_element_value(xml_node, name) == NULL) { name 794 lib/common/nvpair.c crm_xml_add(xml_node, name, s_value); name 797 lib/common/nvpair.c crm_trace("duplicate: %s=%s", name, s_value); name 849 lib/common/nvpair.c crm_create_nvpair_xml(xmlNode *parent, const char *id, const char *name, name 857 lib/common/nvpair.c CRM_CHECK(id || name, return NULL); name 868 lib/common/nvpair.c (parent_id? parent_id : XML_CIB_TAG_NVPAIR), name); name 870 lib/common/nvpair.c crm_xml_add(nvp, XML_NVPAIR_ATTR_NAME, name); name 889 lib/common/nvpair.c const char *name = key; name 893 lib/common/nvpair.c crm_create_nvpair_xml(xml_node, name, name, s_value); name 894 lib/common/nvpair.c crm_trace("dumped: name=%s value=%s", name, s_value); name 932 lib/common/nvpair.c const char *p_name = (const char *)pIter->name; name 943 lib/common/nvpair.c if (strcmp((const char *)child->name, XML_TAG_PARAM) == 0) { name 962 lib/common/nvpair.c pcmk_scan_nvpair(const char *input, char **name, char **value) name 964 lib/common/nvpair.c return pcmk__scan_nvpair(input, name, value); name 968 lib/common/nvpair.c pcmk_format_nvpair(const char *name, const char *value, name 971 lib/common/nvpair.c return pcmk__format_nvpair(name, value, units); name 975 lib/common/nvpair.c pcmk_format_named_time(const char *name, time_t epoch_time) name 977 lib/common/nvpair.c return pcmk__format_named_time(name, epoch_time); name 369 lib/common/operations.c if (strncmp((const char *) a->name, CRM_META "_", name 373 lib/common/operations.c return pcmk__str_any_of((const char *) a->name, name 61 lib/common/options.c long_opts[index].name = "__dummmy__"; name 69 lib/common/options.c for (lpc = 0; long_options[lpc].name != NULL; lpc++) { name 70 lib/common/options.c if (long_options[lpc].name[0] == '-') { name 77 lib/common/options.c long_opts[index].name = long_options[lpc].name; name 86 lib/common/options.c long_opts[index].name = NULL; name 116 lib/common/options.c for (lpc = 0; long_options[lpc].name != NULL; lpc++) { name 165 lib/common/options.c *longname = long_opts[*index].name; name 167 lib/common/options.c crm_notice("Unhandled option --%s", long_opts[*index].name); name 216 lib/common/options.c for (i = 0; crm_long_options[i].name != NULL; i++) { name 235 lib/common/options.c fprintf(stream, " --%s%s\t%s\n", crm_long_options[i].name, name 464 lib/common/options.c const char *name, const char *old_name, name 470 lib/common/options.c CRM_ASSERT(name != NULL); name 473 lib/common/options.c value = g_hash_table_lookup(options, name); name 481 lib/common/options.c old_name, name); name 485 lib/common/options.c g_hash_table_insert(options, strdup(name), new_value); name 492 lib/common/options.c "because '%s' is invalid", name, value); name 506 lib/common/options.c name); name 512 lib/common/options.c crm_err("Bug: default value for cluster option '%s' is invalid", name); name 517 lib/common/options.c value, name); name 520 lib/common/options.c g_hash_table_insert(options, strdup(name), new_value); name 538 lib/common/options.c int len, const char *name) name 543 lib/common/options.c if (pcmk__str_eq(name, option_list[lpc].name, pcmk__str_casei)) { name 545 lib/common/options.c option_list[lpc].name, name 551 lib/common/options.c CRM_CHECK(FALSE, crm_err("Bug: looking for unknown option '%s'", name)); name 556 lib/common/options.c pcmk__print_option_metadata(const char *name, const char *version, name 568 lib/common/options.c " <parameters>\n", name, version, desc_long, desc_short); name 580 lib/common/options.c option_list[lpc].name, name 599 lib/common/options.c option_list[lpc].name, name 80 lib/common/output.c pcmk__register_format(GOptionGroup *group, const char *name, name 94 lib/common/output.c g_hash_table_insert(formatters, strdup(name), create); name 106 lib/common/output.c for (entry = formats; entry->name != NULL; entry++) { name 107 lib/common/output.c pcmk__register_format(group, entry->name, entry->create, entry->options); name 265 lib/common/output_html.c html_output_xml(pcmk__output_t *out, const char *name, const char *buf) { name 319 lib/common/output_html.c html_list_item(pcmk__output_t *out, const char *name, const char *format, ...) { name 335 lib/common/output_html.c if (name != NULL) { name 336 lib/common/output_html.c crm_xml_add(item_node, "class", name); name 437 lib/common/output_html.c pcmk__html_add_header(const char *name, ...) { name 441 lib/common/output_html.c va_start(ap, name); name 443 lib/common/output_html.c header_node = xmlNewNode(NULL, (pcmkXmlStr) name); name 123 lib/common/output_log.c log_output_xml(pcmk__output_t *out, const char *name, const char *buf) { name 130 lib/common/output_log.c node = create_xml_node(NULL, name); name 132 lib/common/output_log.c do_crm_log_xml(priv->log_level, name, node); name 165 lib/common/output_log.c log_list_item(pcmk__output_t *out, const char *name, const char *format, ...) { name 190 lib/common/output_log.c if ((name != NULL) && (strcmp(name, "") != 0)) { name 192 lib/common/output_log.c do_crm_log(priv->log_level, "%s: %s: %s", prefix, name, buffer); name 194 lib/common/output_log.c do_crm_log(priv->log_level, "%s: %s", name, buffer); name 67 lib/common/output_none.c none_output_xml(pcmk__output_t *out, const char *name, const char *buf) { name 163 lib/common/output_text.c text_output_xml(pcmk__output_t *out, const char *name, const char *buf) { name 277 lib/common/output_xml.c xml_output_xml(pcmk__output_t *out, const char *name, const char *buf) { name 283 lib/common/output_xml.c parent = pcmk__output_create_xml_node(out, name, NULL); name 293 lib/common/output_xml.c char *name = NULL; name 307 lib/common/output_xml.c name = g_strdup(s->to); name 313 lib/common/output_xml.c if (name == NULL) { name 314 lib/common/output_xml.c name = g_ascii_strdown(buf, -1); name 318 lib/common/output_xml.c pcmk__output_xml_create_parent(out, name, NULL); name 321 lib/common/output_xml.c "name", name, name 325 lib/common/output_xml.c g_free(name); name 331 lib/common/output_xml.c xml_list_item(pcmk__output_t *out, const char *name, const char *format, ...) { name 346 lib/common/output_xml.c if (name != NULL) { name 347 lib/common/output_xml.c crm_xml_add(item_node, "name", name); name 432 lib/common/output_xml.c pcmk__output_xml_create_parent(pcmk__output_t *out, const char *name, ...) { name 438 lib/common/output_xml.c node = pcmk__output_create_xml_node(out, name, NULL); name 440 lib/common/output_xml.c va_start(args, name); name 465 lib/common/output_xml.c pcmk__output_create_xml_node(pcmk__output_t *out, const char *name, ...) { name 475 lib/common/output_xml.c node = create_xml_node(g_queue_peek_tail(priv->parent_q), name); name 476 lib/common/output_xml.c va_start(args, name); name 484 lib/common/output_xml.c pcmk__output_create_xml_text_node(pcmk__output_t *out, const char *name, const char *content) { name 489 lib/common/output_xml.c node = pcmk__output_create_xml_node(out, name, NULL); name 141 lib/common/patchset.c crm_xml_add(attr, XML_NVPAIR_ATTR_NAME, (const char *)pIter->name); name 148 lib/common/patchset.c value = crm_element_value(xml, (const char *) pIter->name); name 157 lib/common/patchset.c result = create_xml_node(change, (const char *)xml->name); name 163 lib/common/patchset.c value = crm_element_value(xml, (const char *) pIter->name); name 164 lib/common/patchset.c crm_xml_add(result, (const char *)pIter->name, value); name 181 lib/common/patchset.c xml->name, ID(xml), pcmk__xml_position(xml, xpf_skip)); name 283 lib/common/patchset.c const char *p_value = crm_element_value(next, (const char *) a->name); name 285 lib/common/patchset.c xmlSetProp(cib, a->name, (pcmkXmlStr) p_value); name 554 lib/common/patchset.c const char *name = crm_element_value(child, "name"); name 567 lib/common/patchset.c name, value); name 577 lib/common/patchset.c name); name 640 lib/common/patchset.c return strcmp((const char *) attr->name, XML_ATTR_ID) != 0; name 651 lib/common/patchset.c const char *name = NULL; name 664 lib/common/patchset.c name = crm_element_name(target); name 665 lib/common/patchset.c CRM_CHECK(name != NULL, return); name 675 lib/common/patchset.c crm_trace("We are the root of the deletion: %s.id=%s", name, id); name 705 lib/common/patchset.c const char *name = NULL; name 719 lib/common/patchset.c name = crm_element_name(patch); name 720 lib/common/patchset.c crm_trace("We are the root of the addition: %s.id=%s", name, id); name 726 lib/common/patchset.c name = crm_element_name(patch); name 727 lib/common/patchset.c crm_err("Could not locate: %s.id=%s", name, id); name 735 lib/common/patchset.c name = crm_element_name(target); name 736 lib/common/patchset.c CRM_CHECK(name != NULL, return); name 744 lib/common/patchset.c const char *p_name = (const char *) xIter->name; name 983 lib/common/patchset.c first_matching_xml_child(xmlNode *parent, const char *name, const char *id, name 990 lib/common/patchset.c if (strcmp((const char *) cIter->name, name) != 0) { name 1161 lib/common/patchset.c crm_trace("Processing %s %s", change->name, op); name 1213 lib/common/patchset.c const char *name = (const char *) pIter->name; name 1214 lib/common/patchset.c const char *value = crm_element_value(attrs, name); name 1216 lib/common/patchset.c crm_xml_add(match, name, value); name 1256 lib/common/patchset.c crm_trace("Adding %s at position %d", child->name, position); name 1261 lib/common/patchset.c child->name, position); name 1266 lib/common/patchset.c child->name, position); name 1293 lib/common/patchset.c match->name, position, name 1308 lib/common/patchset.c match->name, position); name 1313 lib/common/patchset.c match->name, ID(match), name 1479 lib/common/patchset.c const char *name = NULL; name 1508 lib/common/patchset.c name = crm_element_name(left); name 1509 lib/common/patchset.c CRM_CHECK(name != NULL, return NULL); name 1517 lib/common/patchset.c crm_trace("We are the root of the deletion: %s.id=%s", name, id); name 1523 lib/common/patchset.c diff = create_xml_node(parent, name); name 1546 lib/common/patchset.c const char *p_name = (const char *)pIter->name; name 1559 lib/common/patchset.c const char *prop_name = (const char *) xIter->name; name 1587 lib/common/patchset.c const char *p_name = (const char *) pIter->name; name 1617 lib/common/patchset.c const char *p_name = (const char *) pIter->name; name 219 lib/common/pid.c pcmk__lock_pidfile(const char *filename, const char *name) name 226 lib/common/pid.c rc = pcmk__pidfile_matches(filename, 0, name, NULL); name 246 lib/common/pid.c rc = pcmk__pidfile_matches(filename, mypid, name, NULL); name 40 lib/common/procfs.c pcmk__procfs_process_info(struct dirent *entry, char *name, pid_t *pid) name 82 lib/common/procfs.c if (name != NULL) { name 88 lib/common/procfs.c if (fscanf(file, "Name:\t%15[^\n]", name) != 1) { name 92 lib/common/procfs.c name[15] = 0; name 111 lib/common/procfs.c pcmk__procfs_pid_of(const char *name) name 126 lib/common/procfs.c && pcmk__str_eq(entry_name, name, pcmk__str_casei) name 129 lib/common/procfs.c crm_info("Found %s active as process %lld", name, (long long) pid); name 138 lib/common/results.c const char *name; name 269 lib/common/results.c return pcmk__rcs[pcmk_rc_error - rc].name; name 56 lib/common/schemas.c char *name; name 182 lib/common/schemas.c const char *name, const char *transform, name 204 lib/common/schemas.c known_schemas[last].name = schema_strdup_printf("pacemaker-", *version, ""); name 206 lib/common/schemas.c CRM_ASSERT(name); name 207 lib/common/schemas.c schema_scanf(name, "%*[^-]-", known_schemas[last].version, ""); name 208 lib/common/schemas.c known_schemas[last].name = strdup(name); name 225 lib/common/schemas.c last, known_schemas[last].name); name 229 lib/common/schemas.c last, known_schemas[last].name, name 235 lib/common/schemas.c last, known_schemas[last].name, name 582 lib/common/schemas.c free(known_schemas[lpc].name); name 610 lib/common/schemas.c known_schemas[method].name); name 716 lib/common/schemas.c known_schemas[lpc].name); name 717 lib/common/schemas.c crm_info("XML validated against %s", known_schemas[lpc].name); name 976 lib/common/schemas.c schema->name, schema->transform_enter); name 989 lib/common/schemas.c schema->name, schema->transform); name 1004 lib/common/schemas.c schema->name, transform_leave); name 1026 lib/common/schemas.c return known_schemas[version].name; name 1030 lib/common/schemas.c get_schema_version(const char *name) name 1034 lib/common/schemas.c if (name == NULL) { name 1035 lib/common/schemas.c name = "none"; name 1038 lib/common/schemas.c if (pcmk__str_eq(name, known_schemas[lpc].name, pcmk__str_casei)) { name 1087 lib/common/schemas.c known_schemas[lpc].name ? known_schemas[lpc].name : "<unset>", name 1093 lib/common/schemas.c known_schemas[lpc].name); name 1097 lib/common/schemas.c known_schemas[lpc].name ? known_schemas[lpc].name : "<unset>"); name 1108 lib/common/schemas.c known_schemas[next].name); name 1124 lib/common/schemas.c crm_trace("Stopping at %s", known_schemas[lpc].name); name 1129 lib/common/schemas.c known_schemas[lpc].name, lpc, next, max); name 1140 lib/common/schemas.c known_schemas[lpc].name, known_schemas[next].name); name 1146 lib/common/schemas.c known_schemas[lpc].name, known_schemas[next].name, name 1186 lib/common/schemas.c value ? value : "<none>", known_schemas[*best].name); name 1187 lib/common/schemas.c crm_xml_add(xml, XML_ATTR_VALIDATION, known_schemas[*best].name); name 129 lib/common/utils.c crm_user_lookup(const char *name, uid_t * uid, gid_t * gid) name 141 lib/common/utils.c rc = getpwnam_r(name, &pwd, buffer, PW_BUFFER_LEN, &pwentry); name 149 lib/common/utils.c crm_trace("User %s has uid=%d gid=%d", name, pwentry->pw_uid, pwentry->pw_gid); name 153 lib/common/utils.c crm_info("User %s lookup: %s", name, pcmk_strerror(rc)); name 464 lib/common/utils.c pcmk__daemonize(const char *name, const char *pidfile) name 470 lib/common/utils.c rc = pcmk__pidfile_matches(pidfile, 1, name, &pid); name 473 lib/common/utils.c name, (long long) pid, pidfile); name 475 lib/common/utils.c name, (long long) pid, pidfile); name 481 lib/common/utils.c fprintf(stderr, "%s: could not start daemon\n", name); name 489 lib/common/utils.c rc = pcmk__lock_pidfile(pidfile, name); name 492 lib/common/utils.c pidfile, name, pcmk_rc_str(rc), rc); name 494 lib/common/utils.c pidfile, name, pcmk_rc_str(rc), rc); name 232 lib/common/xml.c if (node->type != XML_DOCUMENT_NODE || node->name == NULL name 233 lib/common/xml.c || node->name[0] != ' ') { name 449 lib/common/xml.c const char *name = "NULL"; name 452 lib/common/xml.c name = crm_element_name(root); name 462 lib/common/xml.c if (strcmp((const char *)a_child->name, search_path) == 0) { name 469 lib/common/xml.c crm_warn("Could not find %s in %s.", search_path, name); name 471 lib/common/xml.c crm_trace("Could not find %s in %s.", search_path, name); name 504 lib/common/xml.c if (pcmk__str_eq(node_name, (const char *) (child->name), name 531 lib/common/xml.c const char *p_name = (const char *) a->name; name 548 lib/common/xml.c const char *p_name = (const char *) a->name; name 560 lib/common/xml.c expand_plus_plus(xmlNode * target, const char *name, const char *value) name 569 lib/common/xml.c if (value == NULL || name == NULL) { name 573 lib/common/xml.c old_value = crm_element_value(target, name); name 579 lib/common/xml.c } else if (strstr(value, name) != value) { name 583 lib/common/xml.c name_len = strlen(name); name 608 lib/common/xml.c crm_xml_add_int(target, name, int_value); name 616 lib/common/xml.c crm_xml_add(target, name, value); name 642 lib/common/xml.c (const char *) a->name, (const char *) element->name); name 688 lib/common/xml.c add_node_nocopy(xmlNode * parent, const char *name, xmlNode * child) name 696 lib/common/xml.c create_xml_node(xmlNode * parent, const char *name) name 701 lib/common/xml.c if (pcmk__str_empty(name)) { name 702 lib/common/xml.c CRM_CHECK(name != NULL && name[0] == 0, return NULL); name 708 lib/common/xml.c node = xmlNewDocRawNode(doc, NULL, (pcmkXmlStr) name, NULL); name 713 lib/common/xml.c node = xmlNewDocRawNode(doc, NULL, (pcmkXmlStr) name, NULL); name 721 lib/common/xml.c pcmk_create_xml_text_node(xmlNode * parent, const char *name, const char *content) name 723 lib/common/xml.c xmlNode *node = create_xml_node(parent, name); name 1436 lib/common/xml.c p_name = (const char *)attr->name; name 1449 lib/common/xml.c const char *name = NULL; name 1458 lib/common/xml.c name = crm_element_name(data); name 1469 lib/common/xml.c buffer_print(buffer, max, offset, "<%s", name); name 1476 lib/common/xml.c const char *p_name = (const char *) a->name; name 1536 lib/common/xml.c buffer_print(buffer, max, offset, "</%s>", name); name 1591 lib/common/xml.c const char *aname = (const char*) a->name; name 1709 lib/common/xml.c if (!pcmk__xa_filterable((const char *) (a->name))) { name 1718 lib/common/xml.c const char *name = NULL; name 1734 lib/common/xml.c name = crm_element_name(data); name 1735 lib/common/xml.c CRM_ASSERT(name != NULL); name 1738 lib/common/xml.c buffer_print(*buffer, *max, *offset, "<%s", name); name 1767 lib/common/xml.c buffer_print(*buffer, *max, *offset, "</%s>", name); name 2036 lib/common/xml.c xml_remove_prop(xmlNode * obj, const char *name) name 2039 lib/common/xml.c crm_trace("Cannot remove %s from %s", name, obj->name); name 2044 lib/common/xml.c xmlAttr *attr = xmlHasProp(obj, (pcmkXmlStr) name); name 2050 lib/common/xml.c xmlUnsetProp(obj, (pcmkXmlStr) name); name 2153 lib/common/xml.c old_attr->name, p_old, p_new, element); name 2176 lib/common/xml.c xmlAttr *new_attr = xmlHasProp(new_xml, attr_iter->name); name 2177 lib/common/xml.c const char *name = (const char *) attr_iter->name; name 2178 lib/common/xml.c const char *old_value = crm_element_value(old_xml, name); name 2182 lib/common/xml.c mark_attr_deleted(new_xml, (const char *) old_xml->name, name, name 2189 lib/common/xml.c const char *new_value = crm_element_value(new_xml, name); name 2195 lib/common/xml.c mark_attr_changed(new_xml, (const char *) old_xml->name, name, name 2200 lib/common/xml.c mark_attr_moved(new_xml, (const char *) old_xml->name, name 2222 lib/common/xml.c const char *attr_name = (const char *) new_attr->name; name 2226 lib/common/xml.c new_xml->name); name 2235 lib/common/xml.c xmlUnsetProp(new_xml, new_attr->name); name 2290 lib/common/xml.c new_child->name, (ID(new_child)? ID(new_child) : "<no id>"), name 2291 lib/common/xml.c p_old, p_new, new_parent->name); name 2392 lib/common/xml.c const char *name = crm_element_name(xml_node); name 2394 lib/common/xml.c if (pcmk__strcase_any_of(name, XML_TAG_RESOURCE_REF, XML_CIB_TAG_OBJ_REF, name 2400 lib/common/xml.c const char *p_name = (const char *) a->name; name 2582 lib/common/xml.c xmlUnsetProp(target, a->name); name 2583 lib/common/xml.c xmlSetProp(target, a->name, (pcmkXmlStr) p_value); name 2700 lib/common/xml.c const char *p_name = (const char *) a->name; name 2763 lib/common/xml.c const char *name = NULL; name 2767 lib/common/xml.c name = crm_element_name(input); name 2768 lib/common/xml.c CRM_CHECK(name != NULL, return NULL); name 2770 lib/common/xml.c result = create_xml_node(parent, name); name 2790 lib/common/xml.c first_named_child(const xmlNode *parent, const char *name) name 2801 lib/common/xml.c if (pcmk__str_eq(name, (const char *)match->name, pcmk__str_null_matches)) { name 2819 lib/common/xml.c const char *name = crm_element_name(sibling); name 2822 lib/common/xml.c if (!strcmp(crm_element_name(match), name)) { name 2955 lib/common/xml.c const char *name, *value; name 2957 lib/common/xml.c name = va_arg(pairs, const char *); name 2958 lib/common/xml.c if (name == NULL) { name 2967 lib/common/xml.c crm_xml_add(node, name, value); name 281 lib/common/xpath.c "/%s[@id='%s']", (const char *) xml->name, id); name 282 lib/common/xpath.c } else if(xml->name) { name 284 lib/common/xpath.c "/%s", (const char *) xml->name); name 327 lib/fencing/st_client.c stonith_api_remove_device(stonith_t * st, int call_options, const char *name) name 334 lib/fencing/st_client.c crm_xml_add(data, XML_ATTR_ID, name); name 1454 lib/fencing/st_client.c stonith_api_signon(stonith_t * stonith, const char *name, int *stonith_fd) name 1458 lib/fencing/st_client.c const char *display_name = name? name : "client"; name 1501 lib/fencing/st_client.c crm_xml_add(hello, F_STONITH_CLIENTNAME, name); name 2175 lib/fencing/st_client.c stonith_api_connect_retry(stonith_t *st, const char *name, int max_attempts) name 2180 lib/fencing/st_client.c rc = st->cmds->connect(st, name, NULL); name 2262 lib/fencing/st_client.c char *name = (uname == NULL)? pcmk__itoa(nodeid) : strdup(uname); name 2265 lib/fencing/st_client.c stonith__set_call_options(opts, name, name 2268 lib/fencing/st_client.c stonith__set_call_options(opts, name, st_opt_cs_nodeid); name 2270 lib/fencing/st_client.c rc = st->cmds->fence(st, opts, name, action, timeout, 0); name 2271 lib/fencing/st_client.c free(name); name 2307 lib/fencing/st_client.c char *name = (uname == NULL)? pcmk__itoa(nodeid) : strdup(uname); name 2309 lib/fencing/st_client.c stonith__set_call_options(opts, name, st_opt_sync_call); name 2311 lib/fencing/st_client.c stonith__set_call_options(opts, name, st_opt_cs_nodeid); name 2313 lib/fencing/st_client.c rc = st->cmds->history(st, opts, name, &history, 120); name 2314 lib/fencing/st_client.c free(name); name 28 lib/lrmd/lrmd_alerts.c alert_key2param(lrmd_key_value_t *head, enum pcmk__alert_keys_e name, name 36 lib/lrmd/lrmd_alerts.c for (key = pcmk__alert_keys[name]; *key; key++) { name 44 lib/lrmd/lrmd_alerts.c alert_key2param_int(lrmd_key_value_t *head, enum pcmk__alert_keys_e name, name 49 lib/lrmd/lrmd_alerts.c head = alert_key2param(head, name, value_s); name 55 lib/lrmd/lrmd_alerts.c alert_key2param_ms(lrmd_key_value_t *head, enum pcmk__alert_keys_e name, name 60 lib/lrmd/lrmd_alerts.c head = alert_key2param(head, name, value_s); name 946 lib/lrmd/lrmd_client.c lrmd_handshake(lrmd_t * lrmd, const char *name) name 955 lib/lrmd/lrmd_client.c crm_xml_add(hello, F_LRMD_CLIENTNAME, name); name 1343 lib/lrmd/lrmd_client.c char *name = crm_strdup_printf("pacemaker-remote-%s:%d", name 1353 lib/lrmd/lrmd_client.c native->source = mainloop_add_fd(name, G_PRIORITY_HIGH, native->sock, lrmd, name 1363 lib/lrmd/lrmd_client.c rc = lrmd_handshake(lrmd, name); name 1366 lib/lrmd/lrmd_client.c free(name); name 1516 lib/lrmd/lrmd_client.c lrmd_api_connect(lrmd_t * lrmd, const char *name, int *fd) name 1537 lib/lrmd/lrmd_client.c rc = lrmd_handshake(lrmd, name); name 1544 lib/lrmd/lrmd_client.c lrmd_api_connect_async(lrmd_t * lrmd, const char *name, int timeout) name 1555 lib/lrmd/lrmd_client.c rc = lrmd_api_connect(lrmd, name, NULL); name 229 lib/lrmd/proxy_common.c const char *name = crm_element_value(msg, F_LRMD_IPC_CLIENT); name 274 lib/lrmd/proxy_common.c op, msg_id, proxy->node_name, crm_ipc_name(proxy->ipc), name, pcmk_strerror(rc), rc); name 285 lib/lrmd/proxy_common.c op, msg_id, proxy->node_name, crm_ipc_name(proxy->ipc), name); name 295 lib/lrmd/proxy_common.c op, msg_id, proxy->node_name, crm_ipc_name(proxy->ipc), name); name 300 lib/lrmd/proxy_common.c op, msg_id, proxy->node_name, crm_ipc_name(proxy->ipc), name, pcmk_strerror(rc), rc); name 303 lib/lrmd/proxy_common.c op, msg_id, proxy->node_name, crm_ipc_name(proxy->ipc), name); name 419 lib/pacemaker/pcmk_cluster_queries.c const char *name = crm_element_value(result, XML_ATTR_UNAME); name 424 lib/pacemaker/pcmk_cluster_queries.c name ? name : id, name 31 lib/pacemaker/pcmk_fence.c char *name; name 43 lib/pacemaker/pcmk_fence.c char *name = NULL; name 55 lib/pacemaker/pcmk_fence.c name = target; name 66 lib/pacemaker/pcmk_fence.c name, value, fence_level, name 70 lib/pacemaker/pcmk_fence.c name, value, fence_level); name 104 lib/pacemaker/pcmk_fence.c int rc = stonith_api_connect_retry(st, async_fence_data.name, 10); name 137 lib/pacemaker/pcmk_fence.c const char *name, unsigned int timeout, unsigned int tolerance, name 143 lib/pacemaker/pcmk_fence.c async_fence_data.name = strdup(name); name 157 lib/pacemaker/pcmk_fence.c free(async_fence_data.name); name 165 lib/pacemaker/pcmk_fence.c const char *name, unsigned int timeout, unsigned int tolerance, name 168 lib/pacemaker/pcmk_fence.c return pcmk__fence_action(st, target, action, name, timeout, tolerance, delay); name 694 lib/pacemaker/pcmk_output.c const char *name = va_arg(args, const char *); name 699 lib/pacemaker/pcmk_output.c pcmk__formatted_printf(out, "%s\n", crm_str(name)); name 702 lib/pacemaker/pcmk_output.c return out->info(out, "export %s=%s", crm_str(name), crm_str(id)); name 705 lib/pacemaker/pcmk_output.c crm_str(name), crm_str(id)); name 714 lib/pacemaker/pcmk_output.c const char *name = va_arg(args, const char *); name 719 lib/pacemaker/pcmk_output.c "name", crm_str(name), name 1150 lib/pacemaker/pcmk_output.c const char *name = va_arg(args, const char *); name 1163 lib/pacemaker/pcmk_output.c name, value, node_path, ID(cib_node)); name 1173 lib/pacemaker/pcmk_output.c const char *name = va_arg(args, const char *); name 1186 lib/pacemaker/pcmk_output.c "name", name, name 413 lib/pacemaker/pcmk_sched_allocate.c if (pcmk__str_eq((const char *)rsc_op->name, XML_LRM_TAG_RSC_OP, pcmk__str_none)) { name 541 lib/pacemaker/pcmk_sched_allocate.c if (pcmk__str_eq((const char *)node_state->name, XML_CIB_TAG_STATE, name 568 lib/pacemaker/pcmk_sched_allocate.c if (pcmk__str_eq((const char *)rsc_entry->name, XML_LRM_TAG_RESOURCE, pcmk__str_none)) { name 1526 lib/pacemaker/pcmk_sched_clone.c char *name = NULL; name 1531 lib/pacemaker/pcmk_sched_clone.c name = crm_meta_name(XML_RSC_ATTR_UNIQUE); name 1532 lib/pacemaker/pcmk_sched_clone.c crm_xml_add(xml, name, pe__rsc_bool_str(rsc, pe_rsc_unique)); name 1533 lib/pacemaker/pcmk_sched_clone.c free(name); name 1535 lib/pacemaker/pcmk_sched_clone.c name = crm_meta_name(XML_RSC_ATTR_NOTIFY); name 1536 lib/pacemaker/pcmk_sched_clone.c crm_xml_add(xml, name, pe__rsc_bool_str(rsc, pe_rsc_notify)); name 1537 lib/pacemaker/pcmk_sched_clone.c free(name); name 1539 lib/pacemaker/pcmk_sched_clone.c name = crm_meta_name(XML_RSC_ATTR_INCARNATION_MAX); name 1540 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, clone_data->clone_max); name 1541 lib/pacemaker/pcmk_sched_clone.c free(name); name 1543 lib/pacemaker/pcmk_sched_clone.c name = crm_meta_name(XML_RSC_ATTR_INCARNATION_NODEMAX); name 1544 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, clone_data->clone_node_max); name 1545 lib/pacemaker/pcmk_sched_clone.c free(name); name 1548 lib/pacemaker/pcmk_sched_clone.c name = crm_meta_name(XML_RSC_ATTR_PROMOTED_MAX); name 1549 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, clone_data->promoted_max); name 1550 lib/pacemaker/pcmk_sched_clone.c free(name); name 1552 lib/pacemaker/pcmk_sched_clone.c name = crm_meta_name(XML_RSC_ATTR_PROMOTED_NODEMAX); name 1553 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, clone_data->promoted_node_max); name 1554 lib/pacemaker/pcmk_sched_clone.c free(name); name 1559 lib/pacemaker/pcmk_sched_clone.c name = crm_meta_name(PCMK_XE_PROMOTED_MAX_LEGACY); name 1560 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, clone_data->promoted_max); name 1561 lib/pacemaker/pcmk_sched_clone.c free(name); name 1563 lib/pacemaker/pcmk_sched_clone.c name = crm_meta_name(PCMK_XE_PROMOTED_NODE_MAX_LEGACY); name 1564 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, clone_data->promoted_node_max); name 1565 lib/pacemaker/pcmk_sched_clone.c free(name); name 539 lib/pacemaker/pcmk_sched_constraints.c if (!pcmk__str_eq((const char *)set->name, XML_CONS_TAG_RSC_SET, pcmk__str_casei)) { name 550 lib/pacemaker/pcmk_sched_constraints.c if (!pcmk__str_eq((const char *)xml_rsc->name, XML_TAG_RESOURCE_REF, pcmk__str_casei)) { name 983 lib/pacemaker/pcmk_sched_constraints.c if (pcmk__str_eq((const char *)xml_rsc->name, XML_TAG_RESOURCE_REF, pcmk__str_none)) { name 1013 lib/pacemaker/pcmk_sched_constraints.c if (pcmk__str_eq((const char *)set->name, XML_CONS_TAG_RSC_SET, pcmk__str_none)) { name 1736 lib/pacemaker/pcmk_sched_constraints.c if (pcmk__str_eq((const char *)xml_rsc->name, XML_TAG_RESOURCE_REF, pcmk__str_none)) { name 1915 lib/pacemaker/pcmk_sched_constraints.c if (!pcmk__str_eq((const char *)xml_rsc->name, XML_TAG_RESOURCE_REF, pcmk__str_none)) { name 1931 lib/pacemaker/pcmk_sched_constraints.c if (!pcmk__str_eq((const char *)xml_rsc_2->name, XML_TAG_RESOURCE_REF, pcmk__str_none)) { name 1955 lib/pacemaker/pcmk_sched_constraints.c if (pcmk__str_eq((const char *)xml_rsc->name, XML_TAG_RESOURCE_REF, pcmk__str_none)) { name 1966 lib/pacemaker/pcmk_sched_constraints.c if (pcmk__str_eq((const char *)xml_rsc->name, XML_TAG_RESOURCE_REF, pcmk__str_none)) { name 1980 lib/pacemaker/pcmk_sched_constraints.c if (pcmk__str_eq((const char *)xml_rsc->name, XML_TAG_RESOURCE_REF, pcmk__str_none)) { name 1993 lib/pacemaker/pcmk_sched_constraints.c if (pcmk__str_eq((const char *)xml_rsc->name, XML_TAG_RESOURCE_REF, pcmk__str_none)) { name 2008 lib/pacemaker/pcmk_sched_constraints.c if (pcmk__str_eq((const char *)xml_rsc->name, XML_TAG_RESOURCE_REF, pcmk__str_none)) { name 2020 lib/pacemaker/pcmk_sched_constraints.c if (pcmk__str_eq((const char *)xml_rsc->name, XML_TAG_RESOURCE_REF, pcmk__str_none)) { name 2030 lib/pacemaker/pcmk_sched_constraints.c if (pcmk__str_eq((const char *)xml_rsc->name, XML_TAG_RESOURCE_REF, pcmk__str_none)) { name 2039 lib/pacemaker/pcmk_sched_constraints.c if (pcmk__str_eq((const char *)xml_rsc_2->name, XML_TAG_RESOURCE_REF, pcmk__str_none)) { name 2209 lib/pacemaker/pcmk_sched_constraints.c if (pcmk__str_eq((const char *)set->name, XML_CONS_TAG_RSC_SET, pcmk__str_none)) { name 2352 lib/pacemaker/pcmk_sched_constraints.c if (pcmk__str_eq((const char *)xml_rsc->name, XML_TAG_RESOURCE_REF, pcmk__str_none)) { name 2371 lib/pacemaker/pcmk_sched_constraints.c if (pcmk__str_eq((const char *)xml_rsc->name, XML_TAG_RESOURCE_REF, pcmk__str_none)) { name 2395 lib/pacemaker/pcmk_sched_constraints.c if (pcmk__str_eq((const char *)xml_rsc->name, XML_TAG_RESOURCE_REF, pcmk__str_none)) { name 2406 lib/pacemaker/pcmk_sched_constraints.c if (pcmk__str_eq((const char *)xml_rsc_with->name, XML_TAG_RESOURCE_REF, pcmk__str_none)) { name 2449 lib/pacemaker/pcmk_sched_constraints.c if (pcmk__str_eq((const char *)xml_rsc->name, XML_TAG_RESOURCE_REF, pcmk__str_none)) { name 2463 lib/pacemaker/pcmk_sched_constraints.c if (pcmk__str_eq((const char *)xml_rsc->name, XML_TAG_RESOURCE_REF, pcmk__str_none)) { name 2481 lib/pacemaker/pcmk_sched_constraints.c if (pcmk__str_eq((const char *)xml_rsc->name, XML_TAG_RESOURCE_REF, pcmk__str_none)) { name 2492 lib/pacemaker/pcmk_sched_constraints.c if (pcmk__str_eq((const char *)xml_rsc->name, XML_TAG_RESOURCE_REF, pcmk__str_none)) { name 2505 lib/pacemaker/pcmk_sched_constraints.c if (pcmk__str_eq((const char *)xml_rsc->name, XML_TAG_RESOURCE_REF, pcmk__str_none)) { name 2516 lib/pacemaker/pcmk_sched_constraints.c if (pcmk__str_eq((const char *)xml_rsc_2->name, XML_TAG_RESOURCE_REF, pcmk__str_none)) { name 2756 lib/pacemaker/pcmk_sched_constraints.c if (pcmk__str_eq((const char *)set->name, XML_CONS_TAG_RSC_SET, pcmk__str_none)) { name 3111 lib/pacemaker/pcmk_sched_constraints.c if (pcmk__str_eq((const char *)set->name, XML_CONS_TAG_RSC_SET, pcmk__str_none)) { name 664 lib/pacemaker/pcmk_sched_native.c is_op_dup(pe_resource_t *rsc, const char *name, guint interval_ms) name 676 lib/pacemaker/pcmk_sched_native.c if (pcmk__str_eq((const char *)operation->name, "op", pcmk__str_none)) { name 678 lib/pacemaker/pcmk_sched_native.c if (!pcmk__str_eq(value, name, pcmk__str_casei)) { name 704 lib/pacemaker/pcmk_sched_native.c op_cannot_recur(const char *name) name 706 lib/pacemaker/pcmk_sched_native.c return pcmk__strcase_any_of(name, RSC_STOP, RSC_START, RSC_DEMOTE, RSC_PROMOTE, NULL); name 714 lib/pacemaker/pcmk_sched_native.c const char *name = NULL; name 738 lib/pacemaker/pcmk_sched_native.c name = crm_element_value(operation, "name"); name 739 lib/pacemaker/pcmk_sched_native.c if (is_op_dup(rsc, name, interval_ms)) { name 741 lib/pacemaker/pcmk_sched_native.c ID(operation), interval_ms, name); name 745 lib/pacemaker/pcmk_sched_native.c if (op_cannot_recur(name)) { name 747 lib/pacemaker/pcmk_sched_native.c ID(operation), name); name 751 lib/pacemaker/pcmk_sched_native.c key = pcmk__op_key(rsc->id, name, interval_ms); name 804 lib/pacemaker/pcmk_sched_native.c cancel_op = pe_cancel_op(rsc, name, interval_ms, node, data_set); name 838 lib/pacemaker/pcmk_sched_native.c mon = custom_action(rsc, key, name, node, is_optional, TRUE, data_set); name 899 lib/pacemaker/pcmk_sched_native.c if (pcmk__str_eq((const char *)operation->name, "op", pcmk__str_none)) { name 911 lib/pacemaker/pcmk_sched_native.c const char *name = NULL; name 932 lib/pacemaker/pcmk_sched_native.c name = crm_element_value(operation, "name"); name 933 lib/pacemaker/pcmk_sched_native.c if (is_op_dup(rsc, name, interval_ms)) { name 935 lib/pacemaker/pcmk_sched_native.c ID(operation), interval_ms, name); name 939 lib/pacemaker/pcmk_sched_native.c if (op_cannot_recur(name)) { name 941 lib/pacemaker/pcmk_sched_native.c ID(operation), name); name 945 lib/pacemaker/pcmk_sched_native.c key = pcmk__op_key(rsc->id, name, interval_ms); name 973 lib/pacemaker/pcmk_sched_native.c cancel_op = pe_cancel_op(rsc, name, interval_ms, node, data_set); name 1020 lib/pacemaker/pcmk_sched_native.c stopped_mon = custom_action(rsc, strdup(key), name, stop_node, is_optional, TRUE, data_set); name 1110 lib/pacemaker/pcmk_sched_native.c if (pcmk__str_eq((const char *)operation->name, "op", pcmk__str_none)) { name 3194 lib/pacemaker/pcmk_sched_native.c char *name = NULL; name 3196 lib/pacemaker/pcmk_sched_native.c name = crm_meta_name(XML_RSC_ATTR_INCARNATION); name 3197 lib/pacemaker/pcmk_sched_native.c crm_xml_add(xml, name, value); name 3198 lib/pacemaker/pcmk_sched_native.c free(name); name 3203 lib/pacemaker/pcmk_sched_native.c char *name = NULL; name 3205 lib/pacemaker/pcmk_sched_native.c name = crm_meta_name(XML_RSC_ATTR_REMOTE_NODE); name 3206 lib/pacemaker/pcmk_sched_native.c crm_xml_add(xml, name, value); name 3207 lib/pacemaker/pcmk_sched_native.c free(name); name 201 lib/pacemaker/pcmk_sched_notif.c add_hash_param(action->meta, nvpair->name, nvpair->value); name 463 lib/pacemaker/pcmk_sched_promotable.c lookup_promotion_score(pe_resource_t *rsc, const pe_node_t *node, const char *name) name 467 lib/pacemaker/pcmk_sched_promotable.c if (node && name) { name 468 lib/pacemaker/pcmk_sched_promotable.c char *attr_name = pcmk_promotion_score_name(name); name 479 lib/pacemaker/pcmk_sched_promotable.c char *name = rsc->id; name 538 lib/pacemaker/pcmk_sched_promotable.c name = rsc->clone_name; name 541 lib/pacemaker/pcmk_sched_promotable.c attr_value = lookup_promotion_score(rsc, node, name); name 543 lib/pacemaker/pcmk_sched_promotable.c name, node->details->uname, crm_str(attr_value)); name 550 lib/pacemaker/pcmk_sched_promotable.c name = clone_strip(rsc->id); name 551 lib/pacemaker/pcmk_sched_promotable.c if (strcmp(rsc->id, name)) { name 552 lib/pacemaker/pcmk_sched_promotable.c attr_value = lookup_promotion_score(rsc, node, name); name 554 lib/pacemaker/pcmk_sched_promotable.c name, node->details->uname, crm_str(attr_value)); name 556 lib/pacemaker/pcmk_sched_promotable.c free(name); name 44 lib/pacemaker/pcmk_sched_transition.c inject_transient_attr(xmlNode * cib_node, const char *name, const char *value) name 50 lib/pacemaker/pcmk_sched_transition.c out->message(out, "inject-attr", name, value, cib_node); name 64 lib/pacemaker/pcmk_sched_transition.c crm_create_nvpair_xml(instance_attrs, NULL, name, value); name 78 lib/pacemaker/pcmk_sched_transition.c char *name = NULL; name 81 lib/pacemaker/pcmk_sched_transition.c name = pcmk__failcount_name(resource, task, interval_ms); name 82 lib/pacemaker/pcmk_sched_transition.c inject_transient_attr(cib_node, name, "value++"); name 83 lib/pacemaker/pcmk_sched_transition.c free(name); name 85 lib/pacemaker/pcmk_sched_transition.c name = pcmk__lastfailure_name(resource, task, interval_ms); name 86 lib/pacemaker/pcmk_sched_transition.c inject_transient_attr(cib_node, name, now); name 87 lib/pacemaker/pcmk_sched_transition.c free(name); name 740 lib/pacemaker/pcmk_sched_utils.c const char *name = XML_LRM_ATTR_MIGRATE_SOURCE; name 742 lib/pacemaker/pcmk_sched_utils.c crm_xml_add(xml_op, name, crm_meta_value(op->params, name)); name 744 lib/pacemaker/pcmk_sched_utils.c name = XML_LRM_ATTR_MIGRATE_TARGET; name 745 lib/pacemaker/pcmk_sched_utils.c crm_xml_add(xml_op, name, crm_meta_value(op->params, name)); name 118 lib/pacemaker/pcmk_trans_unpack.c if (pcmk__str_eq((const char *)action_set->name, "action_set", name 144 lib/pacemaker/pcmk_trans_unpack.c if (pcmk__str_eq((const char *)inputs->name, "inputs", pcmk__str_none)) { name 237 lib/pacemaker/pcmk_trans_unpack.c if (pcmk__str_eq((const char *)synapse->name, "synapse", pcmk__str_none)) { name 309 lib/pacemaker/pcmk_trans_unpack.c const char *name = NULL; name 330 lib/pacemaker/pcmk_trans_unpack.c while (g_hash_table_iter_next(&iter, (void **)&name, (void **)&value)) { name 331 lib/pacemaker/pcmk_trans_unpack.c g_hash_table_insert(op->params, strdup(name), strdup(value)); name 85 lib/pengine/bundle.c create_resource(const char *name, const char *provider, const char *kind) name 89 lib/pengine/bundle.c crm_xml_add(rsc, XML_ATTR_ID, name); name 1153 lib/pengine/bundle.c : (const char *)xml_resource->name)); name 1156 lib/pengine/bundle.c crm_xml_set_id(xml_set, "%s-%s-meta", bundle_data->prefix, xml_resource->name); name 246 lib/pengine/clone.c if (pcmk__str_any_of((const char *)a_child->name, XML_CIB_TAG_RESOURCE, XML_CIB_TAG_GROUP, NULL)) { name 308 lib/pengine/common.c pe_pref(GHashTable * options, const char *name) name 310 lib/pengine/common.c return pcmk__cluster_option(options, pe_opts, PCMK__NELEM(pe_opts), name); name 579 lib/pengine/common.c add_hash_param(GHashTable * hash, const char *name, const char *value) name 583 lib/pengine/common.c crm_trace("adding: name=%s value=%s", crm_str(name), crm_str(value)); name 584 lib/pengine/common.c if (name == NULL || value == NULL) { name 590 lib/pengine/common.c } else if (g_hash_table_lookup(hash, name) == NULL) { name 591 lib/pengine/common.c g_hash_table_insert(hash, strdup(name), strdup(value)); name 596 lib/pengine/common.c pe_node_attribute_calculated(const pe_node_t *node, const char *name, name 605 lib/pengine/common.c return g_hash_table_lookup(node->details->attrs, name); name 610 lib/pengine/common.c return g_hash_table_lookup(node->details->attrs, name); name 625 lib/pengine/common.c pe_rsc_trace(rsc, "%s: Looking for %s on the container host %s", rsc->id, name, host->details->uname); name 626 lib/pengine/common.c return g_hash_table_lookup(host->details->attrs, name); name 630 lib/pengine/common.c rsc->id, name, node->details->remote_rsc->container->id); name 635 lib/pengine/common.c pe_node_attribute_raw(pe_node_t *node, const char *name) name 640 lib/pengine/common.c return g_hash_table_lookup(node->details->attrs, name); name 71 lib/pengine/complex.c get_resource_type(const char *name) name 73 lib/pengine/complex.c if (pcmk__str_eq(name, XML_CIB_TAG_RESOURCE, pcmk__str_casei)) { name 76 lib/pengine/complex.c } else if (pcmk__str_eq(name, XML_CIB_TAG_GROUP, pcmk__str_casei)) { name 79 lib/pengine/complex.c } else if (pcmk__str_eq(name, XML_CIB_TAG_INCARNATION, pcmk__str_casei)) { name 82 lib/pengine/complex.c } else if (pcmk__str_eq(name, PCMK_XE_PROMOTABLE_LEGACY, pcmk__str_casei)) { name 86 lib/pengine/complex.c } else if (pcmk__str_eq(name, XML_CIB_TAG_CONTAINER, pcmk__str_casei)) { name 163 lib/pengine/complex.c const char *prop_name = (const char *) a->name; name 253 lib/pengine/complex.c const char *name = crm_element_value(op, "name"); name 263 lib/pengine/complex.c key = crm_strdup_printf("%s-%s", name, role); name 315 lib/pengine/complex.c xmlNodeSetName(new_xml, xml_obj->name); name 331 lib/pengine/complex.c if (pcmk__str_eq((const char *)new_child->name, "operations", pcmk__str_none)) { name 179 lib/pengine/failcounts.c const char *name = (rsc->clone_name? rsc->clone_name : rsc->id); name 181 lib/pengine/failcounts.c return pcmk_is_set(rsc->flags, pe_rsc_unique)? strdup(name) : clone_strip(name); name 129 lib/pengine/group.c if (pcmk__str_eq((const char *)xml_native_rsc->name, name 324 lib/pengine/native.c native_parameter(pe_resource_t * rsc, pe_node_t * node, gboolean create, const char *name, name 332 lib/pengine/native.c CRM_CHECK(name != NULL && strlen(name) != 0, return NULL); name 334 lib/pengine/native.c pe_rsc_trace(rsc, "Looking up %s in %s", name, rsc->id); name 336 lib/pengine/native.c value = g_hash_table_lookup(params, name); name 339 lib/pengine/native.c value = g_hash_table_lookup(rsc->meta, name); name 545 lib/pengine/native.c pcmk__native_output_string(pe_resource_t *rsc, const char *name, pe_node_t *node, name 559 lib/pengine/native.c CRM_CHECK(name != NULL, name = "unknown"); name 576 lib/pengine/native.c outstr = g_string_sized_new(strlen(name) + strlen(class) + strlen(kind) name 582 lib/pengine/native.c g_string_printf(outstr, "%s\t(%s%s%s:%s):\t", name, class, name 678 lib/pengine/native.c const char *name, pe_node_t *node, unsigned int show_opts) name 721 lib/pengine/native.c gchar *s = pcmk__native_output_string(rsc, name, node, show_opts, name 734 lib/pengine/native.c const char *name, pe_node_t *node, unsigned int show_opts) name 753 lib/pengine/native.c gchar *s = pcmk__native_output_string(rsc, name, node, show_opts, name 764 lib/pengine/native.c common_print(pe_resource_t * rsc, const char *pre_text, const char *name, pe_node_t *node, long options, void *print_data) name 814 lib/pengine/native.c gchar *resource_s = pcmk__native_output_string(rsc, name, node, options, name 56 lib/pengine/pe_digest.c char *name = crm_strdup_printf(" %s ", (const char *) a->name); name 58 lib/pengine/pe_digest.c if (strstr((const char *) user_data, name) == NULL) { name 60 lib/pengine/pe_digest.c (const char *) a->name, (const char *) user_data); name 63 lib/pengine/pe_digest.c free(name); name 72 lib/pengine/pe_digest.c char *name = crm_strdup_printf(" %s ", (const char *) a->name); name 74 lib/pengine/pe_digest.c if (strstr((const char *) user_data, name) != NULL) { name 76 lib/pengine/pe_digest.c (const char *) a->name, (const char *) user_data); name 79 lib/pengine/pe_digest.c free(name); name 197 lib/pengine/pe_digest.c return pcmk_stonith_param((const char *) attr->name); name 56 lib/pengine/pe_output.c const char *name = NULL; name 71 lib/pengine/pe_output.c name = g_hash_table_lookup(params, "name"); name 73 lib/pengine/pe_output.c if (name == NULL) { name 74 lib/pengine/pe_output.c name = "pingd"; name 78 lib/pengine/pe_output.c if (pcmk__str_eq(name, attrname, pcmk__str_casei)) { name 108 lib/pengine/pe_output.c filter_attr_list(GList *attr_list, char *name) name 113 lib/pengine/pe_output.c CRM_CHECK(name != NULL, return attr_list); name 117 lib/pengine/pe_output.c if (g_str_has_prefix(name, filt_str[i])) { name 122 lib/pengine/pe_output.c return g_list_insert_sorted(attr_list, name, compare_attribute); name 151 lib/pengine/pe_output.c if (pcmk__str_eq((const char *)rsc_op->name, XML_LRM_TAG_RSC_OP, pcmk__str_none)) { name 1518 lib/pengine/pe_output.c const char *name = va_arg(args, const char *); name 1532 lib/pengine/pe_output.c out->list_item(out, NULL, "%-32s\t: %-10s\t: Connectivity is lost", name, value); name 1534 lib/pengine/pe_output.c out->list_item(out, NULL, "%-32s\t: %-10s\t: Connectivity is degraded (Expected=%d)", name, value, expected_score); name 1536 lib/pengine/pe_output.c out->list_item(out, NULL, "%-32s\t: %-10s", name, value); name 1539 lib/pengine/pe_output.c out->list_item(out, NULL, "%-32s\t: %-10s", name, value); name 1548 lib/pengine/pe_output.c const char *name = va_arg(args, const char *); name 1555 lib/pengine/pe_output.c char *s = crm_strdup_printf("%s: %s", name, value); name 1575 lib/pengine/pe_output.c out->list_item(out, NULL, "%s: %s", name, value); name 1691 lib/pengine/pe_output.c const char *name = va_arg(args, const char *); name 1697 lib/pengine/pe_output.c "name", name, name 1753 lib/pengine/pe_output.c const char *name = aIter->data; name 1758 lib/pengine/pe_output.c value = pe_node_attribute_raw(node, name); name 1761 lib/pengine/pe_output.c data_set, name, &expected_score); name 1764 lib/pengine/pe_output.c out->message(out, "node-attribute", name, value, add_extra, name 235 lib/pengine/rules.c #define CHECK_ONE(spec, name, var) do { \ name 236 lib/pengine/rules.c int subpart_rc = check_one(spec, name, var); \ name 321 lib/pengine/rules.c const char *name; // This block's ID name 340 lib/pengine/rules.c if (pcmk__str_eq(pair_a->name, pair_a->special_name, pcmk__str_casei)) { name 343 lib/pengine/rules.c } else if (pcmk__str_eq(pair_b->name, pair_a->special_name, pcmk__str_casei)) { name 358 lib/pengine/rules.c const char *name = NULL; name 364 lib/pengine/rules.c name = crm_element_name(list->children); name 365 lib/pengine/rules.c if (pcmk__str_eq(XML_TAG_ATTRS, name, pcmk__str_casei)) { name 372 lib/pengine/rules.c if (pcmk__str_eq((const char *)an_attr->name, XML_CIB_TAG_NVPAIR, pcmk__str_none)) { name 375 lib/pengine/rules.c name = crm_element_value(an_attr, XML_NVPAIR_ATTR_NAME); name 376 lib/pengine/rules.c if (name == NULL) { name 377 lib/pengine/rules.c name = crm_element_value(ref_nvpair, XML_NVPAIR_ATTR_NAME); name 385 lib/pengine/rules.c if (name == NULL || value == NULL) { name 389 lib/pengine/rules.c old_value = g_hash_table_lookup(hash, name); name 394 lib/pengine/rules.c name, value); name 395 lib/pengine/rules.c g_hash_table_remove(hash, name); name 400 lib/pengine/rules.c crm_trace("Setting %s=\"%s\"", name, value); name 401 lib/pengine/rules.c g_hash_table_insert(hash, strdup(name), strdup(value)); name 405 lib/pengine/rules.c name, value, old_value); name 406 lib/pengine/rules.c g_hash_table_replace(hash, strdup(name), strdup(value)); name 422 lib/pengine/rules.c if (pcmk__str_eq((const char *)rule->name, XML_TAG_RULE, name 501 lib/pengine/rules.c pair->name, pair->score, name 543 lib/pengine/rules.c if (pcmk__str_eq(set_name, (const char *) attr_set->name, name 555 lib/pengine/rules.c pair->name = ID(expanded_attr_set); name 1219 lib/pengine/rules.c const char *name = crm_element_value(expr, XML_NVPAIR_ATTR_NAME); name 1241 lib/pengine/rules.c if (!pcmk__str_eq(name, rule_data->op_data->op_name, pcmk__str_none)) { name 1242 lib/pengine/rules.c crm_trace("Name doesn't match: %s != %s", name, rule_data->op_data->op_name); name 84 lib/pengine/rules_alerts.c const char *name = crm_element_value(child, XML_NVPAIR_ATTR_NAME); name 90 lib/pengine/rules_alerts.c g_hash_table_insert(entry->envvars, strdup(name), strdup(value)); name 92 lib/pengine/rules_alerts.c entry->id, name, value); name 464 lib/pengine/unpack.c if (!pcmk__str_eq((const char *)attr_set->name, XML_TAG_META_SETS, name 472 lib/pengine/unpack.c const char *name = crm_element_value(attr, XML_NVPAIR_ATTR_NAME); name 474 lib/pengine/unpack.c if (pcmk__str_eq(name, XML_RSC_ATTR_REMOTE_NODE, pcmk__str_casei)) { name 476 lib/pengine/unpack.c } else if (pcmk__str_eq(name, "remote-addr", pcmk__str_casei)) { name 478 lib/pengine/unpack.c } else if (pcmk__str_eq(name, "remote-port", pcmk__str_casei)) { name 480 lib/pengine/unpack.c } else if (pcmk__str_eq(name, "remote-connect-timeout", pcmk__str_casei)) { name 482 lib/pengine/unpack.c } else if (pcmk__str_eq(name, "remote-allow-migrate", pcmk__str_casei)) { name 484 lib/pengine/unpack.c } else if (pcmk__str_eq(name, XML_RSC_ATTR_MANAGED, pcmk__str_casei)) { name 551 lib/pengine/unpack.c if (pcmk__str_eq((const char *)xml_obj->name, XML_CIB_TAG_NODE, pcmk__str_none)) { name 660 lib/pengine/unpack.c if (pcmk__str_eq((const char *)xml_obj->name, XML_CIB_TAG_RESOURCE, pcmk__str_none)) { name 678 lib/pengine/unpack.c if (pcmk__str_eq((const char *)xml_obj->name, XML_CIB_TAG_GROUP, pcmk__str_none)) { name 778 lib/pengine/unpack.c if (pcmk__str_eq((const char *)xml_obj->name, XML_CIB_TAG_RSC_TEMPLATE, pcmk__str_none)) { name 839 lib/pengine/unpack.c if (!pcmk__str_eq((const char *)xml_tag->name, XML_CIB_TAG_TAG, pcmk__str_none)) { name 854 lib/pengine/unpack.c if (!pcmk__str_eq((const char *)xml_obj_ref->name, XML_CIB_TAG_OBJ_REF, pcmk__str_none)) { name 902 lib/pengine/unpack.c const char *prop_name = (const char *)xIter->name; name 951 lib/pengine/unpack.c if (!pcmk__str_eq((const char *)xml_obj->name, XML_CIB_TAG_TICKET_STATE, pcmk__str_none)) { name 967 lib/pengine/unpack.c if (!pcmk__str_eq((const char *)state->name, XML_CIB_TAG_STATE, pcmk__str_none)) { name 1262 lib/pengine/unpack.c if (pcmk__str_eq((const char *)state->name, XML_CIB_TAG_TICKETS, pcmk__str_none)) { name 1265 lib/pengine/unpack.c } else if (pcmk__str_eq((const char *)state->name, XML_CIB_TAG_STATE, pcmk__str_none)) { name 2450 lib/pengine/unpack.c if (!pcmk__str_eq((const char *)rsc_entry->name, XML_LRM_TAG_RESOURCE, pcmk__str_casei)) { name 3997 lib/pengine/unpack.c if (pcmk__str_eq((const char *)rsc_op->name, XML_LRM_TAG_RSC_OP, name 4058 lib/pengine/unpack.c if (pcmk__str_eq((const char *)node_state->name, XML_CIB_TAG_STATE, pcmk__str_none)) { name 4091 lib/pengine/unpack.c if (pcmk__str_eq((const char *)lrm_rsc->name, name 665 lib/pengine/utils.c const char *name = NULL; name 690 lib/pengine/utils.c if (!pcmk__str_eq((const char *)operation->name, "op", pcmk__str_none)) { name 693 lib/pengine/utils.c name = crm_element_value(operation, "name"); name 702 lib/pengine/utils.c } else if (!pcmk__str_eq(name, "monitor", pcmk__str_casei) name 719 lib/pengine/utils.c name = crm_element_value(action->op_entry, "name"); name 724 lib/pengine/utils.c if (!pcmk__str_eq(name, CRMD_ACTION_PROMOTE, pcmk__str_casei) name 725 lib/pengine/utils.c && (!pcmk__str_eq(name, CRMD_ACTION_STATUS, pcmk__str_casei) name 731 lib/pengine/utils.c "allowed for it", action->rsc->id, name); name 744 lib/pengine/utils.c const char *name = NULL; name 754 lib/pengine/utils.c if (pcmk__str_eq((const char *)operation->name, "op", pcmk__str_none)) { name 755 lib/pengine/utils.c name = crm_element_value(operation, "name"); name 762 lib/pengine/utils.c if (!pcmk__str_eq(name, RSC_STATUS, pcmk__str_casei)) { name 913 lib/pengine/utils.c const char *name = crm_element_value(attr, XML_NVPAIR_ATTR_NAME); name 916 lib/pengine/utils.c if (pcmk__str_eq(name, XML_OP_ATTR_START_DELAY, pcmk__str_casei)) { name 920 lib/pengine/utils.c } else if (pcmk__str_eq(name, XML_OP_ATTR_ORIGIN, pcmk__str_casei)) { name 929 lib/pengine/utils.c } else if (pcmk__str_eq(name, XML_ATTR_TIMEOUT, pcmk__str_casei)) { name 1029 lib/pengine/utils.c const char *prop_name = (const char *)xIter->name; name 1265 lib/pengine/utils.c const char *name = NULL; name 1276 lib/pengine/utils.c if (pcmk__str_eq((const char *)operation->name, "op", pcmk__str_none)) { name 1277 lib/pengine/utils.c name = crm_element_value(operation, "name"); name 1285 lib/pengine/utils.c match_key = pcmk__op_key(rsc->id, name, interval_ms); name 1292 lib/pengine/utils.c match_key = pcmk__op_key(rsc->clone_name, name, interval_ms); name 1405 lib/pengine/utils.c get_complex_task(pe_resource_t * rsc, const char *name, gboolean allow_non_atomic) name 1407 lib/pengine/utils.c enum action_tasks task = text2task(name); name 1418 lib/pengine/utils.c crm_trace("Folding %s back into its atomic counterpart for %s", name, rsc->id); name 1854 lib/pengine/utils.c get_pseudo_op(const char *name, pe_working_set_t * data_set) name 1859 lib/pengine/utils.c op = g_hash_table_lookup(data_set->singletons, name); name 1862 lib/pengine/utils.c op = custom_action(NULL, strdup(name), name, NULL, TRUE, TRUE, data_set); name 383 lib/services/dbus.c error.name, error.message); name 566 lib/services/dbus.c typedef void (*property_callback_func)(const char *name, // Property name name 572 lib/services/dbus.c char *name; // Property name being queried name 584 lib/services/dbus.c free(data->name); name 600 lib/services/dbus.c data->object, data->name, error.message); name 610 lib/services/dbus.c data->object, data->name); name 619 lib/services/dbus.c "Unexpected variant type", data->object, data->name); name 629 lib/services/dbus.c data->object, data->name); name 635 lib/services/dbus.c "Too many arguments in reply", data->object, data->name); name 640 lib/services/dbus.c data->object, data->name, (value.str? value.str : "")); name 643 lib/services/dbus.c data->callback(data->name, (value.str? value.str : ""), data->userdata); name 694 lib/services/dbus.c const char *obj, const gchar * iface, const char *name, name 703 lib/services/dbus.c && (iface != NULL) && (name != NULL), return NULL); name 706 lib/services/dbus.c target, obj, name); name 712 lib/services/dbus.c "Unable to create message", obj, name); name 719 lib/services/dbus.c DBUS_TYPE_STRING, &name, name 722 lib/services/dbus.c "Could not append arguments", obj, name); name 730 lib/services/dbus.c obj, name); name 739 lib/services/dbus.c query_data->name = strdup(name); name 742 lib/services/dbus.c && (query_data->name != NULL), name 37 lib/services/pcmk-dbus.h DBusConnection *connection, const char *target, const char *obj, const gchar * iface, const char *name, name 38 lib/services/pcmk-dbus.h void (*callback)(const char *name, const char *value, void *userdata), void *userdata, name 168 lib/services/services.c services__create_resource_action(const char *name, const char *standard, name 181 lib/services/services.c if (pcmk__str_empty(name)) { name 187 lib/services/services.c crm_err("Cannot create operation for %s without resource class", name); name 194 lib/services/services.c crm_err("Cannot create operation for %s without provider", name); name 199 lib/services/services.c crm_err("Cannot create operation for %s without agent name", name); name 204 lib/services/services.c crm_err("Cannot create operation for %s without operation name", name); name 214 lib/services/services.c op->rsc = strdup(name); name 217 lib/services/services.c op->standard = expand_resource_class(name, standard, agent); name 221 lib/services/services.c op->id = pcmk__op_key(name, action, interval_ms); name 335 lib/services/services.c resources_action_create(const char *name, const char *standard, name 340 lib/services/services.c svc_action_t *op = services__create_resource_action(name, standard, name 591 lib/services/services.c services_action_cancel(const char *name, const char *action, guint interval_ms) name 594 lib/services/services.c char *id = pcmk__op_key(name, action, interval_ms); name 658 lib/services/services.c services_action_kick(const char *name, const char *action, guint interval_ms) name 661 lib/services/services.c char *id = pcmk__op_key(name, action, interval_ms); name 276 lib/services/services_lsb.c services_action_create(const char *name, const char *action, name 279 lib/services/services_lsb.c return resources_action_create(name, PCMK_RESOURCE_CLASS_LSB, NULL, name, name 64 lib/services/services_nagios.c services__nagios_agent_exists(const char *name) name 70 lib/services/services_nagios.c if (name == NULL) { name 74 lib/services/services_nagios.c buf = crm_strdup_printf(NAGIOS_PLUGIN_DIR "/%s", name); name 89 lib/services/systemd.c method, error.message, error.name); name 126 lib/services/systemd.c systemd_get_property(const char *unit, const char *name, name 127 lib/services/systemd.c void (*callback)(const char *name, const char *value, void *userdata), name 132 lib/services/systemd.c name, callback, userdata, pending, timeout) name 158 lib/services/systemd.c systemd_unit_extension(const char *name) name 160 lib/services/systemd.c if (name) { name 161 lib/services/systemd.c const char *dot = strrchr(name, '.'); name 175 lib/services/systemd.c systemd_service_name(const char *name) name 177 lib/services/systemd.c if (name == NULL) { name 181 lib/services/systemd.c if (systemd_unit_extension(name)) { name 182 lib/services/systemd.c return strdup(name); name 185 lib/services/systemd.c return crm_strdup_printf("%s.service", name); name 262 lib/services/systemd.c if(op && !systemd_mask_error(op, error.name)) { name 320 lib/services/systemd.c char *name = NULL; name 337 lib/services/systemd.c name = systemd_service_name(arg_name); name 338 lib/services/systemd.c CRM_LOG_ASSERT(dbus_message_append_args(msg, DBUS_TYPE_STRING, &name, DBUS_TYPE_INVALID)); name 339 lib/services/systemd.c free(name); name 491 lib/services/systemd.c systemd_unit_exists(const char *name) name 498 lib/services/systemd.c unit = systemd_unit_by_name(name, NULL); name 507 lib/services/systemd.c systemd_unit_metadata(const char *name, int timeout) name 511 lib/services/systemd.c char *path = systemd_unit_by_name(name, NULL); name 518 lib/services/systemd.c desc = crm_strdup_printf("Systemd unit file for %s", name); name 539 lib/services/systemd.c " </special>\n" "</resource-agent>\n", name, desc, name); name 553 lib/services/systemd.c if (!systemd_mask_error(op, error.name)) { name 699 lib/services/systemd.c systemd_unit_check(const char *name, const char *state, void *userdata) name 703 lib/services/systemd.c crm_trace("Resource %s has %s='%s'", op->rsc, name, state); name 779 lib/services/systemd.c char *name = systemd_service_name(op->agent); name 781 lib/services/systemd.c CRM_LOG_ASSERT(dbus_message_append_args(msg, DBUS_TYPE_STRING, &name, DBUS_TYPE_INVALID)); name 784 lib/services/systemd.c free(name); name 18 lib/services/systemd.h G_GNUC_INTERNAL gboolean systemd_unit_exists(const gchar * name); name 231 lib/services/upstart.c upstart_job_exists(const char *name) name 233 lib/services/upstart.c return upstart_job_by_name(name, NULL, DBUS_TIMEOUT_USE_DEFAULT); name 297 lib/services/upstart.c upstart_job_check(const char *name, const char *state, void *userdata) name 316 lib/services/upstart.c upstart_job_metadata(const char *name) name 337 lib/services/upstart.c " </special>\n" "</resource-agent>\n", name, name, name); name 381 lib/services/upstart.c if (!upstart_mask_error(op, error.name)) { name 525 lib/services/upstart.c if(!upstart_mask_error(op, error.name)) { name 19 lib/services/upstart.h G_GNUC_INTERNAL gboolean upstart_job_exists(const gchar * name); name 137 libltdl/libltdl/lt__private.h #define LT__STRERROR(name) lt__error_string(LT_CONC(LT_ERROR_,name)) name 63 libltdl/libltdl/lt_dlloader.h const char * name; name 77 libltdl/libltdl/lt_dlloader.h LT_SCOPE lt_dlvtable * lt_dlloader_remove (const char *name); name 78 libltdl/libltdl/lt_dlloader.h LT_SCOPE const lt_dlvtable *lt_dlloader_find (const char *name); name 68 libltdl/loaders/dld_link.c if (vtable && !vtable->name) name 70 libltdl/loaders/dld_link.c vtable->name = "lt_dld_link"; name 148 libltdl/loaders/dld_link.c const char *name) name 150 libltdl/loaders/dld_link.c void *address = dld_get_func (name); name 68 libltdl/loaders/dlopen.c if (vtable && !vtable->name) name 70 libltdl/loaders/dlopen.c vtable->name = "lt_dlopen"; name 265 libltdl/loaders/dlopen.c vm_sym (lt_user_data loader_data LT__UNUSED, lt_module module, const char *name) name 267 libltdl/loaders/dlopen.c void *address = dlsym (module, name); name 69 libltdl/loaders/dyld.c if (vtable && !vtable->name) name 71 libltdl/loaders/dyld.c vtable->name = "lt_dyld"; name 170 libltdl/loaders/dyld.c static const mach_header *lt__match_loadedlib (const char *name); name 322 libltdl/loaders/dyld.c vm_sym (lt_user_data loader_data, lt_module module, const char *name) name 331 libltdl/loaders/dyld.c _dyld_lookup_and_bind (name, (unsigned long*) &address, &unused); name 339 libltdl/loaders/dyld.c if (lt__image_symbol_p (mh, name)) name 341 libltdl/loaders/dyld.c nssym = lt__image_symbol (mh, name, LT__SYMLOOKUP_OPTS); name 348 libltdl/loaders/dyld.c nssym = NSLookupSymbolInModule (module, name); name 359 libltdl/loaders/dyld.c nssym = lt__linkedlib_symbol (name, mh); name 437 libltdl/loaders/dyld.c result=(char*)(((dylib_command*) lc)->dylib.name.offset + name 447 libltdl/loaders/dyld.c lt__match_loadedlib (const char *name) name 458 libltdl/loaders/dyld.c if (id && strneq (id, name)) name 485 libltdl/loaders/dyld.c unsigned long base = ((dylib_command *) lc)->dylib.name.offset; name 486 libltdl/loaders/dyld.c char *name = (char *) (base + (unsigned long) lc); name 487 libltdl/loaders/dyld.c const mach_header *mh1 = lt__match_loadedlib (name); name 492 libltdl/loaders/dyld.c mh1 = lt__addimage (name, name 68 libltdl/loaders/load_add_on.c if (vtable && !vtable->name) name 70 libltdl/loaders/load_add_on.c vtable->name = "lt_load_add_on"; name 122 libltdl/loaders/load_add_on.c image = load_add_on (info.name); name 155 libltdl/loaders/load_add_on.c vm_sym (lt_user_data loader_data LT__UNUSED, lt_module module, const char *name) name 160 libltdl/loaders/load_add_on.c if (get_image_symbol (image, name, B_SYMBOL_TYPE_ANY, address) != B_OK) name 74 libltdl/loaders/loadlibrary.c if (vtable && !vtable->name) name 76 libltdl/loaders/loadlibrary.c vtable->name = "lt_loadlibrary"; name 265 libltdl/loaders/loadlibrary.c vm_sym (lt_user_data loader_data LT__UNUSED, lt_module module, const char *name) name 267 libltdl/loaders/loadlibrary.c void *address = (void *) GetProcAddress ((HMODULE) module, name); name 69 libltdl/loaders/preopen.c if (vtable && !vtable->name) name 71 libltdl/loaders/preopen.c vtable->name = "lt_preopen"; name 169 libltdl/loaders/preopen.c for (symbol= lists->symlist; symbol->name; ++symbol) name 171 libltdl/loaders/preopen.c if (!symbol->address && STREQ (symbol->name, filename)) name 179 libltdl/loaders/preopen.c if (next_symbol->address && next_symbol->name) name 209 libltdl/loaders/preopen.c vm_sym (lt_user_data loader_data LT__UNUSED, lt_module module, const char *name) name 213 libltdl/loaders/preopen.c if (symbol[1].name && STREQ (symbol[1].name, "@INIT@")) name 220 libltdl/loaders/preopen.c while (symbol->name) name 222 libltdl/loaders/preopen.c if (STREQ (symbol->name, name)) name 282 libltdl/loaders/preopen.c if (symlist[1].name && STREQ (symlist[1].name, "@INIT@")) name 351 libltdl/loaders/preopen.c if ((originator && STREQ (list->symlist->name, originator)) name 352 libltdl/loaders/preopen.c || (!originator && STREQ (list->symlist->name, "@PROGRAM@"))) name 361 libltdl/loaders/preopen.c while ((symbol = &list->symlist[++idx])->name != 0) name 364 libltdl/loaders/preopen.c && (STRNEQ (symbol->name, "@PROGRAM@"))) name 366 libltdl/loaders/preopen.c lt_dlhandle handle = lt_dlopen (symbol->name); name 68 libltdl/loaders/shl_load.c if (vtable && !vtable->name) name 70 libltdl/loaders/shl_load.c vtable->name = "lt_shl_load"; name 204 libltdl/loaders/shl_load.c vm_sym (lt_user_data loader_data LT__UNUSED, lt_module module, const char *name) name 213 libltdl/loaders/shl_load.c else if (!shl_findsym((shl_t*) &module, name, TYPE_UNDEFINED, &address)) name 52 libltdl/lt_dlloader.c const char * name = (const char *) userdata; name 56 libltdl/lt_dlloader.c return STREQ (vtable->name, name) ? (void *) item : NULL; name 106 libltdl/lt_dlloader.c fprintf (stderr, ", %s", (vtable && vtable->name) ? vtable->name : "(null)"); name 121 libltdl/lt_dlloader.c fprintf (stderr, "%s", (head && head->name) ? head->name : "(null)"); name 154 libltdl/lt_dlloader.c lt_dlloader_remove (const char *name) name 156 libltdl/lt_dlloader.c const lt_dlvtable * vtable = lt_dlloader_find (name); name 203 libltdl/lt_dlloader.c slist_unbox ((SList *) slist_remove (&loaders, loader_callback, (void *) name)); name 208 libltdl/lt_dlloader.c lt_dlloader_find (const char *name) name 210 libltdl/lt_dlloader.c return lt_dlloader_get (slist_find (loaders, loader_callback, (void *) name)); name 38 libltdl/lt_error.c #define LT_ERROR(name, diagnostic) diagnostic, name 340 libltdl/ltdl.c if ((vtable = lt_dlloader_remove ((char *) vtable->name))) name 378 libltdl/ltdl.c vtable ? vtable->name : "(ALL)"); name 441 libltdl/ltdl.c (loader_vtable && loader_vtable->name) ? loader_vtable->name : "(null)", name 914 libltdl/ltdl.c char *name; name 920 libltdl/ltdl.c name = MALLOC (char, 1+ name_len); name 921 libltdl/ltdl.c if (name) name 922 libltdl/ltdl.c sprintf (name, "lib%s", p+2); name 925 libltdl/ltdl.c name = lt__strdup(p); name 927 libltdl/ltdl.c if (!name) name 930 libltdl/ltdl.c names[depcount++] = name; name 1167 libltdl/ltdl.c char * name = 0; name 1260 libltdl/ltdl.c name = MALLOC (char, ext - base_name + 1); name 1261 libltdl/ltdl.c if (!name) name 1274 libltdl/ltdl.c name[i] = base_name[i]; name 1278 libltdl/ltdl.c name[i] = '_'; name 1281 libltdl/ltdl.c name[ext - base_name] = LT_EOS_CHAR; name 1293 libltdl/ltdl.c archive_name = MALLOC (char, strlen (libprefix) + LT_STRLEN (name) + strlen (libext) + 2); name 1305 libltdl/ltdl.c if (strncmp(name, "lib", 3) == 0) name 1307 libltdl/ltdl.c sprintf (archive_name, "%s%s.%s", libprefix, name + 3, libext); name 1311 libltdl/ltdl.c sprintf (archive_name, "%s.%s", name, libext); name 1501 libltdl/ltdl.c MEMREASSIGN ((*phandle)->info.name, name); name 1512 libltdl/ltdl.c FREE (name); name 1996 libltdl/ltdl.c FREE (cur->info.name); name 2037 libltdl/ltdl.c + LT_STRLEN (handle->info.name); name 2054 libltdl/ltdl.c if (handle->info.name) name 2064 libltdl/ltdl.c strcat(sym, handle->info.name); name 2068 libltdl/ltdl.c strcpy(sym, handle->info.name); name 2438 libltdl/ltdl.c if (cur && cur->info.name && STREQ (cur->info.name, module_name)) name 81 libltdl/ltdl.h LT_SCOPE void * lt_dlsym (lt_dlhandle handle, const char *name); name 93 libltdl/ltdl.h const char *name; name 133 libltdl/ltdl.h char * name; /* module name */ name 71 maint/mocked/based-notifyfenced.c crm_warn("Notification of client %s/%s failed", client->name, client->id); name 184 maint/mocked/based-notifyfenced.c cib_client->name, cib_client->id); name 153 maint/mocked/based.c type, cib_client->name, cib_client->id, on_off ? "on" : "off"); name 204 maint/mocked/based.c assert(cib_client->name == NULL); name 207 maint/mocked/based.c crm_xml_add(op_request, F_CIB_CLIENTNAME, cib_client->name); name 296 tools/attrd_updater.c send_attrd_query(const char *name, const char *host, xmlNode **reply) name 311 tools/attrd_updater.c crm_xml_add(query, PCMK__XA_ATTR_NAME, name); name 314 tools/attrd_updater.c crm_debug("Sending query for value of %s on %s", name, (host? host : "all nodes")); name 390 tools/attrd_updater.c if (!pcmk__str_eq((const char *)child->name, XML_CIB_TAG_NODE, name 392 tools/attrd_updater.c crm_warn("Ignoring unexpected %s tag in query reply", child->name); name 365 tools/cibadmin.c if (pcmk__str_eq((const char *)xml->name, "xpath-query", pcmk__str_casei)) { name 45 tools/crm_error.c get_strings(int rc, const char **name, const char **str) name 49 tools/crm_error.c *name = crm_exit_name(rc); name 52 tools/crm_error.c *name = pcmk_rc_name(rc); name 55 tools/crm_error.c *name = pcmk_errorname(rc); name 75 tools/crm_error.c const char *name = NULL; name 118 tools/crm_error.c get_strings(rc, &name, &desc); name 119 tools/crm_error.c if (pcmk__str_eq(name, "Unknown", pcmk__str_null_matches) || !strcmp(name, "CRM_EX_UNKNOWN")) { name 122 tools/crm_error.c printf("% .*d: %-26s %s\n", width, rc, name, desc); name 140 tools/crm_error.c get_strings(rc, &name, &desc); name 142 tools/crm_error.c printf("%s - %s\n", name, desc); name 183 tools/crm_mon.c const char *name; name 208 tools/crm_mon.c find_section_bit(const char *name) { name 209 tools/crm_mon.c for (int i = 0; sections[i].name != NULL; i++) { name 210 tools/crm_mon.c if (pcmk__str_eq(sections[i].name, name, pcmk__str_casei)) { name 1826 tools/crm_mon.c if(strcmp((const char*)xml->name, XML_LRM_TAG_RSC_OP) != 0) { name 1926 tools/crm_mon.c const char *name = NULL; name 1952 tools/crm_mon.c name = (const char *)match->name; name 1955 tools/crm_mon.c crm_trace("Handling %s operation for %s %p, %s", op, xpath, match, name); name 1959 tools/crm_mon.c } else if(name == NULL) { name 1963 tools/crm_mon.c } else if(strcmp(name, XML_TAG_CIB) == 0) { name 1977 tools/crm_mon.c } else if(strcmp(name, XML_CIB_TAG_STATUS) == 0) { name 1990 tools/crm_mon.c } else if(strcmp(name, XML_CIB_TAG_STATE) == 0) { name 1997 tools/crm_mon.c } else if(strcmp(name, XML_CIB_TAG_LRM) == 0) { name 2001 tools/crm_mon.c } else if(strcmp(name, XML_LRM_TAG_RESOURCES) == 0) { name 2007 tools/crm_mon.c } else if(strcmp(name, XML_LRM_TAG_RESOURCE) == 0) { name 2013 tools/crm_mon.c } else if(strcmp(name, XML_LRM_TAG_RSC_OP) == 0) { name 2020 tools/crm_mon.c crm_trace("Ignoring %s operation for %s %p, %s", op, xpath, match, name); name 174 tools/crm_mon_curses.c curses_output_xml(pcmk__output_t *out, const char *name, const char *buf) { name 315 tools/crm_node.c const char *name = getenv("OCF_RESKEY_" CRM_META "_" XML_LRM_ATTR_TARGET); name 317 tools/crm_node.c if (name != NULL) { name 318 tools/crm_node.c printf("%s\n", name); name 329 tools/crm_node.c cib_remove_node(long id, const char *name) name 336 tools/crm_node.c crm_trace("Removing %s from the CIB", name); name 338 tools/crm_node.c if(name == NULL && id == 0) { name 345 tools/crm_node.c crm_xml_add(node, XML_ATTR_UNAME, name); name 346 tools/crm_node.c crm_xml_add(node_state, XML_ATTR_UNAME, name); name 358 tools/crm_node.c name, id, pcmk_strerror(rc)); name 363 tools/crm_node.c name, id, pcmk_strerror(rc)); name 771 tools/crm_resource.c char *name = NULL; name 774 tools/crm_resource.c if (pcmk__scan_nvpair(optarg, &name, &value) != 2) { name 780 tools/crm_resource.c g_hash_table_replace(options.cmdline_params, name, value); name 1588 tools/crm_resource.c char *name = calloc(1, strlen(*s)); name 1590 tools/crm_resource.c int rc = sscanf(*s, "%[^=]=%s", name, value); name 1593 tools/crm_resource.c g_hash_table_replace(options.override_params, name, value); name 1601 tools/crm_resource.c free(name); name 161 tools/crm_resource_print.c const char *name = va_arg(args, const char *); name 169 tools/crm_resource_print.c action, name ? " for " : "", name ? name : "", name 174 tools/crm_resource_print.c action, name ? " for " : "", name ? name : "", name 188 tools/crm_resource_print.c const char *name G_GNUC_UNUSED = va_arg(args, const char *); name 231 tools/crm_resource_print.c const char *name = va_arg(args, const char *); name 236 tools/crm_resource_print.c name, value); name 239 tools/crm_resource_print.c rsc_name, name, value); name 249 tools/crm_resource_print.c const char *name = va_arg(args, const char *); name 253 tools/crm_resource_print.c "name", name, name 316 tools/crm_resource_print.c char *name = NULL; name 322 tools/crm_resource_print.c while (g_hash_table_iter_next(&iter, (gpointer *) &name, (gpointer *) &value)) { name 323 tools/crm_resource_print.c out->message(out, "override", rsc_name, name, value); name 385 tools/crm_resource_print.c char *name = NULL; name 391 tools/crm_resource_print.c while (g_hash_table_iter_next(&iter, (gpointer *) &name, (gpointer *) &value)) { name 392 tools/crm_resource_print.c out->message(out, "override", rsc_name, name, value); name 589 tools/crm_resource_runtime.c const char *name = (rsc->clone_name? rsc->clone_name : rsc->id); name 591 tools/crm_resource_runtime.c return pcmk_is_set(rsc->flags, pe_rsc_unique)? strdup(name) : clone_strip(name); name 1786 tools/crm_resource_runtime.c char *name = NULL; name 1790 tools/crm_resource_runtime.c while (g_hash_table_iter_next(&iter, (gpointer *) & name, (gpointer *) & value)) { name 1791 tools/crm_resource_runtime.c g_hash_table_replace(op->params, strdup(name), strdup(value)); name 37 tools/crm_shadow.c get_shadow_prompt(const char *name) name 39 tools/crm_shadow.c return crm_strdup_printf("shadow[%.40s] # ", name); name 43 tools/crm_shadow.c shadow_setup(char *name, gboolean do_switch) name 47 tools/crm_shadow.c char *new_prompt = get_shadow_prompt(name); name 57 tools/crm_shadow.c setenv("CIB_shadow", name, 1); name 73 tools/crm_shadow.c printf(" CIB_shadow=%s ; export CIB_shadow\n", name); name 80 tools/crm_shadow.c shadow_teardown(char *name) name 83 tools/crm_shadow.c char *our_prompt = get_shadow_prompt(name); name 87 tools/crm_ticket.c const char *name = NULL; name 94 tools/crm_ticket.c while (g_hash_table_iter_next(&iter, (void **)&name, (void **)&value)) { name 98 tools/crm_ticket.c fprintf(stdout, "%s=", name); name 99 tools/crm_ticket.c if (pcmk__str_any_of(name, "last-granted", "expires", NULL)) { name 76 tools/ipmiservicelogd.c static void con_usage(const char *name, const char *help, void *cb_data); name 246 tools/ipmiservicelogd.c con_usage(const char *name, const char *help, void *cb_data) name 266 tools/ipmiservicelogd.c struct utsname name; name 271 tools/ipmiservicelogd.c if (uname(&name) == -1) { name 307 tools/ipmiservicelogd.c sl_event.platform = name.machine; /* ppc64, etc */ name 310 tools/ipmiservicelogd.c sl_event.nodename = name.nodename; name 352 tools/ipmiservicelogd.c char name[IPMI_ENTITY_NAME_LEN]; name 365 tools/ipmiservicelogd.c ipmi_sensor_get_id(sensor, name, sizeof(name)); name 413 tools/ipmiservicelogd.c char name[IPMI_ENTITY_NAME_LEN]; name 426 tools/ipmiservicelogd.c ipmi_sensor_get_id(sensor, name, sizeof(name)); name 240 tools/stonith_admin.c static char *name = NULL; name 274 tools/stonith_admin.c char *name = NULL; name 281 tools/stonith_admin.c rc = pcmk__scan_nvpair(optarg, &name, &value); name 288 tools/stonith_admin.c crm_info("Got: '%s'='%s'", name, value); name 289 tools/stonith_admin.c options.params = stonith_key_value_add(options.params, name, value); name 292 tools/stonith_admin.c free(name); name 299 tools/stonith_admin.c free(name); name 300 tools/stonith_admin.c name = crm_strdup_printf("%s.%s", crm_system_name, optarg); name 363 tools/stonith_admin.c name = strdup(crm_system_name); name 499 tools/stonith_admin.c rc = st->cmds->connect(st, name, NULL); name 573 tools/stonith_admin.c rc = pcmk__fence_action(st, target, "reboot", name, options.timeout*1000, name 578 tools/stonith_admin.c rc = pcmk__fence_action(st, target, "off", name, options.timeout*1000, name 583 tools/stonith_admin.c rc = pcmk__fence_action(st, target, "on", name, options.timeout*1000, name 616 tools/stonith_admin.c free(name);