p 38 daemons/based/based_io.c int write_cib_contents(gpointer p); p 371 daemons/based/based_io.c cib_diskwrite_complete(mainloop_child_t * p, pid_t pid, int core, int signo, int exitcode) p 391 daemons/based/based_io.c write_cib_contents(gpointer p) p 397 daemons/based/based_io.c if (p) { p 399 daemons/based/based_io.c cib_local = copy_xml(p); p 444 daemons/based/based_io.c if (p == NULL) { p 52 daemons/based/pacemaker-based.c extern int write_cib_contents(gpointer p); p 29 daemons/controld/controld_metadata.c struct ra_param_s *p = (struct ra_param_s *) param; p 31 daemons/controld/controld_metadata.c if (p->rap_name) { p 32 daemons/controld/controld_metadata.c free(p->rap_name); p 150 daemons/controld/controld_metadata.c struct ra_param_s *p; p 152 daemons/controld/controld_metadata.c p = calloc(1, sizeof(struct ra_param_s)); p 153 daemons/controld/controld_metadata.c if (p == NULL) { p 158 daemons/controld/controld_metadata.c p->rap_name = strdup(param_name); p 159 daemons/controld/controld_metadata.c if (p->rap_name == NULL) { p 161 daemons/controld/controld_metadata.c free(p); p 167 daemons/controld/controld_metadata.c controld_set_ra_param_flags(p, ra_param_unique); p 172 daemons/controld/controld_metadata.c controld_set_ra_param_flags(p, ra_param_private); p 174 daemons/controld/controld_metadata.c return p; p 235 daemons/controld/controld_metadata.c struct ra_param_s *p = ra_param_from_xml(match); p 237 daemons/controld/controld_metadata.c if (p == NULL) { p 240 daemons/controld/controld_metadata.c if (pcmk_is_set(p->rap_flags, ra_param_private)) { p 243 daemons/controld/controld_metadata.c md->ra_params = g_list_prepend(md->ra_params, p); p 390 daemons/controld/controld_te_actions.c static void te_peer_free(gpointer p) p 392 daemons/controld/controld_te_actions.c struct te_peer_s *peer = p; p 386 daemons/controld/controld_throttle.c throttle_record_free(gpointer p) p 388 daemons/controld/controld_throttle.c struct throttle_record_s *r = p; p 254 daemons/execd/remoted_pidone.c char *p; p 278 daemons/execd/remoted_pidone.c p = &argv[0][i]; p 279 daemons/execd/remoted_pidone.c while (p < LastArgv) { p 280 daemons/execd/remoted_pidone.c *p++ = '\0'; p 162 daemons/pacemakerd/pacemakerd.c pcmk_child_exit(mainloop_child_t * p, pid_t pid, int core, int signo, int exitcode) p 164 daemons/pacemakerd/pacemakerd.c pcmk_child_t *child = mainloop_child_userdata(p); p 165 daemons/pacemakerd/pacemakerd.c const char *name = mainloop_child_name(p); p 48 include/crm/common/ipc_internal.h #define PCMK__SPECIAL_PID_AS_0(p) (((p) == PCMK__SPECIAL_PID) ? 0 : (p)) p 50 include/crm/common/ipc_internal.h #define PCMK__SPECIAL_PID_AS_0(p) (p) p 132 include/crm/common/mainloop.h void (*callback) (mainloop_child_t * p, pid_t pid, int core, int signo, int exitcode)); p 139 include/crm/common/mainloop.h void (*callback) (mainloop_child_t * p, pid_t pid, int core, int signo, int exitcode)); p 246 lib/common/acl.c xml_private_t *p = xml->doc->_private; p 251 lib/common/acl.c p->user); p 255 lib/common/acl.c for (aIter = p->acls; aIter != NULL; aIter = aIter->next) { p 266 lib/common/acl.c p = match->_private; p 271 lib/common/acl.c if (!pcmk_is_set(p->flags, acl->mode) p 272 lib/common/acl.c && pcmk_any_flags_set(p->flags, p 277 lib/common/acl.c path, acl_to_text(p->flags), p 283 lib/common/acl.c pcmk__set_xml_flags(p, acl->mode); p 305 lib/common/acl.c xml_private_t *p = NULL; p 312 lib/common/acl.c p = target->doc->_private; p 317 lib/common/acl.c } else if (p->acls == NULL) { p 321 lib/common/acl.c free(p->user); p 322 lib/common/acl.c p->user = strdup(user); p 337 lib/common/acl.c p->acls = parse_acl_entry(acls, child, p->acls); p 372 lib/common/acl.c xml_private_t *p = xml->_private; p 374 lib/common/acl.c if (test_acl_mode(p->flags, xpf_acl_read)) { p 547 lib/common/acl.c xml_private_t *p = xml->_private; p 549 lib/common/acl.c if (pcmk_is_set(p->flags, xpf_created)) { p 583 lib/common/acl.c xml_private_t *p = xml->doc->_private; p 585 lib/common/acl.c return pcmk_is_set(p->flags, xpf_acl_denied); p 594 lib/common/acl.c xml_private_t *p = xml->doc->_private; p 599 lib/common/acl.c pcmk__clear_xml_flags(p, xpf_acl_enabled); p 607 lib/common/acl.c xml_private_t *p = xml->doc->_private; p 609 lib/common/acl.c return pcmk_is_set(p->flags, xpf_acl_enabled); p 657 lib/common/acl.c xml_private_t *p = parent->_private; p 658 lib/common/acl.c if (test_acl_mode(p->flags, mode)) { p 661 lib/common/acl.c } else if (pcmk_is_set(p->flags, xpf_acl_deny)) { p 26 lib/common/cib_secrets.c static int is_magic_value(char *p); p 35 lib/common/cib_secrets.c is_magic_value(char *p) p 37 lib/common/cib_secrets.c return !strcmp(p, MAGIC); p 60 lib/common/cib_secrets.c char *p; p 77 lib/common/cib_secrets.c for (p = buf + strlen(buf) - 1; (p >= buf) && isspace(*p); p--); p 78 lib/common/cib_secrets.c *(p+1) = '\0'; p 40 lib/common/mainloop.c void (*callback) (mainloop_child_t * p, pid_t pid, int core, int signo, int exitcode); p 422 lib/common/mainloop.c enum qb_loop_priority p; p 514 lib/common/mainloop.c gio_poll_dispatch_update(enum qb_loop_priority p, int32_t fd, int32_t evts, p 556 lib/common/mainloop.c adaptor->p = p; p 559 lib/common/mainloop.c g_io_add_watch_full(channel, conv_prio_libqb2glib(p), evts, p 582 lib/common/mainloop.c gio_poll_dispatch_add(enum qb_loop_priority p, int32_t fd, int32_t evts, p 585 lib/common/mainloop.c return gio_poll_dispatch_update(p, fd, evts, data, fn, QB_TRUE); p 589 lib/common/mainloop.c gio_poll_dispatch_mod(enum qb_loop_priority p, int32_t fd, int32_t evts, p 592 lib/common/mainloop.c return gio_poll_dispatch_update(p, fd, evts, data, fn, QB_FALSE); p 1040 lib/common/mainloop.c child_timeout_callback(gpointer p) p 1042 lib/common/mainloop.c mainloop_child_t *child = p; p 1143 lib/common/mainloop.c child_signal_init(gpointer p) p 1212 lib/common/mainloop.c void (*callback) (mainloop_child_t * p, pid_t pid, int core, int signo, int exitcode)) p 1246 lib/common/mainloop.c void (*callback) (mainloop_child_t * p, pid_t pid, int core, int signo, int exitcode)) p 275 lib/common/md5.c # define UNALIGNED_P(p) ((uintptr_t) (p) % alignof (uint32_t) != 0) p 91 lib/common/patchset.c xml_private_t *p = xml->_private; p 95 lib/common/patchset.c if (patchset && pcmk_is_set(p->flags, xpf_created)) { p 119 lib/common/patchset.c p = pIter->_private; p 120 lib/common/patchset.c if (!pcmk_any_flags_set(p->flags, xpf_deleted|xpf_dirty)) { p 142 lib/common/patchset.c if (p->flags & xpf_deleted) { p 161 lib/common/patchset.c p = pIter->_private; p 162 lib/common/patchset.c if (!pcmk_is_set(p->flags, xpf_deleted)) { p 175 lib/common/patchset.c p = xml->_private; p 176 lib/common/patchset.c if (patchset && pcmk_is_set(p->flags, xpf_moved)) { p 198 lib/common/patchset.c xml_private_t *p = NULL; p 202 lib/common/patchset.c p = config->_private; p 204 lib/common/patchset.c if ((p != NULL) && pcmk_is_set(p->flags, xpf_dirty)) { p 209 lib/common/patchset.c p = xml->doc->_private; p 210 lib/common/patchset.c for (gIter = p->deleted_objs; gIter; gIter = gIter->next) { p 1290 lib/common/patchset.c int p = position; p 1292 lib/common/patchset.c if (p > pcmk__xml_position(match, xpf_skip)) { p 1293 lib/common/patchset.c p++; // Skip ourselves p 1300 lib/common/patchset.c && (p != pcmk__xml_position(match_child, xpf_skip))) { p 1573 lib/common/patchset.c xml_private_t *p = NULL; p 1587 lib/common/patchset.c p = right_attr->_private; p 1591 lib/common/patchset.c if ((right_val == NULL) || (p && pcmk_is_set(p->flags, xpf_deleted))) { p 251 lib/common/strings.c for (const char *p = text; p != local_end_text; p++) { p 252 lib/common/strings.c if (strchr("0.eE", *p) == NULL) { p 455 lib/common/strings.c const char *p = prefix; p 457 lib/common/strings.c if (!s || !p) { p 460 lib/common/strings.c while (*s && *p) { p 461 lib/common/strings.c if (*s++ != *p++) { p 465 lib/common/strings.c return (*p == 0); p 552 lib/common/strings.c const signed char *p; p 555 lib/common/strings.c for (p = v; *p != '\0'; p++) p 556 lib/common/strings.c h = (h << 5) - h + *p; p 571 lib/common/strings.c const signed char *p; p 574 lib/common/strings.c for (p = v; *p != '\0'; p++) p 575 lib/common/strings.c h = (h << 5) - h + g_ascii_tolower(*p); p 107 lib/common/xml.c xml_private_t *p = xml->_private; p 109 lib/common/xml.c if(p == NULL) { p 112 lib/common/xml.c pcmk__set_xml_flags(p, flag); p 123 lib/common/xml.c xml_private_t *p = xml->doc->_private; p 125 lib/common/xml.c pcmk__set_xml_flags(p, flag); p 142 lib/common/xml.c xml_private_t *p = xml->_private; p 144 lib/common/xml.c if (p) { p 145 lib/common/xml.c p->flags = 0; p 159 lib/common/xml.c xml_private_t *p = xml->_private; p 161 lib/common/xml.c if (p && pcmk__tracking_xml_changes(xml, FALSE)) { p 162 lib/common/xml.c if (!pcmk_is_set(p->flags, xpf_created)) { p 163 lib/common/xml.c pcmk__set_xml_flags(p, xpf_created); p 177 lib/common/xml.c xml_private_t *p = NULL; p 179 lib/common/xml.c p = a->_private; p 180 lib/common/xml.c pcmk__set_xml_flags(p, xpf_dirty|xpf_modified); p 181 lib/common/xml.c pcmk__clear_xml_flags(p, xpf_deleted); p 201 lib/common/xml.c reset_xml_private_data(xml_private_t *p) p 203 lib/common/xml.c if(p) { p 204 lib/common/xml.c CRM_ASSERT(p->check == XML_PRIVATE_MAGIC); p 206 lib/common/xml.c free(p->user); p 207 lib/common/xml.c p->user = NULL; p 209 lib/common/xml.c if(p->acls) { p 210 lib/common/xml.c pcmk__free_acls(p->acls); p 211 lib/common/xml.c p->acls = NULL; p 214 lib/common/xml.c if(p->deleted_objs) { p 215 lib/common/xml.c g_list_free_full(p->deleted_objs, free_deleted_object); p 216 lib/common/xml.c p->deleted_objs = NULL; p 243 lib/common/xml.c xml_private_t *p = NULL; p 250 lib/common/xml.c p = calloc(1, sizeof(xml_private_t)); p 251 lib/common/xml.c p->check = XML_PRIVATE_MAGIC; p 253 lib/common/xml.c pcmk__set_xml_flags(p, xpf_dirty|xpf_created); p 254 lib/common/xml.c node->_private = p; p 267 lib/common/xml.c if(p && pcmk__tracking_xml_changes(node, FALSE)) { p 321 lib/common/xml.c xml_private_t *p = ((xmlNode*)cIter->prev)->_private; p 323 lib/common/xml.c if (!pcmk_is_set(p->flags, ignore_if_set)) { p 337 lib/common/xml.c xml_private_t *p = xml->_private; p 339 lib/common/xml.c p->flags = xpf_none; p 345 lib/common/xml.c p = pIter->_private; p 348 lib/common/xml.c if(p->flags & xpf_deleted) { p 352 lib/common/xml.c p->flags = xpf_none; p 734 lib/common/xml.c xml_private_t *p = child->_private; p 749 lib/common/xml.c crm_trace("Cannot remove %s %x", buffer, p->flags); p 754 lib/common/xml.c && !pcmk_is_set(p->flags, xpf_created)) { p 778 lib/common/xml.c p = doc->_private; p 779 lib/common/xml.c p->deleted_objs = g_list_append(p->deleted_objs, deleted_obj); p 1403 lib/common/xml.c xml_private_t *p = NULL; p 1410 lib/common/xml.c p = attr->_private; p 1411 lib/common/xml.c if (p && pcmk_is_set(p->flags, xpf_deleted)) { p 1453 lib/common/xml.c xml_private_t *p = pIter->_private; p 1458 lib/common/xml.c if (pcmk_is_set(p->flags, xpf_deleted)) { p 1526 lib/common/xml.c xml_private_t *p; p 1535 lib/common/xml.c p = data->_private; p 1540 lib/common/xml.c if (pcmk_all_flags_set(p->flags, xpf_dirty|xpf_created)) { p 1546 lib/common/xml.c } else if (pcmk_is_set(p->flags, xpf_dirty)) { p 1560 lib/common/xml.c if (pcmk_is_set(p->flags, xpf_moved)) { p 1572 lib/common/xml.c p = pIter->_private; p 1573 lib/common/xml.c if (pcmk_is_set(p->flags, xpf_deleted)) { p 1579 lib/common/xml.c } else if (pcmk_is_set(p->flags, xpf_dirty)) { p 1582 lib/common/xml.c if (pcmk_is_set(p->flags, xpf_created)) { p 1585 lib/common/xml.c } else if (pcmk_is_set(p->flags, xpf_modified)) { p 1588 lib/common/xml.c } else if (pcmk_is_set(p->flags, xpf_moved)) { p 2026 lib/common/xml.c xml_private_t *p = NULL; p 2029 lib/common/xml.c p = attr->_private; p 2031 lib/common/xml.c pcmk__set_xml_flags(p, xpf_deleted); p 2083 lib/common/xml.c xml_private_t *p = new_xml->doc->_private; p 2087 lib/common/xml.c pcmk__clear_xml_flags(p, xpf_tracking); p 2091 lib/common/xml.c pcmk__set_xml_flags(p, xpf_tracking); p 2094 lib/common/xml.c p = attr->_private; p 2095 lib/common/xml.c p->flags = 0; p 2133 lib/common/xml.c xml_private_t *p = new_attr->_private; p 2142 lib/common/xml.c pcmk__set_xml_flags(p, xpf_dirty|xpf_moved); p 2144 lib/common/xml.c p = (p_old > p_new)? old_attr->_private : new_attr->_private; p 2145 lib/common/xml.c pcmk__set_xml_flags(p, xpf_skip); p 2169 lib/common/xml.c xml_private_t *p = new_attr->_private; p 2175 lib/common/xml.c pcmk__clear_xml_flags(p, xpf_created); p 2201 lib/common/xml.c xml_private_t *p = attr_iter->_private; p 2204 lib/common/xml.c if (pcmk_is_set(p->flags, xpf_created)) { p 2270 lib/common/xml.c xml_private_t *p = new_child->_private; p 2276 lib/common/xml.c pcmk__set_xml_flags(p, xpf_moved); p 2279 lib/common/xml.c p = old_child->_private; p 2281 lib/common/xml.c p = new_child->_private; p 2283 lib/common/xml.c pcmk__set_xml_flags(p, xpf_skip); p 2291 lib/common/xml.c xml_private_t *p = NULL; p 2300 lib/common/xml.c p = new_xml->_private; p 2301 lib/common/xml.c CRM_CHECK(p != NULL, return); p 2303 lib/common/xml.c if(p->flags & xpf_processed) { p 2307 lib/common/xml.c pcmk__set_xml_flags(p, xpf_processed); p 2333 lib/common/xml.c p = new_child->_private; p 2334 lib/common/xml.c pcmk__set_xml_flags(p, xpf_skip); p 2426 lib/common/xml.c xml_private_t *p = a_child->_private; p 2435 lib/common/xml.c if (pcmk_is_set(p->flags, xpf_skip)) { p 2209 lib/fencing/st_client.c stonith_key_value_t *p, *end; p 2211 lib/fencing/st_client.c p = calloc(1, sizeof(stonith_key_value_t)); p 2213 lib/fencing/st_client.c p->key = strdup(key); p 2216 lib/fencing/st_client.c p->value = strdup(value); p 2225 lib/fencing/st_client.c end->next = p; p 2227 lib/fencing/st_client.c head = p; p 2236 lib/fencing/st_client.c stonith_key_value_t *p; p 2239 lib/fencing/st_client.c p = head->next; p 2247 lib/fencing/st_client.c head = p; p 275 lib/gnu/md5.c # define UNALIGNED_P(p) ((uintptr_t) (p) % alignof (uint32_t) != 0) p 110 lib/lrmd/lrmd_client.c lrmd_list_t *p, *end; p 112 lib/lrmd/lrmd_client.c p = calloc(1, sizeof(lrmd_list_t)); p 113 lib/lrmd/lrmd_client.c p->val = strdup(value); p 121 lib/lrmd/lrmd_client.c end->next = p; p 123 lib/lrmd/lrmd_client.c head = p; p 132 lib/lrmd/lrmd_client.c lrmd_list_t *p; p 137 lib/lrmd/lrmd_client.c p = head->next; p 140 lib/lrmd/lrmd_client.c head = p; p 147 lib/lrmd/lrmd_client.c lrmd_key_value_t *p, *end; p 149 lib/lrmd/lrmd_client.c p = calloc(1, sizeof(lrmd_key_value_t)); p 150 lib/lrmd/lrmd_client.c p->key = strdup(key); p 151 lib/lrmd/lrmd_client.c p->value = strdup(value); p 159 lib/lrmd/lrmd_client.c end->next = p; p 161 lib/lrmd/lrmd_client.c head = p; p 170 lib/lrmd/lrmd_client.c lrmd_key_value_t *p; p 173 lib/lrmd/lrmd_client.c p = head->next; p 177 lib/lrmd/lrmd_client.c head = p; p 1212 lib/pacemaker/pcmk_sched_graph.c GHashTable *p = crm_str_table_new(); p 1214 lib/pacemaker/pcmk_sched_graph.c get_rsc_attributes(p, action->rsc, action->node, data_set); p 1215 lib/pacemaker/pcmk_sched_graph.c g_hash_table_foreach(p, hash2smartfield, args_xml); p 1216 lib/pacemaker/pcmk_sched_graph.c g_hash_table_destroy(p); p 112 lib/pengine/native.c pe_resource_t *p = rsc->parent; p 117 lib/pengine/native.c while(p && node->details->online) { p 119 lib/pengine/native.c p->running_on = g_list_append(p->running_on, node); p 120 lib/pengine/native.c p = p->parent; p 747 lib/pengine/rules.c const char *p, *last_match_index; p 754 lib/pengine/rules.c p = last_match_index = string; p 756 lib/pengine/rules.c while (*p) { p 757 lib/pengine/rules.c if (*p == '%' && *(p + 1) && isdigit(*(p + 1))) { p 758 lib/pengine/rules.c i = *(p + 1) - '0'; p 761 lib/pengine/rules.c len += p - last_match_index + (match_data->pmatch[i].rm_eo - match_data->pmatch[i].rm_so); p 762 lib/pengine/rules.c last_match_index = p + 2; p 764 lib/pengine/rules.c p++; p 766 lib/pengine/rules.c p++; p 768 lib/pengine/rules.c len += p - last_match_index + 1; p 776 lib/pengine/rules.c p = string; p 778 lib/pengine/rules.c while (*p) { p 779 lib/pengine/rules.c if (*p == '%' && *(p + 1) && isdigit(*(p + 1))) { p 780 lib/pengine/rules.c i = *(p + 1) - '0'; p 788 lib/pengine/rules.c p++; p 790 lib/pengine/rules.c *(p_dst) = *(p); p 793 lib/pengine/rules.c p++; p 579 lib/services/services_linux.c operation_finished(mainloop_child_t * p, pid_t pid, int core, int signo, int exitcode) p 581 lib/services/services_linux.c svc_action_t *op = mainloop_child_userdata(p); p 583 lib/services/services_linux.c mainloop_clear_child_userdata(p); p 600 lib/services/services_linux.c } else if (mainloop_child_timeout(p)) { p 816 lib/services/systemd.c systemd_timeout_callback(gpointer p) p 818 lib/services/systemd.c svc_action_t * op = p; p 42 libltdl/libltdl/lt__alloc.h #define MEMREASSIGN(p, q) LT_STMT_START { \ p 43 libltdl/libltdl/lt__alloc.h if ((p) != (q)) { free (p); (p) = (q); (q) = 0; } \ p 94 libltdl/lt__argz.c const char *p; p 101 libltdl/lt__argz.c for (p = str, q = argz; *p != EOS_CHAR; ++p) p 103 libltdl/lt__argz.c if (*p == delim) p 113 libltdl/lt__argz.c *q++ = *p; p 116 libltdl/lt__argz.c *q = *p; p 54 libltdl/lt__strl.c char *p; p 67 libltdl/lt__strl.c for ( p = dst + length, q = src; p 69 libltdl/lt__strl.c length++, p++, q++ ) p 70 libltdl/lt__strl.c *p = *q; p 102 libltdl/lt__strl.c char *p; p 112 libltdl/lt__strl.c for ( p=dst, q=src, length=0; p 114 libltdl/lt__strl.c length++, p++, q++ ) p 115 libltdl/lt__strl.c *p = *q; p 828 libltdl/ltdl.c char *p, *save_search_path = 0; p 850 libltdl/ltdl.c p = deplibs; p 851 libltdl/ltdl.c while (*p) p 853 libltdl/ltdl.c if (!isspace ((unsigned char) *p)) p 855 libltdl/ltdl.c char *end = p+1; p 861 libltdl/ltdl.c if (strncmp(p, "-L", 2) == 0 || strncmp(p, "-R", 2) == 0) p 865 libltdl/ltdl.c if (lt_dladdsearchdir(p+2)) p 876 libltdl/ltdl.c p = end; p 880 libltdl/ltdl.c ++p; p 897 libltdl/ltdl.c p = deplibs; p 898 libltdl/ltdl.c while (*p) p 900 libltdl/ltdl.c if (isspace ((unsigned char) *p)) p 902 libltdl/ltdl.c ++p; p 906 libltdl/ltdl.c char *end = p+1; p 912 libltdl/ltdl.c if (strncmp(p, "-L", 2) != 0 && strncmp(p, "-R", 2) != 0) p 917 libltdl/ltdl.c if (strncmp(p, "-l", 2) == 0) p 919 libltdl/ltdl.c size_t name_len = 3+ /* "lib" */ LT_STRLEN (p + 2); p 922 libltdl/ltdl.c sprintf (name, "lib%s", p+2); p 925 libltdl/ltdl.c name = lt__strdup(p); p 933 libltdl/ltdl.c p = end; p 1791 libltdl/ltdl.c char *p; p 1792 libltdl/ltdl.c for (p = end; p -1 > dp->d_name; --p) p 1793 libltdl/ltdl.c if (strchr (".0123456789", p[-1]) == 0) p 1796 libltdl/ltdl.c if (*p == '.') p 1797 libltdl/ltdl.c end = p; p 1802 libltdl/ltdl.c char *p; p 1803 libltdl/ltdl.c for (p = end -1; p > dp->d_name; --p) p 1804 libltdl/ltdl.c if (*p == '.') p 1806 libltdl/ltdl.c end = p; p 1906 tools/crm_resource_runtime.c pe_resource_t *p = uber_parent(rsc); p 1908 tools/crm_resource_runtime.c if (pcmk_is_set(p->flags, pe_rsc_promotable)) { p 1910 tools/crm_resource_runtime.c rsc_id = p->id; p 1911 tools/crm_resource_runtime.c rsc = p;