pacemaker  2.1.4-dc6eb4362
Scalable High-Availability cluster resource manager
Macros | Enumerations | Functions
libpacemaker_private.h File Reference
#include <crm/pengine/pe_types.h>
Include dependency graph for libpacemaker_private.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define pcmk__order_resource_actions(lh_rsc, lh_task, rh_rsc, rh_task, flags, data_set)
 
#define pcmk__order_starts(rsc1, rsc2, type, data_set)
 
#define pcmk__order_stops(rsc1, rsc2, type, data_set)
 

Enumerations

enum  pcmk__coloc_affects { pcmk__coloc_affects_nothing = 0, pcmk__coloc_affects_location, pcmk__coloc_affects_role }
 

Functions

G_GNUC_INTERNAL void pcmk__update_action_for_orderings (pe_action_t *action, pe_working_set_t *data_set)
 
G_GNUC_INTERNAL void pcmk__log_action (const char *pre_text, pe_action_t *action, bool details)
 
G_GNUC_INTERNAL pe_action_tpcmk__new_rsc_pseudo_action (pe_resource_t *rsc, const char *task, bool optional, bool runnable)
 
G_GNUC_INTERNAL pe_action_tpcmk__new_cancel_action (pe_resource_t *rsc, const char *name, guint interval_ms, pe_node_t *node)
 
G_GNUC_INTERNAL pe_action_tpcmk__new_shutdown_action (pe_node_t *node, pe_working_set_t *data_set)
 
G_GNUC_INTERNAL bool pcmk__action_locks_rsc_to_node (const pe_action_t *action)
 
G_GNUC_INTERNAL void pcmk__deduplicate_action_inputs (pe_action_t *action)
 
G_GNUC_INTERNAL void pcmk__output_actions (pe_working_set_t *data_set)
 
G_GNUC_INTERNAL bool pcmk__check_action_config (pe_resource_t *rsc, pe_node_t *node, xmlNode *xml_op)
 
G_GNUC_INTERNAL void pcmk__handle_rsc_config_changes (pe_working_set_t *data_set)
 
G_GNUC_INTERNAL bool pcmk__graph_has_loop (pe_action_t *init_action, pe_action_t *action, pe_action_wrapper_t *input)
 
G_GNUC_INTERNAL void pcmk__add_action_to_graph (pe_action_t *action, pe_working_set_t *data_set)
 
G_GNUC_INTERNAL void pcmk__create_graph (pe_working_set_t *data_set)
 
G_GNUC_INTERNAL void pcmk__order_vs_fence (pe_action_t *stonith_op, pe_working_set_t *data_set)
 
G_GNUC_INTERNAL void pcmk__order_vs_unfence (pe_resource_t *rsc, pe_node_t *node, pe_action_t *action, enum pe_ordering order, pe_working_set_t *data_set)
 
G_GNUC_INTERNAL void pcmk__fence_guest (pe_node_t *node, pe_working_set_t *data_set)
 
G_GNUC_INTERNAL bool pcmk__node_unfenced (pe_node_t *node)
 
G_GNUC_INTERNAL bool pcmk__is_unfence_device (const pe_resource_t *rsc, const pe_working_set_t *data_set)
 
void pcmk__inject_scheduler_input (pe_working_set_t *data_set, cib_t *cib, pcmk_injections_t *injections)
 
G_GNUC_INTERNAL pe_resource_tpcmk__find_constraint_resource (GList *rsc_list, const char *id)
 
G_GNUC_INTERNAL xmlNode * pcmk__expand_tags_in_sets (xmlNode *xml_obj, pe_working_set_t *data_set)
 
G_GNUC_INTERNAL bool pcmk__valid_resource_or_tag (pe_working_set_t *data_set, const char *id, pe_resource_t **rsc, pe_tag_t **tag)
 
G_GNUC_INTERNAL bool pcmk__tag_to_set (xmlNode *xml_obj, xmlNode **rsc_set, const char *attr, bool convert_rsc, pe_working_set_t *data_set)
 
G_GNUC_INTERNAL void pcmk__create_internal_constraints (pe_working_set_t *data_set)
 
G_GNUC_INTERNAL void pcmk__unpack_location (xmlNode *xml_obj, pe_working_set_t *data_set)
 
G_GNUC_INTERNAL pe__location_tpcmk__new_location (const char *id, pe_resource_t *rsc, int node_weight, const char *discover_mode, pe_node_t *foo_node, pe_working_set_t *data_set)
 
