new_con 353 lib/pacemaker/pcmk_sched_colocation.c pcmk__colocation_t *new_con = NULL; new_con 370 lib/pacemaker/pcmk_sched_colocation.c new_con = calloc(1, sizeof(pcmk__colocation_t)); new_con 371 lib/pacemaker/pcmk_sched_colocation.c CRM_ASSERT(new_con != NULL); new_con 383 lib/pacemaker/pcmk_sched_colocation.c new_con->id = id; new_con 384 lib/pacemaker/pcmk_sched_colocation.c new_con->dependent = dependent; new_con 385 lib/pacemaker/pcmk_sched_colocation.c new_con->primary = primary; new_con 386 lib/pacemaker/pcmk_sched_colocation.c new_con->score = score; new_con 387 lib/pacemaker/pcmk_sched_colocation.c new_con->dependent_role = text2role(dependent_role); new_con 388 lib/pacemaker/pcmk_sched_colocation.c new_con->primary_role = text2role(primary_role); new_con 389 lib/pacemaker/pcmk_sched_colocation.c new_con->node_attribute = pcmk__s(node_attr, CRM_ATTR_UNAME); new_con 390 lib/pacemaker/pcmk_sched_colocation.c new_con->flags = flags; new_con 392 lib/pacemaker/pcmk_sched_colocation.c pcmk__add_this_with(&(dependent->rsc_cons), new_con, dependent); new_con 393 lib/pacemaker/pcmk_sched_colocation.c pcmk__add_with_this(&(primary->rsc_cons_lhs), new_con, primary); new_con 396 lib/pacemaker/pcmk_sched_colocation.c dependent->cluster->colocation_constraints, new_con); new_con 399 lib/pacemaker/pcmk_sched_colocation.c anti_colocation_order(dependent, new_con->dependent_role, primary, new_con 400 lib/pacemaker/pcmk_sched_colocation.c new_con->primary_role); new_con 401 lib/pacemaker/pcmk_sched_colocation.c anti_colocation_order(primary, new_con->primary_role, dependent, new_con 402 lib/pacemaker/pcmk_sched_colocation.c new_con->dependent_role); new_con 541 lib/pacemaker/pcmk_sched_location.c pe__location_t *new_con = NULL; new_con 555 lib/pacemaker/pcmk_sched_location.c new_con = calloc(1, sizeof(pe__location_t)); new_con 556 lib/pacemaker/pcmk_sched_location.c if (new_con != NULL) { new_con 557 lib/pacemaker/pcmk_sched_location.c new_con->id = strdup(id); new_con 558 lib/pacemaker/pcmk_sched_location.c new_con->rsc_lh = rsc; new_con 559 lib/pacemaker/pcmk_sched_location.c new_con->node_list_rh = NULL; new_con 560 lib/pacemaker/pcmk_sched_location.c new_con->role_filter = pcmk_role_unknown; new_con 564 lib/pacemaker/pcmk_sched_location.c new_con->discover_mode = pcmk_probe_always; new_con 567 lib/pacemaker/pcmk_sched_location.c new_con->discover_mode = pcmk_probe_never; new_con 570 lib/pacemaker/pcmk_sched_location.c new_con->discover_mode = pcmk_probe_exclusive; new_con 582 lib/pacemaker/pcmk_sched_location.c new_con->node_list_rh = g_list_prepend(NULL, copy); new_con 586 lib/pacemaker/pcmk_sched_location.c rsc->cluster->placement_constraints, new_con); new_con 587 lib/pacemaker/pcmk_sched_location.c rsc->rsc_location = g_list_prepend(rsc->rsc_location, new_con); new_con 590 lib/pacemaker/pcmk_sched_location.c return new_con;