allocated 577 lib/pacemaker/pcmk_sched_clone.c int allocated = 0; allocated 604 lib/pacemaker/pcmk_sched_clone.c for (GList *gIter = children; gIter != NULL && allocated < max; gIter = gIter->next) { allocated 621 lib/pacemaker/pcmk_sched_clone.c child->id, child_node->details->uname, max - allocated, allocated 641 lib/pacemaker/pcmk_sched_clone.c allocated++; allocated 645 lib/pacemaker/pcmk_sched_clone.c pe_rsc_trace(rsc, "Done pre-allocating (%d of %d)", allocated, max); allocated 661 lib/pacemaker/pcmk_sched_clone.c } else if (allocated >= max) { allocated 662 lib/pacemaker/pcmk_sched_clone.c pe_rsc_debug(rsc, "Child %s not allocated - limit reached %d %d", child->id, allocated, max); allocated 667 lib/pacemaker/pcmk_sched_clone.c allocated++; allocated 673 lib/pacemaker/pcmk_sched_clone.c allocated, rsc->id, max); allocated 1603 lib/pacemaker/pcmk_sched_graph.c pe_node_t *allocated = action->rsc->allocated_to; allocated 1608 lib/pacemaker/pcmk_sched_graph.c if ((input_node == NULL) || (allocated == NULL) allocated 1609 lib/pacemaker/pcmk_sched_graph.c || (input_node->details != allocated->details)) { allocated 1614 lib/pacemaker/pcmk_sched_graph.c (allocated? allocated->details->uname : "<none>"), allocated 627 lib/pacemaker/pcmk_sched_promotable.c GList *allocated = NULL; allocated 629 lib/pacemaker/pcmk_sched_promotable.c rsc->fns->location(rsc, &allocated, FALSE); allocated 630 lib/pacemaker/pcmk_sched_promotable.c pe__set_next_role(rsc, (allocated? RSC_ROLE_UNPROMOTED : RSC_ROLE_STOPPED), allocated 632 lib/pacemaker/pcmk_sched_promotable.c g_list_free(allocated); allocated 150 replace/scandir.c int allocated = INITIAL_ALLOCATION; allocated 159 replace/scandir.c if ((array = (struct dirent **)malloc(allocated * sizeof(struct dirent *))) allocated 206 replace/scandir.c if (counter + 1 == allocated) { allocated 207 replace/scandir.c allocated <<= 1; allocated 209 replace/scandir.c allocated * sizeof(struct dirent *));