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 = pcmk__assert_alloc(1, sizeof(pcmk__colocation_t)); new_con 382 lib/pacemaker/pcmk_sched_colocation.c new_con->id = id; new_con 383 lib/pacemaker/pcmk_sched_colocation.c new_con->dependent = dependent; new_con 384 lib/pacemaker/pcmk_sched_colocation.c new_con->primary = primary; new_con 385 lib/pacemaker/pcmk_sched_colocation.c new_con->score = score; new_con 386 lib/pacemaker/pcmk_sched_colocation.c new_con->dependent_role = pcmk_parse_role(dependent_role); new_con 387 lib/pacemaker/pcmk_sched_colocation.c new_con->primary_role = pcmk_parse_role(primary_role); new_con 388 lib/pacemaker/pcmk_sched_colocation.c new_con->node_attribute = pcmk__s(node_attr, CRM_ATTR_UNAME); new_con 389 lib/pacemaker/pcmk_sched_colocation.c new_con->flags = flags; new_con 391 lib/pacemaker/pcmk_sched_colocation.c pcmk__add_this_with(&(dependent->rsc_cons), new_con, dependent); new_con 392 lib/pacemaker/pcmk_sched_colocation.c pcmk__add_with_this(&(primary->rsc_cons_lhs), new_con, primary); new_con 395 lib/pacemaker/pcmk_sched_colocation.c dependent->cluster->colocation_constraints, new_con); new_con 398 lib/pacemaker/pcmk_sched_colocation.c anti_colocation_order(dependent, new_con->dependent_role, primary, new_con 399 lib/pacemaker/pcmk_sched_colocation.c new_con->primary_role); new_con 400 lib/pacemaker/pcmk_sched_colocation.c anti_colocation_order(primary, new_con->primary_role, dependent, new_con 401 lib/pacemaker/pcmk_sched_colocation.c new_con->dependent_role); new_con 591 lib/pacemaker/pcmk_sched_location.c pcmk__location_t *new_con = NULL; new_con 605 lib/pacemaker/pcmk_sched_location.c new_con = pcmk__assert_alloc(1, sizeof(pcmk__location_t)); new_con 606 lib/pacemaker/pcmk_sched_location.c new_con->id = pcmk__str_copy(id); new_con 607 lib/pacemaker/pcmk_sched_location.c new_con->rsc = rsc; new_con 608 lib/pacemaker/pcmk_sched_location.c new_con->nodes = NULL; new_con 609 lib/pacemaker/pcmk_sched_location.c new_con->role_filter = pcmk_role_unknown; new_con 613 lib/pacemaker/pcmk_sched_location.c new_con->discover_mode = pcmk_probe_always; new_con 617 lib/pacemaker/pcmk_sched_location.c new_con->discover_mode = pcmk_probe_never; new_con 621 lib/pacemaker/pcmk_sched_location.c new_con->discover_mode = pcmk_probe_exclusive; new_con 633 lib/pacemaker/pcmk_sched_location.c new_con->nodes = g_list_prepend(NULL, copy); new_con 637 lib/pacemaker/pcmk_sched_location.c rsc->cluster->placement_constraints, new_con); new_con 638 lib/pacemaker/pcmk_sched_location.c rsc->rsc_location = g_list_prepend(rsc->rsc_location, new_con); new_con 640 lib/pacemaker/pcmk_sched_location.c return new_con;