n_data            259 lib/pengine/pe_notif.c add_notify_data_to_action_meta(const notify_data_t *n_data, pe_action_t *action)
n_data            261 lib/pengine/pe_notif.c     for (const GSList *item = n_data->keys; item; item = item->next) {
n_data            310 lib/pengine/pe_notif.c                   pe_action_t *notify_done, const notify_data_t *n_data)
n_data            350 lib/pengine/pe_notif.c     add_notify_data_to_action_meta(n_data, notify_action);
n_data            368 lib/pengine/pe_notif.c                        notify_data_t *n_data)
n_data            372 lib/pengine/pe_notif.c     CRM_ASSERT(n_data != NULL);
n_data            375 lib/pengine/pe_notif.c     notify = new_notify_action(rsc, node, n_data->post, n_data->post_done,
n_data            376 lib/pengine/pe_notif.c                                n_data);
n_data            382 lib/pengine/pe_notif.c     if (n_data->post_done == NULL) {
n_data            395 lib/pengine/pe_notif.c         order_actions(n_data->post_done, mon, pe_order_optional);
n_data            434 lib/pengine/pe_notif.c     notify_data_t *n_data = NULL;
n_data            440 lib/pengine/pe_notif.c     n_data = calloc(1, sizeof(notify_data_t));
n_data            441 lib/pengine/pe_notif.c     CRM_ASSERT(n_data != NULL);
n_data            443 lib/pengine/pe_notif.c     n_data->action = task;
n_data            448 lib/pengine/pe_notif.c         n_data->pre = new_notify_pseudo_action(rsc, action, RSC_NOTIFY, "pre");
n_data            449 lib/pengine/pe_notif.c         pe__set_action_flags(n_data->pre, pe_action_runnable);
n_data            450 lib/pengine/pe_notif.c         add_hash_param(n_data->pre->meta, "notify_type", "pre");
n_data            451 lib/pengine/pe_notif.c         add_hash_param(n_data->pre->meta, "notify_operation", n_data->action);
n_data            454 lib/pengine/pe_notif.c         n_data->pre_done = new_notify_pseudo_action(rsc, action, RSC_NOTIFIED,
n_data            456 lib/pengine/pe_notif.c         pe__set_action_flags(n_data->pre_done, pe_action_runnable);
n_data            457 lib/pengine/pe_notif.c         add_hash_param(n_data->pre_done->meta, "notify_type", "pre");
n_data            458 lib/pengine/pe_notif.c         add_hash_param(n_data->pre_done->meta,
n_data            459 lib/pengine/pe_notif.c                        "notify_operation", n_data->action);
n_data            462 lib/pengine/pe_notif.c         order_actions(n_data->pre, n_data->pre_done, pe_order_optional);
n_data            463 lib/pengine/pe_notif.c         order_actions(n_data->pre_done, action, pe_order_optional);
n_data            469 lib/pengine/pe_notif.c         n_data->post = new_notify_pseudo_action(rsc, complete, RSC_NOTIFY,
n_data            471 lib/pengine/pe_notif.c         n_data->post->priority = INFINITY;
n_data            473 lib/pengine/pe_notif.c             pe__set_action_flags(n_data->post, pe_action_runnable);
n_data            475 lib/pengine/pe_notif.c             pe__clear_action_flags(n_data->post, pe_action_runnable);
n_data            477 lib/pengine/pe_notif.c         add_hash_param(n_data->post->meta, "notify_type", "post");
n_data            478 lib/pengine/pe_notif.c         add_hash_param(n_data->post->meta, "notify_operation", n_data->action);
n_data            481 lib/pengine/pe_notif.c         n_data->post_done = new_notify_pseudo_action(rsc, complete,
n_data            484 lib/pengine/pe_notif.c         n_data->post_done->priority = INFINITY;
n_data            486 lib/pengine/pe_notif.c             pe__set_action_flags(n_data->post_done, pe_action_runnable);
n_data            488 lib/pengine/pe_notif.c             pe__clear_action_flags(n_data->post_done, pe_action_runnable);
n_data            490 lib/pengine/pe_notif.c         add_hash_param(n_data->post_done->meta, "notify_type", "post");
n_data            491 lib/pengine/pe_notif.c         add_hash_param(n_data->post_done->meta,
n_data            492 lib/pengine/pe_notif.c                        "notify_operation", n_data->action);
n_data            495 lib/pengine/pe_notif.c         order_actions(complete, n_data->post, pe_order_implies_then);
n_data            496 lib/pengine/pe_notif.c         order_actions(n_data->post, n_data->post_done, pe_order_implies_then);
n_data            501 lib/pengine/pe_notif.c         order_actions(n_data->pre_done, n_data->post, pe_order_optional);
n_data            503 lib/pengine/pe_notif.c     return n_data;
n_data            537 lib/pengine/pe_notif.c                       notify_data_t *n_data)
n_data            543 lib/pengine/pe_notif.c     if (n_data == NULL) {
n_data            547 lib/pengine/pe_notif.c     if (n_data->allowed_nodes == NULL) {
n_data            548 lib/pengine/pe_notif.c         n_data->allowed_nodes = rsc->allowed_nodes;
n_data            556 lib/pengine/pe_notif.c             collect_resource_data(child, activity, n_data);
n_data            571 lib/pengine/pe_notif.c             n_data->inactive = g_list_prepend(n_data->inactive, entry);
n_data            575 lib/pengine/pe_notif.c             n_data->active = g_list_prepend(n_data->active, entry);
n_data            579 lib/pengine/pe_notif.c             n_data->unpromoted = g_list_prepend(n_data->unpromoted, entry);
n_data            580 lib/pengine/pe_notif.c             n_data->active = g_list_prepend(n_data->active,
n_data            585 lib/pengine/pe_notif.c             n_data->promoted = g_list_prepend(n_data->promoted, entry);
n_data            586 lib/pengine/pe_notif.c             n_data->active = g_list_prepend(n_data->active,
n_data            619 lib/pengine/pe_notif.c                     n_data->start = g_list_prepend(n_data->start, entry);
n_data            622 lib/pengine/pe_notif.c                     n_data->stop = g_list_prepend(n_data->stop, entry);
n_data            625 lib/pengine/pe_notif.c                     n_data->promote = g_list_prepend(n_data->promote, entry);
n_data            628 lib/pengine/pe_notif.c                     n_data->demote = g_list_prepend(n_data->demote, entry);
n_data            639 lib/pengine/pe_notif.c #define add_notify_env(n_data, key, value) do {                         \
n_data            640 lib/pengine/pe_notif.c          n_data->keys = pcmk_prepend_nvpair(n_data->keys, key, value);  \
n_data            644 lib/pengine/pe_notif.c #define add_notify_env_gs(n_data, key, value) do {                      \
n_data            645 lib/pengine/pe_notif.c          n_data->keys = pcmk_prepend_nvpair(n_data->keys, key,          \
n_data            650 lib/pengine/pe_notif.c #define add_notify_env_free_gs(n_data, key, value) do {                 \
n_data            651 lib/pengine/pe_notif.c          n_data->keys = pcmk_prepend_nvpair(n_data->keys, key,          \
n_data            664 lib/pengine/pe_notif.c add_notif_keys(const pe_resource_t *rsc, notify_data_t *n_data)
n_data            673 lib/pengine/pe_notif.c     n_data->stop = notify_entries_to_strings(n_data->stop,
n_data            676 lib/pengine/pe_notif.c         && pcmk__str_eq(n_data->action, RSC_STOP, pcmk__str_none)) {
n_data            679 lib/pengine/pe_notif.c     add_notify_env_free_gs(n_data, "notify_stop_resource", rsc_list);
n_data            680 lib/pengine/pe_notif.c     add_notify_env_free_gs(n_data, "notify_stop_uname", node_list);
n_data            682 lib/pengine/pe_notif.c     if ((n_data->start != NULL)
n_data            683 lib/pengine/pe_notif.c         && pcmk__str_eq(n_data->action, RSC_START, pcmk__str_none)) {
n_data            686 lib/pengine/pe_notif.c     n_data->start = notify_entries_to_strings(n_data->start,
n_data            688 lib/pengine/pe_notif.c     add_notify_env_free_gs(n_data, "notify_start_resource", rsc_list);
n_data            689 lib/pengine/pe_notif.c     add_notify_env_free_gs(n_data, "notify_start_uname", node_list);
n_data            691 lib/pengine/pe_notif.c     if ((n_data->demote != NULL)
n_data            692 lib/pengine/pe_notif.c         && pcmk__str_eq(n_data->action, RSC_DEMOTE, pcmk__str_none)) {
n_data            695 lib/pengine/pe_notif.c     n_data->demote = notify_entries_to_strings(n_data->demote,
n_data            697 lib/pengine/pe_notif.c     add_notify_env_free_gs(n_data, "notify_demote_resource", rsc_list);
n_data            698 lib/pengine/pe_notif.c     add_notify_env_free_gs(n_data, "notify_demote_uname", node_list);
n_data            700 lib/pengine/pe_notif.c     if ((n_data->promote != NULL)
n_data            701 lib/pengine/pe_notif.c         && pcmk__str_eq(n_data->action, RSC_PROMOTE, pcmk__str_none)) {
n_data            704 lib/pengine/pe_notif.c     n_data->promote = notify_entries_to_strings(n_data->promote,
n_data            706 lib/pengine/pe_notif.c     add_notify_env_free_gs(n_data, "notify_promote_resource", rsc_list);
n_data            707 lib/pengine/pe_notif.c     add_notify_env_free_gs(n_data, "notify_promote_uname", node_list);
n_data            709 lib/pengine/pe_notif.c     n_data->active = notify_entries_to_strings(n_data->active,
n_data            711 lib/pengine/pe_notif.c     add_notify_env_free_gs(n_data, "notify_active_resource", rsc_list);
n_data            712 lib/pengine/pe_notif.c     add_notify_env_free_gs(n_data, "notify_active_uname", node_list);
n_data            714 lib/pengine/pe_notif.c     n_data->unpromoted = notify_entries_to_strings(n_data->unpromoted,
n_data            716 lib/pengine/pe_notif.c     add_notify_env_gs(n_data, "notify_unpromoted_resource", rsc_list);
n_data            717 lib/pengine/pe_notif.c     add_notify_env_gs(n_data, "notify_unpromoted_uname", node_list);
n_data            720 lib/pengine/pe_notif.c     add_notify_env_free_gs(n_data, "notify_slave_resource", rsc_list);
n_data            721 lib/pengine/pe_notif.c     add_notify_env_free_gs(n_data, "notify_slave_uname", node_list);
n_data            723 lib/pengine/pe_notif.c     n_data->promoted = notify_entries_to_strings(n_data->promoted,
n_data            725 lib/pengine/pe_notif.c     add_notify_env_gs(n_data, "notify_promoted_resource", rsc_list);
n_data            726 lib/pengine/pe_notif.c     add_notify_env_gs(n_data, "notify_promoted_uname", node_list);
n_data            729 lib/pengine/pe_notif.c     add_notify_env_free_gs(n_data, "notify_master_resource", rsc_list);
n_data            730 lib/pengine/pe_notif.c     add_notify_env_free_gs(n_data, "notify_master_uname", node_list);
n_data            732 lib/pengine/pe_notif.c     n_data->inactive = notify_entries_to_strings(n_data->inactive,
n_data            734 lib/pengine/pe_notif.c     add_notify_env_free_gs(n_data, "notify_inactive_resource", rsc_list);
n_data            736 lib/pengine/pe_notif.c     nodes = g_hash_table_get_values(n_data->allowed_nodes);
n_data            745 lib/pengine/pe_notif.c     add_notify_env_free_gs(n_data, "notify_available_uname", node_list);
n_data            751 lib/pengine/pe_notif.c         add_notify_env_free_gs(n_data, "notify_all_hosts", metal_list);
n_data            755 lib/pengine/pe_notif.c     add_notify_env_free_gs(n_data, "notify_all_uname", node_list);
n_data            757 lib/pengine/pe_notif.c     if (required && (n_data->pre != NULL)) {
n_data            758 lib/pengine/pe_notif.c         pe__clear_action_flags(n_data->pre, pe_action_optional);
n_data            759 lib/pengine/pe_notif.c         pe__clear_action_flags(n_data->pre_done, pe_action_optional);
n_data            762 lib/pengine/pe_notif.c     if (required && (n_data->post != NULL)) {
n_data            763 lib/pengine/pe_notif.c         pe__clear_action_flags(n_data->post, pe_action_optional);
n_data            764 lib/pengine/pe_notif.c         pe__clear_action_flags(n_data->post_done, pe_action_optional);
n_data            798 lib/pengine/pe_notif.c create_notify_actions(pe_resource_t *rsc, notify_data_t *n_data)
n_data            803 lib/pengine/pe_notif.c     enum action_tasks task = text2task(n_data->action);
n_data            807 lib/pengine/pe_notif.c         g_list_foreach(rsc->children, (GFunc) create_notify_actions, n_data);
n_data            821 lib/pengine/pe_notif.c                     add_notify_data_to_action_meta(n_data, op);
n_data            832 lib/pengine/pe_notif.c             if (n_data->start == NULL) {
n_data            834 lib/pengine/pe_notif.c                              rsc->id, n_data->action);
n_data            840 lib/pengine/pe_notif.c             if (n_data->promote == NULL) {
n_data            842 lib/pengine/pe_notif.c                              rsc->id, n_data->action);
n_data            848 lib/pengine/pe_notif.c             if (n_data->demote == NULL) {
n_data            850 lib/pengine/pe_notif.c                              rsc->id, n_data->action);
n_data            861 lib/pengine/pe_notif.c                  rsc->id, n_data->action);
n_data            881 lib/pengine/pe_notif.c             new_notify_action(rsc, current_node, n_data->pre,
n_data            882 lib/pengine/pe_notif.c                               n_data->pre_done, n_data);
n_data            886 lib/pengine/pe_notif.c                 new_post_notify_action(rsc, current_node, n_data);
n_data            917 lib/pengine/pe_notif.c             new_notify_action(rsc, rsc->allocated_to, n_data->pre,
n_data            918 lib/pengine/pe_notif.c                               n_data->pre_done, n_data);
n_data            920 lib/pengine/pe_notif.c         new_post_notify_action(rsc, rsc->allocated_to, n_data);
n_data            932 lib/pengine/pe_notif.c pe__create_action_notifications(pe_resource_t *rsc, notify_data_t *n_data)
n_data            934 lib/pengine/pe_notif.c     if ((rsc == NULL) || (n_data == NULL)) {
n_data            937 lib/pengine/pe_notif.c     collect_resource_data(rsc, true, n_data);
n_data            938 lib/pengine/pe_notif.c     add_notif_keys(rsc, n_data);
n_data            939 lib/pengine/pe_notif.c     create_notify_actions(rsc, n_data);
n_data            949 lib/pengine/pe_notif.c pe__free_action_notification_data(notify_data_t *n_data)
n_data            951 lib/pengine/pe_notif.c     if (n_data == NULL) {
n_data            954 lib/pengine/pe_notif.c     g_list_free_full(n_data->stop, free);
n_data            955 lib/pengine/pe_notif.c     g_list_free_full(n_data->start, free);
n_data            956 lib/pengine/pe_notif.c     g_list_free_full(n_data->demote, free);
n_data            957 lib/pengine/pe_notif.c     g_list_free_full(n_data->promote, free);
n_data            958 lib/pengine/pe_notif.c     g_list_free_full(n_data->promoted, free);
n_data            959 lib/pengine/pe_notif.c     g_list_free_full(n_data->unpromoted, free);
n_data            960 lib/pengine/pe_notif.c     g_list_free_full(n_data->active, free);
n_data            961 lib/pengine/pe_notif.c     g_list_free_full(n_data->inactive, free);
n_data            962 lib/pengine/pe_notif.c     pcmk_free_nvpairs(n_data->keys);
n_data            963 lib/pengine/pe_notif.c     free(n_data);
n_data            984 lib/pengine/pe_notif.c     notify_data_t *n_data;
n_data            987 lib/pengine/pe_notif.c     n_data = pe__action_notif_pseudo_ops(rsc, RSC_STOP, NULL, stonith_op);
n_data            989 lib/pengine/pe_notif.c     if (n_data != NULL) {
n_data            990 lib/pengine/pe_notif.c         collect_resource_data(rsc, false, n_data);
n_data            991 lib/pengine/pe_notif.c         add_notify_env(n_data, "notify_stop_resource", rsc->id);
n_data            992 lib/pengine/pe_notif.c         add_notify_env(n_data, "notify_stop_uname", stop->node->details->uname);
n_data            993 lib/pengine/pe_notif.c         create_notify_actions(uber_parent(rsc), n_data);
n_data            994 lib/pengine/pe_notif.c         pe__free_action_notification_data(n_data);
n_data             67 lib/pengine/pe_status_private.h void pe__create_action_notifications(pe_resource_t *rsc, notify_data_t *n_data);
n_data             70 lib/pengine/pe_status_private.h void pe__free_action_notification_data(notify_data_t *n_data);