G_GNUC_INTERNAL void pcmk__apply_locations (pe_working_set_t *data_set)
 
G_GNUC_INTERNAL void pcmk__apply_location (pe__location_t *constraint, pe_resource_t *rsc)
 
G_GNUC_INTERNAL enum pcmk__coloc_affects pcmk__colocation_affects (pe_resource_t *dependent, pe_resource_t *primary, pcmk__colocation_t *constraint, bool preview)
 
G_GNUC_INTERNAL void pcmk__apply_coloc_to_weights (pe_resource_t *dependent, pe_resource_t *primary, pcmk__colocation_t *constraint)
 
G_GNUC_INTERNAL void pcmk__apply_coloc_to_priority (pe_resource_t *dependent, pe_resource_t *primary, pcmk__colocation_t *constraint)
 
G_GNUC_INTERNAL void pcmk__unpack_colocation (xmlNode *xml_obj, pe_working_set_t *data_set)
 
G_GNUC_INTERNAL void pcmk__new_colocation (const char *id, const char *node_attr, int score, pe_resource_t *dependent, pe_resource_t *primary, const char *dependent_role, const char *primary_role, bool influence, pe_working_set_t *data_set)
 
G_GNUC_INTERNAL void pcmk__block_colocated_starts (pe_action_t *action, pe_working_set_t *data_set)
 
G_GNUC_INTERNAL void pcmk__new_ordering (pe_resource_t *lh_rsc, char *lh_task, pe_action_t *lh_action, pe_resource_t *rh_rsc, char *rh_task, pe_action_t *rh_action, enum pe_ordering type, pe_working_set_t *data_set)
 
G_GNUC_INTERNAL void pcmk__unpack_ordering (xmlNode *xml_obj, pe_working_set_t *data_set)
 
G_GNUC_INTERNAL void pcmk__disable_invalid_orderings (pe_working_set_t *data_set)
 
G_GNUC_INTERNAL void pcmk__order_stops_before_shutdown (pe_node_t *node, pe_action_t *shutdown_op, pe_working_set_t *data_set)
 
G_GNUC_INTERNAL void pcmk__apply_orderings (pe_working_set_t *data_set)
 
G_GNUC_INTERNAL void pcmk__order_after_each (pe_action_t *after, GList *list)
 
G_GNUC_INTERNAL void pcmk__unpack_rsc_ticket (xmlNode *xml_obj, pe_working_set_t *data_set)
 
G_GNUC_INTERNAL bool pcmk__is_failed_remote_node (pe_node_t *node)
 
G_GNUC_INTERNAL void pcmk__order_remote_connection_actions (pe_working_set_t *data_set)
 
G_GNUC_INTERNAL bool pcmk__rsc_corresponds_to_guest (pe_resource_t *rsc, pe_node_t *node)
 
G_GNUC_INTERNAL pe_node_tpcmk__connection_host_for_action (pe_action_t *action)
 
G_GNUC_INTERNAL void pcmk__substitute_remote_addr (pe_resource_t *rsc, GHashTable *params, pe_working_set_t *data_set)
 
G_GNUC_INTERNAL void pcmk__add_bundle_meta_to_xml (xmlNode *args_xml, pe_action_t *action)
 Add special bundle meta-attributes to XML. More...
 
G_GNUC_INTERNAL GList * pcmk__group_colocated_resources (pe_resource_t *rsc, pe_resource_t *orig_rsc, GList *colocated_rscs)
 
G_GNUC_INTERNAL void pcmk__output_bundle_actions (pe_resource_t *rsc)
 
G_GNUC_INTERNAL xmlNode * pcmk__inject_node (cib_t *cib_conn, const char *node, const char *uuid)
 
G_GNUC_INTERNAL xmlNode * pcmk__inject_node_state_change (cib_t *cib_conn, const char *node, bool up)
 
G_GNUC_INTERNAL xmlNode * pcmk__inject_resource_history (pcmk__output_t *out, xmlNode *cib_node, const char *resource, const char *lrm_name, const char *rclass, const char *rtype, const char *rprovider)
 
G_GNUC_INTERNAL void pcmk__inject_failcount (pcmk__output_t *out, xmlNode *cib_node, const char *resource, const char *task, guint interval_ms, int rc)
 
G_GNUC_INTERNAL xmlNode * pcmk__inject_action_result (xmlNode *cib_resource, lrmd_event_data_t *op, int target_rc)
 
