pacemaker
2.1.7-0f7f88312f
Scalable High-Availability cluster resource manager
|
#include <crm_internal.h>
#include <crm/msg_xml.h>
#include <crm/common/xml_internal.h>
#include <pacemaker-internal.h>
#include <pacemaker.h>
#include "libpacemaker_private.h"
Go to the source code of this file.
Functions | |
bool | pcmk__node_available (const pcmk_node_t *node, bool consider_score, bool consider_guest) |
GHashTable * | pcmk__copy_node_table (GHashTable *nodes) |
void | pcmk__copy_node_tables (const pcmk_resource_t *rsc, GHashTable **copy) |
void | pcmk__restore_node_tables (pcmk_resource_t *rsc, GHashTable *backup) |
GList * | pcmk__copy_node_list (const GList *list, bool reset) |
GList * | pcmk__sort_nodes (GList *nodes, pcmk_node_t *active_node) |
bool | pcmk__any_node_available (GHashTable *nodes) |
void | pcmk__apply_node_health (pcmk_scheduler_t *scheduler) |
pcmk_node_t * | pcmk__top_allowed_node (const pcmk_resource_t *rsc, const pcmk_node_t *node) |
bool pcmk__any_node_available | ( | GHashTable * | nodes | ) |
Definition at line 335 of file pcmk_sched_nodes.c.
void pcmk__apply_node_health | ( | pcmk_scheduler_t * | scheduler | ) |
Definition at line 359 of file pcmk_sched_nodes.c.
GList* pcmk__copy_node_list | ( | const GList * | list, |
bool | reset | ||
) |
Definition at line 170 of file pcmk_sched_nodes.c.
GHashTable* pcmk__copy_node_table | ( | GHashTable * | nodes | ) |
Definition at line 64 of file pcmk_sched_nodes.c.
void pcmk__copy_node_tables | ( | const pcmk_resource_t * | rsc, |
GHashTable ** | copy | ||
) |
Definition at line 114 of file pcmk_sched_nodes.c.
bool pcmk__node_available | ( | const pcmk_node_t * | node, |
bool | consider_score, | ||
bool | consider_guest | ||
) |
Definition at line 30 of file pcmk_sched_nodes.c.
void pcmk__restore_node_tables | ( | pcmk_resource_t * | rsc, |
GHashTable * | backup | ||
) |
Definition at line 145 of file pcmk_sched_nodes.c.
GList* pcmk__sort_nodes | ( | GList * | nodes, |
pcmk_node_t * | active_node | ||
) |
Definition at line 320 of file pcmk_sched_nodes.c.
pcmk_node_t* pcmk__top_allowed_node | ( | const pcmk_resource_t * | rsc, |
const pcmk_node_t * | node | ||
) |
Definition at line 422 of file pcmk_sched_nodes.c.