entry 164 daemons/controld/controld_execd.c rsc_history_t *entry = NULL; entry 179 daemons/controld/controld_execd.c entry = g_hash_table_lookup(lrm_state->resource_history, op->rsc_id); entry 180 daemons/controld/controld_execd.c if (entry == NULL && rsc) { entry 181 daemons/controld/controld_execd.c entry = calloc(1, sizeof(rsc_history_t)); entry 182 daemons/controld/controld_execd.c entry->id = strdup(op->rsc_id); entry 183 daemons/controld/controld_execd.c g_hash_table_insert(lrm_state->resource_history, entry->id, entry); entry 185 daemons/controld/controld_execd.c entry->rsc.id = entry->id; entry 186 daemons/controld/controld_execd.c entry->rsc.type = strdup(rsc->type); entry 187 daemons/controld/controld_execd.c entry->rsc.standard = strdup(rsc->standard); entry 189 daemons/controld/controld_execd.c entry->rsc.provider = strdup(rsc->provider); entry 191 daemons/controld/controld_execd.c entry->rsc.provider = NULL; entry 194 daemons/controld/controld_execd.c } else if (entry == NULL) { entry 199 daemons/controld/controld_execd.c entry->last_callid = op->call_id; entry 205 daemons/controld/controld_execd.c history_remove_recurring_op(entry, op); entry 217 daemons/controld/controld_execd.c if (entry->failed) { entry 218 daemons/controld/controld_execd.c lrmd_free_event(entry->failed); entry 220 daemons/controld/controld_execd.c entry->failed = lrmd_copy_event(op); entry 223 daemons/controld/controld_execd.c if (entry->last) { entry 224 daemons/controld/controld_execd.c lrmd_free_event(entry->last); entry 226 daemons/controld/controld_execd.c entry->last = lrmd_copy_event(op); entry 230 daemons/controld/controld_execd.c if (entry->stop_params) { entry 231 daemons/controld/controld_execd.c g_hash_table_destroy(entry->stop_params); entry 233 daemons/controld/controld_execd.c entry->stop_params = crm_str_table_new(); entry 235 daemons/controld/controld_execd.c g_hash_table_foreach(op->params, copy_instance_keys, entry->stop_params); entry 241 daemons/controld/controld_execd.c history_remove_recurring_op(entry, op); entry 245 daemons/controld/controld_execd.c entry->recurring_op_list = g_list_prepend(entry->recurring_op_list, lrmd_copy_event(op)); entry 247 daemons/controld/controld_execd.c } else if (entry->recurring_op_list && !pcmk__str_eq(op->op_type, RSC_STATUS, pcmk__str_casei)) { entry 249 daemons/controld/controld_execd.c g_list_length(entry->recurring_op_list), op->rsc_id, entry 251 daemons/controld/controld_execd.c history_free_recurring_ops(entry); entry 398 daemons/controld/controld_execd.c rsc_history_t *entry = NULL; entry 460 daemons/controld/controld_execd.c while (g_hash_table_iter_next(&gIter, NULL, (gpointer*)&entry)) { entry 461 daemons/controld/controld_execd.c if (is_rsc_active(lrm_state, entry->id) == FALSE) { entry 467 daemons/controld/controld_execd.c crm_info("Found %s active at %s", entry->id, when); entry 469 daemons/controld/controld_execd.c crm_trace("Found %s active at %s", entry->id, when); entry 476 daemons/controld/controld_execd.c if (pcmk__str_eq(entry->id, pending->rsc_id, pcmk__str_none)) { entry 746 daemons/controld/controld_execd.c rsc_history_t *entry = NULL; entry 748 daemons/controld/controld_execd.c entry = g_hash_table_lookup(lrm_state->resource_history, rsc_id); entry 749 daemons/controld/controld_execd.c if (entry == NULL || entry->last == NULL) { entry 753 daemons/controld/controld_execd.c crm_trace("Processing %s: %s.%d=%d", rsc_id, entry->last->op_type, entry 754 daemons/controld/controld_execd.c entry->last->interval_ms, entry->last->rc); entry 755 daemons/controld/controld_execd.c if (entry->last->rc == PCMK_OCF_OK && pcmk__str_eq(entry->last->op_type, CRMD_ACTION_STOP, pcmk__str_casei)) { entry 758 daemons/controld/controld_execd.c } else if (entry->last->rc == PCMK_OCF_OK entry 759 daemons/controld/controld_execd.c && pcmk__str_eq(entry->last->op_type, CRMD_ACTION_MIGRATE, pcmk__str_casei)) { entry 763 daemons/controld/controld_execd.c } else if (entry->last->rc == PCMK_OCF_NOT_RUNNING) { entry 766 daemons/controld/controld_execd.c } else if ((entry->last->interval_ms == 0) entry 767 daemons/controld/controld_execd.c && (entry->last->rc == PCMK_OCF_NOT_CONFIGURED)) { entry 779 daemons/controld/controld_execd.c rsc_history_t *entry = NULL; entry 782 daemons/controld/controld_execd.c while (g_hash_table_iter_next(&iter, NULL, (void **)&entry)) { entry 787 daemons/controld/controld_execd.c crm_xml_add(xml_rsc, XML_ATTR_ID, entry->id); entry 788 daemons/controld/controld_execd.c crm_xml_add(xml_rsc, XML_ATTR_TYPE, entry->rsc.type); entry 789 daemons/controld/controld_execd.c crm_xml_add(xml_rsc, XML_AGENT_ATTR_CLASS, entry->rsc.standard); entry 790 daemons/controld/controld_execd.c crm_xml_add(xml_rsc, XML_AGENT_ATTR_PROVIDER, entry->rsc.provider); entry 792 daemons/controld/controld_execd.c if (entry->last && entry->last->params) { entry 793 daemons/controld/controld_execd.c const char *container = g_hash_table_lookup(entry->last->params, CRM_META"_"XML_RSC_ATTR_CONTAINER); entry 795 daemons/controld/controld_execd.c crm_trace("Resource %s is a part of container resource %s", entry->id, container); entry 799 daemons/controld/controld_execd.c build_operation_update(xml_rsc, &(entry->rsc), entry->failed, lrm_state->node_name, entry 801 daemons/controld/controld_execd.c build_operation_update(xml_rsc, &(entry->rsc), entry->last, lrm_state->node_name, entry 803 daemons/controld/controld_execd.c for (gIter = entry->recurring_op_list; gIter != NULL; gIter = gIter->next) { entry 804 daemons/controld/controld_execd.c build_operation_update(xml_rsc, &(entry->rsc), gIter->data, lrm_state->node_name, entry 1077 daemons/controld/controld_execd.c last_failed_matches_op(rsc_history_t *entry, const char *op, guint interval_ms) entry 1079 daemons/controld/controld_execd.c if (entry == NULL) { entry 1085 daemons/controld/controld_execd.c return (pcmk__str_eq(op, entry->failed->op_type, pcmk__str_casei) entry 1086 daemons/controld/controld_execd.c && (interval_ms == entry->failed->interval_ms)); entry 1126 daemons/controld/controld_execd.c rsc_history_t *entry = g_hash_table_lookup(lrm_state->resource_history, entry 1129 daemons/controld/controld_execd.c if (last_failed_matches_op(entry, operation, interval_ms)) { entry 1130 daemons/controld/controld_execd.c lrmd_free_event(entry->failed); entry 1131 daemons/controld/controld_execd.c entry->failed = NULL; entry 1356 daemons/controld/controld_execd.c rsc_history_t *entry = NULL; entry 1359 daemons/controld/controld_execd.c entry = g_hash_table_lookup(lrm_state->resource_history, rsc_id); entry 1365 daemons/controld/controld_execd.c if (entry) { entry 1366 daemons/controld/controld_execd.c call_id = entry->last_callid + 1; entry 1392 daemons/controld/controld_execd.c rsc_history_t *entry = NULL; entry 1396 daemons/controld/controld_execd.c while (g_hash_table_iter_next(&gIter, NULL, (void **)&entry)) { entry 1402 daemons/controld/controld_execd.c if (is_remote_lrmd_ra(NULL, NULL, entry->id)) { entry 1403 daemons/controld/controld_execd.c lrm_state_t *remote_lrm_state = lrm_state_find(entry->id); entry 1412 daemons/controld/controld_execd.c delete_resource(lrm_state, entry->id, &entry->rsc, &gIter, from_sys, entry 2015 daemons/controld/controld_execd.c rsc_history_t *entry = NULL; entry 2018 daemons/controld/controld_execd.c entry = g_hash_table_lookup(lrm_state->resource_history, rsc_id); entry 2023 daemons/controld/controld_execd.c if (!entry || !entry->stop_params) { entry 2031 daemons/controld/controld_execd.c g_hash_table_foreach(entry->stop_params, copy_instance_keys, op->params); entry 2580 daemons/controld/controld_execd.c rsc_history_t *entry = NULL; entry 2586 daemons/controld/controld_execd.c entry = g_hash_table_lookup(lrm_state->resource_history, rsc_id); entry 2587 daemons/controld/controld_execd.c if (entry == NULL || entry->failed == NULL) { entry 2591 daemons/controld/controld_execd.c if (pcmk__str_eq(entry->failed->rsc_id, rsc_id, pcmk__str_none) entry 2592 daemons/controld/controld_execd.c && pcmk__str_eq(entry->failed->op_type, op_type, pcmk__str_casei) entry 2593 daemons/controld/controld_execd.c && entry->failed->interval_ms == interval_ms) { entry 2451 daemons/fenced/fenced_commands.c crm_node_t *entry = NULL; entry 2454 daemons/fenced/fenced_commands.c while (g_hash_table_iter_next(&gIter, NULL, (void **)&entry)) { entry 2455 daemons/fenced/fenced_commands.c crm_trace("Checking for %s.%d != %s", entry->uname, entry->id, target); entry 2456 daemons/fenced/fenced_commands.c if (fencing_peer_active(entry) entry 2457 daemons/fenced/fenced_commands.c && !pcmk__str_eq(entry->uname, target, pcmk__str_casei)) { entry 2458 daemons/fenced/fenced_commands.c alternate_host = entry->uname; entry 2465 daemons/fenced/fenced_commands.c while (g_hash_table_iter_next(&gIter, NULL, (void **)&entry)) { entry 2466 daemons/fenced/fenced_commands.c crm_notice("Peer[%d] %s", entry->id, entry->uname); entry 289 daemons/fenced/fenced_history.c xmlNode *entry = NULL; entry 302 daemons/fenced/fenced_history.c entry = create_xml_node(history, STONITH_OP_EXEC); entry 304 daemons/fenced/fenced_history.c crm_xml_add(entry, F_STONITH_REMOTE_OP_ID, op->id); entry 306 daemons/fenced/fenced_history.c crm_xml_add(entry, F_STONITH_TARGET, op->target); entry 307 daemons/fenced/fenced_history.c crm_xml_add(entry, F_STONITH_ACTION, op->action); entry 308 daemons/fenced/fenced_history.c crm_xml_add(entry, F_STONITH_ORIGIN, op->originator); entry 309 daemons/fenced/fenced_history.c crm_xml_add(entry, F_STONITH_DELEGATE, op->delegate); entry 310 daemons/fenced/fenced_history.c crm_xml_add(entry, F_STONITH_CLIENTNAME, op->client_name); entry 311 daemons/fenced/fenced_history.c crm_xml_add_ll(entry, F_STONITH_DATE, op->completed); entry 312 daemons/fenced/fenced_history.c crm_xml_add_int(entry, F_STONITH_STATE, op->state); entry 944 daemons/fenced/fenced_remote.c crm_node_t *entry; entry 948 daemons/fenced/fenced_remote.c while (g_hash_table_iter_next(&gIter, NULL, (void **)&entry)) { entry 949 daemons/fenced/fenced_remote.c if(fencing_peer_active(entry)) { entry 72 include/crm/common/alerts_internal.h pcmk__alert_t *pcmk__dup_alert(pcmk__alert_t *entry); entry 74 include/crm/common/alerts_internal.h void pcmk__free_alert(pcmk__alert_t *entry); entry 588 lib/cib/cib_utils.c cib_notify_client_t *entry = data; entry 598 lib/cib/cib_utils.c if (entry == NULL) { entry 602 lib/cib/cib_utils.c } else if (entry->callback == NULL) { entry 606 lib/cib/cib_utils.c } else if (!pcmk__str_eq(entry->event, event, pcmk__str_casei)) { entry 607 lib/cib/cib_utils.c crm_trace("Skipping callback - event mismatch %p/%s vs. %s", entry, entry->event, event); entry 611 lib/cib/cib_utils.c crm_trace("Invoking callback for %p/%s event...", entry, event); entry 612 lib/cib/cib_utils.c entry->callback(event, msg); entry 97 lib/common/alerts.c pcmk__alert_t *entry = calloc(1, sizeof(pcmk__alert_t)); entry 99 lib/common/alerts.c CRM_ASSERT(entry && id && path); entry 100 lib/common/alerts.c entry->id = strdup(id); entry 101 lib/common/alerts.c entry->path = strdup(path); entry 102 lib/common/alerts.c entry->timeout = PCMK__ALERT_DEFAULT_TIMEOUT_MS; entry 103 lib/common/alerts.c entry->flags = pcmk__alert_default; entry 104 lib/common/alerts.c return entry; entry 108 lib/common/alerts.c pcmk__free_alert(pcmk__alert_t *entry) entry 110 lib/common/alerts.c if (entry) { entry 111 lib/common/alerts.c free(entry->id); entry 112 lib/common/alerts.c free(entry->path); entry 113 lib/common/alerts.c free(entry->tstamp_format); entry 114 lib/common/alerts.c free(entry->recipient); entry 116 lib/common/alerts.c g_strfreev(entry->select_attribute_name); entry 117 lib/common/alerts.c if (entry->envvars) { entry 118 lib/common/alerts.c g_hash_table_destroy(entry->envvars); entry 120 lib/common/alerts.c free(entry); entry 133 lib/common/alerts.c pcmk__dup_alert(pcmk__alert_t *entry) entry 135 lib/common/alerts.c pcmk__alert_t *new_entry = pcmk__alert_new(entry->id, entry->path); entry 137 lib/common/alerts.c new_entry->timeout = entry->timeout; entry 138 lib/common/alerts.c new_entry->flags = entry->flags; entry 139 lib/common/alerts.c new_entry->envvars = crm_str_table_dup(entry->envvars); entry 140 lib/common/alerts.c if (entry->tstamp_format) { entry 141 lib/common/alerts.c new_entry->tstamp_format = strdup(entry->tstamp_format); entry 143 lib/common/alerts.c if (entry->recipient) { entry 144 lib/common/alerts.c new_entry->recipient = strdup(entry->recipient); entry 146 lib/common/alerts.c if (entry->select_attribute_name) { entry 147 lib/common/alerts.c new_entry->select_attribute_name = g_strdupv(entry->select_attribute_name); entry 609 lib/common/io.c struct dirent *entry; entry 612 lib/common/io.c while ((entry = readdir(dir)) != NULL) { entry 613 lib/common/io.c int lpc = atoi(entry->d_name); entry 102 lib/common/output.c pcmk__supported_format_t *entry = NULL; entry 108 lib/common/output.c for (entry = formats; entry->name != NULL; entry++) { entry 109 lib/common/output.c pcmk__register_format(group, entry->name, entry->create, entry->options); entry 146 lib/common/output.c pcmk__message_entry_t *entry; entry 148 lib/common/output.c for (entry = table; entry->message_id != NULL; entry++) { entry 149 lib/common/output.c if (pcmk__strcase_any_of(entry->fmt_name, "default", out->fmt_name, NULL)) { entry 150 lib/common/output.c pcmk__register_message(out, entry->message_id, entry->fn); entry 40 lib/common/procfs.c pcmk__procfs_process_info(struct dirent *entry, char *name, pid_t *pid) entry 52 lib/common/procfs.c local_pid = atoi(entry->d_name); entry 53 lib/common/procfs.c if ((local_pid <= 0) || (strlen(entry->d_name) > 114)) { entry 62 lib/common/procfs.c strcat(procpath, entry->d_name); entry 114 lib/common/procfs.c struct dirent *entry; entry 124 lib/common/procfs.c while ((entry = readdir(dp)) != NULL) { entry 125 lib/common/procfs.c if ((pcmk__procfs_process_info(entry, entry_name, &pid) == pcmk_rc_ok) entry 1792 lib/fencing/st_client.c stonith_notify_client_t *entry = data; entry 1803 lib/fencing/st_client.c if (entry == NULL) { entry 1807 lib/fencing/st_client.c } else if (entry->delete) { entry 1811 lib/fencing/st_client.c } else if (entry->notify == NULL) { entry 1815 lib/fencing/st_client.c } else if (!pcmk__str_eq(entry->event, event, pcmk__str_casei)) { entry 1816 lib/fencing/st_client.c crm_trace("Skipping callback - event mismatch %p/%s vs. %s", entry, entry->event, event); entry 1822 lib/fencing/st_client.c crm_trace("Invoking callback for %p/%s event...", entry, event); entry 1823 lib/fencing/st_client.c entry->notify(blob->stonith, st_event); entry 2436 lib/fencing/st_client.c char *entry = NULL; entry 2444 lib/fencing/st_client.c entry = calloc(i - entry_start + 1, sizeof(char)); entry 2445 lib/fencing/st_client.c CRM_ASSERT(entry != NULL); entry 2451 lib/fencing/st_client.c rc = sscanf(line + entry_start, "%[a-zA-Z0-9_-.]", entry); entry 2456 lib/fencing/st_client.c free(entry); entry 2458 lib/fencing/st_client.c } else if (pcmk__strcase_any_of(entry, "on", "off", NULL)) { entry 2467 lib/fencing/st_client.c free(entry); entry 2471 lib/fencing/st_client.c *output = g_list_append(*output, entry); entry 111 lib/fencing/st_lha.c char **entry = NULL; entry 130 lib/fencing/st_lha.c for (entry = type_list; entry != NULL && *entry; ++entry) { entry 131 lib/fencing/st_lha.c crm_trace("Added: %s", *entry); entry 132 lib/fencing/st_lha.c *devices = stonith_key_value_add(*devices, NULL, *entry); entry 78 lib/lrmd/lrmd_alerts.c alert_envvar2params(lrmd_key_value_t *head, pcmk__alert_t *entry) entry 80 lib/lrmd/lrmd_alerts.c if (entry->envvars) { entry 81 lib/lrmd/lrmd_alerts.c g_hash_table_foreach(entry->envvars, set_ev_kv, &head); entry 142 lib/lrmd/lrmd_alerts.c pcmk__alert_t *entry = (pcmk__alert_t *)(iter->data); entry 147 lib/lrmd/lrmd_alerts.c if (!pcmk_is_set(entry->flags, kind)) { entry 149 lib/lrmd/lrmd_alerts.c kind_s, entry->recipient, entry->id); entry 154 lib/lrmd/lrmd_alerts.c && !is_target_alert(entry->select_attribute_name, attr_name)) { entry 157 lib/lrmd/lrmd_alerts.c attr_name, entry->recipient, entry->id); entry 167 lib/lrmd/lrmd_alerts.c kind_s, entry->id, entry->recipient); entry 175 lib/lrmd/lrmd_alerts.c entry->recipient); entry 178 lib/lrmd/lrmd_alerts.c char *timestamp = pcmk__time_format_hr(entry->tstamp_format, now); entry 198 lib/lrmd/lrmd_alerts.c copy_params = alert_envvar2params(copy_params, entry); entry 200 lib/lrmd/lrmd_alerts.c rc = lrmd->cmds->exec_alert(lrmd, entry->id, entry->path, entry 201 lib/lrmd/lrmd_alerts.c entry->timeout, copy_params); entry 204 lib/lrmd/lrmd_alerts.c entry->id, pcmk_strerror(rc), rc); entry 64 lib/pacemaker/pcmk_sched_notif.c static notify_entry_t *dup_notify_entry(notify_entry_t *entry) entry 69 lib/pacemaker/pcmk_sched_notif.c dup->rsc = entry->rsc; entry 70 lib/pacemaker/pcmk_sched_notif.c dup->node = entry->node; entry 157 lib/pacemaker/pcmk_sched_notif.c notify_entry_t *entry = (notify_entry_t *) gIter->data; entry 160 lib/pacemaker/pcmk_sched_notif.c CRM_LOG_ASSERT((entry != NULL) && (entry->rsc != NULL) entry 161 lib/pacemaker/pcmk_sched_notif.c && (entry->rsc->id != NULL)); entry 162 lib/pacemaker/pcmk_sched_notif.c if ((entry == NULL) || (entry->rsc == NULL) entry 163 lib/pacemaker/pcmk_sched_notif.c || (entry->rsc->id == NULL)) { entry 168 lib/pacemaker/pcmk_sched_notif.c CRM_LOG_ASSERT((node_list == NULL) || (entry->node != NULL)); entry 169 lib/pacemaker/pcmk_sched_notif.c if ((node_list != NULL) && (entry->node == NULL)) { entry 174 lib/pacemaker/pcmk_sched_notif.c if (pcmk__str_eq(entry->rsc->id, last_rsc_id, pcmk__str_none)) { entry 177 lib/pacemaker/pcmk_sched_notif.c last_rsc_id = entry->rsc->id; entry 178 lib/pacemaker/pcmk_sched_notif.c pcmk__add_word(rsc_list, &rsc_list_len, entry->rsc->id); entry 179 lib/pacemaker/pcmk_sched_notif.c if ((node_list != NULL) && (entry->node->details->uname != NULL)) { entry 181 lib/pacemaker/pcmk_sched_notif.c entry->node->details->uname); entry 427 lib/pacemaker/pcmk_sched_notif.c notify_entry_t *entry = NULL; entry 429 lib/pacemaker/pcmk_sched_notif.c entry = calloc(1, sizeof(notify_entry_t)); entry 430 lib/pacemaker/pcmk_sched_notif.c entry->rsc = rsc; entry 433 lib/pacemaker/pcmk_sched_notif.c entry->node = rsc->running_on->data; entry 440 lib/pacemaker/pcmk_sched_notif.c n_data->inactive = g_list_prepend(n_data->inactive, entry); entry 443 lib/pacemaker/pcmk_sched_notif.c n_data->active = g_list_prepend(n_data->active, entry); entry 446 lib/pacemaker/pcmk_sched_notif.c n_data->slave = g_list_prepend(n_data->slave, entry); entry 448 lib/pacemaker/pcmk_sched_notif.c dup_notify_entry(entry)); entry 451 lib/pacemaker/pcmk_sched_notif.c n_data->master = g_list_prepend(n_data->master, entry); entry 453 lib/pacemaker/pcmk_sched_notif.c dup_notify_entry(entry)); entry 457 lib/pacemaker/pcmk_sched_notif.c free(entry); entry 463 lib/pacemaker/pcmk_sched_notif.c notify_entry_t *entry = NULL; entry 482 lib/pacemaker/pcmk_sched_notif.c entry = calloc(1, sizeof(notify_entry_t)); entry 483 lib/pacemaker/pcmk_sched_notif.c entry->node = op->node; entry 484 lib/pacemaker/pcmk_sched_notif.c entry->rsc = rsc; entry 488 lib/pacemaker/pcmk_sched_notif.c n_data->start = g_list_prepend(n_data->start, entry); entry 491 lib/pacemaker/pcmk_sched_notif.c n_data->stop = g_list_prepend(n_data->stop, entry); entry 494 lib/pacemaker/pcmk_sched_notif.c n_data->promote = g_list_prepend(n_data->promote, entry); entry 497 lib/pacemaker/pcmk_sched_notif.c n_data->demote = g_list_prepend(n_data->demote, entry); entry 500 lib/pacemaker/pcmk_sched_notif.c free(entry); entry 19 lib/pengine/rules_alerts.c get_meta_attrs_from_cib(xmlNode *basenode, pcmk__alert_t *entry, entry 32 lib/pengine/rules_alerts.c entry->timeout = crm_get_msec(value); entry 33 lib/pengine/rules_alerts.c if (entry->timeout <= 0) { entry 34 lib/pengine/rules_alerts.c if (entry->timeout == 0) { entry 36 lib/pengine/rules_alerts.c entry->id, PCMK__ALERT_DEFAULT_TIMEOUT_MS); entry 39 lib/pengine/rules_alerts.c entry->id, (char*)value, PCMK__ALERT_DEFAULT_TIMEOUT_MS); entry 41 lib/pengine/rules_alerts.c entry->timeout = PCMK__ALERT_DEFAULT_TIMEOUT_MS; entry 44 lib/pengine/rules_alerts.c entry->id, entry->timeout); entry 46 lib/pengine/rules_alerts.c if (entry->timeout > *max_timeout) { entry 47 lib/pengine/rules_alerts.c *max_timeout = entry->timeout; entry 55 lib/pengine/rules_alerts.c entry->tstamp_format = strdup(value); entry 57 lib/pengine/rules_alerts.c entry->id, entry->tstamp_format); entry 64 lib/pengine/rules_alerts.c get_envvars_from_cib(xmlNode *basenode, pcmk__alert_t *entry) entry 68 lib/pengine/rules_alerts.c if ((basenode == NULL) || (entry == NULL)) { entry 77 lib/pengine/rules_alerts.c if (entry->envvars == NULL) { entry 78 lib/pengine/rules_alerts.c entry->envvars = crm_str_table_new(); entry 90 lib/pengine/rules_alerts.c g_hash_table_insert(entry->envvars, strdup(name), strdup(value)); entry 92 lib/pengine/rules_alerts.c entry->id, name, value); entry 97 lib/pengine/rules_alerts.c unpack_alert_filter(xmlNode *basenode, pcmk__alert_t *entry) entry 133 lib/pengine/rules_alerts.c g_strfreev(entry->select_attribute_name); entry 134 lib/pengine/rules_alerts.c entry->select_attribute_name = NULL; entry 137 lib/pengine/rules_alerts.c entry->select_attribute_name = pcmk__realloc(entry->select_attribute_name, entry 139 lib/pengine/rules_alerts.c entry->select_attribute_name[nattrs - 1] = strdup(attr_name); entry 140 lib/pengine/rules_alerts.c entry->select_attribute_name[nattrs] = NULL; entry 147 lib/pengine/rules_alerts.c entry->flags = flags; entry 149 lib/pengine/rules_alerts.c entry->id, entry 151 lib/pengine/rules_alerts.c (entry->select_attribute_name? "some" : "all") : "none"), entry 159 lib/pengine/rules_alerts.c unpack_alert(xmlNode *alert, pcmk__alert_t *entry, guint *max_timeout) entry 161 lib/pengine/rules_alerts.c get_envvars_from_cib(alert, entry); entry 162 lib/pengine/rules_alerts.c get_meta_attrs_from_cib(alert, entry, max_timeout); entry 163 lib/pengine/rules_alerts.c unpack_alert_filter(alert, entry); entry 181 lib/pengine/rules_alerts.c pcmk__alert_t *entry; entry 203 lib/pengine/rules_alerts.c entry = pcmk__alert_new(alert_id, alert_path); entry 205 lib/pengine/rules_alerts.c unpack_alert(alert, entry, &max_timeout); entry 207 lib/pengine/rules_alerts.c if (entry->tstamp_format == NULL) { entry 208 lib/pengine/rules_alerts.c entry->tstamp_format = strdup(PCMK__ALERT_DEFAULT_TSTAMP_FORMAT); entry 212 lib/pengine/rules_alerts.c entry->id, entry->path, entry->timeout, entry->tstamp_format, entry 213 lib/pengine/rules_alerts.c (entry->envvars? g_hash_table_size(entry->envvars) : 0)); entry 218 lib/pengine/rules_alerts.c pcmk__alert_t *recipient_entry = pcmk__dup_alert(entry); entry 226 lib/pengine/rules_alerts.c entry->id, ID(recipient), recipient_entry->recipient, entry 232 lib/pengine/rules_alerts.c alert_list = g_list_prepend(alert_list, entry); entry 234 lib/pengine/rules_alerts.c pcmk__free_alert(entry); entry 56 libltdl/libltdl/lt__argz_.h char *before, const char *entry); entry 58 libltdl/libltdl/lt__argz_.h const char *entry); entry 79 libltdl/libltdl/lt__dirent.h LT_SCOPE struct dirent *readdir (DIR *entry); entry 80 libltdl/libltdl/lt__dirent.h LT_SCOPE void closedir (DIR *entry); entry 132 libltdl/lt__argz.c argz_insert (char **pargz, size_t *pargz_len, char *before, const char *entry) entry 136 libltdl/lt__argz.c assert (entry && *entry); entry 141 libltdl/lt__argz.c return argz_append (pargz, pargz_len, entry, 1+ strlen (entry)); entry 150 libltdl/lt__argz.c size_t entry_len = 1+ strlen (entry); entry 166 libltdl/lt__argz.c memcpy (before, entry, entry_len); entry 178 libltdl/lt__argz.c argz_next (char *argz, size_t argz_len, const char *entry) entry 182 libltdl/lt__argz.c if (entry) entry 187 libltdl/lt__argz.c || ((argz <= entry) && (entry < (argz + argz_len)))); entry 191 libltdl/lt__argz.c entry = 1+ strchr (entry, EOS_CHAR); entry 195 libltdl/lt__argz.c return (entry >= argz + argz_len) ? 0 : (char *) entry; entry 40 libltdl/lt__dirent.c closedir (DIR *entry) entry 42 libltdl/lt__dirent.c assert (entry != (DIR *) NULL); entry 43 libltdl/lt__dirent.c FindClose (entry->hSearch); entry 44 libltdl/lt__dirent.c free (entry); entry 52 libltdl/lt__dirent.c DIR *entry; entry 58 libltdl/lt__dirent.c entry = (DIR *) malloc (sizeof(DIR)); entry 59 libltdl/lt__dirent.c if (entry != (DIR *) 0) entry 61 libltdl/lt__dirent.c entry->firsttime = TRUE; entry 62 libltdl/lt__dirent.c entry->hSearch = FindFirstFile (file_spec, &entry->Win32FindData); entry 64 libltdl/lt__dirent.c if (entry->hSearch == INVALID_HANDLE_VALUE) entry 68 libltdl/lt__dirent.c entry->hSearch = FindFirstFile (file_spec, &entry->Win32FindData); entry 71 libltdl/lt__dirent.c if (entry->hSearch == INVALID_HANDLE_VALUE) entry 73 libltdl/lt__dirent.c entry = (free (entry), (DIR *) 0); entry 78 libltdl/lt__dirent.c return entry; entry 83 libltdl/lt__dirent.c readdir (DIR *entry) entry 87 libltdl/lt__dirent.c if (entry == (DIR *) 0) entry 90 libltdl/lt__dirent.c if (!entry->firsttime) entry 92 libltdl/lt__dirent.c status = FindNextFile (entry->hSearch, &entry->Win32FindData); entry 97 libltdl/lt__dirent.c entry->firsttime = FALSE; entry 98 libltdl/lt__dirent.c if (lt_strlcpy (entry->file_info.d_name, entry->Win32FindData.cFileName, entry 99 libltdl/lt__dirent.c sizeof entry->file_info.d_name) >= sizeof entry->file_info.d_name) entry 101 libltdl/lt__dirent.c entry->file_info.d_namlen = strlen (entry->file_info.d_name); entry 103 libltdl/lt__dirent.c return &entry->file_info; entry 142 libltdl/ltdl.c char *before, const char *entry); entry 144 libltdl/ltdl.c const char *entry); entry 1722 libltdl/ltdl.c const char *entry) entry 1729 libltdl/ltdl.c error = argz_insert (pargz, pargz_len, before, entry); entry 1731 libltdl/ltdl.c error = argz_append (pargz, pargz_len, entry, 1 + strlen (entry)); entry 1751 libltdl/ltdl.c lt_argz_insertinorder (char **pargz, size_t *pargz_len, const char *entry) entry 1757 libltdl/ltdl.c assert (entry && *entry); entry 1762 libltdl/ltdl.c int cmp = strcmp (entry, before); entry 1768 libltdl/ltdl.c return lt_argz_insert (pargz, pargz_len, before, entry); entry 148 replace/scandir.c struct dirent *entry; entry 167 replace/scandir.c while (entry = readdir(directory), entry) entry 168 replace/scandir.c if (select_function == NULL || (*select_function) (entry)) { entry 187 replace/scandir.c int namelength = strlen(entry->d_name) + 1; /* length with NULL */ entry 190 replace/scandir.c if (sizeof(entry->d_name) <= namelength) { entry 192 replace/scandir.c extra += namelength - sizeof(entry->d_name); entry 200 replace/scandir.c copy->d_ino = entry->d_ino; entry 201 replace/scandir.c copy->d_reclen = entry->d_reclen; entry 202 replace/scandir.c strcpy(copy->d_name, entry->d_name); entry 867 tools/crm_mon.c for (GOptionEntry *entry = display_entries; entry != NULL; entry++) { entry 868 tools/crm_mon.c if (entry->short_name == c) { entry 869 tools/crm_mon.c desc = entry->description;