last 733 attrd/legacy.c qb_ipcs_connection_t *last = c; last 735 attrd/legacy.c c = qb_ipcs_connection_next_get(ipcs, last); last 738 attrd/legacy.c crm_notice("Disconnecting client %p, pid=%d...", last, crm_ipcs_client_pid(last)); last 739 attrd/legacy.c qb_ipcs_disconnect(last); last 740 attrd/legacy.c qb_ipcs_connection_unref(last); last 1635 cib/callbacks.c qb_ipcs_connection_t *last = c; last 1637 cib/callbacks.c c = qb_ipcs_connection_next_get(ipcs_rw, last); last 1639 cib/callbacks.c crm_debug("Disconnecting r/w client %p...", last); last 1640 cib/callbacks.c qb_ipcs_disconnect(last); last 1641 cib/callbacks.c qb_ipcs_connection_unref(last); last 1647 cib/callbacks.c qb_ipcs_connection_t *last = c; last 1649 cib/callbacks.c c = qb_ipcs_connection_next_get(ipcs_ro, last); last 1651 cib/callbacks.c crm_debug("Disconnecting r/o client %p...", last); last 1652 cib/callbacks.c qb_ipcs_disconnect(last); last 1653 cib/callbacks.c qb_ipcs_connection_unref(last); last 1659 cib/callbacks.c qb_ipcs_connection_t *last = c; last 1661 cib/callbacks.c c = qb_ipcs_connection_next_get(ipcs_shm, last); last 1663 cib/callbacks.c crm_debug("Disconnecting non-blocking r/w client %p...", last); last 1664 cib/callbacks.c qb_ipcs_disconnect(last); last 1665 cib/callbacks.c qb_ipcs_connection_unref(last); last 32 crmd/crmd_lrm.h lrmd_event_data_t *last; last 45 crmd/join_dc.c enum crm_join_phase last = 0; last 59 crmd/join_dc.c last = node->join; last 61 crmd/join_dc.c if(phase == last) { last 64 crmd/join_dc.c crm_join_phase_str(last)); last 66 crmd/join_dc.c } else if ((phase <= crm_join_none) || (phase == (last + 1))) { last 70 crmd/join_dc.c crm_join_phase_str(last), crm_join_phase_str(phase)); last 76 crmd/join_dc.c crm_join_phase_str(last), crm_join_phase_str(phase)); last 178 crmd/lrm.c lrmd_free_event(history->last); last 245 crmd/lrm.c if (entry->last) { last 246 crmd/lrm.c lrmd_free_event(entry->last); last 248 crmd/lrm.c entry->last = lrmd_copy_event(op); last 761 crmd/lrm.c if (entry == NULL || entry->last == NULL) { last 766 crmd/lrm.c rsc_id, entry->last->op_type, entry->last->interval, entry->last->rc); last 767 crmd/lrm.c if (entry->last->rc == PCMK_OCF_OK && safe_str_eq(entry->last->op_type, CRMD_ACTION_STOP)) { last 770 crmd/lrm.c } else if (entry->last->rc == PCMK_OCF_OK last 771 crmd/lrm.c && safe_str_eq(entry->last->op_type, CRMD_ACTION_MIGRATE)) { last 777 crmd/lrm.c } else if (entry->last->rc == PCMK_OCF_NOT_RUNNING) { last 780 crmd/lrm.c } else if (entry->last->interval == 0 && entry->last->rc == PCMK_OCF_NOT_CONFIGURED) { last 805 crmd/lrm.c if (entry->last && entry->last->params) { last 806 crmd/lrm.c const char *container = g_hash_table_lookup(entry->last->params, CRM_META"_"XML_RSC_ATTR_CONTAINER); last 813 crmd/lrm.c build_operation_update(xml_rsc, &(entry->rsc), entry->last, lrm_state->node_name, __FUNCTION__); last 361 crmd/throttle.c static enum throttle_state_e last = -1; last 363 crmd/throttle.c if(mode != last) { last 364 crmd/throttle.c crm_info("New throttle mode: %.4x (was %.4x)", mode, last); last 365 crmd/throttle.c last = mode; last 532 fencing/commands.c int last = 0, lpc = 0, max = 0, added = 0; last 545 fencing/commands.c if (lpc > last) { last 547 fencing/commands.c name = calloc(1, 1 + lpc - last); last 548 fencing/commands.c memcpy(name, hostmap + last, lpc - last); last 550 fencing/commands.c last = lpc + 1; last 562 fencing/commands.c value = calloc(1, 1 + lpc - last); last 563 fencing/commands.c memcpy(value, hostmap + last, lpc - last); last 574 fencing/commands.c } else if (lpc > last) { last 575 fencing/commands.c crm_debug("Parse error at offset %d near '%s'", lpc - last, hostmap + last); last 578 fencing/commands.c last = lpc + 1; last 599 fencing/commands.c int last = 0; last 614 fencing/commands.c last = lpc + 1; last 628 fencing/commands.c if (lpc != last) { last 629 fencing/commands.c entry = calloc(1, 1 + lpc - last); last 630 fencing/commands.c rc = sscanf(line + last, "%[a-zA-Z0-9_-.]", entry); last 636 fencing/commands.c crm_warn("Could not parse (%d %d): %s", last, lpc, line + last); last 644 fencing/commands.c last = lpc + 1; last 654 fencing/commands.c int last = 0; last 665 fencing/commands.c int len = lpc - last; last 672 fencing/commands.c snprintf(line, 1 + len, "%s", hosts + last); last 678 fencing/commands.c last = lpc + 1; last 1320 fencing/commands.c int last = 0; last 1332 fencing/commands.c line = calloc(1, 2 + lpc - last); last 1333 fencing/commands.c snprintf(line, 1 + lpc - last, "%s", devices + last); last 1337 fencing/commands.c last = lpc + 1; last 84 include/crm/cib/internal.h void fix_cib_diff(xmlNode * last, xmlNode * next, xmlNode * local_diff, gboolean changed); last 207 include/crm/cib/internal.h gboolean cib_config_changed(xmlNode * last, xmlNode * next, xmlNode ** diff); last 526 lib/ais/plugin.c int last = local_nodeid; last 530 lib/ais/plugin.c if (last != local_nodeid) { last 531 lib/ais/plugin.c if (last == 0) { last 538 lib/ais/plugin.c ais_warn("Detected local node id change: %u -> %u", last, local_nodeid); last 539 lib/ais/plugin.c snprintf(last_s, 31, "%u", last); last 424 lib/cib/cib_ops.c int last = 0, lpc = 0, len = 0; last 431 lib/cib/cib_ops.c if (last == lpc) { last 433 lib/cib/cib_ops.c last = lpc + 1; last 437 lib/cib/cib_ops.c replace_item = calloc(1, lpc - last + 1); last 438 lib/cib/cib_ops.c memcpy(replace_item, replace + last, lpc - last); last 448 lib/cib/cib_ops.c last = lpc + 1; last 608 lib/cib/cib_ops.c cib_config_changed(xmlNode * last, xmlNode * next, xmlNode ** diff) last 617 lib/cib/cib_ops.c if (*diff == NULL && last != NULL && next != NULL) { last 618 lib/cib/cib_ops.c *diff = diff_xml_object(last, next, FALSE); last 893 lib/cluster/membership.c uint32_t last = 0; last 904 lib/cluster/membership.c last = node->processes; last 907 lib/cluster/membership.c if (node->processes != last) { last 942 lib/cluster/membership.c crm_status_callback(crm_status_processes, node, &last); last 967 lib/cluster/membership.c char *last = NULL; last 978 lib/cluster/membership.c last = node->expected; last 986 lib/cluster/membership.c expected, last); last 987 lib/cluster/membership.c free(last); last 1026 lib/cluster/membership.c char *last = node->state; last 1033 lib/cluster/membership.c node->id, (last? last : "unknown"), source); last 1035 lib/cluster/membership.c crm_status_callback(status_type, node, last); last 1037 lib/cluster/membership.c free(last); last 285 lib/common/ipc.c qb_ipcs_connection_t *last = c; last 287 lib/common/ipc.c c = qb_ipcs_connection_next_get(service, last); last 290 lib/common/ipc.c crm_notice("Disconnecting client %p, pid=%d...", last, crm_ipcs_client_pid(last)); last 291 lib/common/ipc.c qb_ipcs_disconnect(last); last 292 lib/common/ipc.c qb_ipcs_connection_unref(last); last 429 lib/common/logging.c static time_t last = 0; last 443 lib/common/logging.c if (nsig == 0 && now == last) { last 460 lib/common/logging.c last = now; last 1206 lib/common/mainloop.c guint last = 0; last 1209 lib/common/mainloop.c last = t->period_ms; last 1213 lib/common/mainloop.c if(t && t->id != 0 && last != t->period_ms) { last 1216 lib/common/mainloop.c return last; last 214 lib/common/schemas.c int last = xml_schema_max; last 221 lib/common/schemas.c memset(known_schemas+last, 0, sizeof(struct schema_s)); last 222 lib/common/schemas.c known_schemas[last].validator = validator; last 223 lib/common/schemas.c known_schemas[last].after_transform = after_transform; last 226 lib/common/schemas.c known_schemas[last].version.v[i] = version->v[i]; last 232 lib/common/schemas.c known_schemas[last].name = schema_strdup_printf("pacemaker-", *version, ""); last 233 lib/common/schemas.c known_schemas[last].location = crm_strdup_printf("%s.rng", last 234 lib/common/schemas.c known_schemas[last].name); last 238 lib/common/schemas.c schema_scanf(name, "%*[^-]-", known_schemas[last].version, ""); last 239 lib/common/schemas.c known_schemas[last].name = strdup(name); last 240 lib/common/schemas.c known_schemas[last].location = strdup(location); last 244 lib/common/schemas.c known_schemas[last].transform = strdup(transform); last 249 lib/common/schemas.c known_schemas[last].after_transform = after_transform; last 251 lib/common/schemas.c if (known_schemas[last].after_transform < 0) { last 253 lib/common/schemas.c last, known_schemas[last].name, known_schemas[last].location); last 255 lib/common/schemas.c } else if (known_schemas[last].transform) { last 257 lib/common/schemas.c last, known_schemas[last].name, known_schemas[last].location, last 258 lib/common/schemas.c known_schemas[last].after_transform, last 259 lib/common/schemas.c known_schemas[last].transform); last 263 lib/common/schemas.c last, known_schemas[last].name, known_schemas[last].location, last 264 lib/common/schemas.c known_schemas[last].after_transform); last 397 lib/common/strings.c int last = 0; last 403 lib/common/strings.c last = strlen(list); last 405 lib/common/strings.c len = last + 2; /* +1 space, +1 EOS */ last 408 lib/common/strings.c sprintf(list + last, " %s", value); last 1129 lib/common/xml.c xml_repair_v1_diff(xmlNode * last, xmlNode * next, xmlNode * local_diff, gboolean changed) last 1160 lib/common/xml.c for(lpc = 0; last && lpc < DIMOF(vfields); lpc++){ last 1161 lib/common/xml.c const char *value = crm_element_value(last, vfields[lpc]); last 2073 lib/common/xml.c } else if(match->last) { /* Add to the end */ last 2075 lib/common/xml.c xmlAddNextSibling(match->last, child); last 2105 lib/common/xml.c match_child?"next":"last", match_child?match_child:match->parent->last); last 2111 lib/common/xml.c CRM_ASSERT(match->parent->last != NULL); last 2112 lib/common/xml.c xmlAddNextSibling(match->parent->last, match); last 400 lib/fencing/st_client.c int last = 0; last 416 lib/fencing/st_client.c last = strlen(*args); last 419 lib/fencing/st_client.c *args = realloc_safe(*args, last + len); last 421 lib/fencing/st_client.c sprintf((*args) + last, "%s=%s\n", key, value); last 441 lib/fencing/st_client.c int last = 0, lpc = 0, max = 0; last 458 lib/fencing/st_client.c name = calloc(1, 1 + lpc - last); last 459 lib/fencing/st_client.c memcpy(name, map + last, lpc - last); last 461 lib/fencing/st_client.c last = lpc + 1; last 467 lib/fencing/st_client.c param = calloc(1, 1 + lpc - last); last 468 lib/fencing/st_client.c memcpy(param, map + last, lpc - last); last 469 lib/fencing/st_client.c last = lpc + 1; last 503 lib/fencing/st_client.c last = lpc; last 1543 lib/fencing/st_client.c stonith_history_t *last = NULL; last 1572 lib/fencing/st_client.c if (last) { last 1573 lib/fencing/st_client.c last->next = kvp; last 1577 lib/fencing/st_client.c last = kvp; last 244 lib/pengine/failcounts.c time_t last = 0; last 255 lib/pengine/failcounts.c last = QB_MAX(last, crm_int_helper(value, NULL)); last 262 lib/pengine/failcounts.c if ((failcount > 0) && (last > 0) && (last_failure != NULL)) { last 263 lib/pengine/failcounts.c *last_failure = last; last 276 lib/pengine/failcounts.c if (is_set(flags, pe_fc_effective) && (failcount > 0) && (last > 0) last 281 lib/pengine/failcounts.c if (now > (last + rsc->failure_timeout)) { last 1944 libltdl/ltdl.c lt_dlhandle cur, last; last 1948 libltdl/ltdl.c last = cur = handles; last 1951 libltdl/ltdl.c last = cur; last 1975 libltdl/ltdl.c last->next = cur->next; last 144 libltdl/slist.c SList *last; last 151 libltdl/slist.c last = head; last 152 libltdl/slist.c while (last->next) last 153 libltdl/slist.c last = last->next; last 155 libltdl/slist.c last->next = tail; last 799 lrmd/lrmd.c const char *last = NULL; last 816 lrmd/lrmd.c last = cur; last 818 lrmd/lrmd.c if (last == NULL) { last 827 lrmd/lrmd.c strncpy(reason, last, EXIT_REASON_MAX_LEN); last 130 pengine/allocate.c enum pe_action_flags last = action->flags; last 138 pengine/allocate.c if (last != action->flags) { last 146 pengine/allocate.c clear ? "un-" : "", flags, last, action->flags, calls, source); last 1576 pengine/constraints.c resource_t *last = NULL; last 1675 pengine/constraints.c if (last != NULL) { last 1676 pengine/constraints.c new_rsc_order(last, action, resource, action, flags, data_set); last 1678 pengine/constraints.c last = resource; last 1694 pengine/constraints.c last = NULL; last 1728 pengine/constraints.c if (last != NULL) { last 1729 pengine/constraints.c new_rsc_order(resource, action, last, action, flags, data_set); last 1731 pengine/constraints.c last = resource; last 2042 pengine/constraints.c xmlNode *last = NULL; last 2121 pengine/constraints.c last) { last 2122 pengine/constraints.c if (order_rsc_sets(id, last, set, kind, data_set, FALSE, invert_bool) == FALSE) { last 2127 pengine/constraints.c && order_rsc_sets(id, set, last, kind, data_set, TRUE, invert_bool) == FALSE) { last 2132 pengine/constraints.c last = set; last 2194 pengine/constraints.c resource_t *last = NULL; last 2198 pengine/constraints.c if (last != NULL) { last 2199 pengine/constraints.c pe_rsc_trace(resource, "Colocating %s with %s", last->id, resource->id); last 2200 pengine/constraints.c rsc_colocation_new(set_id, NULL, local_score, last, resource, role, role, last 2204 pengine/constraints.c last = resource; last 2515 pengine/constraints.c xmlNode *last = NULL; last 2546 pengine/constraints.c } else if (last && colocate_rsc_sets(id, last, set, score_i, data_set) == FALSE) { last 2549 pengine/constraints.c last = set; last 33 pengine/master.c resource_t * rsc, resource_t * child, resource_t * last, last 37 pengine/master.c if (clone_data->ordered && last != NULL) { last 40 pengine/master.c new_rsc_order(last, RSC_PROMOTE, rsc, RSC_PROMOTED, type, data_set); last 53 pengine/master.c if (last == NULL) { last 55 pengine/master.c last = rsc; last 59 pengine/master.c order_start_start(last, child, type); last 60 pengine/master.c new_rsc_order(last, RSC_PROMOTE, child, RSC_PROMOTE, type, data_set); last 69 pengine/master.c resource_t * rsc, resource_t * child, resource_t * last, last 73 pengine/master.c if (clone_data->ordered && last != NULL) { last 76 pengine/master.c new_rsc_order(rsc, RSC_DEMOTE, last, RSC_DEMOTE, pe_order_optional, data_set); last 87 pengine/master.c if (clone_data->ordered && last != NULL) { last 91 pengine/master.c new_rsc_order(child, RSC_DEMOTE, last, RSC_DEMOTE, type, data_set); last 334 pengine/native.c GListPtr last = rsc->children; last 336 pengine/native.c while (last->next != NULL) { last 337 pengine/native.c last = last->next; last 340 pengine/native.c pe_rsc_trace(rsc, "Merging %s as a group %p %p", rsc->id, rsc->children, last); last 341 pengine/native.c work = rsc_merge_weights(last->data, rhs, NULL, attr, factor, flags); last 379 pengine/native.c GListPtr last = rsc->children; last 381 pengine/native.c while (last->next != NULL) { last 382 pengine/native.c last = last->next; last 385 pengine/native.c gIter = ((resource_t*)last->data)->rsc_cons_lhs; last 387 pengine/native.c g_list_length(gIter), ((resource_t*)last->data)->id); last 427 replace/uuid_parse.c static struct timeval last = { 0, 0 }; last 434 replace/uuid_parse.c if ((last.tv_sec == 0) && (last.tv_usec == 0)) { last 437 replace/uuid_parse.c last = tv; last 438 replace/uuid_parse.c last.tv_sec--; last 440 replace/uuid_parse.c if ((tv.tv_sec < last.tv_sec) || ((tv.tv_sec == last.tv_sec) && (tv.tv_usec < last.tv_usec))) { last 443 replace/uuid_parse.c last = tv; last 444 replace/uuid_parse.c } else if ((tv.tv_sec == last.tv_sec) && (tv.tv_usec == last.tv_usec)) { last 450 replace/uuid_parse.c last = tv; last 2736 tools/crm_mon.c const char *last = crm_element_value(xml_op, XML_RSC_OP_LAST_CHANGE); last 2787 tools/crm_mon.c if (last) { last 2788 tools/crm_mon.c time_t run_at = crm_parse_int(last, "0"); last 3572 tools/crm_mon.c int lpc = 0, last = 0, level = *(int *)arg; last 3586 tools/crm_mon.c if (last > 0) { last 3587 tools/crm_mon.c do_crm_log(level, " %.*s", lpc - last, buf + last); last 3589 tools/crm_mon.c do_crm_log(level, "%c: %.*s", type, lpc - last, buf + last); last 3591 tools/crm_mon.c last = lpc + 1; last 178 tools/crm_resource_print.c const char *last = crm_element_value(xml_op, XML_RSC_OP_LAST_CHANGE); last 195 tools/crm_resource_print.c if (last) { last 196 tools/crm_resource_print.c time_t run_at = crm_parse_int(last, "0"); last 1564 tools/crm_resource_runtime.c int more, lpc, last; last 1584 tools/crm_resource_runtime.c last = 0; last 1589 tools/crm_resource_runtime.c printf(" > stdout: %s\n", local_copy + last); last 1590 tools/crm_resource_runtime.c last = lpc + 1; last 1598 tools/crm_resource_runtime.c last = 0; last 1603 tools/crm_resource_runtime.c printf(" > stderr: %s\n", local_copy + last); last 1604 tools/crm_resource_runtime.c last = lpc + 1;