pacemaker  2.1.3-ea053b43a
Scalable High-Availability cluster resource manager
Macros | Functions
pcmki_sched_utils.h File Reference
#include <stdbool.h>
#include <glib.h>
#include <crm/lrmd.h>
#include <crm/cib.h>
#include <crm/pengine/pe_types.h>
#include <crm/common/xml_internal.h>
#include <crm/pengine/internal.h>
#include <pcmki/pcmki_scheduler.h>
#include <pcmki/pcmki_transition.h>
#include <pacemaker.h>
Include dependency graph for pcmki_sched_utils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define LOAD_STOPPED   "load_stopped"
 

Functions

pcmk__colocation_tinvert_constraint (pcmk__colocation_t *constraint)
 
pe__location_tcopy_constraint (pe__location_t *constraint)
 
GList * pcmk__copy_node_list (const GList *list, bool reset)
 
pe_resource_tfind_compatible_child (pe_resource_t *local_child, pe_resource_t *rsc, enum rsc_role_e filter, gboolean current, pe_working_set_t *data_set)
 
pe_resource_tfind_compatible_child_by_node (pe_resource_t *local_child, pe_node_t *local_node, pe_resource_t *rsc, enum rsc_role_e filter, gboolean current)
 
gboolean is_child_compatible (pe_resource_t *child_rsc, pe_node_t *local_node, enum rsc_role_e filter, gboolean current)
 
enum pe_action_flags summary_action_flags (pe_action_t *action, GList *children, pe_node_t *node)
 
enum action_tasks clone_child_action (pe_action_t *action)
 
int copies_per_node (pe_resource_t *rsc)
 
xmlNode * pcmk__create_history_xml (xmlNode *parent, lrmd_event_data_t *event, const char *caller_version, int target_rc, const char *node, const char *origin)
 

Macro Definition Documentation

◆ LOAD_STOPPED

#define LOAD_STOPPED   "load_stopped"

Definition at line 46 of file pcmki_sched_utils.h.

Function Documentation

◆ clone_child_action()

enum action_tasks clone_child_action ( pe_action_t action)

Definition at line 1194 of file pcmk_sched_clone.c.

◆ copies_per_node()

int copies_per_node ( pe_resource_t rsc)

Definition at line 423 of file pcmk_sched_bundle.c.

◆ copy_constraint()

pe__location_t* copy_constraint ( pe__location_t constraint)

◆ find_compatible_child()

pe_resource_t* find_compatible_child ( pe_resource_t local_child,
pe_resource_t rsc,
enum rsc_role_e  filter,
gboolean  current,
pe_working_set_t data_set 
)

Definition at line 1039 of file pcmk_sched_clone.c.

◆ find_compatible_child_by_node()

pe_resource_t* find_compatible_child_by_node ( pe_resource_t local_child,
pe_node_t local_node,
pe_resource_t rsc,
enum rsc_role_e  filter,
gboolean  current 
)

Definition at line 581 of file pcmk_sched_bundle.c.

◆ invert_constraint()

pcmk__colocation_t* invert_constraint ( pcmk__colocation_t constraint)

◆ is_child_compatible()

gboolean is_child_compatible ( pe_resource_t child_rsc,
pe_node_t local_node,
enum rsc_role_e  filter,
gboolean  current 
)

Definition at line 1009 of file pcmk_sched_clone.c.

◆ pcmk__copy_node_list()

GList* pcmk__copy_node_list ( const GList *  list,
bool  reset 
)

Definition at line 75 of file pcmk_sched_nodes.c.

◆ pcmk__create_history_xml()

xmlNode* pcmk__create_history_xml ( xmlNode *  parent,
lrmd_event_data_t event,
const char *  caller_version,
int  target_rc,
const char *  node,
const char *  origin 
)

Definition at line 899 of file pcmk_sched_actions.c.

◆ summary_action_flags()

enum pe_action_flags summary_action_flags ( pe_action_t action,
GList *  children,
pe_node_t node 
)

Definition at line 1238 of file pcmk_sched_clone.c.