resource_t 583 fencing/main.c our_node_allowed_for(resource_t *rsc) resource_t 608 fencing/main.c static void cib_device_update(resource_t *rsc, pe_working_set_t *data_set) resource_t 43 include/crm/pengine/complex.h gboolean(*unpack) (resource_t *, pe_working_set_t *); resource_t 44 include/crm/pengine/complex.h resource_t *(*find_rsc) (resource_t * parent, const char *search, node_t * node, int flags); resource_t 46 include/crm/pengine/complex.h char *(*parameter) (resource_t *, node_t *, gboolean, const char *, pe_working_set_t *); resource_t 47 include/crm/pengine/complex.h void (*print) (resource_t *, const char *, long, void *); resource_t 48 include/crm/pengine/complex.h gboolean(*active) (resource_t *, gboolean); resource_t 49 include/crm/pengine/complex.h enum rsc_role_e (*state) (const resource_t *, gboolean); resource_t 50 include/crm/pengine/complex.h node_t *(*location) (resource_t *, GListPtr *, gboolean); resource_t 51 include/crm/pengine/complex.h void (*free) (resource_t *); resource_t 55 include/crm/pengine/complex.h void get_meta_attributes(GHashTable * meta_hash, resource_t * rsc, node_t * node, resource_t 57 include/crm/pengine/complex.h void get_rsc_attributes(GHashTable * meta_hash, resource_t * rsc, node_t * node, resource_t 61 include/crm/pengine/complex.h void pe_get_versioned_attributes(xmlNode * meta_hash, resource_t * rsc, node_t * node, resource_t 67 include/crm/pengine/complex.h gboolean is_parent(resource_t *child, resource_t *rsc); resource_t 68 include/crm/pengine/complex.h resource_t *uber_parent(resource_t * rsc); resource_t 63 include/crm/pengine/internal.h char *native_parameter(resource_t * rsc, node_t * node, gboolean create, const char *name, resource_t 65 include/crm/pengine/internal.h node_t *native_location(resource_t * rsc, GListPtr * list, gboolean current); resource_t 70 include/crm/pengine/internal.h void common_update_score(resource_t * rsc, const char *id, int score); resource_t 71 include/crm/pengine/internal.h void native_add_running(resource_t * rsc, node_t * node, pe_working_set_t * data_set); resource_t 72 include/crm/pengine/internal.h node_t *rsc_known_on(resource_t * rsc, GListPtr * list); resource_t 74 include/crm/pengine/internal.h gboolean native_unpack(resource_t * rsc, pe_working_set_t * data_set); resource_t 75 include/crm/pengine/internal.h gboolean group_unpack(resource_t * rsc, pe_working_set_t * data_set); resource_t 76 include/crm/pengine/internal.h gboolean clone_unpack(resource_t * rsc, pe_working_set_t * data_set); resource_t 77 include/crm/pengine/internal.h gboolean master_unpack(resource_t * rsc, pe_working_set_t * data_set); resource_t 78 include/crm/pengine/internal.h gboolean container_unpack(resource_t * rsc, pe_working_set_t * data_set); resource_t 80 include/crm/pengine/internal.h resource_t *native_find_rsc(resource_t * rsc, const char *id, node_t * node, int flags); resource_t 82 include/crm/pengine/internal.h gboolean native_active(resource_t * rsc, gboolean all); resource_t 83 include/crm/pengine/internal.h gboolean group_active(resource_t * rsc, gboolean all); resource_t 84 include/crm/pengine/internal.h gboolean clone_active(resource_t * rsc, gboolean all); resource_t 85 include/crm/pengine/internal.h gboolean master_active(resource_t * rsc, gboolean all); resource_t 86 include/crm/pengine/internal.h gboolean container_active(resource_t * rsc, gboolean all); resource_t 88 include/crm/pengine/internal.h void native_print(resource_t * rsc, const char *pre_text, long options, void *print_data); resource_t 89 include/crm/pengine/internal.h void group_print(resource_t * rsc, const char *pre_text, long options, void *print_data); resource_t 90 include/crm/pengine/internal.h void clone_print(resource_t * rsc, const char *pre_text, long options, void *print_data); resource_t 91 include/crm/pengine/internal.h void master_print(resource_t * rsc, const char *pre_text, long options, void *print_data); resource_t 92 include/crm/pengine/internal.h void container_print(resource_t * rsc, const char *pre_text, long options, void *print_data); resource_t 94 include/crm/pengine/internal.h void native_free(resource_t * rsc); resource_t 95 include/crm/pengine/internal.h void group_free(resource_t * rsc); resource_t 96 include/crm/pengine/internal.h void clone_free(resource_t * rsc); resource_t 97 include/crm/pengine/internal.h void master_free(resource_t * rsc); resource_t 98 include/crm/pengine/internal.h void container_free(resource_t * rsc); resource_t 100 include/crm/pengine/internal.h enum rsc_role_e native_resource_state(const resource_t * rsc, gboolean current); resource_t 101 include/crm/pengine/internal.h enum rsc_role_e group_resource_state(const resource_t * rsc, gboolean current); resource_t 102 include/crm/pengine/internal.h enum rsc_role_e clone_resource_state(const resource_t * rsc, gboolean current); resource_t 103 include/crm/pengine/internal.h enum rsc_role_e master_resource_state(const resource_t * rsc, gboolean current); resource_t 104 include/crm/pengine/internal.h enum rsc_role_e container_resource_state(const resource_t * rsc, gboolean current); resource_t 106 include/crm/pengine/internal.h gboolean common_unpack(xmlNode * xml_obj, resource_t ** rsc, resource_t * parent, resource_t 108 include/crm/pengine/internal.h void common_free(resource_t * rsc); resource_t 124 include/crm/pengine/internal.h int pe_get_failcount(node_t *node, resource_t *rsc, time_t *last_failure, resource_t 159 include/crm/pengine/internal.h extern void print_resource(int log_level, const char *pre_text, resource_t * rsc, gboolean details); resource_t 162 include/crm/pengine/internal.h resource_t * rsc, const char *comment, GHashTable * nodes); resource_t 165 include/crm/pengine/internal.h extern void dump_rsc_utilization(int level, const char *comment, resource_t * rsc, node_t * node); resource_t 175 include/crm/pengine/internal.h extern xmlNode *find_rsc_op_entry(resource_t * rsc, const char *key); resource_t 177 include/crm/pengine/internal.h extern action_t *custom_action(resource_t * rsc, char *key, const char *task, node_t * on_node, resource_t 226 include/crm/pengine/internal.h extern int pe_get_configured_timeout(resource_t *rsc, const char *action, resource_t 231 include/crm/pengine/internal.h extern enum action_tasks get_complex_task(resource_t * rsc, const char *name, resource_t 240 include/crm/pengine/internal.h extern void resource_location(resource_t * rsc, node_t * node, int score, const char *tag, resource_t 244 include/crm/pengine/internal.h extern gboolean get_target_role(resource_t * rsc, enum rsc_role_e *role); resource_t 246 include/crm/pengine/internal.h extern resource_t *find_clone_instance(resource_t * rsc, const char *sub_id, resource_t 258 include/crm/pengine/internal.h pe_base_name_eq(resource_t *rsc, const char *id) resource_t 272 include/crm/pengine/internal.h bool is_set_recursive(resource_t * rsc, long long flag, bool any); resource_t 296 include/crm/pengine/internal.h op_digest_cache_t *rsc_action_digest_cmp(resource_t * rsc, xmlNode * xml_op, node_t * node, resource_t 301 include/crm/pengine/internal.h resource_t * rsc, node_t *node, const char *reason, action_t *dependency, pe_working_set_t * data_set); resource_t 309 include/crm/pengine/internal.h void set_bit_recursive(resource_t * rsc, unsigned long long flag); resource_t 310 include/crm/pengine/internal.h void clear_bit_recursive(resource_t * rsc, unsigned long long flag); resource_t 321 include/crm/pengine/internal.h void common_print(resource_t * rsc, const char *pre_text, const char *name, node_t *node, long options, void *print_data); resource_t 322 include/crm/pengine/internal.h resource_t *find_container_child(const char *stem, resource_t * rsc, node_t *node); resource_t 323 include/crm/pengine/internal.h bool container_fix_remote_addr(resource_t *rsc); resource_t 324 include/crm/pengine/internal.h const char *container_fix_remote_addr_in(resource_t *rsc, xmlNode *xml, const char *field); resource_t 325 include/crm/pengine/internal.h const char *pe_node_attribute_calculated(pe_node_t *node, const char *name, resource_t *rsc); resource_t 25 include/crm/pengine/remote.h gboolean is_rsc_baremetal_remote_node(resource_t *rsc, pe_working_set_t * data_set); resource_t 26 include/crm/pengine/remote.h resource_t * rsc_contains_remote_node(pe_working_set_t * data_set, resource_t *rsc); resource_t 30 include/crm/pengine/status.h typedef struct resource_s resource_t; resource_t 156 include/crm/pengine/status.h resource_t *remote_rsc; resource_t 263 include/crm/pengine/status.h resource_t *parent; resource_t 307 include/crm/pengine/status.h resource_t *container; resource_t 335 include/crm/pengine/status.h resource_t *rsc; resource_t 465 include/crm/pengine/status.h const char *rsc_printable_id(resource_t *rsc); resource_t 469 include/crm/pengine/status.h resource_t *pe_find_resource(GListPtr rsc_list, const char *id_rh); resource_t 470 include/crm/pengine/status.h resource_t *pe_find_resource_with_flags(GListPtr rsc_list, const char *id, enum pe_find flags); resource_t 476 include/crm/pengine/status.h int pe_bundle_replicas(const resource_t *rsc); resource_t 489 include/crm/pengine/status.h pe_rsc_is_clone(resource_t *rsc) resource_t 502 include/crm/pengine/status.h pe_rsc_is_unique_clone(resource_t *rsc) resource_t 515 include/crm/pengine/status.h pe_rsc_is_anon_clone(resource_t *rsc) resource_t 30 lib/pengine/clone.c void force_non_unique_clone(resource_t * rsc, const char *rid, pe_working_set_t * data_set); resource_t 31 lib/pengine/clone.c resource_t *create_child_clone(resource_t * rsc, int sub_id, pe_working_set_t * data_set); resource_t 34 lib/pengine/clone.c mark_as_orphan(resource_t * rsc) resource_t 41 lib/pengine/clone.c resource_t *child = (resource_t *) gIter->data; resource_t 48 lib/pengine/clone.c force_non_unique_clone(resource_t * rsc, const char *rid, pe_working_set_t * data_set) resource_t 65 lib/pengine/clone.c resource_t * resource_t 66 lib/pengine/clone.c find_clone_instance(resource_t * rsc, const char *sub_id, pe_working_set_t * data_set) resource_t 69 lib/pengine/clone.c resource_t *child = NULL; resource_t 83 lib/pengine/clone.c resource_t * resource_t 84 lib/pengine/clone.c create_child_clone(resource_t * rsc, int sub_id, pe_working_set_t * data_set) resource_t 89 lib/pengine/clone.c resource_t *child_rsc = NULL; resource_t 135 lib/pengine/clone.c master_unpack(resource_t * rsc, pe_working_set_t * data_set) resource_t 153 lib/pengine/clone.c clone_unpack(resource_t * rsc, pe_working_set_t * data_set) resource_t 250 lib/pengine/clone.c clone_active(resource_t * rsc, gboolean all) resource_t 255 lib/pengine/clone.c resource_t *child_rsc = (resource_t *) gIter->data; resource_t 298 lib/pengine/clone.c configured_role_str(resource_t * rsc) resource_t 304 lib/pengine/clone.c target_role = g_hash_table_lookup(((resource_t*)rsc->children->data)->meta, resource_t 311 lib/pengine/clone.c configured_role(resource_t * rsc) resource_t 322 lib/pengine/clone.c clone_print_xml(resource_t * rsc, const char *pre_text, long options, void *print_data) resource_t 343 lib/pengine/clone.c resource_t *child_rsc = (resource_t *) gIter->data; resource_t 352 lib/pengine/clone.c bool is_set_recursive(resource_t * rsc, long long flag, bool any) resource_t 383 lib/pengine/clone.c clone_print(resource_t * rsc, const char *pre_text, long options, void *print_data) resource_t 428 lib/pengine/clone.c resource_t *child_rsc = (resource_t *) gIter->data; resource_t 585 lib/pengine/clone.c clone_free(resource_t * rsc) resource_t 595 lib/pengine/clone.c resource_t *child_rsc = (resource_t *) gIter->data; resource_t 620 lib/pengine/clone.c clone_resource_state(const resource_t * rsc, gboolean current) resource_t 626 lib/pengine/clone.c resource_t *child_rsc = (resource_t *) gIter->data; resource_t 440 lib/pengine/common.c pe_node_attribute_calculated(pe_node_t *node, const char *name, resource_t *rsc) resource_t 131 lib/pengine/complex.c get_meta_attributes(GHashTable * meta_hash, resource_t * rsc, resource_t 174 lib/pengine/complex.c get_rsc_attributes(GHashTable * meta_hash, resource_t * rsc, resource_t 199 lib/pengine/complex.c pe_get_versioned_attributes(xmlNode * meta_hash, resource_t * rsc, resource_t 384 lib/pengine/complex.c handle_rsc_isolation(resource_t *rsc) resource_t 386 lib/pengine/complex.c resource_t *top = uber_parent(rsc); resource_t 387 lib/pengine/complex.c resource_t *iso = rsc; resource_t 432 lib/pengine/complex.c check_deprecated_stonith(resource_t *rsc) resource_t 465 lib/pengine/complex.c common_unpack(xmlNode * xml_obj, resource_t ** rsc, resource_t 466 lib/pengine/complex.c resource_t * parent, pe_working_set_t * data_set) resource_t 471 lib/pengine/complex.c resource_t *top = NULL; resource_t 495 lib/pengine/complex.c *rsc = calloc(1, sizeof(resource_t)); resource_t 858 lib/pengine/complex.c common_update_score(resource_t * rsc, const char *id, int score) resource_t 872 lib/pengine/complex.c resource_t *child_rsc = (resource_t *) gIter->data; resource_t 880 lib/pengine/complex.c is_parent(resource_t *child, resource_t *rsc) resource_t 882 lib/pengine/complex.c resource_t *parent = child; resource_t 896 lib/pengine/complex.c resource_t * resource_t 897 lib/pengine/complex.c uber_parent(resource_t * rsc) resource_t 899 lib/pengine/complex.c resource_t *parent = rsc; resource_t 911 lib/pengine/complex.c common_free(resource_t * rsc) resource_t 136 lib/pengine/container.c resource_t *parent, container_variant_data_t *data, container_grouping_t *tuple, resource_t 182 lib/pengine/container.c resource_t *parent, container_variant_data_t *data, container_grouping_t *tuple, resource_t 339 lib/pengine/container.c resource_t *parent, container_variant_data_t *data, container_grouping_t *tuple, resource_t 505 lib/pengine/container.c disallow_node(resource_t *rsc, const char *uname) resource_t 517 lib/pengine/container.c disallow_node((resource_t *) (child->data), uname); resource_t 524 lib/pengine/container.c resource_t *parent, container_variant_data_t *data, container_grouping_t *tuple, resource_t 605 lib/pengine/container.c disallow_node((resource_t *) (rsc_iter->data), uname); resource_t 660 lib/pengine/container.c resource_t *parent, container_variant_data_t *data, container_grouping_t *tuple, resource_t 730 lib/pengine/container.c tuple_for_remote(resource_t *remote) resource_t 732 lib/pengine/container.c resource_t *top = remote; resource_t 755 lib/pengine/container.c container_fix_remote_addr(resource_t *rsc) resource_t 791 lib/pengine/container.c container_fix_remote_addr_in(resource_t *rsc, xmlNode *xml, const char *field) resource_t 829 lib/pengine/container.c container_unpack(resource_t * rsc, pe_working_set_t * data_set) resource_t 1002 lib/pengine/container.c resource_t *new_rsc = NULL; resource_t 1114 lib/pengine/container.c tuple_rsc_active(resource_t *rsc, gboolean all) resource_t 1129 lib/pengine/container.c container_active(resource_t * rsc, gboolean all) resource_t 1167 lib/pengine/container.c resource_t * resource_t 1168 lib/pengine/container.c find_container_child(const char *stem, resource_t * rsc, node_t *node) resource_t 1171 lib/pengine/container.c resource_t *parent = uber_parent(rsc); resource_t 1198 lib/pengine/container.c print_rsc_in_list(resource_t *rsc, const char *pre_text, long options, resource_t 1225 lib/pengine/container.c container_print_xml(resource_t * rsc, const char *pre_text, long options, void *print_data) resource_t 1274 lib/pengine/container.c resource_t *rsc = tuple->child; resource_t 1299 lib/pengine/container.c container_print(resource_t * rsc, const char *pre_text, long options, void *print_data) resource_t 1399 lib/pengine/container.c container_free(resource_t * rsc) resource_t 1432 lib/pengine/container.c container_resource_state(const resource_t * rsc, gboolean current) resource_t 1446 lib/pengine/container.c pe_bundle_replicas(const resource_t *rsc) resource_t 73 lib/pengine/failcounts.c block_failure(node_t *node, resource_t *rsc, xmlNode *xml_op, resource_t 163 lib/pengine/failcounts.c rsc_fail_name(resource_t *rsc) resource_t 220 lib/pengine/failcounts.c generate_fail_regexes(resource_t *rsc, pe_working_set_t *data_set, resource_t 237 lib/pengine/failcounts.c pe_get_failcount(node_t *node, resource_t *rsc, time_t *last_failure, resource_t 292 lib/pengine/failcounts.c resource_t *filler = (resource_t *) gIter->data; resource_t 31 lib/pengine/group.c group_unpack(resource_t * rsc, pe_working_set_t * data_set) resource_t 63 lib/pengine/group.c resource_t *new_rsc = NULL; resource_t 101 lib/pengine/group.c group_active(resource_t * rsc, gboolean all) resource_t 108 lib/pengine/group.c resource_t *child_rsc = (resource_t *) gIter->data; resource_t 126 lib/pengine/group.c group_print_xml(resource_t * rsc, const char *pre_text, long options, void *print_data) resource_t 136 lib/pengine/group.c resource_t *child_rsc = (resource_t *) gIter->data; resource_t 146 lib/pengine/group.c group_print(resource_t * rsc, const char *pre_text, long options, void *print_data) resource_t 176 lib/pengine/group.c resource_t *child_rsc = (resource_t *) gIter->data; resource_t 195 lib/pengine/group.c group_free(resource_t * rsc) resource_t 204 lib/pengine/group.c resource_t *child_rsc = (resource_t *) gIter->data; resource_t 218 lib/pengine/group.c group_resource_state(const resource_t * rsc, gboolean current) resource_t 224 lib/pengine/group.c resource_t *child_rsc = (resource_t *) gIter->data; resource_t 32 lib/pengine/native.c native_add_running(resource_t * rsc, node_t * node, pe_working_set_t * data_set) resource_t 59 lib/pengine/native.c resource_t *p = rsc->parent; resource_t 103 lib/pengine/native.c resource_t *child = (resource_t *) gIter->data; resource_t 124 lib/pengine/native.c extern void force_non_unique_clone(resource_t * rsc, const char *rid, pe_working_set_t * data_set); resource_t 127 lib/pengine/native.c native_unpack(resource_t * rsc, pe_working_set_t * data_set) resource_t 129 lib/pengine/native.c resource_t *parent = uber_parent(rsc); resource_t 141 lib/pengine/native.c resource_t *top = uber_parent(rsc); resource_t 162 lib/pengine/native.c rsc_is_on_node(resource_t *rsc, node_t *node, int flags) resource_t 187 lib/pengine/native.c resource_t * resource_t 188 lib/pengine/native.c native_find_rsc(resource_t * rsc, const char *id, node_t * on_node, int flags) resource_t 191 lib/pengine/native.c resource_t *result = NULL; resource_t 231 lib/pengine/native.c resource_t *child = (resource_t *) gIter->data; resource_t 242 lib/pengine/native.c native_parameter(resource_t * rsc, node_t * node, gboolean create, const char *name, resource_t 285 lib/pengine/native.c native_active(resource_t * rsc, gboolean all) resource_t 321 lib/pengine/native.c native_pending_state(resource_t * rsc) resource_t 349 lib/pengine/native.c native_pending_task(resource_t * rsc) resource_t 375 lib/pengine/native.c native_displayable_role(resource_t *rsc) resource_t 388 lib/pengine/native.c native_displayable_state(resource_t *rsc, long options) resource_t 402 lib/pengine/native.c native_print_xml(resource_t * rsc, const char *pre_text, long options, void *print_data) resource_t 479 lib/pengine/native.c common_print(resource_t * rsc, const char *pre_text, const char *name, node_t *node, long options, void *print_data) resource_t 727 lib/pengine/native.c native_print(resource_t * rsc, const char *pre_text, long options, void *print_data) resource_t 744 lib/pengine/native.c native_free(resource_t * rsc) resource_t 751 lib/pengine/native.c native_resource_state(const resource_t * rsc, gboolean current) resource_t 763 lib/pengine/native.c native_location(resource_t * rsc, GListPtr * list, gboolean current) resource_t 772 lib/pengine/native.c resource_t *child = (resource_t *) gIter->data; resource_t 810 lib/pengine/native.c resource_t *rsc = (resource_t *) gIter->data; resource_t 25 lib/pengine/remote.c is_rsc_baremetal_remote_node(resource_t *rsc, pe_working_set_t * data_set) resource_t 70 lib/pengine/remote.c resource_t * resource_t 71 lib/pengine/remote.c rsc_contains_remote_node(pe_working_set_t * data_set, resource_t *rsc) resource_t 80 lib/pengine/remote.c resource_t *filler = (resource_t *) gIter->data; resource_t 124 lib/pengine/remote.c resource_t *rsc = (resource_t *) iter->data; resource_t 115 lib/pengine/status.c resource_t *rsc = NULL; resource_t 119 lib/pengine/status.c rsc = (resource_t *) iterator->data; resource_t 248 lib/pengine/status.c resource_t * resource_t 254 lib/pengine/status.c resource_t * resource_t 260 lib/pengine/status.c resource_t *parent = rIter->data; resource_t 262 lib/pengine/status.c resource_t *match = resource_t 45 lib/pengine/unpack.c gboolean unpack_rsc_op(resource_t * rsc, node_t * node, xmlNode * xml_op, xmlNode ** last_failure, resource_t 83 lib/pengine/unpack.c resource_t *rsc = node->details->remote_rsc->container; resource_t 113 lib/pengine/unpack.c resource_t *rsc = node->details->remote_rsc; resource_t 580 lib/pengine/unpack.c setup_container(resource_t * rsc, pe_working_set_t * data_set) resource_t 588 lib/pengine/unpack.c resource_t *child_rsc = (resource_t *) gIter->data; resource_t 597 lib/pengine/unpack.c resource_t *container = pe_find_resource(data_set->resources, container_id); resource_t 680 lib/pengine/unpack.c link_rsc2remotenode(pe_working_set_t *data_set, resource_t *new_rsc) resource_t 747 lib/pengine/unpack.c resource_t *new_rsc = NULL; resource_t 775 lib/pengine/unpack.c resource_t *rsc = (resource_t *) gIter->data; resource_t 1008 lib/pengine/unpack.c resource_t *rsc = NULL; resource_t 1101 lib/pengine/unpack.c resource_t *rsc = this_node->details->remote_rsc; resource_t 1421 lib/pengine/unpack.c resource_t *rsc = this_node->details->remote_rsc; resource_t 1422 lib/pengine/unpack.c resource_t *container = NULL; resource_t 1646 lib/pengine/unpack.c static resource_t * resource_t 1649 lib/pengine/unpack.c resource_t *rsc = NULL; resource_t 1686 lib/pengine/unpack.c extern resource_t *create_child_clone(resource_t * rsc, int sub_id, pe_working_set_t * data_set); resource_t 1688 lib/pengine/unpack.c static resource_t * resource_t 1689 lib/pengine/unpack.c find_anonymous_clone(pe_working_set_t * data_set, node_t * node, resource_t * parent, resource_t 1693 lib/pengine/unpack.c resource_t *rsc = NULL; resource_t 1705 lib/pengine/unpack.c resource_t *child = rIter->data; resource_t 1743 lib/pengine/unpack.c resource_t *child = rIter->data; resource_t 1762 lib/pengine/unpack.c resource_t *top = create_child_clone(parent, -1, data_set); resource_t 1781 lib/pengine/unpack.c static resource_t * resource_t 1785 lib/pengine/unpack.c resource_t *rsc = NULL; resource_t 1786 lib/pengine/unpack.c resource_t *parent = NULL; resource_t 1795 lib/pengine/unpack.c resource_t *clone0 = pe_find_resource(data_set->resources, tmp); resource_t 1838 lib/pengine/unpack.c static resource_t * resource_t 1841 lib/pengine/unpack.c resource_t *rsc = NULL; resource_t 1860 lib/pengine/unpack.c process_rsc_state(resource_t * rsc, node_t * node, resource_t 1873 lib/pengine/unpack.c resource_t *iter = rsc; resource_t 2083 lib/pengine/unpack.c process_recurring(node_t * node, resource_t * rsc, resource_t 2187 lib/pengine/unpack.c static resource_t * resource_t 2198 lib/pengine/unpack.c resource_t *rsc = NULL; resource_t 2288 lib/pengine/unpack.c resource_t *rsc; resource_t 2289 lib/pengine/unpack.c resource_t *container; resource_t 2335 lib/pengine/unpack.c resource_t *rsc = unpack_lrm_rsc_state(node, rsc_entry, data_set); resource_t 2355 lib/pengine/unpack.c set_active(resource_t * rsc) resource_t 2357 lib/pengine/unpack.c resource_t *top = uber_parent(rsc); resource_t 2410 lib/pengine/unpack.c unpack_rsc_migration(resource_t *rsc, node_t *node, xmlNode *xml_op, pe_working_set_t * data_set) resource_t 2502 lib/pengine/unpack.c unpack_rsc_migration_failure(resource_t *rsc, node_t *node, xmlNode *xml_op, pe_working_set_t * data_set) resource_t 2576 lib/pengine/unpack.c record_failed_op(xmlNode *op, node_t* node, resource_t *rsc, pe_working_set_t * data_set) resource_t 2611 lib/pengine/unpack.c unpack_rsc_op_failure(resource_t * rsc, node_t * node, int rc, xmlNode * xml_op, xmlNode ** last_failure, resource_t 2710 lib/pengine/unpack.c resource_t *fail_rsc = rsc; resource_t 2713 lib/pengine/unpack.c resource_t *parent = uber_parent(fail_rsc); resource_t 2735 lib/pengine/unpack.c resource_t *rsc, int rc, int target_rc, node_t * node, xmlNode * xml_op, enum action_fail_response * on_fail, pe_working_set_t * data_set) resource_t 2856 lib/pengine/unpack.c static bool check_operation_expiry(resource_t *rsc, node_t *node, int rc, xmlNode *xml_op, pe_working_set_t * data_set) resource_t 2989 lib/pengine/unpack.c get_action_on_fail(resource_t *rsc, const char *key, const char *task, pe_working_set_t * data_set) resource_t 3001 lib/pengine/unpack.c update_resource_state(resource_t * rsc, node_t * node, xmlNode * xml_op, const char * task, int rc, resource_t 3091 lib/pengine/unpack.c unpack_rsc_op(resource_t * rsc, node_t * node, xmlNode * xml_op, xmlNode ** last_failure, resource_t 3106 lib/pengine/unpack.c resource_t *parent = rsc; resource_t 36 lib/pengine/utils.c void unpack_operation(action_t * action, xmlNode * xml_obj, resource_t * container, resource_t 38 lib/pengine/utils.c static xmlNode *find_rsc_op_entry_helper(resource_t * rsc, const char *key, resource_t 235 lib/pengine/utils.c resource_t * rsc, const char *comment, GHashTable * nodes) resource_t 299 lib/pengine/utils.c resource_t *child = (resource_t *) gIter->data; resource_t 343 lib/pengine/utils.c dump_rsc_utilization(int level, const char *comment, resource_t * rsc, node_t * node) resource_t 367 lib/pengine/utils.c const resource_t *resource1 = (const resource_t *)a; resource_t 368 lib/pengine/utils.c const resource_t *resource2 = (const resource_t *)b; resource_t 394 lib/pengine/utils.c const resource_t *resource1 = (const resource_t *)a; resource_t 395 lib/pengine/utils.c const resource_t *resource2 = (const resource_t *)b; resource_t 419 lib/pengine/utils.c custom_action(resource_t * rsc, char *key, const char *task, resource_t 678 lib/pengine/utils.c find_min_interval_mon(resource_t * rsc, gboolean include_disabled) resource_t 845 lib/pengine/utils.c pe_get_configured_timeout(resource_t *rsc, const char *action, pe_working_set_t *data_set) resource_t 914 lib/pengine/utils.c unpack_operation(action_t * action, xmlNode * xml_obj, resource_t * container, resource_t 1168 lib/pengine/utils.c find_rsc_op_entry_helper(resource_t * rsc, const char *key, gboolean include_disabled) resource_t 1234 lib/pengine/utils.c find_rsc_op_entry(resource_t * rsc, const char *key) resource_t 1265 lib/pengine/utils.c resource_t *rsc = (resource_t *) gIter->data; resource_t 1284 lib/pengine/utils.c print_resource(int log_level, const char *pre_text, resource_t * rsc, gboolean details) resource_t 1361 lib/pengine/utils.c get_complex_task(resource_t * rsc, const char *name, gboolean allow_non_atomic) resource_t 1484 lib/pengine/utils.c resource_node_score(resource_t * rsc, node_t * node, int score, const char *tag) resource_t 1500 lib/pengine/utils.c resource_t *child_rsc = (resource_t *) gIter->data; resource_t 1516 lib/pengine/utils.c resource_location(resource_t * rsc, node_t * node, int score, const char *tag, resource_t 1690 lib/pengine/utils.c get_target_role(resource_t * rsc, enum rsc_role_e * role) resource_t 1889 lib/pengine/utils.c rsc_action_digest(resource_t * rsc, const char *task, const char *key, resource_t 1980 lib/pengine/utils.c rsc_action_digest_cmp(resource_t * rsc, xmlNode * xml_op, node_t * node, resource_t 2033 lib/pengine/utils.c fencing_action_digest_cmp(resource_t * rsc, node_t * node, pe_working_set_t * data_set) resource_t 2083 lib/pengine/utils.c const char *rsc_printable_id(resource_t *rsc) resource_t 2092 lib/pengine/utils.c clear_bit_recursive(resource_t * rsc, unsigned long long flag) resource_t 2098 lib/pengine/utils.c resource_t *child_rsc = (resource_t *) gIter->data; resource_t 2105 lib/pengine/utils.c set_bit_recursive(resource_t * rsc, unsigned long long flag) resource_t 2111 lib/pengine/utils.c resource_t *child_rsc = (resource_t *) gIter->data; resource_t 2121 lib/pengine/utils.c resource_t *candidate = gIter->data; resource_t 2179 lib/pengine/utils.c resource_t *match = gIter->data; resource_t 2222 lib/pengine/utils.c resource_t * rsc, node_t *node, const char *reason, action_t *dependency, pe_working_set_t * data_set) resource_t 65 lib/pengine/variant.h resource_t *ip; resource_t 66 lib/pengine/variant.h resource_t *child; resource_t 67 lib/pengine/variant.h resource_t *docker; resource_t 68 lib/pengine/variant.h resource_t *remote; resource_t 115 lib/pengine/variant.h resource_t *child; resource_t 134 lib/pengine/variant.h resource_t *first_child; resource_t 135 lib/pengine/variant.h resource_t *last_child; resource_t 354 lrmd/test.c resource_t *rsc = NULL; resource_t 38 pengine/allocate.c extern void ReloadRsc(resource_t * rsc, node_t *node, pe_working_set_t * data_set); resource_t 39 pengine/allocate.c extern gboolean DeleteRsc(resource_t * rsc, node_t * node, gboolean optional, pe_working_set_t * data_set); resource_t 153 pengine/allocate.c check_rsc_parameters(resource_t * rsc, node_t * node, xmlNode * rsc_entry, resource_t 200 pengine/allocate.c CancelXmlOp(resource_t * rsc, xmlNode * xml_op, node_t * active_node, resource_t 244 pengine/allocate.c check_action_definition(resource_t * rsc, node_t * active_node, xmlNode * xml_op, resource_t 376 pengine/allocate.c check_actions_for(xmlNode * rsc_entry, resource_t * rsc, node_t * node, pe_working_set_t * data_set) resource_t 396 pengine/allocate.c resource_t *parent = uber_parent(rsc); resource_t 486 pengine/allocate.c find_rsc_list(GListPtr result, resource_t * rsc, const char *id, gboolean renamed_clones, resource_t 498 pengine/allocate.c resource_t *child = (resource_t *) gIter->data; resource_t 533 pengine/allocate.c resource_t *child = (resource_t *) gIter->data; resource_t 588 pengine/allocate.c resource_t *rsc = (resource_t *) gIter->data; resource_t 622 pengine/allocate.c failcount_clear_action_exists(node_t * node, resource_t * rsc) resource_t 646 pengine/allocate.c check_migration_threshold(resource_t *rsc, node_t *node, resource_t 650 pengine/allocate.c resource_t *failed; resource_t 691 pengine/allocate.c common_apply_stickiness(resource_t * rsc, node_t * node, pe_working_set_t * data_set) resource_t 697 pengine/allocate.c resource_t *child_rsc = (resource_t *) gIter->data; resource_t 712 pengine/allocate.c resource_t *sticky_rsc = rsc; resource_t 741 pengine/allocate.c complex_set_cmds(resource_t * rsc) resource_t 748 pengine/allocate.c resource_t *child_rsc = (resource_t *) gIter->data; resource_t 761 pengine/allocate.c resource_t *rsc = (resource_t *) gIter->data; resource_t 861 pengine/allocate.c resource_t *rsc = (resource_t *) gIter2->data; resource_t 930 pengine/allocate.c resource_t *rsc = (resource_t *) gIter2->data; resource_t 939 pengine/allocate.c rsc_discover_filter(resource_t *rsc, node_t *node) resource_t 942 pengine/allocate.c resource_t *top = uber_parent(rsc); resource_t 950 pengine/allocate.c resource_t *child_rsc = (resource_t *) gIter->data; resource_t 995 pengine/allocate.c resource_t *rsc = (resource_t *) gIter2->data; resource_t 1015 pengine/allocate.c resource_t *rsc = (resource_t *) gIter->data; resource_t 1043 pengine/allocate.c resource_t *resource1 = (resource_t *) convert_const_pointer(a); resource_t 1044 pengine/allocate.c resource_t *resource2 = (resource_t *) convert_const_pointer(b); resource_t 1179 pengine/allocate.c resource_t *rsc = (resource_t *) gIter->data; resource_t 1194 pengine/allocate.c resource_t *rsc = (resource_t *) gIter->data; resource_t 1212 pengine/allocate.c order_start_then_action(resource_t *lh_rsc, action_t *rh_action, resource_t 1224 pengine/allocate.c order_action_then_stop(action_t *lh_action, resource_t *rh_rsc, resource_t 1235 pengine/allocate.c cleanup_orphans(resource_t * rsc, pe_working_set_t * data_set) resource_t 1353 pengine/allocate.c resource_t *rsc = (resource_t *) gIter->data; resource_t 1360 pengine/allocate.c resource_t *rsc = (resource_t *) gIter->data; resource_t 1370 pengine/allocate.c is_managed(const resource_t * rsc) resource_t 1379 pengine/allocate.c resource_t *child_rsc = (resource_t *) gIter->data; resource_t 1396 pengine/allocate.c resource_t *rsc = (resource_t *) gIter->data; resource_t 1416 pengine/allocate.c resource_t *container = node->details->remote_rsc->container; resource_t 1651 pengine/allocate.c find_actions_by_task(GListPtr actions, resource_t * rsc, const char *original_key) resource_t 1683 pengine/allocate.c rsc_order_then(action_t * lh_action, resource_t * rsc, order_constraint_t * order) resource_t 1737 pengine/allocate.c rsc_order_first(resource_t * lh_rsc, order_constraint_t * order, pe_working_set_t * data_set) resource_t 1742 pengine/allocate.c resource_t *rh_rsc = order->rh_rsc; resource_t 1826 pengine/allocate.c resource_t *remote_rsc = NULL; resource_t 1827 pengine/allocate.c resource_t *container = NULL; resource_t 1916 pengine/allocate.c resource_t *remote_rsc = NULL; resource_t 1991 pengine/allocate.c resource_t *remote_rsc = NULL; resource_t 2123 pengine/allocate.c resource_t *remote = NULL; resource_t 2201 pengine/allocate.c resource_t *rsc = (resource_t *) gIter->data; resource_t 2273 pengine/allocate.c resource_t *first_rsc = first->rsc; resource_t 2333 pengine/allocate.c resource_t *rsc = order->lh_rsc; resource_t 2372 pengine/allocate.c resource_t *rsc = (resource_t *) gIter->data; resource_t 2429 pengine/allocate.c resource_t *rsc = (resource_t *) gIter->data; resource_t 29 pengine/allocate.h GHashTable *(*merge_weights) (resource_t *, const char *, GHashTable *, const char *, float, resource_t 31 pengine/allocate.h node_t *(*allocate) (resource_t *, node_t *, pe_working_set_t *); resource_t 32 pengine/allocate.h void (*create_actions) (resource_t *, pe_working_set_t *); resource_t 33 pengine/allocate.h gboolean(*create_probe) (resource_t *, node_t *, action_t *, gboolean, pe_working_set_t *); resource_t 34 pengine/allocate.h void (*internal_constraints) (resource_t *, pe_working_set_t *); resource_t 36 pengine/allocate.h void (*rsc_colocation_lh) (resource_t *, resource_t *, rsc_colocation_t *); resource_t 37 pengine/allocate.h void (*rsc_colocation_rh) (resource_t *, resource_t *, rsc_colocation_t *); resource_t 39 pengine/allocate.h void (*rsc_location) (resource_t *, rsc_to_node_t *); resource_t 45 pengine/allocate.h void (*expand) (resource_t *, pe_working_set_t *); resource_t 46 pengine/allocate.h void (*append_meta) (resource_t * rsc, xmlNode * xml); resource_t 49 pengine/allocate.h extern GHashTable *rsc_merge_weights(resource_t * rsc, const char *rhs, GHashTable * nodes, resource_t 52 pengine/allocate.h extern GHashTable *clone_merge_weights(resource_t * rsc, const char *rhs, GHashTable * nodes, resource_t 55 pengine/allocate.h extern GHashTable *container_merge_weights(resource_t * rsc, const char *rhs, GHashTable * nodes, resource_t 58 pengine/allocate.h extern GHashTable *master_merge_weights(resource_t * rsc, const char *rhs, GHashTable * nodes, resource_t 61 pengine/allocate.h extern GHashTable *native_merge_weights(resource_t * rsc, const char *rhs, GHashTable * nodes, resource_t 64 pengine/allocate.h extern GHashTable *group_merge_weights(resource_t * rsc, const char *rhs, GHashTable * nodes, resource_t 67 pengine/allocate.h extern node_t *native_color(resource_t * rsc, node_t * preferred, pe_working_set_t * data_set); resource_t 68 pengine/allocate.h extern void native_create_actions(resource_t * rsc, pe_working_set_t * data_set); resource_t 69 pengine/allocate.h extern void native_internal_constraints(resource_t * rsc, pe_working_set_t * data_set); resource_t 70 pengine/allocate.h extern void native_rsc_colocation_lh(resource_t * lh_rsc, resource_t * rh_rsc, resource_t 72 pengine/allocate.h extern void native_rsc_colocation_rh(resource_t * lh_rsc, resource_t * rh_rsc, resource_t 74 pengine/allocate.h extern void rsc_ticket_constraint(resource_t * lh_rsc, rsc_ticket_t * rsc_ticket, resource_t 78 pengine/allocate.h extern void native_rsc_location(resource_t * rsc, rsc_to_node_t * constraint); resource_t 79 pengine/allocate.h extern void native_expand(resource_t * rsc, pe_working_set_t * data_set); resource_t 80 pengine/allocate.h extern void native_dump(resource_t * rsc, const char *pre_text, gboolean details); resource_t 81 pengine/allocate.h extern gboolean native_create_probe(resource_t * rsc, node_t * node, action_t * complete, resource_t 83 pengine/allocate.h extern void native_append_meta(resource_t * rsc, xmlNode * xml); resource_t 85 pengine/allocate.h extern int group_num_allowed_nodes(resource_t * rsc); resource_t 86 pengine/allocate.h extern node_t *group_color(resource_t * rsc, node_t * preferred, pe_working_set_t * data_set); resource_t 87 pengine/allocate.h extern void group_create_actions(resource_t * rsc, pe_working_set_t * data_set); resource_t 88 pengine/allocate.h extern void group_internal_constraints(resource_t * rsc, pe_working_set_t * data_set); resource_t 89 pengine/allocate.h extern void group_rsc_colocation_lh(resource_t * lh_rsc, resource_t * rh_rsc, resource_t 91 pengine/allocate.h extern void group_rsc_colocation_rh(resource_t * lh_rsc, resource_t * rh_rsc, resource_t 94 pengine/allocate.h extern void group_rsc_location(resource_t * rsc, rsc_to_node_t * constraint); resource_t 95 pengine/allocate.h extern void group_expand(resource_t * rsc, pe_working_set_t * data_set); resource_t 96 pengine/allocate.h extern void group_append_meta(resource_t * rsc, xmlNode * xml); resource_t 98 pengine/allocate.h extern int container_num_allowed_nodes(resource_t * rsc); resource_t 99 pengine/allocate.h extern node_t *container_color(resource_t * rsc, node_t * preferred, pe_working_set_t * data_set); resource_t 100 pengine/allocate.h extern void container_create_actions(resource_t * rsc, pe_working_set_t * data_set); resource_t 101 pengine/allocate.h extern void container_internal_constraints(resource_t * rsc, pe_working_set_t * data_set); resource_t 102 pengine/allocate.h extern void container_rsc_colocation_lh(resource_t * lh_rsc, resource_t * rh_rsc, resource_t 104 pengine/allocate.h extern void container_rsc_colocation_rh(resource_t * lh_rsc, resource_t * rh_rsc, resource_t 106 pengine/allocate.h extern void container_rsc_location(resource_t * rsc, rsc_to_node_t * constraint); resource_t 108 pengine/allocate.h extern void container_expand(resource_t * rsc, pe_working_set_t * data_set); resource_t 109 pengine/allocate.h extern gboolean container_create_probe(resource_t * rsc, node_t * node, action_t * complete, resource_t 111 pengine/allocate.h extern void container_append_meta(resource_t * rsc, xmlNode * xml); resource_t 113 pengine/allocate.h extern int clone_num_allowed_nodes(resource_t * rsc); resource_t 114 pengine/allocate.h extern node_t *clone_color(resource_t * rsc, node_t * preferred, pe_working_set_t * data_set); resource_t 115 pengine/allocate.h extern void clone_create_actions(resource_t * rsc, pe_working_set_t * data_set); resource_t 116 pengine/allocate.h extern void clone_internal_constraints(resource_t * rsc, pe_working_set_t * data_set); resource_t 117 pengine/allocate.h extern void clone_rsc_colocation_lh(resource_t * lh_rsc, resource_t * rh_rsc, resource_t 119 pengine/allocate.h extern void clone_rsc_colocation_rh(resource_t * lh_rsc, resource_t * rh_rsc, resource_t 121 pengine/allocate.h extern void clone_rsc_location(resource_t * rsc, rsc_to_node_t * constraint); resource_t 123 pengine/allocate.h extern void clone_expand(resource_t * rsc, pe_working_set_t * data_set); resource_t 124 pengine/allocate.h extern gboolean clone_create_probe(resource_t * rsc, node_t * node, action_t * complete, resource_t 126 pengine/allocate.h extern void clone_append_meta(resource_t * rsc, xmlNode * xml); resource_t 128 pengine/allocate.h extern gboolean master_unpack(resource_t * rsc, pe_working_set_t * data_set); resource_t 129 pengine/allocate.h extern node_t *master_color(resource_t * rsc, node_t * preferred, pe_working_set_t * data_set); resource_t 130 pengine/allocate.h extern void master_create_actions(resource_t * rsc, pe_working_set_t * data_set); resource_t 131 pengine/allocate.h extern void master_internal_constraints(resource_t * rsc, pe_working_set_t * data_set); resource_t 132 pengine/allocate.h extern void master_rsc_colocation_rh(resource_t * lh_rsc, resource_t * rh_rsc, resource_t 134 pengine/allocate.h extern void master_append_meta(resource_t * rsc, xmlNode * xml); resource_t 140 pengine/allocate.h extern gboolean native_constraint_violated(resource_t * rsc_lh, resource_t * rsc_rh, resource_t 156 pengine/allocate.h void LogActions(resource_t * rsc, pe_working_set_t * data_set, gboolean terminal); resource_t 157 pengine/allocate.h void container_LogActions(resource_t * rsc, pe_working_set_t * data_set, gboolean terminal); resource_t 161 pengine/allocate.h extern void rsc_stonith_ordering(resource_t * rsc, action_t * stonith_op, resource_t 177 pengine/allocate.h void complex_set_cmds(resource_t * rsc); resource_t 179 pengine/allocate.h void master_promotion_constraints(resource_t * rsc, pe_working_set_t * data_set); resource_t 181 pengine/allocate.h resource_t * rsc, GListPtr children, notify_data_t **start_notify, notify_data_t **stop_notify, pe_working_set_t * data_set); resource_t 31 pengine/clone.c static void append_parent_colocation(resource_t * rsc, resource_t * child, gboolean all); resource_t 36 pengine/clone.c const resource_t *resource1 = (const resource_t *)a; resource_t 37 pengine/clone.c const resource_t *resource2 = (const resource_t *)b; resource_t 46 pengine/clone.c parent_node_instance(const resource_t * rsc, node_t * node) resource_t 59 pengine/clone.c did_fail(const resource_t * rsc) resource_t 68 pengine/clone.c resource_t *child_rsc = (resource_t *) gIter->data; resource_t 87 pengine/clone.c const resource_t *resource1 = (const resource_t *)a; resource_t 88 pengine/clone.c const resource_t *resource2 = (const resource_t *)b; resource_t 364 pengine/clone.c can_run_instance(resource_t * rsc, node_t * node, int limit) resource_t 413 pengine/clone.c color_instance(resource_t * rsc, node_t * prefer, gboolean all_coloc, int limit, pe_working_set_t * data_set) resource_t 479 pengine/clone.c append_parent_colocation(resource_t * rsc, resource_t * child, gboolean all) resource_t 505 pengine/clone.c distribute_children(resource_t *rsc, GListPtr children, GListPtr nodes, resource_t 509 pengine/clone.c distribute_children(resource_t *rsc, GListPtr children, GListPtr nodes, resource_t 538 pengine/clone.c resource_t *child = (resource_t *) gIter->data; resource_t 568 pengine/clone.c resource_t *child = (resource_t *) gIter->data; resource_t 597 pengine/clone.c clone_color(resource_t * rsc, node_t * prefer, pe_working_set_t * data_set) resource_t 652 pengine/clone.c clone_update_pseudo_status(resource_t * rsc, gboolean * stopping, gboolean * starting, resource_t 661 pengine/clone.c resource_t *child = (resource_t *) gIter->data; resource_t 714 pengine/clone.c find_rsc_action(resource_t * rsc, const char *key, gboolean active_only, GListPtr * list) resource_t 762 pengine/clone.c child_ordering_constraints(resource_t * rsc, pe_working_set_t * data_set) resource_t 782 pengine/clone.c resource_t *child = (resource_t *) gIter->data; resource_t 811 pengine/clone.c clone_create_actions(resource_t * rsc, pe_working_set_t * data_set) resource_t 822 pengine/clone.c resource_t * rsc, GListPtr children, notify_data_t **start_notify, notify_data_t **stop_notify, pe_working_set_t * data_set) resource_t 838 pengine/clone.c resource_t *child_rsc = (resource_t *) gIter->data; resource_t 883 pengine/clone.c clone_internal_constraints(resource_t * rsc, pe_working_set_t * data_set) resource_t 885 pengine/clone.c resource_t *last_rsc = NULL; resource_t 906 pengine/clone.c resource_t *child_rsc = (resource_t *) gIter->data; resource_t 929 pengine/clone.c assign_node(resource_t * rsc, node_t * node, gboolean force) resource_t 936 pengine/clone.c resource_t *child_rsc = (resource_t *) gIter->data; resource_t 953 pengine/clone.c is_child_compatible(resource_t *child_rsc, node_t * local_node, enum rsc_role_e filter, gboolean current) resource_t 981 pengine/clone.c resource_t * resource_t 982 pengine/clone.c find_compatible_child(resource_t * local_child, resource_t * rsc, enum rsc_role_e filter, gboolean current) resource_t 984 pengine/clone.c resource_t *pair = NULL; resource_t 1014 pengine/clone.c clone_rsc_colocation_lh(resource_t * rsc_lh, resource_t * rsc_rh, rsc_colocation_t * constraint) resource_t 1024 pengine/clone.c clone_rsc_colocation_rh(resource_t * rsc_lh, resource_t * rsc_rh, rsc_colocation_t * constraint) resource_t 1057 pengine/clone.c resource_t *rh_child = NULL; resource_t 1080 pengine/clone.c resource_t *child_rsc = (resource_t *) gIter->data; resource_t 1096 pengine/clone.c resource_t *child_rsc = (resource_t *) gIter->data; resource_t 1106 pengine/clone.c resource_t *child = (resource_t *) action->rsc->children->data; resource_t 1153 pengine/clone.c resource_t *child = (resource_t *) gIter->data; resource_t 1192 pengine/clone.c clone_rsc_location(resource_t * rsc, rsc_to_node_t * constraint) resource_t 1201 pengine/clone.c resource_t *child_rsc = (resource_t *) gIter->data; resource_t 1208 pengine/clone.c clone_expand(resource_t * rsc, pe_working_set_t * data_set) resource_t 1250 pengine/clone.c resource_t *child_rsc = (resource_t *) gIter->data; resource_t 1269 pengine/clone.c rsc_known_on(resource_t * rsc, GListPtr * list) resource_t 1279 pengine/clone.c resource_t *child = (resource_t *) gIter->data; resource_t 1309 pengine/clone.c static resource_t * resource_t 1310 pengine/clone.c find_instance_on(resource_t * rsc, node_t * node) resource_t 1318 pengine/clone.c resource_t *child = (resource_t *) gIter->data; resource_t 1338 pengine/clone.c clone_create_probe(resource_t * rsc, node_t * node, action_t * complete, resource_t 1374 pengine/clone.c resource_t *child = NULL; resource_t 1386 pengine/clone.c resource_t *child_rsc = (resource_t *) gIter->data; resource_t 1407 pengine/clone.c resource_t *child_rsc = (resource_t *) gIter->data; resource_t 1424 pengine/clone.c clone_append_meta(resource_t * rsc, xmlNode * xml) resource_t 1449 pengine/clone.c clone_merge_weights(resource_t * rsc, const char *rhs, GHashTable * nodes, const char *attr, resource_t 55 pengine/constraints.c static rsc_to_node_t *generate_location_rule(resource_t * rsc, xmlNode * rule_xml, resource_t 177 pengine/constraints.c static resource_t * resource_t 183 pengine/constraints.c resource_t *parent = rIter->data; resource_t 184 pengine/constraints.c resource_t *match = parent->fns->find_rsc(parent, id, NULL, resource_t 232 pengine/constraints.c resource_t ** rsc, tag_t ** tag) resource_t 256 pengine/constraints.c resource_t *rsc_then = NULL; resource_t 257 pengine/constraints.c resource_t *rsc_first = NULL; resource_t 395 pengine/constraints.c resource_t *child = rIter->data; resource_t 477 pengine/constraints.c resource_t *rsc = NULL; resource_t 575 pengine/constraints.c resource_t *rsc = NULL; resource_t 648 pengine/constraints.c static gboolean unpack_rsc_location(xmlNode * xml_obj, resource_t * rsc_lh, const char * role, resource_t 658 pengine/constraints.c resource_t *rsc_lh = pe_find_constraint_resource(data_set->resources, value); resource_t 682 pengine/constraints.c resource_t *r = rIter->data; resource_t 729 pengine/constraints.c unpack_rsc_location(xmlNode * xml_obj, resource_t * rsc_lh, const char * role, resource_t 811 pengine/constraints.c resource_t *rsc_lh = NULL; resource_t 886 pengine/constraints.c resource_t *resource = NULL; resource_t 959 pengine/constraints.c get_node_score(const char *rule, const char *score, gboolean raw, node_t * node, resource_t *rsc) resource_t 987 pengine/constraints.c generate_location_rule(resource_t * rsc, xmlNode * rule_xml, const char *discovery, pe_working_set_t * data_set, resource_t 1191 pengine/constraints.c anti_colocation_order(resource_t * first_rsc, int first_role, resource_t 1192 pengine/constraints.c resource_t * then_rsc, int then_role, resource_t 1234 pengine/constraints.c resource_t * rsc_lh, resource_t * rsc_rh, resource_t 1292 pengine/constraints.c new_rsc_order(resource_t * lh_rsc, const char *lh_task, resource_t 1293 pengine/constraints.c resource_t * rh_rsc, const char *rh_task, resource_t 1468 pengine/constraints.c custom_action_order(resource_t * lh_rsc, char *lh_action_task, action_t * lh_action, resource_t 1469 pengine/constraints.c resource_t * rh_rsc, char *rh_action_task, action_t * rh_action, resource_t 1568 pengine/constraints.c unpack_order_set(xmlNode * set, enum pe_order_kind kind, resource_t ** rsc, resource_t 1576 pengine/constraints.c resource_t *last = NULL; resource_t 1577 pengine/constraints.c resource_t *resource = NULL; resource_t 1648 pengine/constraints.c resource = (resource_t *) set_iter->data; resource_t 1667 pengine/constraints.c resource_t *then_rsc = (resource_t *) gIter->data; resource_t 1714 pengine/constraints.c resource = (resource_t *) set_iter->data; resource_t 1748 pengine/constraints.c resource_t *rsc_1 = NULL; resource_t 1749 pengine/constraints.c resource_t *rsc_2 = NULL; resource_t 1924 pengine/constraints.c resource_t *rsc_first = NULL; resource_t 1925 pengine/constraints.c resource_t *rsc_then = NULL; resource_t 2029 pengine/constraints.c resource_t *rsc = NULL; resource_t 2159 pengine/constraints.c resource_t *with = NULL; resource_t 2160 pengine/constraints.c resource_t *resource = NULL; resource_t 2194 pengine/constraints.c resource_t *last = NULL; resource_t 2249 pengine/constraints.c resource_t *rsc_1 = NULL; resource_t 2250 pengine/constraints.c resource_t *rsc_2 = NULL; resource_t 2338 pengine/constraints.c resource_t *rsc_lh = pe_find_constraint_resource(data_set->resources, id_lh); resource_t 2339 pengine/constraints.c resource_t *rsc_rh = pe_find_constraint_resource(data_set->resources, id_rh); resource_t 2402 pengine/constraints.c resource_t *rsc_lh = NULL; resource_t 2403 pengine/constraints.c resource_t *rsc_rh = NULL; resource_t 2566 pengine/constraints.c rsc_ticket_new(const char *id, resource_t * rsc_lh, ticket_t * ticket, resource_t 2657 pengine/constraints.c resource_t *resource = NULL; resource_t 2697 pengine/constraints.c resource_t *rsc_lh = NULL; resource_t 2759 pengine/constraints.c resource_t *rsc_lh = NULL; resource_t 42 pengine/container.c void distribute_children(resource_t *rsc, GListPtr children, GListPtr nodes, resource_t 45 pengine/container.c static GListPtr get_container_list(resource_t *rsc) resource_t 60 pengine/container.c static GListPtr get_containers_or_children(resource_t *rsc) resource_t 78 pengine/container.c migration_threshold_reached(resource_t *rsc, node_t *node, resource_t 117 pengine/container.c container_color(resource_t * rsc, node_t * prefer, pe_working_set_t * data_set) resource_t 202 pengine/container.c container_create_actions(resource_t * rsc, pe_working_set_t * data_set) resource_t 249 pengine/container.c container_internal_constraints(resource_t * rsc, pe_working_set_t * data_set) resource_t 343 pengine/container.c static resource_t * resource_t 344 pengine/container.c find_compatible_tuple_by_node(resource_t * rsc_lh, node_t * candidate, resource_t * rsc, resource_t 369 pengine/container.c static resource_t * resource_t 370 pengine/container.c find_compatible_tuple(resource_t *rsc_lh, resource_t * rsc, enum rsc_role_e filter, resource_t 374 pengine/container.c resource_t *pair = NULL; resource_t 401 pengine/container.c container_rsc_colocation_lh(resource_t * rsc, resource_t * rsc_rh, rsc_colocation_t * constraint) resource_t 410 pengine/container.c int copies_per_node(resource_t * rsc) resource_t 444 pengine/container.c container_rsc_colocation_rh(resource_t * rsc_lh, resource_t * rsc, rsc_colocation_t * constraint) resource_t 459 pengine/container.c resource_t *rh_child = find_compatible_tuple(rsc_lh, rsc, RSC_ROLE_UNKNOWN, FALSE); resource_t 532 pengine/container.c resource_t * resource_t 533 pengine/container.c find_compatible_child_by_node(resource_t * local_child, node_t * local_node, resource_t * rsc, resource_t 549 pengine/container.c resource_t *child_rsc = (resource_t *) gIter->data; resource_t 566 pengine/container.c tuple_for_docker(resource_t *rsc, resource_t *docker, node_t *node) resource_t 600 pengine/container.c resource_t *then_child = (resource_t *) gIter->data; resource_t 601 pengine/container.c resource_t *first_child = find_compatible_child(then_child, first->rsc, RSC_ROLE_UNKNOWN, current); resource_t 713 pengine/container.c resource_t *rsc = NULL; resource_t 762 pengine/container.c resource_t *then_child = (resource_t *) gIter->data; resource_t 791 pengine/container.c container_rsc_location(resource_t * rsc, rsc_to_node_t * constraint) resource_t 818 pengine/container.c container_expand(resource_t * rsc, pe_working_set_t * data_set) resource_t 859 pengine/container.c container_create_probe(resource_t * rsc, node_t * node, action_t * complete, resource_t 935 pengine/container.c container_append_meta(resource_t * rsc, xmlNode * xml) resource_t 940 pengine/container.c container_merge_weights(resource_t * rsc, const char *rhs, GHashTable * nodes, const char *attr, resource_t 947 pengine/container.c resource_t * rsc, pe_working_set_t * data_set, gboolean terminal) resource_t 70 pengine/graph.c convert_non_atomic_uuid(char *old_uuid, resource_t * rsc, gboolean allow_notify, resource_t 151 pengine/graph.c resource_t *rsc = action->rsc; resource_t 459 pengine/graph.c mark_start_blocked(resource_t *rsc, resource_t *reason) resource_t 483 pengine/graph.c resource_t *rsc = NULL; resource_t 504 pengine/graph.c resource_t *child = (resource_t *)gIter->data; resource_t 775 pengine/graph.c rsc_stonith_ordering((resource_t *) r->data, stonith_op, data_set); resource_t 1204 pengine/graph.c resource_t *parent = action->rsc; resource_t 31 pengine/group.c group_color(resource_t * rsc, node_t * prefer, pe_working_set_t * data_set) resource_t 71 pengine/group.c resource_t *child_rsc = (resource_t *) gIter->data; resource_t 89 pengine/group.c void group_update_pseudo_status(resource_t * parent, resource_t * child); resource_t 92 pengine/group.c group_create_actions(resource_t * rsc, pe_working_set_t * data_set) resource_t 101 pengine/group.c resource_t *child_rsc = (resource_t *) gIter->data; resource_t 140 pengine/group.c group_update_pseudo_status(resource_t * parent, resource_t * child) resource_t 175 pengine/group.c group_internal_constraints(resource_t * rsc, pe_working_set_t * data_set) resource_t 178 pengine/group.c resource_t *last_rsc = NULL; resource_t 179 pengine/group.c resource_t *last_active = NULL; resource_t 180 pengine/group.c resource_t *top = uber_parent(rsc); resource_t 190 pengine/group.c resource_t *child_rsc = (resource_t *) gIter->data; resource_t 295 pengine/group.c group_rsc_colocation_lh(resource_t * rsc_lh, resource_t * rsc_rh, rsc_colocation_t * constraint) resource_t 326 pengine/group.c resource_t *child_rsc = (resource_t *) gIter->data; resource_t 333 pengine/group.c group_rsc_colocation_rh(resource_t * rsc_lh, resource_t * rsc_rh, rsc_colocation_t * constraint) resource_t 367 pengine/group.c resource_t *child_rsc = (resource_t *) gIter->data; resource_t 380 pengine/group.c resource_t *child = (resource_t *) gIter->data; resource_t 425 pengine/group.c resource_t *child = (resource_t *) gIter->data; resource_t 437 pengine/group.c group_rsc_location(resource_t * rsc, rsc_to_node_t * constraint) resource_t 452 pengine/group.c resource_t *child_rsc = (resource_t *) gIter->data; resource_t 466 pengine/group.c group_expand(resource_t * rsc, pe_working_set_t * data_set) resource_t 476 pengine/group.c resource_t *child_rsc = (resource_t *) gIter->data; resource_t 483 pengine/group.c group_merge_weights(resource_t * rsc, const char *rhs, GHashTable * nodes, const char *attr, resource_t 515 pengine/group.c group_append_meta(resource_t * rsc, xmlNode * xml) resource_t 33 pengine/master.c resource_t * rsc, resource_t * child, resource_t * last, resource_t 69 pengine/master.c resource_t * rsc, resource_t * child, resource_t * last, resource_t 104 pengine/master.c master_update_pseudo_status(resource_t * rsc, gboolean * demoting, gboolean * promoting) resource_t 111 pengine/master.c resource_t *child = (resource_t *) gIter->data; resource_t 140 pengine/master.c static void apply_master_location(resource_t *child, GListPtr location_constraints, pe_node_t *chosen) resource_t 163 pengine/master.c can_be_master(resource_t * rsc) resource_t 167 pengine/master.c resource_t *parent = uber_parent(rsc); resource_t 181 pengine/master.c resource_t *child = (resource_t *) gIter->data; resource_t 238 pengine/master.c const resource_t *resource1 = (const resource_t *)a; resource_t 239 pengine/master.c const resource_t *resource2 = (const resource_t *)b; resource_t 266 pengine/master.c master_merge_weights(resource_t * rsc, const char *rhs, GHashTable * nodes, const char *attr, resource_t 273 pengine/master.c master_promotion_order(resource_t * rsc, pe_working_set_t * data_set) resource_t 292 pengine/master.c resource_t *child = (resource_t *) gIter->data; resource_t 300 pengine/master.c resource_t *child = (resource_t *) gIter->data; resource_t 375 pengine/master.c resource_t *child = (resource_t *) gIter->data; resource_t 398 pengine/master.c filter_anonymous_instance(resource_t * rsc, node_t * node) resource_t 402 pengine/master.c resource_t *parent = uber_parent(rsc); resource_t 405 pengine/master.c resource_t *child = rIter->data; resource_t 406 pengine/master.c resource_t *active = parent->fns->find_rsc(child, key, node, pe_find_clone|pe_find_current); resource_t 426 pengine/master.c resource_t *child = rIter->data; resource_t 451 pengine/master.c lookup_master_score(resource_t * rsc, node_t *node, const char *name) resource_t 465 pengine/master.c master_score(resource_t * rsc, node_t * node, int not_set_value) resource_t 478 pengine/master.c resource_t *child = (resource_t *) gIter->data; resource_t 553 pengine/master.c apply_master_prefs(resource_t * rsc) resource_t 571 pengine/master.c resource_t *child_rsc = (resource_t *) gIter->data; resource_t 604 pengine/master.c set_role_slave(resource_t * rsc, gboolean current) resource_t 628 pengine/master.c resource_t *child_rsc = (resource_t *) gIter->data; resource_t 635 pengine/master.c set_role_master(resource_t * rsc) resource_t 644 pengine/master.c resource_t *child_rsc = (resource_t *) gIter->data; resource_t 651 pengine/master.c master_color(resource_t * rsc, node_t * prefer, pe_working_set_t * data_set) resource_t 694 pengine/master.c resource_t *child_rsc = (resource_t *) gIter->data; resource_t 764 pengine/master.c resource_t *child_rsc = (resource_t *) gIter->data; resource_t 824 pengine/master.c master_create_actions(resource_t * rsc, pe_working_set_t * data_set) resource_t 831 pengine/master.c resource_t *last_promote_rsc = NULL; resource_t 832 pengine/master.c resource_t *last_demote_rsc = NULL; resource_t 846 pengine/master.c resource_t *child_rsc = (resource_t *) gIter->data; resource_t 903 pengine/master.c resource_t *child_rsc = (resource_t *) gIter->data; resource_t 910 pengine/master.c master_promotion_constraints(resource_t * rsc, pe_working_set_t * data_set) resource_t 936 pengine/master.c master_internal_constraints(resource_t * rsc, pe_working_set_t * data_set) resource_t 939 pengine/master.c resource_t *last_rsc = NULL; resource_t 948 pengine/master.c resource_t *child_rsc = (resource_t *) gIter->data; resource_t 990 pengine/master.c master_rsc_colocation_rh(resource_t * rsc_lh, resource_t * rsc_rh, rsc_colocation_t * constraint) resource_t 1012 pengine/master.c resource_t *child_rsc = (resource_t *) gIter->data; resource_t 1021 pengine/master.c resource_t *child_rsc = (resource_t *) gIter->data; resource_t 1048 pengine/master.c resource_t *rh_child = find_compatible_child(rsc_lh, rsc_rh, constraint->role_rh, FALSE); resource_t 1067 pengine/master.c master_append_meta(resource_t * rsc, xmlNode * xml) resource_t 36 pengine/native.c void native_rsc_colocation_rh_must(resource_t * rsc_lh, gboolean update_lh, resource_t 37 pengine/native.c resource_t * rsc_rh, gboolean update_rh); resource_t 39 pengine/native.c void native_rsc_colocation_rh_mustnot(resource_t * rsc_lh, gboolean update_lh, resource_t 40 pengine/native.c resource_t * rsc_rh, gboolean update_rh); resource_t 42 pengine/native.c void Recurring(resource_t * rsc, action_t * start, node_t * node, pe_working_set_t * data_set); resource_t 43 pengine/native.c void RecurringOp(resource_t * rsc, action_t * start, node_t * node, resource_t 45 pengine/native.c void Recurring_Stopped(resource_t * rsc, action_t * start, node_t * node, resource_t 47 pengine/native.c void RecurringOp_Stopped(resource_t * rsc, action_t * start, node_t * node, resource_t 50 pengine/native.c void ReloadRsc(resource_t * rsc, node_t *node, pe_working_set_t * data_set); resource_t 51 pengine/native.c gboolean DeleteRsc(resource_t * rsc, node_t * node, gboolean optional, pe_working_set_t * data_set); resource_t 52 pengine/native.c gboolean StopRsc(resource_t * rsc, node_t * next, gboolean optional, pe_working_set_t * data_set); resource_t 53 pengine/native.c gboolean StartRsc(resource_t * rsc, node_t * next, gboolean optional, pe_working_set_t * data_set); resource_t 54 pengine/native.c gboolean DemoteRsc(resource_t * rsc, node_t * next, gboolean optional, pe_working_set_t * data_set); resource_t 55 pengine/native.c gboolean PromoteRsc(resource_t * rsc, node_t * next, gboolean optional, resource_t 57 pengine/native.c gboolean RoleError(resource_t * rsc, node_t * next, gboolean optional, pe_working_set_t * data_set); resource_t 58 pengine/native.c gboolean NullOp(resource_t * rsc, node_t * next, gboolean optional, pe_working_set_t * data_set); resource_t 71 pengine/native.c gboolean (*rsc_action_matrix[RSC_ROLE_MAX][RSC_ROLE_MAX])(resource_t*,node_t*,gboolean,pe_working_set_t*) = { resource_t 83 pengine/native.c native_choose_node(resource_t * rsc, node_t * prefer, pe_working_set_t * data_set) resource_t 308 pengine/native.c native_merge_weights(resource_t * rsc, const char *rhs, GHashTable * nodes, const char *attr, resource_t 315 pengine/native.c rsc_merge_weights(resource_t * rsc, const char *rhs, GHashTable * nodes, const char *attr, resource_t 385 pengine/native.c gIter = ((resource_t*)last->data)->rsc_cons_lhs; resource_t 387 pengine/native.c g_list_length(gIter), ((resource_t*)last->data)->id); resource_t 395 pengine/native.c resource_t *other = NULL; resource_t 433 pengine/native.c native_color(resource_t * rsc, node_t * prefer, pe_working_set_t * data_set) resource_t 462 pengine/native.c resource_t *rsc_rh = constraint->rsc_rh; resource_t 588 pengine/native.c is_op_dup(resource_t * rsc, const char *name, const char *interval) resource_t 629 pengine/native.c RecurringOp(resource_t * rsc, action_t * start, node_t * node, resource_t 824 pengine/native.c Recurring(resource_t * rsc, action_t * start, node_t * node, pe_working_set_t * data_set) resource_t 840 pengine/native.c RecurringOp_Stopped(resource_t * rsc, action_t * start, node_t * node, resource_t 1048 pengine/native.c Recurring_Stopped(resource_t * rsc, action_t * start, node_t * node, pe_working_set_t * data_set) resource_t 1064 pengine/native.c handle_migration_actions(resource_t * rsc, node_t *current, node_t *chosen, pe_working_set_t * data_set) resource_t 1141 pengine/native.c native_create_actions(resource_t * rsc, pe_working_set_t * data_set) resource_t 1340 pengine/native.c rsc_avoids_remote_nodes(resource_t *rsc) resource_t 1353 pengine/native.c native_internal_constraints(resource_t * rsc, pe_working_set_t * data_set) resource_t 1357 pengine/native.c resource_t *top = uber_parent(rsc); resource_t 1473 pengine/native.c resource_t *remote_rsc = NULL; resource_t 1546 pengine/native.c native_rsc_colocation_lh(resource_t * rsc_lh, resource_t * rsc_rh, rsc_colocation_t * constraint) resource_t 1564 pengine/native.c filter_colocation_constraint(resource_t * rsc_lh, resource_t * rsc_rh, resource_t 1643 pengine/native.c influence_priority(resource_t * rsc_lh, resource_t * rsc_rh, rsc_colocation_t * constraint) resource_t 1680 pengine/native.c colocation_match(resource_t * rsc_lh, resource_t * rsc_rh, rsc_colocation_t * constraint) resource_t 1748 pengine/native.c native_rsc_colocation_rh(resource_t * rsc_lh, resource_t * rsc_rh, rsc_colocation_t * constraint) resource_t 1776 pengine/native.c filter_rsc_ticket(resource_t * rsc_lh, rsc_ticket_t * rsc_ticket) resource_t 1788 pengine/native.c rsc_ticket_constraint(resource_t * rsc_lh, rsc_ticket_t * rsc_ticket, pe_working_set_t * data_set) resource_t 1810 pengine/native.c resource_t *child_rsc = (resource_t *) gIter->data; resource_t 1895 pengine/native.c resource_t *then_rsc = then->rsc; resource_t 2069 pengine/native.c native_rsc_location(resource_t * rsc, rsc_to_node_t * constraint) resource_t 2138 pengine/native.c native_expand(resource_t * rsc, pe_working_set_t * data_set) resource_t 2153 pengine/native.c resource_t *child_rsc = (resource_t *) gIter->data; resource_t 2186 pengine/native.c LogAction(const char *change, resource_t *rsc, pe_node_t *origin, pe_node_t *destination, pe_action_t *action, pe_action_t *source, gboolean terminal) resource_t 2286 pengine/native.c LogActions(resource_t * rsc, pe_working_set_t * data_set, gboolean terminal) resource_t 2309 pengine/native.c resource_t *child_rsc = (resource_t *) gIter->data; resource_t 2488 pengine/native.c StopRsc(resource_t * rsc, node_t * next, gboolean optional, pe_working_set_t * data_set) resource_t 2540 pengine/native.c StartRsc(resource_t * rsc, node_t * next, gboolean optional, pe_working_set_t * data_set) resource_t 2570 pengine/native.c PromoteRsc(resource_t * rsc, node_t * next, gboolean optional, pe_working_set_t * data_set) resource_t 2616 pengine/native.c DemoteRsc(resource_t * rsc, node_t * next, gboolean optional, pe_working_set_t * data_set) resource_t 2634 pengine/native.c RoleError(resource_t * rsc, node_t * next, gboolean optional, pe_working_set_t * data_set) resource_t 2643 pengine/native.c NullOp(resource_t * rsc, node_t * next, gboolean optional, pe_working_set_t * data_set) resource_t 2651 pengine/native.c DeleteRsc(resource_t * rsc, node_t * node, gboolean optional, pe_working_set_t * data_set) resource_t 2752 pengine/native.c probe_anon_group_member(resource_t *rsc, node_t *node, resource_t 2755 pengine/native.c resource_t *top = uber_parent(rsc); resource_t 2777 pengine/native.c resource_t *peer = pe_find_resource(top->children, clone_id); resource_t 2798 pengine/native.c native_create_probe(resource_t * rsc, node_t * node, action_t * complete, resource_t 2806 pengine/native.c resource_t *top = uber_parent(rsc); resource_t 2848 pengine/native.c resource_t *child_rsc = (resource_t *) gIter->data; resource_t 2916 pengine/native.c resource_t *remote = node->details->remote_rsc->container; resource_t 3054 pengine/native.c native_start_constraints(resource_t * rsc, action_t * stonith_op, pe_working_set_t * data_set) resource_t 3099 pengine/native.c native_stop_constraints(resource_t * rsc, action_t * stonith_op, pe_working_set_t * data_set) resource_t 3106 pengine/native.c resource_t *top = uber_parent(rsc); resource_t 3248 pengine/native.c rsc_stonith_ordering(resource_t * rsc, action_t * stonith_op, pe_working_set_t * data_set) resource_t 3254 pengine/native.c resource_t *child_rsc = (resource_t *) gIter->data; resource_t 3276 pengine/native.c ReloadRsc(resource_t * rsc, node_t *node, pe_working_set_t * data_set) resource_t 3283 pengine/native.c resource_t *child_rsc = (resource_t *) gIter->data; resource_t 3323 pengine/native.c native_append_meta(resource_t * rsc, xmlNode * xml) resource_t 3326 pengine/native.c resource_t *iso_parent, *last_parent, *parent; resource_t 26 pengine/notif.c resource_t *rsc; resource_t 237 pengine/notif.c pe_notify(resource_t * rsc, node_t * node, action_t * op, action_t * confirm, resource_t 282 pengine/notif.c pe_post_notify(resource_t * rsc, node_t * node, notify_data_t * n_data, pe_working_set_t * data_set) resource_t 319 pengine/notif.c create_notification_boundaries(resource_t * rsc, const char *action, action_t * start, resource_t 436 pengine/notif.c collect_notification_data(resource_t * rsc, gboolean state, gboolean activity, resource_t 448 pengine/notif.c resource_t *child = (resource_t *) gIter->data; resource_t 530 pengine/notif.c expand_notification_data(resource_t *rsc, notify_data_t * n_data, pe_working_set_t * data_set) resource_t 640 pengine/notif.c create_notifications(resource_t * rsc, notify_data_t * n_data, pe_working_set_t * data_set) resource_t 650 pengine/notif.c resource_t *child = (resource_t *) gIter->data; resource_t 746 pengine/notif.c create_secondary_notification(pe_action_t *action, resource_t *rsc, resource_t 23 pengine/notif.h notify_data_t * create_notification_boundaries(resource_t *rsc, resource_t 28 pengine/notif.h void collect_notification_data(resource_t *rsc, gboolean state, resource_t 31 pengine/notif.h gboolean expand_notification_data(resource_t *rsc, notify_data_t *n_data, resource_t 34 pengine/notif.h void create_notifications(resource_t *rsc, notify_data_t *n_data, resource_t 39 pengine/notif.h void create_secondary_notification(pe_action_t *action, resource_t *rsc, resource_t 251 pengine/pengine.c resource_t *rsc = (resource_t *) gIter->data; resource_t 53 pengine/pengine.h resource_t *rsc_lh; resource_t 54 pengine/pengine.h resource_t *rsc_rh; resource_t 71 pengine/pengine.h resource_t *rsc_lh; resource_t 80 pengine/pengine.h resource_t *rsc_lh; resource_t 92 pengine/pengine.h resource_t *lh_rsc; resource_t 97 pengine/pengine.h resource_t *rh_rsc; resource_t 128 pengine/pengine.h extern int custom_action_order(resource_t * lh_rsc, char *lh_task, action_t * lh_action, resource_t 129 pengine/pengine.h resource_t * rh_rsc, char *rh_task, action_t * rh_action, resource_t 132 pengine/pengine.h extern int new_rsc_order(resource_t * lh_rsc, const char *lh_task, resource_t 133 pengine/pengine.h resource_t * rh_rsc, const char *rh_task, resource_t 24 pengine/utilization.c static GListPtr find_colocated_rscs(GListPtr colocated_rscs, resource_t * rsc, resource_t 25 pengine/utilization.c resource_t * orig_rsc); resource_t 27 pengine/utilization.c static GListPtr group_find_colocated_rscs(GListPtr colocated_rscs, resource_t * rsc, resource_t 28 pengine/utilization.c resource_t * orig_rsc); resource_t 30 pengine/utilization.c static void group_add_unallocated_utilization(GHashTable * all_utilization, resource_t * rsc, resource_t 177 pengine/utilization.c native_add_unallocated_utilization(GHashTable * all_utilization, resource_t * rsc) resource_t 187 pengine/utilization.c add_unallocated_utilization(GHashTable * all_utilization, resource_t * rsc, resource_t 188 pengine/utilization.c GListPtr all_rscs, resource_t * orig_rsc) resource_t 211 pengine/utilization.c resource_t *child = (resource_t *) gIter1->data; resource_t 221 pengine/utilization.c resource_t *grandchild = (resource_t *) gIter2->data; resource_t 235 pengine/utilization.c resource_t *first_child = (resource_t *) rsc->children->data; resource_t 245 pengine/utilization.c sum_unallocated_utilization(resource_t * rsc, GListPtr colocated_rscs) resource_t 257 pengine/utilization.c resource_t *listed_rsc = (resource_t *) gIter->data; resource_t 273 pengine/utilization.c find_colocated_rscs(GListPtr colocated_rscs, resource_t * rsc, resource_t * orig_rsc) resource_t 289 pengine/utilization.c resource_t *rsc_rh = constraint->rsc_rh; resource_t 311 pengine/utilization.c resource_t *rsc_lh = constraint->rsc_lh; resource_t 340 pengine/utilization.c process_utilization(resource_t * rsc, node_t ** prefer, pe_working_set_t * data_set) resource_t 427 pengine/utilization.c group_find_colocated_rscs(GListPtr colocated_rscs, resource_t * rsc, resource_t * orig_rsc) resource_t 436 pengine/utilization.c resource_t *child_rsc = (resource_t *) gIter->data; resource_t 453 pengine/utilization.c group_add_unallocated_utilization(GHashTable * all_utilization, resource_t * rsc, resource_t 463 pengine/utilization.c resource_t *child_rsc = (resource_t *) gIter->data; resource_t 63 pengine/utils.c rsc2node_new(const char *id, resource_t * rsc, resource_t 229 pengine/utils.c native_deallocate(resource_t * rsc) resource_t 247 pengine/utils.c native_assign_node(resource_t * rsc, GListPtr nodes, node_t * chosen, gboolean force) resource_t 433 pengine/utils.c create_pseudo_resource_op(resource_t * rsc, const char *task, bool optional, bool runnable, pe_working_set_t *data_set) resource_t 26 pengine/utils.h extern rsc_to_node_t *rsc2node_new(const char *id, resource_t * rsc, int weight, resource_t 34 pengine/utils.h resource_t * rsc_lh, resource_t * rsc_rh, resource_t 38 pengine/utils.h extern gboolean rsc_ticket_new(const char *id, resource_t * rsc_lh, ticket_t * ticket, resource_t 45 pengine/utils.h extern gboolean native_assign_node(resource_t * rsc, GListPtr candidates, node_t * chosen, resource_t 47 pengine/utils.h void native_deallocate(resource_t * rsc); resource_t 54 pengine/utils.h resource_t *find_compatible_child(resource_t * local_child, resource_t * rsc, enum rsc_role_e filter, gboolean current); resource_t 55 pengine/utils.h resource_t *find_compatible_child_by_node(resource_t * local_child, node_t * local_node, resource_t * rsc, resource_t 57 pengine/utils.h gboolean is_child_compatible(resource_t *child_rsc, node_t * local_node, enum rsc_role_e filter, gboolean current); resource_t 58 pengine/utils.h bool assign_node(resource_t * rsc, node_t * node, gboolean force); resource_t 61 pengine/utils.h int copies_per_node(resource_t * rsc); resource_t 70 pengine/utils.h filter_colocation_constraint(resource_t * rsc_lh, resource_t * rsc_rh, resource_t 77 pengine/utils.h extern void process_utilization(resource_t * rsc, node_t ** prefer, pe_working_set_t * data_set); resource_t 78 pengine/utils.h pe_action_t *create_pseudo_resource_op(resource_t * rsc, const char *task, bool optional, bool runnable, pe_working_set_t *data_set); resource_t 855 tools/crm_mon.c count_resources(pe_working_set_t * data_set, resource_t * rsc) resource_t 1196 tools/crm_mon.c resource_t *rsc = (resource_t *) rsc_iter->data; resource_t 1247 tools/crm_mon.c resource_t *rsc, const char *rsc_id, gboolean all) resource_t 1517 tools/crm_mon.c resource_t *rsc = pe_find_resource(data_set->resources, rsc_id); resource_t 1625 tools/crm_mon.c resource_t *rsc = (resource_t *) gIter->data; resource_t 2108 tools/crm_mon.c crm_mon_get_parameters(resource_t *rsc, pe_working_set_t * data_set) resource_t 3020 tools/crm_mon.c resource_t *rsc = (resource_t *) gIter2->data; resource_t 3147 tools/crm_mon.c resource_t *rsc = (resource_t *) lpc2->data; resource_t 3269 tools/crm_mon.c resource_t *rsc = (resource_t *) lpc2->data; resource_t 438 tools/crm_resource.c resource_t *rsc = NULL; resource_t 887 tools/crm_resource.c rsc = (resource_t *) lpc->data; resource_t 922 tools/crm_resource.c resource_t *r = (resource_t *) lpc->data; resource_t 933 tools/crm_resource.c resource_t *r = (resource_t *) lpc->data; resource_t 945 tools/crm_resource.c rsc = (resource_t *) lpc->data; resource_t 1029 tools/crm_resource.c resource_t *child = (resource_t *)iter->data; resource_t 56 tools/crm_resource.h void cli_resource_print_cts(resource_t * rsc); resource_t 57 tools/crm_resource.h void cli_resource_print_raw(resource_t * rsc); resource_t 59 tools/crm_resource.h void cli_resource_print_location(resource_t * rsc, const char *prefix); resource_t 60 tools/crm_resource.h void cli_resource_print_colocation(resource_t * rsc, bool dependents, bool recursive, int offset); resource_t 62 tools/crm_resource.h int cli_resource_print(resource_t *rsc, pe_working_set_t *data_set, resource_t 65 tools/crm_resource.h int cli_resource_print_attribute(resource_t *rsc, const char *attr, resource_t 67 tools/crm_resource.h int cli_resource_print_property(resource_t *rsc, const char *attr, resource_t 72 tools/crm_resource.h void cli_resource_check(cib_t * cib, resource_t *rsc); resource_t 74 tools/crm_resource.h int cli_resource_search(resource_t *rsc, const char *requested_name, resource_t 77 tools/crm_resource.h resource_t *rsc, const char *operation, resource_t 79 tools/crm_resource.h int cli_resource_restart(resource_t * rsc, const char *host, int timeout_ms, cib_t * cib); resource_t 80 tools/crm_resource.h int cli_resource_move(resource_t *rsc, const char *rsc_id, resource_t 83 tools/crm_resource.h int cli_resource_execute(resource_t *rsc, const char *requested_name, resource_t 88 tools/crm_resource.h int cli_resource_update_attribute(resource_t *rsc, const char *requested_name, resource_t 93 tools/crm_resource.h int cli_resource_delete_attribute(resource_t *rsc, const char *requested_name, resource_t 100 tools/crm_resource.h void cli_resource_why(cib_t *cib_conn, GListPtr resources, resource_t *rsc, resource_t 63 tools/crm_resource_print.c cli_resource_print_cts(resource_t * rsc) resource_t 106 tools/crm_resource_print.c resource_t *child = (resource_t *) lpc->data; resource_t 114 tools/crm_resource_print.c cli_resource_print_raw(resource_t * rsc) resource_t 124 tools/crm_resource_print.c resource_t *child = (resource_t *) lpc->data; resource_t 143 tools/crm_resource_print.c resource_t *rsc = (resource_t *) lpc->data; resource_t 165 tools/crm_resource_print.c resource_t *rsc = NULL; resource_t 207 tools/crm_resource_print.c cli_resource_print_location(resource_t * rsc, const char *prefix) resource_t 234 tools/crm_resource_print.c cli_resource_print_colocation(resource_t * rsc, bool dependents, bool recursive, int offset) resource_t 259 tools/crm_resource_print.c resource_t *peer = cons->rsc_rh; resource_t 297 tools/crm_resource_print.c cli_resource_print(resource_t *rsc, pe_working_set_t *data_set, bool expanded) resource_t 315 tools/crm_resource_print.c cli_resource_print_attribute(resource_t *rsc, const char *attr, pe_working_set_t * data_set) resource_t 361 tools/crm_resource_print.c cli_resource_print_property(resource_t *rsc, const char *attr, pe_working_set_t * data_set) resource_t 29 tools/crm_resource_runtime.c do_find_resource(const char *rsc, resource_t * the_rsc, pe_working_set_t * data_set) resource_t 59 tools/crm_resource_runtime.c cli_resource_search(resource_t *rsc, const char *requested_name, resource_t 63 tools/crm_resource_runtime.c resource_t *parent = uber_parent(rsc); resource_t 167 tools/crm_resource_runtime.c static resource_t * resource_t 168 tools/crm_resource_runtime.c find_matching_attr_resource(resource_t * rsc, const char * rsc_id, const char * attr_set, const char * attr_id, resource_t 206 tools/crm_resource_runtime.c resource_t *child = rsc->children->data; resource_t 228 tools/crm_resource_runtime.c cli_resource_update_attribute(resource_t *rsc, const char *requested_name, resource_t 360 tools/crm_resource_runtime.c resource_t *r = (resource_t *) lpc->data; resource_t 370 tools/crm_resource_runtime.c resource_t *peer = cons->rsc_lh; resource_t 387 tools/crm_resource_runtime.c cli_resource_delete_attribute(resource_t *rsc, const char *requested_name, resource_t 459 tools/crm_resource_runtime.c resource_t *rsc = pe_find_resource(data_set->resources, rsc_id); resource_t 554 tools/crm_resource_runtime.c rsc_fail_name(resource_t *rsc) resource_t 563 tools/crm_resource_runtime.c resource_t *rsc, const char *operation, resource_t 578 tools/crm_resource_runtime.c resource_t *child = (resource_t *) lpc->data; resource_t 685 tools/crm_resource_runtime.c cli_resource_check(cib_t * cib_conn, resource_t *rsc) resource_t 690 tools/crm_resource_runtime.c resource_t *parent = uber_parent(rsc); resource_t 732 tools/crm_resource_runtime.c generate_resource_params(resource_t * rsc, pe_working_set_t * data_set) resource_t 778 tools/crm_resource_runtime.c static bool resource_is_running_on(resource_t *rsc, const char *host) resource_t 832 tools/crm_resource_runtime.c resource_t *rsc = (resource_t *) rIter->data; resource_t 1006 tools/crm_resource_runtime.c max_delay_for_resource(pe_working_set_t * data_set, resource_t *rsc) resource_t 1015 tools/crm_resource_runtime.c resource_t *child = (resource_t *)iter->data; resource_t 1046 tools/crm_resource_runtime.c resource_t *rsc = pe_find_resource(data_set->resources, (const char *)item->data); resource_t 1078 tools/crm_resource_runtime.c cli_resource_restart(resource_t * rsc, const char *host, int timeout_ms, cib_t * cib) resource_t 1459 tools/crm_resource_runtime.c cli_resource_execute(resource_t *rsc, const char *requested_name, resource_t 1617 tools/crm_resource_runtime.c cli_resource_move(resource_t *rsc, const char *rsc_id, const char *host_name, resource_t 1627 tools/crm_resource_runtime.c resource_t *p = uber_parent(rsc); resource_t 1644 tools/crm_resource_runtime.c resource_t *child = (resource_t *)iter->data; resource_t 1729 tools/crm_resource_runtime.c resource_t *rsc = (resource_t *) lpc->data; resource_t 1747 tools/crm_resource_runtime.c resource_t *rsc, const char *host_uname) resource_t 1767 tools/crm_resource_runtime.c resource_t *rsc = (resource_t *) lpc->data; resource_t 1773 tools/crm_resource_runtime.c resource_t *rsc = (resource_t *) lpc->data; resource_t 1786 tools/crm_resource_runtime.c resource_t *rsc) resource_t 1796 tools/crm_resource_runtime.c void cli_resource_why(cib_t *cib_conn, GListPtr resources, resource_t *rsc, resource_t 196 tools/crm_simulate.c resource_t *rsc = (resource_t *) gIter->data; resource_t 587 tools/crm_simulate.c count_resources(pe_working_set_t * data_set, resource_t * rsc) resource_t 897 tools/crm_simulate.c resource_t *rsc = (resource_t *) gIter->data; resource_t 558 tools/fake_transition.c resource_t *rsc = NULL;