new_con 230 lib/pacemaker/pcmk_sched_colocation.c pcmk__colocation_t *new_con = NULL; new_con 242 lib/pacemaker/pcmk_sched_colocation.c new_con = calloc(1, sizeof(pcmk__colocation_t)); new_con 243 lib/pacemaker/pcmk_sched_colocation.c if (new_con == NULL) { new_con 257 lib/pacemaker/pcmk_sched_colocation.c new_con->id = id; new_con 258 lib/pacemaker/pcmk_sched_colocation.c new_con->dependent = dependent; new_con 259 lib/pacemaker/pcmk_sched_colocation.c new_con->primary = primary; new_con 260 lib/pacemaker/pcmk_sched_colocation.c new_con->score = score; new_con 261 lib/pacemaker/pcmk_sched_colocation.c new_con->dependent_role = text2role(dependent_role); new_con 262 lib/pacemaker/pcmk_sched_colocation.c new_con->primary_role = text2role(primary_role); new_con 263 lib/pacemaker/pcmk_sched_colocation.c new_con->node_attribute = node_attr; new_con 264 lib/pacemaker/pcmk_sched_colocation.c new_con->influence = influence; new_con 273 lib/pacemaker/pcmk_sched_colocation.c pcmk__add_this_with(dependent, new_con); new_con 274 lib/pacemaker/pcmk_sched_colocation.c pcmk__add_with_this(primary, new_con); new_con 277 lib/pacemaker/pcmk_sched_colocation.c new_con); new_con 280 lib/pacemaker/pcmk_sched_colocation.c anti_colocation_order(dependent, new_con->dependent_role, primary, new_con 281 lib/pacemaker/pcmk_sched_colocation.c new_con->primary_role, data_set); new_con 282 lib/pacemaker/pcmk_sched_colocation.c anti_colocation_order(primary, new_con->primary_role, dependent, new_con 283 lib/pacemaker/pcmk_sched_colocation.c new_con->dependent_role, data_set); new_con 543 lib/pacemaker/pcmk_sched_location.c pe__location_t *new_con = NULL; new_con 557 lib/pacemaker/pcmk_sched_location.c new_con = calloc(1, sizeof(pe__location_t)); new_con 558 lib/pacemaker/pcmk_sched_location.c if (new_con != NULL) { new_con 559 lib/pacemaker/pcmk_sched_location.c new_con->id = strdup(id); new_con 560 lib/pacemaker/pcmk_sched_location.c new_con->rsc_lh = rsc; new_con 561 lib/pacemaker/pcmk_sched_location.c new_con->node_list_rh = NULL; new_con 562 lib/pacemaker/pcmk_sched_location.c new_con->role_filter = RSC_ROLE_UNKNOWN; new_con 566 lib/pacemaker/pcmk_sched_location.c new_con->discover_mode = pe_discover_always; new_con 569 lib/pacemaker/pcmk_sched_location.c new_con->discover_mode = pe_discover_never; new_con 572 lib/pacemaker/pcmk_sched_location.c new_con->discover_mode = pe_discover_exclusive; new_con 584 lib/pacemaker/pcmk_sched_location.c new_con->node_list_rh = g_list_prepend(NULL, copy); new_con 588 lib/pacemaker/pcmk_sched_location.c new_con); new_con 589 lib/pacemaker/pcmk_sched_location.c rsc->rsc_location = g_list_prepend(rsc->rsc_location, new_con); new_con 592 lib/pacemaker/pcmk_sched_location.c return new_con;