pacemaker
2.1.7-0f7f88312f
Scalable High-Availability cluster resource manager
|
#include <crm_internal.h>
#include <stdbool.h>
#include <stdint.h>
#include <crm/msg_xml.h>
#include <pacemaker-internal.h>
#include "libpacemaker_private.h"
Go to the source code of this file.
Macros | |
#define | RSC_ROLE_MAX (pcmk_role_promoted + 1) |
Typedefs | |
typedef void(* | rsc_transition_fn) (pcmk_resource_t *rsc, pcmk_node_t *node, bool optional) |
#define RSC_ROLE_MAX (pcmk_role_promoted + 1) |
Definition at line 31 of file pcmk_sched_primitive.c.
typedef void(* rsc_transition_fn) (pcmk_resource_t *rsc, pcmk_node_t *node, bool optional) |
Definition at line 83 of file pcmk_sched_primitive.c.
uint32_t pcmk__primitive_action_flags | ( | pcmk_action_t * | action, |
const pcmk_node_t * | node | ||
) |
Definition at line 1189 of file pcmk_sched_primitive.c.
void pcmk__primitive_add_graph_meta | ( | const pcmk_resource_t * | rsc, |
xmlNode * | xml | ||
) |
Definition at line 1485 of file pcmk_sched_primitive.c.
void pcmk__primitive_add_utilization | ( | const pcmk_resource_t * | rsc, |
const pcmk_resource_t * | orig_rsc, | ||
GList * | all_rscs, | ||
GHashTable * | utilization | ||
) |
Definition at line 1536 of file pcmk_sched_primitive.c.
void pcmk__primitive_apply_coloc_score | ( | pcmk_resource_t * | dependent, |
const pcmk_resource_t * | primary, | ||
const pcmk__colocation_t * | colocation, | ||
bool | for_dependent | ||
) |
Definition at line 1084 of file pcmk_sched_primitive.c.
pcmk_node_t* pcmk__primitive_assign | ( | pcmk_resource_t * | rsc, |
const pcmk_node_t * | prefer, | ||
bool | stop_if_fail | ||
) |
Definition at line 390 of file pcmk_sched_primitive.c.
void pcmk__primitive_create_actions | ( | pcmk_resource_t * | rsc | ) |
Definition at line 680 of file pcmk_sched_primitive.c.
void pcmk__primitive_internal_constraints | ( | pcmk_resource_t * | rsc | ) |
Definition at line 899 of file pcmk_sched_primitive.c.
void pcmk__primitive_shutdown_lock | ( | pcmk_resource_t * | rsc | ) |
Definition at line 1597 of file pcmk_sched_primitive.c.
void pcmk__primitive_with_colocations | ( | const pcmk_resource_t * | rsc, |
const pcmk_resource_t * | orig_rsc, | ||
GList ** | list | ||
) |
Definition at line 1153 of file pcmk_sched_primitive.c.
void pcmk__schedule_cleanup | ( | pcmk_resource_t * | rsc, |
const pcmk_node_t * | node, | ||
bool | optional | ||
) |
Definition at line 1443 of file pcmk_sched_primitive.c.
void pcmk__with_primitive_colocations | ( | const pcmk_resource_t * | rsc, |
const pcmk_resource_t * | orig_rsc, | ||
GList ** | list | ||
) |
Definition at line 1123 of file pcmk_sched_primitive.c.