G_GNUC_INTERNAL bool pcmk__node_available (const pe_node_t *node)
 
G_GNUC_INTERNAL bool pcmk__any_node_available (GHashTable *nodes)
 
G_GNUC_INTERNAL GHashTable * pcmk__copy_node_table (GHashTable *nodes)
 
G_GNUC_INTERNAL GList * pcmk__sort_nodes (GList *nodes, pe_node_t *active_node, pe_working_set_t *data_set)
 
G_GNUC_INTERNAL void pcmk__apply_node_health (pe_working_set_t *data_set)
 
G_GNUC_INTERNAL void pcmk__create_notifications (pe_resource_t *rsc, notify_data_t *n_data)
 
G_GNUC_INTERNAL notify_data_tpcmk__clone_notif_pseudo_ops (pe_resource_t *rsc, const char *task, pe_action_t *action, pe_action_t *complete)
 
G_GNUC_INTERNAL void pcmk__free_notification_data (notify_data_t *n_data)
 
G_GNUC_INTERNAL void pcmk__order_notifs_after_fencing (pe_action_t *action, pe_resource_t *rsc, pe_action_t *stonith_op)
 
G_GNUC_INTERNAL void pcmk__set_allocation_methods (pe_working_set_t *data_set)
 
G_GNUC_INTERNAL bool pcmk__rsc_agent_changed (pe_resource_t *rsc, pe_node_t *node, const xmlNode *rsc_entry, bool active_on_node)
 
G_GNUC_INTERNAL GList * pcmk__rscs_matching_id (const char *id, pe_working_set_t *data_set)
 
G_GNUC_INTERNAL GList * pcmk__colocated_resources (pe_resource_t *rsc, pe_resource_t *orig_rsc, GList *colocated_rscs)
 
G_GNUC_INTERNAL void pcmk__output_resource_actions (pe_resource_t *rsc)
 
G_GNUC_INTERNAL bool pcmk__assign_primitive (pe_resource_t *rsc, pe_node_t *chosen, bool force)
 
G_GNUC_INTERNAL bool pcmk__assign_resource (pe_resource_t *rsc, pe_node_t *node, bool force)
 
G_GNUC_INTERNAL void pcmk__unassign_resource (pe_resource_t *rsc)
 
G_GNUC_INTERNAL bool pcmk__threshold_reached (pe_resource_t *rsc, pe_node_t *node, pe_resource_t **failed)
 
G_GNUC_INTERNAL void pcmk__sort_resources (pe_working_set_t *data_set)
 
G_GNUC_INTERNAL void pcmk__order_probes (pe_working_set_t *data_set)
 
G_GNUC_INTERNAL void pcmk__schedule_probes (pe_working_set_t *data_set)
 
G_GNUC_INTERNAL int pcmk__compare_node_capacities (const pe_node_t *node1, const pe_node_t *node2)
 
G_GNUC_INTERNAL void pcmk__consume_node_capacity (GHashTable *current_utilization, pe_resource_t *rsc)
 
G_GNUC_INTERNAL void pcmk__release_node_capacity (GHashTable *current_utilization, pe_resource_t *rsc)
 
G_GNUC_INTERNAL void pcmk__ban_insufficient_capacity (pe_resource_t *rsc, pe_node_t **prefer, pe_working_set_t *data_set)
 
G_GNUC_INTERNAL void pcmk__create_utilization_constraints (pe_resource_t *rsc, GList *allowed_nodes)
 
G_GNUC_INTERNAL void pcmk__show_node_capacities (const char *desc, pe_working_set_t *data_set)
 

Macro Definition Documentation

◆ pcmk__order_resource_actions

#define pcmk__order_resource_actions (   lh_rsc,
  lh_task,
  rh_rsc,
  rh_task,
  flags,
  data_set 
)
Value:
pcmk__new_ordering((lh_rsc), pcmk__op_key((lh_rsc)->id, (lh_task), 0), \
NULL, \
(rh_rsc), pcmk__op_key((rh_rsc)->id, (rh_task), 0), \
NULL, (flags), (data_set))
G_GNUC_INTERNAL void pcmk__new_ordering(pe_resource_t *lh_rsc, char *lh_task, pe_action_t *lh_action, pe_resource_t *rh_rsc, char *rh_task, pe_action_t *rh_action, enum pe_ordering type, pe_working_set_t *data_set)
pe_working_set_t * data_set
char * pcmk__op_key(const char *rsc_id, const char *op_type, guint interval_ms)
Generate an operation key (RESOURCE_ACTION_INTERVAL)
Definition: operations.c:45
uint64_t flags
Definition: remote.c:149

