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 232 daemons/controld/controld_execd.c if (entry->stop_params) { entry 233 daemons/controld/controld_execd.c g_hash_table_destroy(entry->stop_params); entry 235 daemons/controld/controld_execd.c entry->stop_params = pcmk__strkey_table(free, free); entry 237 daemons/controld/controld_execd.c g_hash_table_foreach(op->params, copy_instance_keys, entry->stop_params); entry 243 daemons/controld/controld_execd.c history_remove_recurring_op(entry, op); entry 247 daemons/controld/controld_execd.c entry->recurring_op_list = g_list_prepend(entry->recurring_op_list, lrmd_copy_event(op)); entry 249 daemons/controld/controld_execd.c } else if (entry->recurring_op_list && !pcmk__str_eq(op->op_type, RSC_STATUS, pcmk__str_casei)) { entry 251 daemons/controld/controld_execd.c g_list_length(entry->recurring_op_list), op->rsc_id, entry 253 daemons/controld/controld_execd.c history_free_recurring_ops(entry); entry 400 daemons/controld/controld_execd.c rsc_history_t *entry = NULL; entry 462 daemons/controld/controld_execd.c while (g_hash_table_iter_next(&gIter, NULL, (gpointer*)&entry)) { entry 463 daemons/controld/controld_execd.c if (is_rsc_active(lrm_state, entry->id) == FALSE) { entry 469 daemons/controld/controld_execd.c crm_info("Found %s active at %s", entry->id, when); entry 471 daemons/controld/controld_execd.c crm_trace("Found %s active at %s", entry->id, when); entry 478 daemons/controld/controld_execd.c if (pcmk__str_eq(entry->id, pending->rsc_id, pcmk__str_none)) { entry 743 daemons/controld/controld_execd.c rsc_history_t *entry = NULL; entry 745 daemons/controld/controld_execd.c entry = g_hash_table_lookup(lrm_state->resource_history, rsc_id); entry 746 daemons/controld/controld_execd.c if (entry == NULL || entry->last == NULL) { entry 750 daemons/controld/controld_execd.c crm_trace("Processing %s: %s.%d=%d", rsc_id, entry->last->op_type, entry 751 daemons/controld/controld_execd.c entry->last->interval_ms, entry->last->rc); entry 752 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 755 daemons/controld/controld_execd.c } else if (entry->last->rc == PCMK_OCF_OK entry 756 daemons/controld/controld_execd.c && pcmk__str_eq(entry->last->op_type, CRMD_ACTION_MIGRATE, pcmk__str_casei)) { entry 760 daemons/controld/controld_execd.c } else if (entry->last->rc == PCMK_OCF_NOT_RUNNING) { entry 763 daemons/controld/controld_execd.c } else if ((entry->last->interval_ms == 0) entry 764 daemons/controld/controld_execd.c && (entry->last->rc == PCMK_OCF_NOT_CONFIGURED)) { entry 776 daemons/controld/controld_execd.c rsc_history_t *entry = NULL; entry 779 daemons/controld/controld_execd.c while (g_hash_table_iter_next(&iter, NULL, (void **)&entry)) { entry 784 daemons/controld/controld_execd.c crm_xml_add(xml_rsc, XML_ATTR_ID, entry->id); entry 785 daemons/controld/controld_execd.c crm_xml_add(xml_rsc, XML_ATTR_TYPE, entry->rsc.type); entry 786 daemons/controld/controld_execd.c crm_xml_add(xml_rsc, XML_AGENT_ATTR_CLASS, entry->rsc.standard); entry 787 daemons/controld/controld_execd.c crm_xml_add(xml_rsc, XML_AGENT_ATTR_PROVIDER, entry->rsc.provider); entry 789 daemons/controld/controld_execd.c if (entry->last && entry->last->params) { entry 790 daemons/controld/controld_execd.c const char *container = g_hash_table_lookup(entry->last->params, CRM_META"_"XML_RSC_ATTR_CONTAINER); entry 792 daemons/controld/controld_execd.c crm_trace("Resource %s is a part of container resource %s", entry->id, container); entry 796 daemons/controld/controld_execd.c build_operation_update(xml_rsc, &(entry->rsc), entry->failed, lrm_state->node_name, entry 798 daemons/controld/controld_execd.c build_operation_update(xml_rsc, &(entry->rsc), entry->last, lrm_state->node_name, entry 800 daemons/controld/controld_execd.c for (gIter = entry->recurring_op_list; gIter != NULL; gIter = gIter->next) { entry 801 daemons/controld/controld_execd.c build_operation_update(xml_rsc, &(entry->rsc), gIter->data, lrm_state->node_name, entry 1074 daemons/controld/controld_execd.c last_failed_matches_op(rsc_history_t *entry, const char *op, guint interval_ms) entry 1076 daemons/controld/controld_execd.c if (entry == NULL) { entry 1082 daemons/controld/controld_execd.c return (pcmk__str_eq(op, entry->failed->op_type, pcmk__str_casei) entry 1083 daemons/controld/controld_execd.c && (interval_ms == entry->failed->interval_ms)); entry 1123 daemons/controld/controld_execd.c rsc_history_t *entry = g_hash_table_lookup(lrm_state->resource_history, entry 1126 daemons/controld/controld_execd.c if (last_failed_matches_op(entry, operation, interval_ms)) { entry 1127 daemons/controld/controld_execd.c lrmd_free_event(entry->failed); entry 1128 daemons/controld/controld_execd.c entry->failed = NULL; entry 1353 daemons/controld/controld_execd.c rsc_history_t *entry = NULL; entry 1356 daemons/controld/controld_execd.c entry = g_hash_table_lookup(lrm_state->resource_history, rsc_id); entry 1362 daemons/controld/controld_execd.c if (entry) { entry 1363 daemons/controld/controld_execd.c call_id = entry->last_callid + 1; entry 1389 daemons/controld/controld_execd.c rsc_history_t *entry = NULL; entry 1393 daemons/controld/controld_execd.c while (g_hash_table_iter_next(&gIter, NULL, (void **)&entry)) { entry 1399 daemons/controld/controld_execd.c if (is_remote_lrmd_ra(NULL, NULL, entry->id)) { entry 1400 daemons/controld/controld_execd.c lrm_state_t *remote_lrm_state = lrm_state_find(entry->id); entry 1409 daemons/controld/controld_execd.c delete_resource(lrm_state, entry->id, &entry->rsc, &gIter, from_sys, entry 2018 daemons/controld/controld_execd.c rsc_history_t *entry = NULL; entry 2021 daemons/controld/controld_execd.c entry = g_hash_table_lookup(lrm_state->resource_history, rsc_id); entry 2026 daemons/controld/controld_execd.c if (!entry || !entry->stop_params) { entry 2034 daemons/controld/controld_execd.c g_hash_table_foreach(entry->stop_params, copy_instance_keys, op->params); entry 2583 daemons/controld/controld_execd.c rsc_history_t *entry = NULL; entry 2589 daemons/controld/controld_execd.c entry = g_hash_table_lookup(lrm_state->resource_history, rsc_id); entry 2590 daemons/controld/controld_execd.c if (entry == NULL || entry->failed == NULL) { entry 2594 daemons/controld/controld_execd.c if (pcmk__str_eq(entry->failed->rsc_id, rsc_id, pcmk__str_none) entry 2595 daemons/controld/controld_execd.c && pcmk__str_eq(entry->failed->op_type, op_type, pcmk__str_casei) entry 2596 daemons/controld/controld_execd.c && entry->failed->interval_ms == interval_ms) { entry 2524 daemons/fenced/fenced_commands.c crm_node_t *entry = NULL; entry 2527 daemons/fenced/fenced_commands.c while (g_hash_table_iter_next(&gIter, NULL, (void **)&entry)) { entry 2528 daemons/fenced/fenced_commands.c crm_trace("Checking for %s.%d != %s", entry->uname, entry->id, target); entry 2529 daemons/fenced/fenced_commands.c if (fencing_peer_active(entry) entry 2530 daemons/fenced/fenced_commands.c && !pcmk__str_eq(entry->uname, target, pcmk__str_casei)) { entry 2531 daemons/fenced/fenced_commands.c alternate_host = entry->uname; entry 2539 daemons/fenced/fenced_commands.c while (g_hash_table_iter_next(&gIter, NULL, (void **)&entry)) { entry 2540 daemons/fenced/fenced_commands.c crm_notice("Peer[%d] %s", entry->id, entry->uname); entry 291 daemons/fenced/fenced_history.c xmlNode *entry = NULL; entry 339 daemons/fenced/fenced_history.c entry = create_xml_node(history, STONITH_OP_EXEC); entry 341 daemons/fenced/fenced_history.c crm_xml_add(entry, F_STONITH_REMOTE_OP_ID, op->id); entry 343 daemons/fenced/fenced_history.c crm_xml_add(entry, F_STONITH_TARGET, op->target); entry 344 daemons/fenced/fenced_history.c crm_xml_add(entry, F_STONITH_ACTION, op->action); entry 345 daemons/fenced/fenced_history.c crm_xml_add(entry, F_STONITH_ORIGIN, op->originator); entry 346 daemons/fenced/fenced_history.c crm_xml_add(entry, F_STONITH_DELEGATE, op->delegate); entry 347 daemons/fenced/fenced_history.c crm_xml_add(entry, F_STONITH_CLIENTNAME, op->client_name); entry 348 daemons/fenced/fenced_history.c crm_xml_add_ll(entry, F_STONITH_DATE, op->completed); entry 349 daemons/fenced/fenced_history.c crm_xml_add_int(entry, F_STONITH_STATE, op->state); entry 961 daemons/fenced/fenced_remote.c crm_node_t *entry; entry 965 daemons/fenced/fenced_remote.c while (g_hash_table_iter_next(&gIter, NULL, (void **)&entry)) { entry 966 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 597 lib/cib/cib_utils.c cib_notify_client_t *entry = data; entry 607 lib/cib/cib_utils.c if (entry == NULL) { entry 611 lib/cib/cib_utils.c } else if (entry->callback == NULL) { entry 615 lib/cib/cib_utils.c } else if (!pcmk__str_eq(entry->event, event, pcmk__str_casei)) { entry 616 lib/cib/cib_utils.c crm_trace("Skipping callback - event mismatch %p/%s vs. %s", entry, entry->event, event); entry 620 lib/cib/cib_utils.c crm_trace("Invoking callback for %p/%s event...", entry, event); entry 621 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 = pcmk__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 590 lib/common/io.c struct dirent *entry; entry 593 lib/common/io.c while ((entry = readdir(dir)) != NULL) { entry 594 lib/common/io.c int lpc = atoi(entry->d_name); entry 98 lib/common/output.c pcmk__supported_format_t *entry = NULL; entry 104 lib/common/output.c for (entry = formats; entry->name != NULL; entry++) { entry 105 lib/common/output.c pcmk__register_format(group, entry->name, entry->create, entry->options); entry 144 lib/common/output.c pcmk__message_entry_t *entry; entry 146 lib/common/output.c for (entry = table; entry->message_id != NULL; entry++) { entry 147 lib/common/output.c if (pcmk__strcase_any_of(entry->fmt_name, "default", out->fmt_name, NULL)) { entry 148 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 1785 lib/fencing/st_client.c stonith_notify_client_t *entry = data; entry 1796 lib/fencing/st_client.c if (entry == NULL) { entry 1800 lib/fencing/st_client.c } else if (entry->delete) { entry 1804 lib/fencing/st_client.c } else if (entry->notify == NULL) { entry 1808 lib/fencing/st_client.c } else if (!pcmk__str_eq(entry->event, event, pcmk__str_casei)) { entry 1809 lib/fencing/st_client.c crm_trace("Skipping callback - event mismatch %p/%s vs. %s", entry, entry->event, event); entry 1815 lib/fencing/st_client.c crm_trace("Invoking callback for %p/%s event...", entry, event); entry 1816 lib/fencing/st_client.c entry->notify(blob->stonith, st_event); entry 2425 lib/fencing/st_client.c char *entry = NULL; entry 2433 lib/fencing/st_client.c entry = calloc(i - entry_start + 1, sizeof(char)); entry 2434 lib/fencing/st_client.c CRM_ASSERT(entry != NULL); entry 2440 lib/fencing/st_client.c rc = sscanf(line + entry_start, "%[a-zA-Z0-9_-.]", entry); entry 2445 lib/fencing/st_client.c free(entry); entry 2447 lib/fencing/st_client.c } else if (pcmk__strcase_any_of(entry, "on", "off", NULL)) { entry 2456 lib/fencing/st_client.c free(entry); entry 2460 lib/fencing/st_client.c *output = g_list_append(*output, entry); entry 113 lib/fencing/st_lha.c char **entry = NULL; entry 132 lib/fencing/st_lha.c for (entry = type_list; entry != NULL && *entry; ++entry) { entry 133 lib/fencing/st_lha.c crm_trace("Added: %s", *entry); entry 134 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 143 lib/lrmd/lrmd_alerts.c pcmk__alert_t *entry = (pcmk__alert_t *)(iter->data); entry 148 lib/lrmd/lrmd_alerts.c if (!pcmk_is_set(entry->flags, kind)) { entry 150 lib/lrmd/lrmd_alerts.c kind_s, entry->recipient, entry->id); entry 155 lib/lrmd/lrmd_alerts.c && !is_target_alert(entry->select_attribute_name, attr_name)) { entry 158 lib/lrmd/lrmd_alerts.c attr_name, entry->recipient, entry->id); entry 168 lib/lrmd/lrmd_alerts.c kind_s, entry->id, entry->recipient); entry 176 lib/lrmd/lrmd_alerts.c entry->recipient); entry 179 lib/lrmd/lrmd_alerts.c char *timestamp = pcmk__time_format_hr(entry->tstamp_format, now); entry 199 lib/lrmd/lrmd_alerts.c copy_params = alert_envvar2params(copy_params, entry); entry 201 lib/lrmd/lrmd_alerts.c rc = lrmd->cmds->exec_alert(lrmd, entry->id, entry->path, entry 202 lib/lrmd/lrmd_alerts.c entry->timeout, copy_params); entry 205 lib/lrmd/lrmd_alerts.c entry->id, pcmk_strerror(rc), rc); entry 66 lib/pacemaker/pcmk_sched_notif.c static notify_entry_t *dup_notify_entry(notify_entry_t *entry) entry 71 lib/pacemaker/pcmk_sched_notif.c dup->rsc = entry->rsc; entry 72 lib/pacemaker/pcmk_sched_notif.c dup->node = entry->node; entry 159 lib/pacemaker/pcmk_sched_notif.c notify_entry_t *entry = (notify_entry_t *) gIter->data; entry 162 lib/pacemaker/pcmk_sched_notif.c CRM_LOG_ASSERT((entry != NULL) && (entry->rsc != NULL) entry 163 lib/pacemaker/pcmk_sched_notif.c && (entry->rsc->id != NULL)); entry 164 lib/pacemaker/pcmk_sched_notif.c if ((entry == NULL) || (entry->rsc == NULL) entry 165 lib/pacemaker/pcmk_sched_notif.c || (entry->rsc->id == NULL)) { entry 170 lib/pacemaker/pcmk_sched_notif.c CRM_LOG_ASSERT((node_list == NULL) || (entry->node != NULL)); entry 171 lib/pacemaker/pcmk_sched_notif.c if ((node_list != NULL) && (entry->node == NULL)) { entry 176 lib/pacemaker/pcmk_sched_notif.c if (pcmk__str_eq(entry->rsc->id, last_rsc_id, pcmk__str_none)) { entry 179 lib/pacemaker/pcmk_sched_notif.c last_rsc_id = entry->rsc->id; entry 180 lib/pacemaker/pcmk_sched_notif.c pcmk__add_word(rsc_list, &rsc_list_len, entry->rsc->id); entry 181 lib/pacemaker/pcmk_sched_notif.c if ((node_list != NULL) && (entry->node->details->uname != NULL)) { entry 183 lib/pacemaker/pcmk_sched_notif.c entry->node->details->uname); entry 429 lib/pacemaker/pcmk_sched_notif.c notify_entry_t *entry = NULL; entry 431 lib/pacemaker/pcmk_sched_notif.c entry = calloc(1, sizeof(notify_entry_t)); entry 432 lib/pacemaker/pcmk_sched_notif.c entry->rsc = rsc; entry 435 lib/pacemaker/pcmk_sched_notif.c entry->node = rsc->running_on->data; entry 442 lib/pacemaker/pcmk_sched_notif.c n_data->inactive = g_list_prepend(n_data->inactive, entry); entry 445 lib/pacemaker/pcmk_sched_notif.c n_data->active = g_list_prepend(n_data->active, entry); entry 448 lib/pacemaker/pcmk_sched_notif.c n_data->unpromoted = g_list_prepend(n_data->unpromoted, entry); entry 450 lib/pacemaker/pcmk_sched_notif.c dup_notify_entry(entry)); entry 453 lib/pacemaker/pcmk_sched_notif.c n_data->promoted = g_list_prepend(n_data->promoted, entry); entry 455 lib/pacemaker/pcmk_sched_notif.c dup_notify_entry(entry)); entry 459 lib/pacemaker/pcmk_sched_notif.c free(entry); entry 465 lib/pacemaker/pcmk_sched_notif.c notify_entry_t *entry = NULL; entry 484 lib/pacemaker/pcmk_sched_notif.c entry = calloc(1, sizeof(notify_entry_t)); entry 485 lib/pacemaker/pcmk_sched_notif.c entry->node = op->node; entry 486 lib/pacemaker/pcmk_sched_notif.c entry->rsc = rsc; entry 490 lib/pacemaker/pcmk_sched_notif.c n_data->start = g_list_prepend(n_data->start, entry); entry 493 lib/pacemaker/pcmk_sched_notif.c n_data->stop = g_list_prepend(n_data->stop, entry); entry 496 lib/pacemaker/pcmk_sched_notif.c n_data->promote = g_list_prepend(n_data->promote, entry); entry 499 lib/pacemaker/pcmk_sched_notif.c n_data->demote = g_list_prepend(n_data->demote, entry); entry 502 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 = pcmk__strkey_table(free, free); 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 132 libltdl/argz.c argz_insert (char **pargz, size_t *pargz_len, char *before, const char *entry) entry 136 libltdl/argz.c assert (entry && *entry); entry 141 libltdl/argz.c return argz_append (pargz, pargz_len, entry, 1+ strlen (entry)); entry 150 libltdl/argz.c size_t entry_len = 1+ strlen (entry); entry 166 libltdl/argz.c memcpy (before, entry, entry_len); entry 178 libltdl/argz.c argz_next (char *argz, size_t argz_len, const char *entry) entry 182 libltdl/argz.c if (entry) entry 187 libltdl/argz.c || ((argz <= entry) && (entry < (argz + argz_len)))); entry 191 libltdl/argz.c entry = 1+ strchr (entry, EOS_CHAR); entry 195 libltdl/argz.c return (entry >= argz + argz_len) ? 0 : (char *) entry; entry 55 libltdl/argz_.h char *before, const char *entry); entry 57 libltdl/argz_.h const char *entry); entry 78 libltdl/libltdl/lt__dirent.h LT_SCOPE struct dirent *readdir (DIR *entry); entry 79 libltdl/libltdl/lt__dirent.h LT_SCOPE void closedir (DIR *entry); entry 41 libltdl/lt__dirent.c closedir (DIR *entry) entry 43 libltdl/lt__dirent.c assert (entry != (DIR *) NULL); entry 44 libltdl/lt__dirent.c FindClose (entry->hSearch); entry 45 libltdl/lt__dirent.c free ((void *) entry); entry 53 libltdl/lt__dirent.c DIR *entry; entry 59 libltdl/lt__dirent.c entry = (DIR *) malloc (sizeof(DIR)); entry 60 libltdl/lt__dirent.c if (entry != (DIR *) 0) entry 62 libltdl/lt__dirent.c entry->firsttime = TRUE; entry 63 libltdl/lt__dirent.c entry->hSearch = FindFirstFile (file_spec, &entry->Win32FindData); entry 65 libltdl/lt__dirent.c if (entry->hSearch == INVALID_HANDLE_VALUE) entry 69 libltdl/lt__dirent.c entry->hSearch = FindFirstFile (file_spec, &entry->Win32FindData); entry 72 libltdl/lt__dirent.c if (entry->hSearch == INVALID_HANDLE_VALUE) entry 74 libltdl/lt__dirent.c entry = (free (entry), (DIR *) 0); entry 79 libltdl/lt__dirent.c return entry; entry 84 libltdl/lt__dirent.c readdir (DIR *entry) entry 88 libltdl/lt__dirent.c if (entry == (DIR *) 0) entry 91 libltdl/lt__dirent.c if (!entry->firsttime) entry 93 libltdl/lt__dirent.c status = FindNextFile (entry->hSearch, &entry->Win32FindData); entry 98 libltdl/lt__dirent.c entry->firsttime = FALSE; entry 99 libltdl/lt__dirent.c if (lt_strlcpy (entry->file_info.d_name, entry->Win32FindData.cFileName, entry 100 libltdl/lt__dirent.c sizeof entry->file_info.d_name) >= sizeof entry->file_info.d_name) entry 102 libltdl/lt__dirent.c entry->file_info.d_namlen = strlen (entry->file_info.d_name); entry 104 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 1715 libltdl/ltdl.c const char *entry) entry 1722 libltdl/ltdl.c error = argz_insert (pargz, pargz_len, before, entry); entry 1724 libltdl/ltdl.c error = argz_append (pargz, pargz_len, entry, 1 + strlen (entry)); entry 1744 libltdl/ltdl.c lt_argz_insertinorder (char **pargz, size_t *pargz_len, const char *entry) entry 1750 libltdl/ltdl.c assert (entry && *entry); entry 1755 libltdl/ltdl.c int cmp = strcmp (entry, before); entry 1761 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 1096 tools/crm_mon.c for (GOptionEntry *entry = display_entries; entry != NULL; entry++) { entry 1097 tools/crm_mon.c if (entry->short_name == c) { entry 1098 tools/crm_mon.c desc = entry->description;