|
pacemaker
2.1.6-802a72226b
Scalable High-Availability cluster resource manager
|
#include <crm_internal.h>#include <crm/msg_xml.h>#include <pacemaker-internal.h>#include "libpacemaker_private.h"
Go to the source code of this file.
Macros | |
| #define | pe__clear_action_summary_flags(flags, action, flag) |
Enumerations | |
| enum | instance_state { instance_starting = (1 << 0), instance_stopping = (1 << 1), instance_restarting = (1 << 2), instance_active = (1 << 3), instance_all } |
Functions | |
| gint | pcmk__cmp_instance_number (gconstpointer a, gconstpointer b) |
| gint | pcmk__cmp_instance (gconstpointer a, gconstpointer b) |
| void | pcmk__assign_instances (pe_resource_t *collective, GList *instances, int max_total, int max_per_node) |
| void | pcmk__create_instance_actions (pe_resource_t *collective, GList *instances) |
| bool | pcmk__instance_matches (const pe_resource_t *instance, const pe_node_t *node, enum rsc_role_e role, bool current) |
| pe_resource_t * | pcmk__find_compatible_instance (const pe_resource_t *match_rsc, const pe_resource_t *rsc, enum rsc_role_e role, bool current) |
| uint32_t | pcmk__instance_update_ordered_actions (pe_action_t *first, pe_action_t *then, const pe_node_t *node, uint32_t flags, uint32_t filter, uint32_t type, pe_working_set_t *data_set) |
| enum pe_action_flags | pcmk__collective_action_flags (pe_action_t *action, const GList *instances, const pe_node_t *node) |
| void | pcmk__add_collective_constraints (GList **list, const pe_resource_t *instance, const pe_resource_t *collective, bool with_this) |
Definition at line 1523 of file pcmk_sched_instances.c.
| enum instance_state |
| Enumerator | |
|---|---|
| instance_starting | |
| instance_stopping | |
| instance_restarting | |
| instance_active | |
| instance_all | |
Definition at line 799 of file pcmk_sched_instances.c.
| void pcmk__add_collective_constraints | ( | GList ** | list, |
| const pe_resource_t * | instance, | ||
| const pe_resource_t * | collective, | ||
| bool | with_this | ||
| ) |
Definition at line 1614 of file pcmk_sched_instances.c.
| void pcmk__assign_instances | ( | pe_resource_t * | collective, |
| GList * | instances, | ||
| int | max_total, | ||
| int | max_per_node | ||
| ) |
Definition at line 718 of file pcmk_sched_instances.c.
| gint pcmk__cmp_instance | ( | gconstpointer | a, |
| gconstpointer | b | ||
| ) |
Definition at line 386 of file pcmk_sched_instances.c.
| gint pcmk__cmp_instance_number | ( | gconstpointer | a, |
| gconstpointer | b | ||
| ) |
Definition at line 337 of file pcmk_sched_instances.c.
| enum pe_action_flags pcmk__collective_action_flags | ( | pe_action_t * | action, |
| const GList * | instances, | ||
| const pe_node_t * | node | ||
| ) |
Definition at line 1540 of file pcmk_sched_instances.c.
| void pcmk__create_instance_actions | ( | pe_resource_t * | collective, |
| GList * | instances | ||
| ) |
Definition at line 905 of file pcmk_sched_instances.c.
| pe_resource_t* pcmk__find_compatible_instance | ( | const pe_resource_t * | match_rsc, |
| const pe_resource_t * | rsc, | ||
| enum rsc_role_e | role, | ||
| bool | current | ||
| ) |
Definition at line 1100 of file pcmk_sched_instances.c.
| bool pcmk__instance_matches | ( | const pe_resource_t * | instance, |
| const pe_node_t * | node, | ||
| enum rsc_role_e | role, | ||
| bool | current | ||
| ) |
Definition at line 1006 of file pcmk_sched_instances.c.
| uint32_t pcmk__instance_update_ordered_actions | ( | pe_action_t * | first, |
| pe_action_t * | then, | ||
| const pe_node_t * | node, | ||
| uint32_t | flags, | ||
| uint32_t | filter, | ||
| uint32_t | type, | ||
| pe_working_set_t * | data_set | ||
| ) |
Definition at line 1492 of file pcmk_sched_instances.c.
1.8.14