Definition at line 210 of file libpacemaker_private.h.

◆ pcmk__order_starts

#define pcmk__order_starts (   rsc1,
  rsc2,
  type,
  data_set 
)
Value:
enum crm_ais_msg_types type
Definition: cpg.c:48
#define CRMD_ACTION_START
Definition: crm.h:176
pe_working_set_t * data_set
#define pcmk__order_resource_actions(lh_rsc, lh_task, rh_rsc, rh_task, flags, data_set)

Definition at line 217 of file libpacemaker_private.h.

◆ pcmk__order_stops

#define pcmk__order_stops (   rsc1,
  rsc2,
  type,
  data_set 
)
Value:
enum crm_ais_msg_types type
Definition: cpg.c:48
#define CRMD_ACTION_STOP
Definition: crm.h:179
pe_working_set_t * data_set
#define pcmk__order_resource_actions(lh_rsc, lh_task, rh_rsc, rh_task, flags, data_set)

Definition at line 221 of file libpacemaker_private.h.

Enumeration Type Documentation

◆ pcmk__coloc_affects

Enumerator
pcmk__coloc_affects_nothing 
pcmk__coloc_affects_location 
pcmk__coloc_affects_role 

Definition at line 137 of file libpacemaker_private.h.

Function Documentation

◆ pcmk__action_locks_rsc_to_node()

G_GNUC_INTERNAL bool pcmk__action_locks_rsc_to_node ( const pe_action_t action)

Definition at line 1074 of file pcmk_sched_actions.c.

◆ pcmk__add_action_to_graph()

G_GNUC_INTERNAL void pcmk__add_action_to_graph ( pe_action_t action,
pe_working_set_t data_set 
)

Definition at line 918 of file pcmk_graph_producer.c.

◆ pcmk__add_bundle_meta_to_xml()

G_GNUC_INTERNAL void pcmk__add_bundle_meta_to_xml ( xmlNode *  args_xml,
pe_action_t action 
)

Add special bundle meta-attributes to XML.

If a given action will be executed on a guest node (including a bundle), add the special bundle meta-attribute "container-attribute-target" and environment variable "physical_host" as XML attributes (using meta-attribute naming).

Parameters
[in]args_xmlXML to add attributes to
[in]actionAction to check

Definition at line 692 of file pcmk_sched_remote.c.

◆ pcmk__any_node_available()

G_GNUC_INTERNAL bool pcmk__any_node_available ( GHashTable *  nodes)

Definition at line 240 of file pcmk_sched_nodes.c.

◆ pcmk__apply_coloc_to_priority()

G_GNUC_INTERNAL void pcmk__apply_coloc_to_priority ( pe_resource_t dependent,
pe_resource_t primary,
pcmk__colocation_t constraint 
)

Definition at line 1027 of file pcmk_sched_colocation.c.

◆ pcmk__apply_coloc_to_weights()

G_GNUC_INTERNAL void pcmk__apply_coloc_to_weights ( pe_resource_t dependent,
pe_resource_t primary,
pcmk__colocation_t constraint 
)

Definition at line 948 of file pcmk_sched_colocation.c.

◆ pcmk__apply_location()

G_GNUC_INTERNAL void pcmk__apply_location ( pe__location_t constraint,
pe_resource_t rsc 
)

Definition at line 616 of file pcmk_sched_location.c.

◆ pcmk__apply_locations()

G_GNUC_INTERNAL void pcmk__apply_locations ( pe_working_set_t data_set)

Definition at line 598 of file pcmk_sched_location.c.

◆ pcmk__apply_node_health()

G_GNUC_INTERNAL void pcmk__apply_node_health ( pe_working_set_t data_set)

Definition at line 264 of file pcmk_sched_nodes.c.

◆ pcmk__apply_orderings()

G_GNUC_INTERNAL void pcmk__apply_orderings ( pe_working_set_t data_set)

Definition at line 1497 of file pcmk_sched_ordering.c.

◆ pcmk__assign_primitive()

G_GNUC_INTERNAL bool pcmk__assign_primitive ( pe_resource_t rsc,
pe_node_t chosen,
bool  force 
)

Definition at line 337 of file pcmk_sched_resource.c.

