pacemaker  2.1.5-b7adf64e51
Scalable High-Availability cluster resource manager
Functions
pcmk_sched_nodes.c File Reference
#include <crm_internal.h>
#include <crm/msg_xml.h>
#include <crm/lrmd.h>
#include <crm/common/xml_internal.h>
#include <pacemaker-internal.h>
#include <pacemaker.h>
#include "libpacemaker_private.h"
Include dependency graph for pcmk_sched_nodes.c:

Go to the source code of this file.

Functions

bool pcmk__node_available (const pe_node_t *node, bool consider_score, bool consider_guest)
 
GHashTable * pcmk__copy_node_table (GHashTable *nodes)
 
GList * pcmk__copy_node_list (const GList *list, bool reset)
 
GList * pcmk__sort_nodes (GList *nodes, pe_node_t *active_node)
 
bool pcmk__any_node_available (GHashTable *nodes)
 
void pcmk__apply_node_health (pe_working_set_t *data_set)
 
pe_node_tpcmk__top_allowed_node (const pe_resource_t *rsc, const pe_node_t *node)
 

Function Documentation

◆ pcmk__any_node_available()

bool pcmk__any_node_available ( GHashTable *  nodes)

Definition at line 252 of file pcmk_sched_nodes.c.

◆ pcmk__apply_node_health()

void pcmk__apply_node_health ( pe_working_set_t data_set)

Definition at line 276 of file pcmk_sched_nodes.c.

◆ pcmk__copy_node_list()

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

Definition at line 95 of file pcmk_sched_nodes.c.

◆ pcmk__copy_node_table()

GHashTable* pcmk__copy_node_table ( GHashTable *  nodes)

Definition at line 65 of file pcmk_sched_nodes.c.

◆ pcmk__node_available()

bool pcmk__node_available ( const pe_node_t node,
bool  consider_score,
bool  consider_guest 
)

Definition at line 31 of file pcmk_sched_nodes.c.

◆ pcmk__sort_nodes()

GList* pcmk__sort_nodes ( GList *  nodes,
pe_node_t active_node 
)

Definition at line 237 of file pcmk_sched_nodes.c.

◆ pcmk__top_allowed_node()

pe_node_t* pcmk__top_allowed_node ( const pe_resource_t rsc,
const pe_node_t node 
)

Definition at line 340 of file pcmk_sched_nodes.c.