a 52 daemons/attrd/attrd_commands.c void write_attribute(attribute_t *a, bool ignore_delay); a 53 daemons/attrd/attrd_commands.c void write_or_elect_attribute(attribute_t *a); a 71 daemons/attrd/attrd_commands.c attribute_t *a = data; a 72 daemons/attrd/attrd_commands.c crm_trace("Dampen interval expired for %s", a->id); a 73 daemons/attrd/attrd_commands.c write_or_elect_attribute(a); a 91 daemons/attrd/attrd_commands.c attribute_t *a = data; a 92 daemons/attrd/attrd_commands.c if(a) { a 93 daemons/attrd/attrd_commands.c free(a->id); a 94 daemons/attrd/attrd_commands.c free(a->set); a 95 daemons/attrd/attrd_commands.c free(a->uuid); a 96 daemons/attrd/attrd_commands.c free(a->user); a 98 daemons/attrd/attrd_commands.c mainloop_timer_del(a->timer); a 99 daemons/attrd/attrd_commands.c g_hash_table_destroy(a->values); a 101 daemons/attrd/attrd_commands.c free(a); a 131 daemons/attrd/attrd_commands.c attribute_t *a; a 135 daemons/attrd/attrd_commands.c while (g_hash_table_iter_next(&aIter, NULL, (gpointer *) & a)) { a 136 daemons/attrd/attrd_commands.c g_hash_table_iter_init(&vIter, a->values); a 139 daemons/attrd/attrd_commands.c crm_trace("Clear seen flag %s[%s] = %s.", a->id, v->nodename, v->current); a 149 daemons/attrd/attrd_commands.c attribute_t *a = calloc(1, sizeof(attribute_t)); a 151 daemons/attrd/attrd_commands.c a->id = crm_element_value_copy(xml, PCMK__XA_ATTR_NAME); a 152 daemons/attrd/attrd_commands.c a->set = crm_element_value_copy(xml, PCMK__XA_ATTR_SET); a 153 daemons/attrd/attrd_commands.c a->uuid = crm_element_value_copy(xml, PCMK__XA_ATTR_UUID); a 154 daemons/attrd/attrd_commands.c a->values = g_hash_table_new_full(crm_strcase_hash, crm_strcase_equal, NULL, free_attribute_value); a 156 daemons/attrd/attrd_commands.c crm_element_value_int(xml, PCMK__XA_ATTR_IS_PRIVATE, &a->is_private); a 159 daemons/attrd/attrd_commands.c a->user = crm_element_value_copy(xml, PCMK__XA_ATTR_USER); a 160 daemons/attrd/attrd_commands.c crm_trace("Performing all %s operations as user '%s'", a->id, a->user); a 165 daemons/attrd/attrd_commands.c crm_trace("Created attribute %s with delay %dms (%s)", a->id, dampen, value); a 167 daemons/attrd/attrd_commands.c crm_trace("Created attribute %s with no delay", a->id); a 171 daemons/attrd/attrd_commands.c a->timeout_ms = dampen; a 172 daemons/attrd/attrd_commands.c a->timer = mainloop_timer_add(a->id, a->timeout_ms, FALSE, attribute_timer_cb, a); a 174 daemons/attrd/attrd_commands.c crm_warn("Ignoring invalid delay %s for attribute %s", value, a->id); a 177 daemons/attrd/attrd_commands.c g_hash_table_replace(attributes, a->id, a); a 178 daemons/attrd/attrd_commands.c return a; a 239 daemons/attrd/attrd_commands.c attribute_t *a = NULL; a 285 daemons/attrd/attrd_commands.c a = g_hash_table_lookup(attributes, attr); a 293 daemons/attrd/attrd_commands.c if (a) { a 294 daemons/attrd/attrd_commands.c v = g_hash_table_lookup(a->values, host); a 402 daemons/attrd/attrd_commands.c attribute_t *a; a 411 daemons/attrd/attrd_commands.c a = g_hash_table_lookup(attributes, attr); a 412 daemons/attrd/attrd_commands.c if (a) { a 426 daemons/attrd/attrd_commands.c v = g_hash_table_lookup(a->values, host); a 440 daemons/attrd/attrd_commands.c g_hash_table_iter_init(&iter, a->values); a 640 daemons/attrd/attrd_commands.c attribute_t *a = NULL; a 647 daemons/attrd/attrd_commands.c while (g_hash_table_iter_next(&aIter, NULL, (gpointer *) & a)) { a 648 daemons/attrd/attrd_commands.c g_hash_table_iter_init(&vIter, a->values); a 650 daemons/attrd/attrd_commands.c crm_debug("Syncing %s[%s] = %s to %s", a->id, v->nodename, v->current, peer?peer->uname:"everyone"); a 651 daemons/attrd/attrd_commands.c build_attribute_xml(sync, a->id, a->set, a->uuid, a->timeout_ms, a->user, a->is_private, a 672 daemons/attrd/attrd_commands.c attribute_t *a = NULL; a 679 daemons/attrd/attrd_commands.c while (g_hash_table_iter_next(&aIter, NULL, (gpointer *) & a)) { a 680 daemons/attrd/attrd_commands.c if(g_hash_table_remove(a->values, host)) { a 681 daemons/attrd/attrd_commands.c crm_debug("Removed %s[%s] for peer %s", a->id, host, source); a 740 daemons/attrd/attrd_commands.c attribute_t *a; a 748 daemons/attrd/attrd_commands.c while (g_hash_table_iter_next(&aIter, NULL, (gpointer *) & a)) { a 749 daemons/attrd/attrd_commands.c g_hash_table_iter_init(&vIter, a->values); a 752 daemons/attrd/attrd_commands.c crm_trace("Syncing %s[%s] = %s to everyone.(from local only attributes)", a->id, v->nodename, v->current); a 755 daemons/attrd/attrd_commands.c build_attribute_xml(sync, a->id, a->set, a->uuid, a->timeout_ms, a->user, a->is_private, a 756 daemons/attrd/attrd_commands.c v->nodename, v->nodeid, v->current, (a->timeout_ms && a->timer ? TRUE : FALSE)); a 758 daemons/attrd/attrd_commands.c crm_trace("Local attribute(%s[%s] = %s) was ignore.(another host) : [%s]", a->id, v->nodename, v->current, attrd_cluster->uname); a 775 daemons/attrd/attrd_commands.c attribute_t *a; a 794 daemons/attrd/attrd_commands.c a = g_hash_table_lookup(attributes, attr); a 795 daemons/attrd/attrd_commands.c if (a == NULL) { a 797 daemons/attrd/attrd_commands.c a = create_attribute(xml); a 822 daemons/attrd/attrd_commands.c if (a->timeout_ms != dampen) { a 823 daemons/attrd/attrd_commands.c mainloop_timer_del(a->timer); a 824 daemons/attrd/attrd_commands.c a->timeout_ms = dampen; a 826 daemons/attrd/attrd_commands.c a->timer = mainloop_timer_add(attr, a->timeout_ms, FALSE, a 827 daemons/attrd/attrd_commands.c attribute_timer_cb, a); a 831 daemons/attrd/attrd_commands.c a->timer = NULL; a 838 daemons/attrd/attrd_commands.c write_or_elect_attribute(a); a 852 daemons/attrd/attrd_commands.c g_hash_table_iter_init(&vIter, a->values); a 861 daemons/attrd/attrd_commands.c v = attrd_lookup_or_create_value(a->values, host, xml); a 872 daemons/attrd/attrd_commands.c v = g_hash_table_lookup(a->values, host); a 873 daemons/attrd/attrd_commands.c build_attribute_xml(sync, attr, a->set, a->uuid, a->timeout_ms, a->user, a 874 daemons/attrd/attrd_commands.c a->is_private, v->nodename, v->nodeid, v->current, FALSE); a 887 daemons/attrd/attrd_commands.c a->changed = TRUE; a 890 daemons/attrd/attrd_commands.c if (a->timeout_ms && a->timer) { a 891 daemons/attrd/attrd_commands.c crm_trace("Delayed write out (%dms) for %s", a->timeout_ms, attr); a 892 daemons/attrd/attrd_commands.c mainloop_timer_start(a->timer); a 894 daemons/attrd/attrd_commands.c write_or_elect_attribute(a); a 898 daemons/attrd/attrd_commands.c if (is_force_write && a->timeout_ms && a->timer) { a 902 daemons/attrd/attrd_commands.c a->force_write = TRUE; a 927 daemons/attrd/attrd_commands.c write_or_elect_attribute(attribute_t *a) a 930 daemons/attrd/attrd_commands.c write_attribute(a, FALSE); a 997 daemons/attrd/attrd_commands.c attribute_t *a = g_hash_table_lookup(attributes, name); a 999 daemons/attrd/attrd_commands.c if(a == NULL) { a 1004 daemons/attrd/attrd_commands.c a->update = 0; a 1013 daemons/attrd/attrd_commands.c if (a->timer && !a->timeout_ms) { a 1015 daemons/attrd/attrd_commands.c mainloop_timer_del(a->timer); a 1016 daemons/attrd/attrd_commands.c a->timer = NULL; a 1030 daemons/attrd/attrd_commands.c call_id, a->id, pcmk_strerror(rc), rc); a 1032 daemons/attrd/attrd_commands.c g_hash_table_iter_init(&iter, a->values); a 1034 daemons/attrd/attrd_commands.c do_crm_log(level, "* %s[%s]=%s", a->id, peer, v->requested); a 1038 daemons/attrd/attrd_commands.c a->changed = TRUE; /* Attempt write out again */ a 1042 daemons/attrd/attrd_commands.c if (a->changed && attrd_election_won()) { a 1047 daemons/attrd/attrd_commands.c write_attribute(a, FALSE); a 1058 daemons/attrd/attrd_commands.c } else if (a->timer) { a 1060 daemons/attrd/attrd_commands.c if (!mainloop_timer_running(a->timer)) { a 1062 daemons/attrd/attrd_commands.c a->timeout_ms, name); a 1063 daemons/attrd/attrd_commands.c mainloop_timer_start(a->timer); a 1070 daemons/attrd/attrd_commands.c a->timer = mainloop_timer_add(a->id, 2000, FALSE, a 1071 daemons/attrd/attrd_commands.c attribute_timer_cb, a); a 1072 daemons/attrd/attrd_commands.c mainloop_timer_start(a->timer); a 1081 daemons/attrd/attrd_commands.c attribute_t *a = NULL; a 1085 daemons/attrd/attrd_commands.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) & a)) { a 1086 daemons/attrd/attrd_commands.c if (!all && a->unknown_peer_uuids) { a 1088 daemons/attrd/attrd_commands.c a->changed = TRUE; a 1089 daemons/attrd/attrd_commands.c } else if (a->force_write) { a 1091 daemons/attrd/attrd_commands.c a->changed = TRUE; a 1094 daemons/attrd/attrd_commands.c if(all || a->changed) { a 1096 daemons/attrd/attrd_commands.c write_attribute(a, (a->force_write ? TRUE : ignore_delay)); a 1098 daemons/attrd/attrd_commands.c crm_trace("Skipping unchanged attribute %s", a->id); a 1104 daemons/attrd/attrd_commands.c build_update_element(xmlNode *parent, attribute_t *a, const char *nodeid, const char *value) a 1116 daemons/attrd/attrd_commands.c if (a->set) { a 1117 daemons/attrd/attrd_commands.c crm_xml_set_id(xml_obj, "%s", a->set); a 1124 daemons/attrd/attrd_commands.c if (a->uuid) { a 1125 daemons/attrd/attrd_commands.c crm_xml_set_id(xml_obj, "%s", a->uuid); a 1127 daemons/attrd/attrd_commands.c crm_xml_set_id(xml_obj, "%s-%s", set, a->id); a 1129 daemons/attrd/attrd_commands.c crm_xml_add(xml_obj, XML_NVPAIR_ATTR_NAME, a->id); a 1158 daemons/attrd/attrd_commands.c send_alert_attributes_value(attribute_t *a, GHashTable *t) a 1168 daemons/attrd/attrd_commands.c a->id, at->current); a 1170 daemons/attrd/attrd_commands.c a->id, at->nodename, at->current, at->nodeid, rc); a 1175 daemons/attrd/attrd_commands.c write_attribute(attribute_t *a, bool ignore_delay) a 1184 daemons/attrd/attrd_commands.c if (a == NULL) { a 1189 daemons/attrd/attrd_commands.c if (!a->is_private) { a 1193 daemons/attrd/attrd_commands.c if (a->update && (a->update < last_cib_op_done)) { a 1194 daemons/attrd/attrd_commands.c crm_info("Write out of '%s' continuing: update %d considered lost", a->id, a->update); a 1195 daemons/attrd/attrd_commands.c a->update = 0; // Don't log this message again a 1197 daemons/attrd/attrd_commands.c } else if (a->update) { a 1198 daemons/attrd/attrd_commands.c crm_info("Write out of '%s' delayed: update %d in progress", a->id, a->update); a 1201 daemons/attrd/attrd_commands.c } else if (mainloop_timer_running(a->timer)) { a 1206 daemons/attrd/attrd_commands.c mainloop_timer_stop(a->timer); a 1207 daemons/attrd/attrd_commands.c crm_debug("Write out of '%s': timer is running but ignore delay", a->id); a 1209 daemons/attrd/attrd_commands.c crm_info("Write out of '%s' delayed: timer is running", a->id); a 1219 daemons/attrd/attrd_commands.c a->changed = FALSE; a 1222 daemons/attrd/attrd_commands.c a->unknown_peer_uuids = FALSE; a 1225 daemons/attrd/attrd_commands.c a->force_write = FALSE; a 1233 daemons/attrd/attrd_commands.c g_hash_table_iter_init(&iter, a->values); a 1240 daemons/attrd/attrd_commands.c a->id, v->nodename, v->current); a 1251 daemons/attrd/attrd_commands.c if (a->is_private) { a 1258 daemons/attrd/attrd_commands.c a->unknown_peer_uuids = TRUE; a 1261 daemons/attrd/attrd_commands.c a->id, v->nodename, v->current); a 1267 daemons/attrd/attrd_commands.c a->id, v->nodename, v->current, a 1269 daemons/attrd/attrd_commands.c build_update_element(xml_top, a, peer->uuid, v->current); a 1291 daemons/attrd/attrd_commands.c a->id, (a->uuid? a->uuid : "n/a"), (a->set? a->set : "n/a")); a 1296 daemons/attrd/attrd_commands.c a->update = cib_internal_op(the_cib, CIB_OP_MODIFY, NULL, XML_CIB_TAG_STATUS, xml_top, NULL, a 1297 daemons/attrd/attrd_commands.c flags, a->user); a 1300 daemons/attrd/attrd_commands.c a->update, cib_updates, pcmk__plural_s(cib_updates), a 1301 daemons/attrd/attrd_commands.c a->id, (a->uuid? a->uuid : "n/a"), (a->set? a->set : "n/a")); a 1303 daemons/attrd/attrd_commands.c the_cib->cmds->register_callback_full(the_cib, a->update, a 1305 daemons/attrd/attrd_commands.c strdup(a->id), a 1309 daemons/attrd/attrd_commands.c send_alert_attributes_value(a, alert_attribute_value); a 101 daemons/based/based_io.c static int cib_archive_filter(const struct dirent * a) a 106 daemons/based/based_io.c char *a_path = crm_strdup_printf("%s/%s", cib_root, a->d_name); a 110 daemons/based/based_io.c crm_trace("%s - stat failed: %s (%d)", a->d_name, pcmk_strerror(rc), rc); a 116 daemons/based/based_io.c dtype = a->d_type; a 129 daemons/based/based_io.c crm_trace("%s - wrong type (%d)", a->d_name, dtype); a 131 daemons/based/based_io.c } else if(strstr(a->d_name, "cib-") != a->d_name) { a 132 daemons/based/based_io.c crm_trace("%s - wrong prefix", a->d_name); a 134 daemons/based/based_io.c } else if (pcmk__ends_with_ext(a->d_name, ".sig")) { a 135 daemons/based/based_io.c crm_trace("%s - wrong suffix", a->d_name); a 138 daemons/based/based_io.c crm_debug("%s - candidate", a->d_name); a 146 daemons/based/based_io.c static int cib_archive_sort(const struct dirent ** a, const struct dirent **b) a 155 daemons/based/based_io.c char *a_path = crm_strdup_printf("%s/%s", cib_root, a[0]->d_name); a 175 daemons/based/based_io.c a[0]->d_name, (unsigned long)a_age, a 2253 daemons/fenced/fenced_commands.c sort_device_priority(gconstpointer a, gconstpointer b) a 2255 daemons/fenced/fenced_commands.c const stonith_device_t *dev_a = a; a 140 daemons/fenced/fenced_history.c const remote_fencing_op_t **a = (const remote_fencing_op_t **) a_voidp; a 142 daemons/fenced/fenced_history.c gboolean a_pending = ((*a)->state != st_failed) && ((*a)->state != st_done); a 151 daemons/fenced/fenced_history.c } else if ((*b)->completed == (*a)->completed) { a 153 daemons/fenced/fenced_history.c } else if ((*b)->completed > (*a)->completed) { a 89 daemons/fenced/fenced_remote.c sort_strings(gconstpointer a, gconstpointer b) a 91 daemons/fenced/fenced_remote.c return strcmp(a, b); a 1672 daemons/fenced/fenced_remote.c sort_peers(gconstpointer a, gconstpointer b) a 1674 daemons/fenced/fenced_remote.c const st_query_result_t *peer_a = a; a 20 daemons/pacemakerd/pacemakerd.h #define SIZEOF(a) (sizeof(a) / sizeof(a[0])) a 27 devel/coccinelle/test/ref-passed-variables-inited.input.c int a = 1, b, c = 3; a 28 devel/coccinelle/test/ref-passed-variables-inited.input.c foo(&a); a 29 devel/coccinelle/test/ref-passed-variables-inited.input.c baz(a); a 56 include/crm/common/util.h gboolean crm_strcase_equal(gconstpointer a, gconstpointer b); a 262 include/crm/common/util.h gboolean crm_str_eq(const char *a, const char *b, gboolean use_case); a 265 include/crm/common/util.h gboolean safe_str_neq(const char *a, const char *b); a 268 include/crm/common/util.h #define safe_str_eq(a, b) crm_str_eq(a, b, FALSE) a 57 include/crm/crm.h # define DIMOF(a) ((int) (sizeof(a)/sizeof(a[0])) ) a 398 include/crm/pengine/internal.h extern gint sort_rsc_priority(gconstpointer a, gconstpointer b); a 399 include/crm/pengine/internal.h extern gint sort_rsc_index(gconstpointer a, gconstpointer b); a 472 include/crm/pengine/internal.h extern gint sort_op_by_callid(gconstpointer a, gconstpointer b); a 500 include/crm/pengine/internal.h gint sort_node_uname(gconstpointer a, gconstpointer b); a 13 include/portability.h # define DIMOF(a) ((int) (sizeof(a)/sizeof(a[0])) ) a 39 lib/cib/cib_client.c gint ciblib_GCompareFunc(gconstpointer a, gconstpointer b); a 547 lib/cib/cib_client.c ciblib_GCompareFunc(gconstpointer a, gconstpointer b) a 550 lib/cib/cib_client.c const cib_notify_client_t *a_client = a; a 367 lib/cluster/cpg.c const struct cpg_address *const a = *((const struct cpg_address **) first), a 369 lib/cluster/cpg.c if (a->nodeid < b->nodeid) { a 371 lib/cluster/cpg.c } else if (a->nodeid > b->nodeid) { a 139 lib/common/crmcommon_private.h void pcmk__mark_xml_attr_dirty(xmlAttr *a); a 1387 lib/common/iso8601.c crm_time_compare(crm_time_t *a, crm_time_t *b) a 1390 lib/common/iso8601.c crm_time_t *t1 = crm_get_utc_time(a); a 363 lib/common/md5.c #define OP(a, b, c, d, s, T) \ a 366 lib/common/md5.c a += FF (b, c, d) + (*cwp++ = SWAP (*words)) + T; \ a 368 lib/common/md5.c CYCLIC (a, s); \ a 369 lib/common/md5.c a += b; \ a 409 lib/common/md5.c #define OP(f, a, b, c, d, k, s, T) \ a 412 lib/common/md5.c a += f (b, c, d) + correct_words[k] + T; \ a 413 lib/common/md5.c CYCLIC (a, s); \ a 414 lib/common/md5.c a += b; \ a 118 lib/common/nvpair.c pcmk__compare_nvpair(gconstpointer a, gconstpointer b) a 121 lib/common/nvpair.c const pcmk_nvpair_t *pair_a = a; a 124 lib/common/nvpair.c CRM_ASSERT(a != NULL); a 1119 lib/common/patchset.c sort_change_obj_by_position(gconstpointer a, gconstpointer b) a 1121 lib/common/patchset.c const xml_change_obj_t *change_obj_a = a; a 129 lib/common/schemas.c schema_filter(const struct dirent *a) a 134 lib/common/schemas.c if (strstr(a->d_name, "pacemaker-") != a->d_name) { a 137 lib/common/schemas.c } else if (!pcmk__ends_with_ext(a->d_name, ".rng")) { a 140 lib/common/schemas.c } else if (!version_from_filename(a->d_name, &version)) { a 152 lib/common/schemas.c schema_sort(const struct dirent **a, const struct dirent **b) a 157 lib/common/schemas.c if (!version_from_filename(a[0]->d_name, &a_version) a 563 lib/common/strings.c crm_strcase_equal(gconstpointer a, gconstpointer b) a 565 lib/common/strings.c return pcmk__str_eq((const char *)a, (const char *)b, pcmk__str_casei); a 1076 lib/common/strings.c gboolean safe_str_neq(const char *a, const char *b); a 1078 lib/common/strings.c gboolean crm_str_eq(const char *a, const char *b, gboolean use_case); a 1082 lib/common/strings.c safe_str_neq(const char *a, const char *b) a 1084 lib/common/strings.c if (a == b) { a 1087 lib/common/strings.c } else if (a == NULL || b == NULL) { a 1090 lib/common/strings.c } else if (strcasecmp(a, b) == 0) { a 1098 lib/common/strings.c crm_str_eq(const char *a, const char *b, gboolean use_case) a 1101 lib/common/strings.c return g_strcmp0(a, b) == 0; a 1104 lib/common/strings.c } else if (a == b) { a 1107 lib/common/strings.c } else if (a == NULL || b == NULL) { a 1111 lib/common/strings.c } else if (strcasecmp(a, b) == 0) { a 174 lib/common/xml.c pcmk__mark_xml_attr_dirty(xmlAttr *a) a 176 lib/common/xml.c xmlNode *parent = a->parent; a 179 lib/common/xml.c p = a->_private; a 1179 lib/fencing/st_client.c stonithlib_GCompareFunc(gconstpointer a, gconstpointer b) a 1182 lib/fencing/st_client.c const stonith_notify_client_t *a_client = a; a 363 lib/gnu/md5.c #define OP(a, b, c, d, s, T) \ a 366 lib/gnu/md5.c a += FF (b, c, d) + (*cwp++ = SWAP (*words)) + T; \ a 368 lib/gnu/md5.c CYCLIC (a, s); \ a 369 lib/gnu/md5.c a += b; \ a 409 lib/gnu/md5.c #define OP(f, a, b, c, d, k, s, T) \ a 412 lib/gnu/md5.c a += f (b, c, d) + correct_words[k] + T; \ a 413 lib/gnu/md5.c CYCLIC (a, s); \ a 414 lib/gnu/md5.c a += b; \ a 106 lib/gnu/stdalign.in.h # define _Alignas(a) alignas (a) a 113 lib/gnu/stdalign.in.h # define _Alignas(a) __attribute__ ((__aligned__ (a))) a 115 lib/gnu/stdalign.in.h # define _Alignas(a) __declspec (align (a)) a 1156 lib/pacemaker/pcmk_sched_allocate.c sort_rsc_process_order(gconstpointer a, gconstpointer b, gpointer data) a 1165 lib/pacemaker/pcmk_sched_allocate.c const pe_resource_t *resource1 = a; a 31 lib/pacemaker/pcmk_sched_bundle.c gint sort_clone_instance(gconstpointer a, gconstpointer b, gpointer data_set); a 18 lib/pacemaker/pcmk_sched_clone.c gint sort_clone_instance(gconstpointer a, gconstpointer b, gpointer data_set); a 22 lib/pacemaker/pcmk_sched_clone.c sort_rsc_id(gconstpointer a, gconstpointer b) a 24 lib/pacemaker/pcmk_sched_clone.c const pe_resource_t *resource1 = (const pe_resource_t *)a; a 78 lib/pacemaker/pcmk_sched_clone.c sort_clone_instance(gconstpointer a, gconstpointer b, gpointer data_set) a 91 lib/pacemaker/pcmk_sched_clone.c const pe_resource_t *resource1 = (const pe_resource_t *)a; a 1207 lib/pacemaker/pcmk_sched_constraints.c sort_cons_priority_lh(gconstpointer a, gconstpointer b) a 1209 lib/pacemaker/pcmk_sched_constraints.c const rsc_colocation_t *rsc_constraint1 = (const rsc_colocation_t *)a; a 1212 lib/pacemaker/pcmk_sched_constraints.c if (a == NULL) { a 1255 lib/pacemaker/pcmk_sched_constraints.c sort_cons_priority_rh(gconstpointer a, gconstpointer b) a 1257 lib/pacemaker/pcmk_sched_constraints.c const rsc_colocation_t *rsc_constraint1 = (const rsc_colocation_t *)a; a 1260 lib/pacemaker/pcmk_sched_constraints.c if (a == NULL) { a 1450 lib/pacemaker/pcmk_sched_graph.c sort_action_id(gconstpointer a, gconstpointer b) a 1452 lib/pacemaker/pcmk_sched_graph.c const pe_action_wrapper_t *action_wrapper2 = (const pe_action_wrapper_t *)a; a 1455 lib/pacemaker/pcmk_sched_graph.c if (a == NULL) { a 2370 lib/pacemaker/pcmk_sched_native.c #define log_change(a, fmt, args...) do { \ a 2371 lib/pacemaker/pcmk_sched_native.c if(a && a->reason && terminal) { \ a 2372 lib/pacemaker/pcmk_sched_native.c printf(" * "fmt" \tdue to %s\n", ##args, a->reason); \ a 2373 lib/pacemaker/pcmk_sched_native.c } else if(a && a->reason) { \ a 2374 lib/pacemaker/pcmk_sched_native.c crm_notice(fmt" \tdue to %s", ##args, a->reason); \ a 20 lib/pacemaker/pcmk_sched_notif.c sort_notify_entries(gconstpointer a, gconstpointer b) a 23 lib/pacemaker/pcmk_sched_notif.c const notify_entry_t *entry_a = a; a 18 lib/pacemaker/pcmk_sched_promotable.c extern gint sort_clone_instance(gconstpointer a, gconstpointer b, gpointer data_set); a 240 lib/pacemaker/pcmk_sched_promotable.c sort_promotable_instance(gconstpointer a, gconstpointer b, gpointer data_set) a 246 lib/pacemaker/pcmk_sched_promotable.c const pe_resource_t *resource1 = (const pe_resource_t *)a; a 255 lib/pacemaker/pcmk_sched_promotable.c rc = sort_rsc_index(a, b); a 270 lib/pacemaker/pcmk_sched_promotable.c return sort_clone_instance(a, b, data_set); a 153 lib/pacemaker/pcmk_sched_utils.c sort_node_weight(gconstpointer a, gconstpointer b, gpointer data) a 155 lib/pacemaker/pcmk_sched_utils.c const pe_node_t *node1 = (const pe_node_t *)a; a 164 lib/pacemaker/pcmk_sched_utils.c if (a == NULL) { a 146 lib/pacemaker/pcmk_trans_graph.c crm_action_t *a = (crm_action_t *) lpc->data; a 148 lib/pacemaker/pcmk_trans_graph.c if (a->type == action_type_pseudo) { a 156 lib/pacemaker/pcmk_trans_graph.c } else if(graph_fns->allowed && graph_fns->allowed(graph, a) == FALSE) { a 412 lib/pengine/rules.c sort_pairs(gconstpointer a, gconstpointer b) a 414 lib/pengine/rules.c const sorted_set_t *pair_a = a; a 417 lib/pengine/rules.c if (a == NULL && b == NULL) { a 419 lib/pengine/rules.c } else if (a == NULL) { a 215 lib/pengine/utils.c sort_node_uname(gconstpointer a, gconstpointer b) a 217 lib/pengine/utils.c return pcmk_numeric_strcasecmp(((const pe_node_t *) a)->details->uname, a 386 lib/pengine/utils.c sort_rsc_index(gconstpointer a, gconstpointer b) a 388 lib/pengine/utils.c const pe_resource_t *resource1 = (const pe_resource_t *)a; a 391 lib/pengine/utils.c if (a == NULL && b == NULL) { a 394 lib/pengine/utils.c if (a == NULL) { a 413 lib/pengine/utils.c sort_rsc_priority(gconstpointer a, gconstpointer b) a 415 lib/pengine/utils.c const pe_resource_t *resource1 = (const pe_resource_t *)a; a 418 lib/pengine/utils.c if (a == NULL && b == NULL) { a 421 lib/pengine/utils.c if (a == NULL) { a 1713 lib/pengine/utils.c sort_op_by_callid(gconstpointer a, gconstpointer b) a 1721 lib/pengine/utils.c const xmlNode *xml_a = a; a 381 lib/services/systemd.c sort_str(gconstpointer a, gconstpointer b) a 383 lib/services/systemd.c if (!a && !b) { a 385 lib/services/systemd.c } else if (!a) { a 390 lib/services/systemd.c return strcasecmp(a, b); a 158 libltdl/libltdl/lt_system.h # define LT__CONC(a, b) a##b a 159 libltdl/libltdl/lt_system.h # define LT_CONC(a, b) LT__CONC(a, b) a 162 libltdl/libltdl/lt_system.h # define LT__CONC3(a, b, c) a##b##c a 163 libltdl/libltdl/lt_system.h # define LT_CONC3(a, b, c) LT__CONC3(a, b, c) a 42 tools/crm_mon_runtime.c compare_attribute(gconstpointer a, gconstpointer b) a 46 tools/crm_mon_runtime.c rc = strcmp((const char *)a, (const char *)b); a 134 tools/crm_node.c sort_node(gconstpointer a, gconstpointer b) a 136 tools/crm_node.c const pcmk_controld_api_node_t *node_a = a; a 280 tools/crm_resource.c compare_id(gconstpointer a, gconstpointer b) a 282 tools/crm_resource.c return strcmp((const char *)a, (const char *)b); a 1556 tools/crm_resource_runtime.c pe_action_t *a = (pe_action_t *)action->data; a 1557 tools/crm_resource_runtime.c if (action_is_pending(a)) { a 1558 tools/crm_resource_runtime.c crm_notice("Waiting for %s (flags=0x%.8x)", a->uuid, a->flags); a 1580 tools/crm_resource_runtime.c pe_action_t *a = (pe_action_t *) action->data; a 1582 tools/crm_resource_runtime.c if (action_is_pending(a)) { a 1583 tools/crm_resource_runtime.c fprintf(stderr, "\tAction %d: %s", a->id, a->uuid); a 1584 tools/crm_resource_runtime.c if (a->node) { a 1585 tools/crm_resource_runtime.c fprintf(stderr, "\ton %s", a->node->details->uname);