◆ pcmk__assign_resource()

G_GNUC_INTERNAL bool pcmk__assign_resource ( pe_resource_t rsc,
pe_node_t node,
bool  force 
)

Definition at line 434 of file pcmk_sched_resource.c.

◆ pcmk__ban_insufficient_capacity()

G_GNUC_INTERNAL void pcmk__ban_insufficient_capacity ( pe_resource_t rsc,
pe_node_t **  prefer,
pe_working_set_t data_set 
)

Definition at line 292 of file pcmk_sched_utilization.c.

◆ pcmk__block_colocated_starts()

G_GNUC_INTERNAL void pcmk__block_colocated_starts ( pe_action_t action,
pe_working_set_t data_set 
)

Definition at line 778 of file pcmk_sched_colocation.c.

◆ pcmk__check_action_config()

G_GNUC_INTERNAL bool pcmk__check_action_config ( pe_resource_t rsc,
pe_node_t node,
xmlNode *  xml_op 
)

Definition at line 1442 of file pcmk_sched_actions.c.

◆ pcmk__clone_notif_pseudo_ops()

G_GNUC_INTERNAL notify_data_t* pcmk__clone_notif_pseudo_ops ( pe_resource_t rsc,
const char *  task,
pe_action_t action,
pe_action_t complete 
)

Definition at line 435 of file pcmk_sched_notif.c.

◆ pcmk__colocated_resources()

G_GNUC_INTERNAL GList* pcmk__colocated_resources ( pe_resource_t rsc,
pe_resource_t orig_rsc,
GList *  colocated_rscs 
)

Definition at line 216 of file pcmk_sched_resource.c.

◆ pcmk__colocation_affects()

G_GNUC_INTERNAL enum pcmk__coloc_affects pcmk__colocation_affects ( pe_resource_t dependent,
pe_resource_t primary,
pcmk__colocation_t constraint,
bool  preview 
)

Definition at line 839 of file pcmk_sched_colocation.c.

◆ pcmk__compare_node_capacities()

G_GNUC_INTERNAL int pcmk__compare_node_capacities ( const pe_node_t node1,
const pe_node_t node2 
)

Definition at line 102 of file pcmk_sched_utilization.c.

◆ pcmk__connection_host_for_action()

G_GNUC_INTERNAL pe_node_t* pcmk__connection_host_for_action ( pe_action_t action)

Definition at line 555 of file pcmk_sched_remote.c.

◆ pcmk__consume_node_capacity()

G_GNUC_INTERNAL void pcmk__consume_node_capacity ( GHashTable *  current_utilization,
pe_resource_t rsc 
)

Definition at line 166 of file pcmk_sched_utilization.c.

◆ pcmk__copy_node_table()

G_GNUC_INTERNAL GHashTable* pcmk__copy_node_table ( GHashTable *  nodes)

Definition at line 45 of file pcmk_sched_nodes.c.

◆ pcmk__create_graph()

G_GNUC_INTERNAL void pcmk__create_graph ( pe_working_set_t data_set)

Definition at line 999 of file pcmk_graph_producer.c.

◆ pcmk__create_internal_constraints()

G_GNUC_INTERNAL void pcmk__create_internal_constraints ( pe_working_set_t data_set)

Definition at line 412 of file pcmk_sched_constraints.c.

◆ pcmk__create_notifications()

G_GNUC_INTERNAL void pcmk__create_notifications ( pe_resource_t rsc,
notify_data_t n_data 
)

Definition at line 923 of file pcmk_sched_notif.c.

◆ pcmk__create_utilization_constraints()

G_GNUC_INTERNAL void pcmk__create_utilization_constraints ( pe_resource_t rsc,
GList *  allowed_nodes 
)

Definition at line 416 of file pcmk_sched_utilization.c.

◆ pcmk__deduplicate_action_inputs()

G_GNUC_INTERNAL void pcmk__deduplicate_action_inputs ( pe_action_t action)

Definition at line 1123 of file pcmk_sched_actions.c.

◆ pcmk__disable_invalid_orderings()

G_GNUC_INTERNAL void pcmk__disable_invalid_orderings ( pe_working_set_t data_set)

Definition at line 1251 of file pcmk_sched_ordering.c.

◆ pcmk__expand_tags_in_sets()

G_GNUC_INTERNAL xmlNode* pcmk__expand_tags_in_sets ( xmlNode *  xml_obj,
pe_working_set_t data_set 
)

