new_con 308 lib/pacemaker/pcmk_sched_colocation.c pcmk__colocation_t *new_con = NULL; new_con 320 lib/pacemaker/pcmk_sched_colocation.c new_con = calloc(1, sizeof(pcmk__colocation_t)); new_con 321 lib/pacemaker/pcmk_sched_colocation.c if (new_con == NULL) { new_con 335 lib/pacemaker/pcmk_sched_colocation.c new_con->id = id; new_con 336 lib/pacemaker/pcmk_sched_colocation.c new_con->dependent = dependent; new_con 337 lib/pacemaker/pcmk_sched_colocation.c new_con->primary = primary; new_con 338 lib/pacemaker/pcmk_sched_colocation.c new_con->score = score; new_con 339 lib/pacemaker/pcmk_sched_colocation.c new_con->dependent_role = text2role(dependent_role); new_con 340 lib/pacemaker/pcmk_sched_colocation.c new_con->primary_role = text2role(primary_role); new_con 341 lib/pacemaker/pcmk_sched_colocation.c new_con->node_attribute = node_attr; new_con 342 lib/pacemaker/pcmk_sched_colocation.c new_con->influence = influence; new_con 351 lib/pacemaker/pcmk_sched_colocation.c pcmk__add_this_with(&(dependent->rsc_cons), new_con); new_con 352 lib/pacemaker/pcmk_sched_colocation.c pcmk__add_with_this(&(primary->rsc_cons_lhs), new_con); new_con 355 lib/pacemaker/pcmk_sched_colocation.c new_con); new_con 358 lib/pacemaker/pcmk_sched_colocation.c anti_colocation_order(dependent, new_con->dependent_role, primary, new_con 359 lib/pacemaker/pcmk_sched_colocation.c new_con->primary_role); new_con 360 lib/pacemaker/pcmk_sched_colocation.c anti_colocation_order(primary, new_con->primary_role, dependent, new_con 361 lib/pacemaker/pcmk_sched_colocation.c new_con->dependent_role); new_con 542 lib/pacemaker/pcmk_sched_location.c pe__location_t *new_con = NULL; new_con 556 lib/pacemaker/pcmk_sched_location.c new_con = calloc(1, sizeof(pe__location_t)); new_con 557 lib/pacemaker/pcmk_sched_location.c if (new_con != NULL) { new_con 558 lib/pacemaker/pcmk_sched_location.c new_con->id = strdup(id); new_con 559 lib/pacemaker/pcmk_sched_location.c new_con->rsc_lh = rsc; new_con 560 lib/pacemaker/pcmk_sched_location.c new_con->node_list_rh = NULL; new_con 561 lib/pacemaker/pcmk_sched_location.c new_con->role_filter = RSC_ROLE_UNKNOWN; new_con 565 lib/pacemaker/pcmk_sched_location.c new_con->discover_mode = pe_discover_always; new_con 568 lib/pacemaker/pcmk_sched_location.c new_con->discover_mode = pe_discover_never; new_con 571 lib/pacemaker/pcmk_sched_location.c new_con->discover_mode = pe_discover_exclusive; new_con 583 lib/pacemaker/pcmk_sched_location.c new_con->node_list_rh = g_list_prepend(NULL, copy); new_con 587 lib/pacemaker/pcmk_sched_location.c new_con); new_con 588 lib/pacemaker/pcmk_sched_location.c rsc->rsc_location = g_list_prepend(rsc->rsc_location, new_con); new_con 591 lib/pacemaker/pcmk_sched_location.c return new_con;