pacemaker  2.1.5-b7adf64e51
Scalable High-Availability cluster resource manager
Functions
pcmk_sched_group.c File Reference
#include <crm_internal.h>
#include <stdbool.h>
#include <crm/msg_xml.h>
#include <pacemaker-internal.h>
#include "libpacemaker_private.h"
Include dependency graph for pcmk_sched_group.c:

Go to the source code of this file.

Functions

pe_node_tpcmk__group_assign (pe_resource_t *rsc, const pe_node_t *prefer)
 
void pcmk__group_create_actions (pe_resource_t *rsc)
 
void pcmk__group_internal_constraints (pe_resource_t *rsc)
 
void pcmk__group_apply_coloc_score (pe_resource_t *dependent, const pe_resource_t *primary, const pcmk__colocation_t *colocation, bool for_dependent)
 
enum pe_action_flags pcmk__group_action_flags (pe_action_t *action, const pe_node_t *node)
 
uint32_t pcmk__group_update_ordered_actions (pe_action_t *first, pe_action_t *then, const pe_node_t *node, uint32_t flags, uint32_t filter, uint32_t type, pe_working_set_t *data_set)
 
void pcmk__group_apply_location (pe_resource_t *rsc, pe__location_t *location)
 
GList * pcmk__group_colocated_resources (pe_resource_t *rsc, pe_resource_t *orig_rsc, GList *colocated_rscs)
 
void pcmk__group_add_utilization (const pe_resource_t *rsc, const pe_resource_t *orig_rsc, GList *all_rscs, GHashTable *utilization)
 
void pcmk__group_shutdown_lock (pe_resource_t *rsc)
 

Function Documentation

◆ pcmk__group_action_flags()

enum pe_action_flags pcmk__group_action_flags ( pe_action_t action,
const pe_node_t node 
)

Definition at line 511 of file pcmk_sched_group.c.

◆ pcmk__group_add_utilization()

void pcmk__group_add_utilization ( const pe_resource_t rsc,
const pe_resource_t orig_rsc,
GList *  all_rscs,
GHashTable *  utilization 
)

Definition at line 712 of file pcmk_sched_group.c.

◆ pcmk__group_apply_coloc_score()

void pcmk__group_apply_coloc_score ( pe_resource_t dependent,
const pe_resource_t primary,
const pcmk__colocation_t colocation,
bool  for_dependent 
)

Definition at line 482 of file pcmk_sched_group.c.

◆ pcmk__group_apply_location()

void pcmk__group_apply_location ( pe_resource_t rsc,
pe__location_t location 
)

Definition at line 636 of file pcmk_sched_group.c.

◆ pcmk__group_assign()

pe_node_t* pcmk__group_assign ( pe_resource_t rsc,
const pe_node_t prefer 
)

Definition at line 97 of file pcmk_sched_group.c.

◆ pcmk__group_colocated_resources()

GList* pcmk__group_colocated_resources ( pe_resource_t rsc,
pe_resource_t orig_rsc,
GList *  colocated_rscs 
)

Definition at line 673 of file pcmk_sched_group.c.

◆ pcmk__group_create_actions()

void pcmk__group_create_actions ( pe_resource_t rsc)

Definition at line 174 of file pcmk_sched_group.c.

◆ pcmk__group_internal_constraints()

void pcmk__group_internal_constraints ( pe_resource_t rsc)

Definition at line 337 of file pcmk_sched_group.c.

◆ pcmk__group_shutdown_lock()

void pcmk__group_shutdown_lock ( pe_resource_t rsc)

Definition at line 754 of file pcmk_sched_group.c.

◆ pcmk__group_update_ordered_actions()

uint32_t pcmk__group_update_ordered_actions ( pe_action_t first,
pe_action_t then,
const pe_node_t node,
uint32_t  flags,
uint32_t  filter,
uint32_t  type,
pe_working_set_t data_set 
)

Definition at line 595 of file pcmk_sched_group.c.