Definition at line 214 of file pcmk_sched_constraints.c.

◆ pcmk__fence_guest()

G_GNUC_INTERNAL void pcmk__fence_guest ( pe_node_t node,
pe_working_set_t data_set 
)

Definition at line 350 of file pcmk_sched_fencing.c.

◆ pcmk__find_constraint_resource()

G_GNUC_INTERNAL pe_resource_t* pcmk__find_constraint_resource ( GList *  rsc_list,
const char *  id 
)

Definition at line 106 of file pcmk_sched_constraints.c.

◆ pcmk__free_notification_data()

G_GNUC_INTERNAL void pcmk__free_notification_data ( notify_data_t n_data)

Definition at line 940 of file pcmk_sched_notif.c.

◆ pcmk__graph_has_loop()

G_GNUC_INTERNAL bool pcmk__graph_has_loop ( pe_action_t init_action,
pe_action_t action,
pe_action_wrapper_t input 
)

Definition at line 805 of file pcmk_graph_producer.c.

◆ pcmk__group_colocated_resources()

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

Definition at line 606 of file pcmk_sched_group.c.

◆ pcmk__handle_rsc_config_changes()

G_GNUC_INTERNAL void pcmk__handle_rsc_config_changes ( pe_working_set_t data_set)

Definition at line 1728 of file pcmk_sched_actions.c.

◆ pcmk__inject_action_result()

G_GNUC_INTERNAL xmlNode* pcmk__inject_action_result ( xmlNode *  cib_resource,
lrmd_event_data_t op,
int  target_rc 
)

Definition at line 201 of file pcmk_injections.c.

◆ pcmk__inject_failcount()

G_GNUC_INTERNAL void pcmk__inject_failcount ( pcmk__output_t out,
xmlNode *  cib_node,
const char *  resource,
const char *  task,
guint  interval_ms,
int  rc 
)

Definition at line 89 of file pcmk_injections.c.

◆ pcmk__inject_node()

G_GNUC_INTERNAL xmlNode* pcmk__inject_node ( cib_t cib_conn,
const char *  node,
const char *  uuid 
)

Definition at line 222 of file pcmk_injections.c.

◆ pcmk__inject_node_state_change()

G_GNUC_INTERNAL xmlNode* pcmk__inject_node_state_change ( cib_t cib_conn,
const char *  node,
bool  up 
)

Definition at line 282 of file pcmk_injections.c.

◆ pcmk__inject_resource_history()

G_GNUC_INTERNAL xmlNode* pcmk__inject_resource_history ( pcmk__output_t out,
xmlNode *  cib_node,
const char *  resource,
const char *  lrm_name,
const char *  rclass,
const char *  rtype,
const char *  rprovider 
)

Definition at line 343 of file pcmk_injections.c.

◆ pcmk__inject_scheduler_input()

void pcmk__inject_scheduler_input ( pe_working_set_t data_set,
cib_t cib,
pcmk_injections_t injections 
)

Definition at line 609 of file pcmk_injections.c.

◆ pcmk__is_failed_remote_node()

G_GNUC_INTERNAL bool pcmk__is_failed_remote_node ( pe_node_t node)

Definition at line 516 of file pcmk_sched_remote.c.

◆ pcmk__is_unfence_device()

G_GNUC_INTERNAL bool pcmk__is_unfence_device ( const pe_resource_t rsc,
const pe_working_set_t data_set 
)

Definition at line 462 of file pcmk_sched_fencing.c.

◆ pcmk__log_action()

G_GNUC_INTERNAL void pcmk__log_action ( const char *  pre_text,
pe_action_t action,
bool  details 
)

Definition at line 673 of file pcmk_sched_actions.c.

◆ pcmk__new_cancel_action()

G_GNUC_INTERNAL pe_action_t* pcmk__new_cancel_action ( pe_resource_t rsc,
const char *  name,
guint  interval_ms,
pe_node_t node 
)

Definition at line 800 of file pcmk_sched_actions.c.

◆ pcmk__new_colocation()

G_GNUC_INTERNAL void pcmk__new_colocation ( const char *  id,
const char *  node_attr,
int  score,
pe_resource_t dependent,
pe_resource_t primary,
const char *  dependent_role,
const char *  primary_role,
bool  influence,
pe_working_set_t data_set 
)

Definition at line 194 of file pcmk_sched_colocation.c.

◆ pcmk__new_location()

