new_con 196 lib/pacemaker/pcmk_sched_colocation.c pcmk__colocation_t *new_con = NULL; new_con 208 lib/pacemaker/pcmk_sched_colocation.c new_con = calloc(1, sizeof(pcmk__colocation_t)); new_con 209 lib/pacemaker/pcmk_sched_colocation.c if (new_con == NULL) { new_con 223 lib/pacemaker/pcmk_sched_colocation.c new_con->id = id; new_con 224 lib/pacemaker/pcmk_sched_colocation.c new_con->dependent = dependent; new_con 225 lib/pacemaker/pcmk_sched_colocation.c new_con->primary = primary; new_con 226 lib/pacemaker/pcmk_sched_colocation.c new_con->score = score; new_con 227 lib/pacemaker/pcmk_sched_colocation.c new_con->dependent_role = text2role(dependent_role); new_con 228 lib/pacemaker/pcmk_sched_colocation.c new_con->primary_role = text2role(primary_role); new_con 229 lib/pacemaker/pcmk_sched_colocation.c new_con->node_attribute = node_attr; new_con 230 lib/pacemaker/pcmk_sched_colocation.c new_con->influence = influence; new_con 239 lib/pacemaker/pcmk_sched_colocation.c dependent->rsc_cons = g_list_insert_sorted(dependent->rsc_cons, new_con, new_con 242 lib/pacemaker/pcmk_sched_colocation.c primary->rsc_cons_lhs = g_list_insert_sorted(primary->rsc_cons_lhs, new_con, new_con 246 lib/pacemaker/pcmk_sched_colocation.c new_con); new_con 249 lib/pacemaker/pcmk_sched_colocation.c anti_colocation_order(dependent, new_con->dependent_role, primary, new_con 250 lib/pacemaker/pcmk_sched_colocation.c new_con->primary_role, data_set); new_con 251 lib/pacemaker/pcmk_sched_colocation.c anti_colocation_order(primary, new_con->primary_role, dependent, new_con 252 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 553 lib/pacemaker/pcmk_sched_location.c new_con = calloc(1, sizeof(pe__location_t)); new_con 554 lib/pacemaker/pcmk_sched_location.c if (new_con != NULL) { new_con 555 lib/pacemaker/pcmk_sched_location.c new_con->id = strdup(id); new_con 556 lib/pacemaker/pcmk_sched_location.c new_con->rsc_lh = rsc; new_con 557 lib/pacemaker/pcmk_sched_location.c new_con->node_list_rh = NULL; new_con 558 lib/pacemaker/pcmk_sched_location.c new_con->role_filter = RSC_ROLE_UNKNOWN; new_con 562 lib/pacemaker/pcmk_sched_location.c new_con->discover_mode = pe_discover_always; new_con 565 lib/pacemaker/pcmk_sched_location.c new_con->discover_mode = pe_discover_never; new_con 568 lib/pacemaker/pcmk_sched_location.c new_con->discover_mode = pe_discover_exclusive; new_con 580 lib/pacemaker/pcmk_sched_location.c new_con->node_list_rh = g_list_prepend(NULL, copy); new_con 584 lib/pacemaker/pcmk_sched_location.c new_con); new_con 585 lib/pacemaker/pcmk_sched_location.c rsc->rsc_location = g_list_prepend(rsc->rsc_location, new_con); new_con 588 lib/pacemaker/pcmk_sched_location.c return new_con;