pacemaker
2.1.5-b7adf64e51
Scalable High-Availability cluster resource manager
|
#include <crm_internal.h>
#include <stdbool.h>
#include <crm/msg_xml.h>
#include <pacemaker-internal.h>
#include "libpacemaker_private.h"
Go to the source code of this file.
Typedefs | |
typedef void(* | rsc_transition_fn) (pe_resource_t *rsc, pe_node_t *node, bool optional) |
Functions | |
pe_node_t * | pcmk__primitive_assign (pe_resource_t *rsc, const pe_node_t *prefer) |
void | pcmk__primitive_create_actions (pe_resource_t *rsc) |
void | pcmk__primitive_internal_constraints (pe_resource_t *rsc) |
void | pcmk__primitive_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__primitive_action_flags (pe_action_t *action, const pe_node_t *node) |
void | pcmk__schedule_cleanup (pe_resource_t *rsc, const pe_node_t *node, bool optional) |
void | pcmk__primitive_add_graph_meta (pe_resource_t *rsc, xmlNode *xml) |
void | pcmk__primitive_add_utilization (const pe_resource_t *rsc, const pe_resource_t *orig_rsc, GList *all_rscs, GHashTable *utilization) |
void | pcmk__primitive_shutdown_lock (pe_resource_t *rsc) |
typedef void(* rsc_transition_fn) (pe_resource_t *rsc, pe_node_t *node, bool optional) |
Definition at line 77 of file pcmk_sched_primitive.c.
enum pe_action_flags pcmk__primitive_action_flags | ( | pe_action_t * | action, |
const pe_node_t * | node | ||
) |
Definition at line 1060 of file pcmk_sched_primitive.c.
void pcmk__primitive_add_graph_meta | ( | pe_resource_t * | rsc, |
xmlNode * | xml | ||
) |
Definition at line 1352 of file pcmk_sched_primitive.c.
void pcmk__primitive_add_utilization | ( | const pe_resource_t * | rsc, |
const pe_resource_t * | orig_rsc, | ||
GList * | all_rscs, | ||
GHashTable * | utilization | ||
) |
Definition at line 1402 of file pcmk_sched_primitive.c.
void pcmk__primitive_apply_coloc_score | ( | pe_resource_t * | dependent, |
const pe_resource_t * | primary, | ||
const pcmk__colocation_t * | colocation, | ||
bool | for_dependent | ||
) |
Definition at line 1015 of file pcmk_sched_primitive.c.
pe_node_t* pcmk__primitive_assign | ( | pe_resource_t * | rsc, |
const pe_node_t * | prefer | ||
) |
Definition at line 386 of file pcmk_sched_primitive.c.
void pcmk__primitive_create_actions | ( | pe_resource_t * | rsc | ) |
Definition at line 626 of file pcmk_sched_primitive.c.
void pcmk__primitive_internal_constraints | ( | pe_resource_t * | rsc | ) |
Definition at line 845 of file pcmk_sched_primitive.c.
void pcmk__primitive_shutdown_lock | ( | pe_resource_t * | rsc | ) |
Definition at line 1461 of file pcmk_sched_primitive.c.
void pcmk__schedule_cleanup | ( | pe_resource_t * | rsc, |
const pe_node_t * | node, | ||
bool | optional | ||
) |
Definition at line 1313 of file pcmk_sched_primitive.c.