G_GNUC_INTERNAL pe__location_t* pcmk__new_location ( const char *  id,
pe_resource_t rsc,
int  node_weight,
const char *  discover_mode,
pe_node_t foo_node,
pe_working_set_t data_set 
)

Definition at line 539 of file pcmk_sched_location.c.

◆ pcmk__new_ordering()

G_GNUC_INTERNAL void pcmk__new_ordering ( pe_resource_t lh_rsc,
char *  lh_task,
pe_action_t lh_action,
pe_resource_t rh_rsc,
char *  rh_task,
pe_action_t rh_action,
enum pe_ordering  type,
pe_working_set_t data_set 
)

Definition at line 673 of file pcmk_sched_ordering.c.

◆ pcmk__new_rsc_pseudo_action()

G_GNUC_INTERNAL pe_action_t* pcmk__new_rsc_pseudo_action ( pe_resource_t rsc,
const char *  task,
bool  optional,
bool  runnable 
)

Definition at line 771 of file pcmk_sched_actions.c.

◆ pcmk__new_shutdown_action()

G_GNUC_INTERNAL pe_action_t* pcmk__new_shutdown_action ( pe_node_t node,
pe_working_set_t data_set 
)

Definition at line 836 of file pcmk_sched_actions.c.

◆ pcmk__node_available()

G_GNUC_INTERNAL bool pcmk__node_available ( const pe_node_t node)

Definition at line 28 of file pcmk_sched_nodes.c.

◆ pcmk__node_unfenced()

G_GNUC_INTERNAL bool pcmk__node_unfenced ( pe_node_t node)

Definition at line 444 of file pcmk_sched_fencing.c.

◆ pcmk__order_after_each()

G_GNUC_INTERNAL void pcmk__order_after_each ( pe_action_t after,
GList *  list 
)

Definition at line 1552 of file pcmk_sched_ordering.c.

◆ pcmk__order_notifs_after_fencing()

G_GNUC_INTERNAL void pcmk__order_notifs_after_fencing ( pe_action_t action,
pe_resource_t rsc,
pe_action_t stonith_op 
)

Definition at line 972 of file pcmk_sched_notif.c.

◆ pcmk__order_probes()

G_GNUC_INTERNAL void pcmk__order_probes ( pe_working_set_t data_set)

Definition at line 495 of file pcmk_sched_probes.c.

◆ pcmk__order_remote_connection_actions()

G_GNUC_INTERNAL void pcmk__order_remote_connection_actions ( pe_working_set_t data_set)

Definition at line 412 of file pcmk_sched_remote.c.

◆ pcmk__order_stops_before_shutdown()

G_GNUC_INTERNAL void pcmk__order_stops_before_shutdown ( pe_node_t node,
pe_action_t shutdown_op,
pe_working_set_t data_set 
)

Definition at line 1277 of file pcmk_sched_ordering.c.

◆ pcmk__order_vs_fence()

G_GNUC_INTERNAL void pcmk__order_vs_fence ( pe_action_t stonith_op,
pe_working_set_t data_set 
)

Definition at line 291 of file pcmk_sched_fencing.c.

◆ pcmk__order_vs_unfence()

G_GNUC_INTERNAL void pcmk__order_vs_unfence ( pe_resource_t rsc,
pe_node_t node,
pe_action_t action,
enum pe_ordering  order,
pe_working_set_t data_set 
)

Definition at line 310 of file pcmk_sched_fencing.c.

◆ pcmk__output_actions()

G_GNUC_INTERNAL void pcmk__output_actions ( pe_working_set_t data_set)

Definition at line 1167 of file pcmk_sched_actions.c.

◆ pcmk__output_bundle_actions()

G_GNUC_INTERNAL void pcmk__output_bundle_actions ( pe_resource_t rsc)

Definition at line 1069 of file pcmk_sched_bundle.c.

◆ pcmk__output_resource_actions()

G_GNUC_INTERNAL void pcmk__output_resource_actions ( pe_resource_t rsc)

Definition at line 279 of file pcmk_sched_resource.c.

◆ pcmk__release_node_capacity()

G_GNUC_INTERNAL void pcmk__release_node_capacity ( GHashTable *  current_utilization,
pe_resource_t rsc 
)

Definition at line 184 of file pcmk_sched_utilization.c.

◆ pcmk__rsc_agent_changed()

