priv 216 include/crm/common/output_internal.h void *priv; priv 66 lib/common/output_html.c private_data_t *priv = out->priv; priv 68 lib/common/output_html.c if (priv == NULL) { priv 72 lib/common/output_html.c xmlFreeNode(priv->root); priv 73 lib/common/output_html.c g_queue_free(priv->parent_q); priv 74 lib/common/output_html.c g_slist_free(priv->errors); priv 75 lib/common/output_html.c free(priv); priv 76 lib/common/output_html.c out->priv = NULL; priv 81 lib/common/output_html.c private_data_t *priv = NULL; priv 84 lib/common/output_html.c if (out->priv != NULL) { priv 87 lib/common/output_html.c out->priv = calloc(1, sizeof(private_data_t)); priv 88 lib/common/output_html.c if (out->priv == NULL) { priv 92 lib/common/output_html.c priv = out->priv; priv 95 lib/common/output_html.c priv->parent_q = g_queue_new(); priv 97 lib/common/output_html.c priv->root = create_xml_node(NULL, "html"); priv 98 lib/common/output_html.c xmlCreateIntSubset(priv->root->doc, (pcmkXmlStr) "html", NULL, NULL); priv 100 lib/common/output_html.c xmlSetProp(priv->root, (pcmkXmlStr) "lang", (pcmkXmlStr) "en"); priv 101 lib/common/output_html.c g_queue_push_tail(priv->parent_q, priv->root); priv 102 lib/common/output_html.c priv->errors = NULL; priv 118 lib/common/output_html.c private_data_t *priv = out->priv; priv 160 lib/common/output_html.c xmlAddPrevSibling(priv->root->children, head_node); priv 162 lib/common/output_html.c if (g_slist_length(priv->errors) > 0) { priv 164 lib/common/output_html.c g_slist_foreach(priv->errors, add_error_node, (gpointer) out); priv 169 lib/common/output_html.c htmlDocDump(out->dest, priv->root->doc); priv 175 lib/common/output_html.c private_data_t *priv = out->priv; priv 180 lib/common/output_html.c if (priv == NULL || priv->root == NULL) { priv 187 lib/common/output_html.c *copy_dest = copy_xml(priv->root); priv 200 lib/common/output_html.c if (out->priv != NULL) { priv 212 lib/common/output_html.c private_data_t *priv = out->priv; priv 213 lib/common/output_html.c CRM_ASSERT(priv != NULL); priv 234 lib/common/output_html.c private_data_t *priv = out->priv; priv 235 lib/common/output_html.c CRM_ASSERT(priv != NULL); priv 248 lib/common/output_html.c private_data_t *priv = out->priv; priv 253 lib/common/output_html.c CRM_ASSERT(priv != NULL); priv 259 lib/common/output_html.c priv->errors = g_slist_append(priv->errors, buf); priv 271 lib/common/output_html.c private_data_t *priv = out->priv; priv 273 lib/common/output_html.c CRM_ASSERT(priv != NULL); priv 284 lib/common/output_html.c private_data_t *priv = out->priv; priv 287 lib/common/output_html.c CRM_ASSERT(priv != NULL); priv 293 lib/common/output_html.c q_len = g_queue_get_length(priv->parent_q); priv 318 lib/common/output_html.c g_queue_push_tail(priv->parent_q, node); priv 324 lib/common/output_html.c private_data_t *priv = out->priv; priv 330 lib/common/output_html.c CRM_ASSERT(priv != NULL); priv 352 lib/common/output_html.c private_data_t *priv = out->priv; priv 354 lib/common/output_html.c CRM_ASSERT(priv != NULL); priv 357 lib/common/output_html.c g_queue_pop_tail(priv->parent_q); priv 361 lib/common/output_html.c if (g_queue_get_length(priv->parent_q) > 2) { priv 40 lib/common/output_log.c private_data_t *priv = out->priv; priv 42 lib/common/output_log.c if (priv == NULL) { priv 46 lib/common/output_log.c g_queue_free(priv->prefixes); priv 47 lib/common/output_log.c free(priv); priv 48 lib/common/output_log.c out->priv = NULL; priv 55 lib/common/output_log.c if (out->priv != NULL) { priv 59 lib/common/output_log.c out->priv = calloc(1, sizeof(private_data_t)); priv 60 lib/common/output_log.c if (out->priv == NULL) { priv 63 lib/common/output_log.c ((private_data_t *)out->priv)->prefixes = g_queue_new(); priv 117 lib/common/output_log.c private_data_t *priv = out->priv; priv 118 lib/common/output_log.c CRM_ASSERT(priv != NULL); priv 133 lib/common/output_log.c private_data_t *priv = out->priv; priv 134 lib/common/output_log.c CRM_ASSERT(priv != NULL); priv 148 lib/common/output_log.c g_queue_push_tail(priv->prefixes, buffer); priv 156 lib/common/output_log.c private_data_t *priv = out->priv; priv 161 lib/common/output_log.c CRM_ASSERT(priv != NULL); priv 163 lib/common/output_log.c for (GList* gIter = priv->prefixes->head; gIter; gIter = gIter->next) { priv 196 lib/common/output_log.c private_data_t *priv = out->priv; priv 197 lib/common/output_log.c CRM_ASSERT(priv != NULL); priv 198 lib/common/output_log.c if (priv->prefixes == NULL) { priv 201 lib/common/output_log.c CRM_ASSERT(priv->prefixes->tail != NULL); priv 203 lib/common/output_log.c free((char *)priv->prefixes->tail->data); priv 204 lib/common/output_log.c g_queue_pop_tail(priv->prefixes); priv 39 lib/common/output_text.c private_data_t *priv = out->priv; priv 41 lib/common/output_text.c if (priv == NULL) { priv 45 lib/common/output_text.c g_queue_free(priv->parent_q); priv 46 lib/common/output_text.c free(priv); priv 47 lib/common/output_text.c out->priv = NULL; priv 52 lib/common/output_text.c private_data_t *priv = NULL; priv 55 lib/common/output_text.c if (out->priv != NULL) { priv 58 lib/common/output_text.c out->priv = calloc(1, sizeof(private_data_t)); priv 59 lib/common/output_text.c if (out->priv == NULL) { priv 63 lib/common/output_text.c priv = out->priv; priv 66 lib/common/output_text.c priv->parent_q = g_queue_new(); priv 148 lib/common/output_text.c private_data_t *priv = out->priv; priv 150 lib/common/output_text.c CRM_ASSERT(priv != NULL); priv 158 lib/common/output_text.c private_data_t *priv = out->priv; priv 162 lib/common/output_text.c CRM_ASSERT(priv != NULL); priv 178 lib/common/output_text.c g_queue_push_tail(priv->parent_q, new_list); priv 184 lib/common/output_text.c private_data_t *priv = out->priv; priv 187 lib/common/output_text.c CRM_ASSERT(priv != NULL); priv 214 lib/common/output_text.c private_data_t *priv = out->priv; priv 217 lib/common/output_text.c CRM_ASSERT(priv != NULL); priv 218 lib/common/output_text.c tail = g_queue_peek_tail(priv->parent_q); priv 225 lib/common/output_text.c private_data_t *priv = out->priv; priv 228 lib/common/output_text.c CRM_ASSERT(priv != NULL); priv 229 lib/common/output_text.c node = g_queue_pop_tail(priv->parent_q); priv 289 lib/common/output_text.c private_data_t *priv = out->priv; priv 291 lib/common/output_text.c CRM_ASSERT(priv != NULL); priv 293 lib/common/output_text.c level = g_queue_get_length(priv->parent_q); priv 79 lib/common/output_xml.c private_data_t *priv = out->priv; priv 81 lib/common/output_xml.c if (priv == NULL) { priv 85 lib/common/output_xml.c xmlFreeNode(priv->root); priv 86 lib/common/output_xml.c g_queue_free(priv->parent_q); priv 87 lib/common/output_xml.c g_slist_free(priv->errors); priv 88 lib/common/output_xml.c free(priv); priv 89 lib/common/output_xml.c out->priv = NULL; priv 94 lib/common/output_xml.c private_data_t *priv = NULL; priv 97 lib/common/output_xml.c if (out->priv != NULL) { priv 100 lib/common/output_xml.c out->priv = calloc(1, sizeof(private_data_t)); priv 101 lib/common/output_xml.c if (out->priv == NULL) { priv 105 lib/common/output_xml.c priv = out->priv; priv 109 lib/common/output_xml.c priv->root = create_xml_node(NULL, "crm_mon"); priv 110 lib/common/output_xml.c xmlSetProp(priv->root, (pcmkXmlStr) "version", (pcmkXmlStr) VERSION); priv 112 lib/common/output_xml.c priv->root = create_xml_node(NULL, "pacemaker-result"); priv 113 lib/common/output_xml.c xmlSetProp(priv->root, (pcmkXmlStr) "api-version", (pcmkXmlStr) PCMK__API_VERSION); priv 116 lib/common/output_xml.c xmlSetProp(priv->root, (pcmkXmlStr) "request", (pcmkXmlStr) out->request); priv 120 lib/common/output_xml.c priv->parent_q = g_queue_new(); priv 121 lib/common/output_xml.c priv->errors = NULL; priv 122 lib/common/output_xml.c g_queue_push_tail(priv->parent_q, priv->root); priv 128 lib/common/output_xml.c priv->legacy_xml = legacy_xml; priv 143 lib/common/output_xml.c private_data_t *priv = out->priv; priv 146 lib/common/output_xml.c GSList *node = priv->errors; priv 159 lib/common/output_xml.c node = create_xml_node(priv->root, "status"); priv 163 lib/common/output_xml.c if (g_slist_length(priv->errors) > 0) { priv 165 lib/common/output_xml.c g_slist_foreach(priv->errors, add_error_node, (gpointer) errors_node); priv 172 lib/common/output_xml.c char *buf = dump_xml_formatted_with_text(priv->root); priv 180 lib/common/output_xml.c private_data_t *priv = out->priv; priv 185 lib/common/output_xml.c if (priv == NULL || priv->root == NULL) { priv 192 lib/common/output_xml.c *copy_dest = copy_xml(priv->root); priv 203 lib/common/output_xml.c if (out->priv != NULL) { priv 239 lib/common/output_xml.c private_data_t *priv = out->priv; priv 240 lib/common/output_xml.c CRM_ASSERT(priv != NULL); priv 253 lib/common/output_xml.c private_data_t *priv = out->priv; priv 258 lib/common/output_xml.c CRM_ASSERT(priv != NULL); priv 264 lib/common/output_xml.c priv->errors = g_slist_append(priv->errors, buf); priv 277 lib/common/output_xml.c private_data_t *priv = out->priv; priv 279 lib/common/output_xml.c CRM_ASSERT(priv != NULL); priv 328 lib/common/output_xml.c private_data_t *priv = out->priv; priv 334 lib/common/output_xml.c CRM_ASSERT(priv != NULL); priv 357 lib/common/output_xml.c private_data_t *priv = out->priv; priv 359 lib/common/output_xml.c CRM_ASSERT(priv != NULL); priv 361 lib/common/output_xml.c if (priv->legacy_xml || simple_list) { priv 362 lib/common/output_xml.c g_queue_pop_tail(priv->parent_q); priv 367 lib/common/output_xml.c node = g_queue_pop_tail(priv->parent_q); priv 423 lib/common/output_xml.c private_data_t *priv = out->priv; priv 425 lib/common/output_xml.c CRM_ASSERT(priv != NULL); priv 428 lib/common/output_xml.c xmlAddChild(g_queue_peek_tail(priv->parent_q), node); priv 433 lib/common/output_xml.c private_data_t *priv = out->priv; priv 435 lib/common/output_xml.c CRM_ASSERT(priv != NULL); priv 437 lib/common/output_xml.c return create_xml_node(g_queue_peek_tail(priv->parent_q), name); priv 449 lib/common/output_xml.c private_data_t *priv = out->priv; priv 451 lib/common/output_xml.c CRM_ASSERT(priv != NULL); priv 454 lib/common/output_xml.c g_queue_push_tail(priv->parent_q, parent); priv 459 lib/common/output_xml.c private_data_t *priv = out->priv; priv 461 lib/common/output_xml.c CRM_ASSERT(priv != NULL); priv 462 lib/common/output_xml.c CRM_ASSERT(g_queue_get_length(priv->parent_q) > 0); priv 464 lib/common/output_xml.c g_queue_pop_tail(priv->parent_q); priv 469 lib/common/output_xml.c private_data_t *priv = out->priv; priv 471 lib/common/output_xml.c CRM_ASSERT(priv != NULL); priv 474 lib/common/output_xml.c return g_queue_peek_tail(priv->parent_q); priv 213 maint/mocked/based-notifyfenced.c ctxt->modules[module_handle]->priv = priv 215 maint/mocked/based-notifyfenced.c if (ctxt->modules[module_handle]->priv == NULL) { priv 229 maint/mocked/based-notifyfenced.c free(mod->priv); priv 46 maint/mocked/based.h void *priv; priv 41 tools/crm_mon_curses.c private_data_t *priv = out->priv; priv 43 tools/crm_mon_curses.c if (priv == NULL) { priv 47 tools/crm_mon_curses.c g_queue_free(priv->parent_q); priv 48 tools/crm_mon_curses.c free(priv); priv 49 tools/crm_mon_curses.c out->priv = NULL; priv 54 tools/crm_mon_curses.c private_data_t *priv = NULL; priv 57 tools/crm_mon_curses.c if (out->priv != NULL) { priv 60 tools/crm_mon_curses.c out->priv = calloc(1, sizeof(private_data_t)); priv 61 tools/crm_mon_curses.c if (out->priv == NULL) { priv 65 tools/crm_mon_curses.c priv = out->priv; priv 68 tools/crm_mon_curses.c priv->parent_q = g_queue_new(); priv 161 tools/crm_mon_curses.c private_data_t *priv = out->priv; priv 163 tools/crm_mon_curses.c CRM_ASSERT(priv != NULL); priv 171 tools/crm_mon_curses.c private_data_t *priv = out->priv; priv 175 tools/crm_mon_curses.c CRM_ASSERT(priv != NULL); priv 189 tools/crm_mon_curses.c g_queue_push_tail(priv->parent_q, new_list); priv 195 tools/crm_mon_curses.c private_data_t *priv = out->priv; priv 198 tools/crm_mon_curses.c CRM_ASSERT(priv != NULL); priv 217 tools/crm_mon_curses.c private_data_t *priv = out->priv; priv 220 tools/crm_mon_curses.c CRM_ASSERT(priv != NULL); priv 221 tools/crm_mon_curses.c tail = g_queue_peek_tail(priv->parent_q); priv 228 tools/crm_mon_curses.c private_data_t *priv = out->priv; priv 231 tools/crm_mon_curses.c CRM_ASSERT(priv != NULL); priv 232 tools/crm_mon_curses.c node = g_queue_pop_tail(priv->parent_q); priv 289 tools/crm_mon_curses.c private_data_t *priv = out->priv; priv 291 tools/crm_mon_curses.c CRM_ASSERT(priv != NULL); priv 293 tools/crm_mon_curses.c level = g_queue_get_length(priv->parent_q);