G_GNUC_INTERNAL bool pcmk__rsc_agent_changed ( pe_resource_t rsc,
pe_node_t node,
const xmlNode *  rsc_entry,
bool  active_on_node 
)

Definition at line 104 of file pcmk_sched_resource.c.

◆ pcmk__rsc_corresponds_to_guest()

G_GNUC_INTERNAL bool pcmk__rsc_corresponds_to_guest ( pe_resource_t rsc,
pe_node_t node 
)

Definition at line 533 of file pcmk_sched_remote.c.

◆ pcmk__rscs_matching_id()

G_GNUC_INTERNAL GList* pcmk__rscs_matching_id ( const char *  id,
pe_working_set_t data_set 
)

Definition at line 176 of file pcmk_sched_resource.c.

◆ pcmk__schedule_probes()

G_GNUC_INTERNAL void pcmk__schedule_probes ( pe_working_set_t data_set)

Definition at line 514 of file pcmk_sched_probes.c.

◆ pcmk__set_allocation_methods()

G_GNUC_INTERNAL void pcmk__set_allocation_methods ( pe_working_set_t data_set)

Definition at line 208 of file pcmk_sched_resource.c.

◆ pcmk__show_node_capacities()

G_GNUC_INTERNAL void pcmk__show_node_capacities ( const char *  desc,
pe_working_set_t data_set 
)

Definition at line 453 of file pcmk_sched_utilization.c.

◆ pcmk__sort_nodes()

G_GNUC_INTERNAL GList* pcmk__sort_nodes ( GList *  nodes,
pe_node_t active_node,
pe_working_set_t data_set 
)

Definition at line 222 of file pcmk_sched_nodes.c.

◆ pcmk__sort_resources()

G_GNUC_INTERNAL void pcmk__sort_resources ( pe_working_set_t data_set)

Definition at line 697 of file pcmk_sched_resource.c.

◆ pcmk__substitute_remote_addr()

G_GNUC_INTERNAL void pcmk__substitute_remote_addr ( pe_resource_t rsc,
GHashTable *  params,
pe_working_set_t data_set 
)

Definition at line 663 of file pcmk_sched_remote.c.

◆ pcmk__tag_to_set()

G_GNUC_INTERNAL bool pcmk__tag_to_set ( xmlNode *  xml_obj,
xmlNode **  rsc_set,
const char *  attr,
bool  convert_rsc,
pe_working_set_t data_set 
)

Definition at line 332 of file pcmk_sched_constraints.c.

◆ pcmk__threshold_reached()

G_GNUC_INTERNAL bool pcmk__threshold_reached ( pe_resource_t rsc,
pe_node_t node,
pe_resource_t **  failed 
)

Definition at line 499 of file pcmk_sched_resource.c.

◆ pcmk__unassign_resource()

G_GNUC_INTERNAL void pcmk__unassign_resource ( pe_resource_t rsc)

Definition at line 465 of file pcmk_sched_resource.c.

◆ pcmk__unpack_colocation()

G_GNUC_INTERNAL void pcmk__unpack_colocation ( xmlNode *  xml_obj,
pe_working_set_t data_set 
)

Definition at line 693 of file pcmk_sched_colocation.c.

◆ pcmk__unpack_location()

G_GNUC_INTERNAL void pcmk__unpack_location ( xmlNode *  xml_obj,
pe_working_set_t data_set 
)

Definition at line 481 of file pcmk_sched_location.c.

◆ pcmk__unpack_ordering()

G_GNUC_INTERNAL void pcmk__unpack_ordering ( xmlNode *  xml_obj,
pe_working_set_t data_set 
)

Definition at line 1147 of file pcmk_sched_ordering.c.

◆ pcmk__unpack_rsc_ticket()

G_GNUC_INTERNAL void pcmk__unpack_rsc_ticket ( xmlNode *  xml_obj,
pe_working_set_t data_set 
)

Definition at line 413 of file pcmk_sched_tickets.c.

◆ pcmk__update_action_for_orderings()

G_GNUC_INTERNAL void pcmk__update_action_for_orderings ( pe_action_t action,
pe_working_set_t data_set 
)

Definition at line 490 of file pcmk_sched_actions.c.

◆ pcmk__valid_resource_or_tag()

G_GNUC_INTERNAL bool pcmk__valid_resource_or_tag ( pe_working_set_t data_set,
const char *  id,
pe_resource_t **  rsc,
pe_tag_t **  tag 
)

Definition at line 182 of file pcmk_sched_constraints.c.