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 149 daemons/controld/controld_metadata.c struct ra_param_s *p; p 151 daemons/controld/controld_metadata.c p = calloc(1, sizeof(struct ra_param_s)); p 152 daemons/controld/controld_metadata.c if (p == NULL) { p 157 daemons/controld/controld_metadata.c p->rap_name = strdup(param_name); p 158 daemons/controld/controld_metadata.c if (p->rap_name == NULL) { p 160 daemons/controld/controld_metadata.c free(p); p 166 daemons/controld/controld_metadata.c controld_set_ra_param_flags(p, ra_param_reloadable); p 171 daemons/controld/controld_metadata.c controld_set_ra_param_flags(p, ra_param_unique); p 176 daemons/controld/controld_metadata.c controld_set_ra_param_flags(p, ra_param_private); p 178 daemons/controld/controld_metadata.c return p; p 285 daemons/controld/controld_metadata.c struct ra_param_s *p = ra_param_from_xml(match); p 287 daemons/controld/controld_metadata.c if (p == NULL) { p 290 daemons/controld/controld_metadata.c if (pcmk_is_set(p->rap_flags, ra_param_private)) { p 293 daemons/controld/controld_metadata.c md->ra_params = g_list_prepend(md->ra_params, p); p 304 daemons/controld/controld_metadata.c struct ra_param_s *p = iter->data; p 306 daemons/controld/controld_metadata.c if (pcmk__str_any_of(p->rap_name, "password", "passwd", "user", p 308 daemons/controld/controld_metadata.c controld_set_ra_param_flags(p, ra_param_private); 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 153 daemons/pacemakerd/pacemakerd.c pcmk_child_exit(mainloop_child_t * p, pid_t pid, int core, int signo, int exitcode) p 155 daemons/pacemakerd/pacemakerd.c pcmk_child_t *child = mainloop_child_userdata(p); p 156 daemons/pacemakerd/pacemakerd.c const char *name = mainloop_child_name(p); p 51 include/crm/common/ipc_internal.h #define PCMK__SPECIAL_PID_AS_0(p) (((p) == PCMK__SPECIAL_PID) ? 0 : (p)) p 53 include/crm/common/ipc_internal.h #define PCMK__SPECIAL_PID_AS_0(p) (p) p 160 include/crm/common/mainloop.h void (*callback) (mainloop_child_t * p, pid_t pid, int core, int signo, int exitcode)); p 167 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 269 lib/common/acl.c pcmk__set_xml_flags(p, acl->mode); p 290 lib/common/acl.c xml_private_t *p = NULL; p 297 lib/common/acl.c p = target->doc->_private; p 302 lib/common/acl.c } else if (p->acls == NULL) { p 306 lib/common/acl.c free(p->user); p 307 lib/common/acl.c p->user = strdup(user); p 322 lib/common/acl.c p->acls = parse_acl_entry(acls, child, p->acls); p 356 lib/common/acl.c xml_private_t *p = xml->_private; p 358 lib/common/acl.c if (test_acl_mode(p->flags, xpf_acl_read)) { p 531 lib/common/acl.c xml_private_t *p = xml->_private; p 533 lib/common/acl.c if (pcmk_is_set(p->flags, xpf_created)) { p 567 lib/common/acl.c xml_private_t *p = xml->doc->_private; p 569 lib/common/acl.c return pcmk_is_set(p->flags, xpf_acl_denied); p 578 lib/common/acl.c xml_private_t *p = xml->doc->_private; p 583 lib/common/acl.c pcmk__clear_xml_flags(p, xpf_acl_enabled); p 591 lib/common/acl.c xml_private_t *p = xml->doc->_private; p 593 lib/common/acl.c return pcmk_is_set(p->flags, xpf_acl_enabled); p 640 lib/common/acl.c xml_private_t *p = parent->_private; p 641 lib/common/acl.c if (test_acl_mode(p->flags, mode)) { p 644 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 449 lib/common/mainloop.c enum qb_loop_priority p; p 541 lib/common/mainloop.c gio_poll_dispatch_update(enum qb_loop_priority p, int32_t fd, int32_t evts, p 583 lib/common/mainloop.c adaptor->p = p; p 586 lib/common/mainloop.c g_io_add_watch_full(channel, conv_prio_libqb2glib(p), evts, p 609 lib/common/mainloop.c gio_poll_dispatch_add(enum qb_loop_priority p, int32_t fd, int32_t evts, p 612 lib/common/mainloop.c return gio_poll_dispatch_update(p, fd, evts, data, fn, QB_TRUE); p 616 lib/common/mainloop.c gio_poll_dispatch_mod(enum qb_loop_priority p, int32_t fd, int32_t evts, p 619 lib/common/mainloop.c return gio_poll_dispatch_update(p, fd, evts, data, fn, QB_FALSE); p 1100 lib/common/mainloop.c child_timeout_callback(gpointer p) p 1102 lib/common/mainloop.c mainloop_child_t *child = p; p 1203 lib/common/mainloop.c child_signal_init(gpointer p) p 1272 lib/common/mainloop.c void (*callback) (mainloop_child_t * p, pid_t pid, int core, int signo, int exitcode)) p 1306 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 1278 lib/common/patchset.c int p = position; p 1280 lib/common/patchset.c if (p > pcmk__xml_position(match, xpf_skip)) { p 1281 lib/common/patchset.c p++; // Skip ourselves p 1288 lib/common/patchset.c && (p != pcmk__xml_position(match_child, xpf_skip))) { p 1561 lib/common/patchset.c xml_private_t *p = NULL; p 1575 lib/common/patchset.c p = right_attr->_private; p 1579 lib/common/patchset.c if ((right_val == NULL) || (p && pcmk_is_set(p->flags, xpf_deleted))) { p 272 lib/common/strings.c for (const char *p = text; p != local_end_text; p++) { p 273 lib/common/strings.c if (strchr("0.eE", *p) == NULL) { p 486 lib/common/strings.c const char *p = prefix; p 488 lib/common/strings.c if (!s || !p) { p 491 lib/common/strings.c while (*s && *p) { p 492 lib/common/strings.c if (*s++ != *p++) { p 496 lib/common/strings.c return (*p == 0); p 589 lib/common/strings.c const signed char *p; p 592 lib/common/strings.c for (p = v; *p != '\0'; p++) p 593 lib/common/strings.c h = (h << 5) - h + *p; p 627 lib/common/strings.c const signed char *p; p 630 lib/common/strings.c for (p = v; *p != '\0'; p++) p 631 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 335 lib/common/xml.c xml_private_t *p = a->_private; p 337 lib/common/xml.c if (pcmk_is_set(p->flags, xpf_deleted)) { p 340 lib/common/xml.c p->flags = xpf_none; p 767 lib/common/xml.c xml_private_t *p = child->_private; p 782 lib/common/xml.c crm_trace("Cannot remove %s %x", buffer, p->flags); p 787 lib/common/xml.c && !pcmk_is_set(p->flags, xpf_created)) { p 811 lib/common/xml.c p = doc->_private; p 812 lib/common/xml.c p->deleted_objs = g_list_append(p->deleted_objs, deleted_obj); p 1424 lib/common/xml.c xml_private_t *p = NULL; p 1431 lib/common/xml.c p = attr->_private; p 1432 lib/common/xml.c if (p && pcmk_is_set(p->flags, xpf_deleted)) { p 1475 lib/common/xml.c xml_private_t *p = a->_private; p 1480 lib/common/xml.c if (pcmk_is_set(p->flags, xpf_deleted)) { p 1548 lib/common/xml.c xml_private_t *p; p 1556 lib/common/xml.c p = data->_private; p 1561 lib/common/xml.c if (pcmk_all_flags_set(p->flags, xpf_dirty|xpf_created)) { p 1567 lib/common/xml.c } else if (pcmk_is_set(p->flags, xpf_dirty)) { p 1581 lib/common/xml.c if (pcmk_is_set(p->flags, xpf_moved)) { p 1593 lib/common/xml.c p = a->_private; p 1594 lib/common/xml.c if (pcmk_is_set(p->flags, xpf_deleted)) { p 1600 lib/common/xml.c } else if (pcmk_is_set(p->flags, xpf_dirty)) { p 1603 lib/common/xml.c if (pcmk_is_set(p->flags, xpf_created)) { p 1606 lib/common/xml.c } else if (pcmk_is_set(p->flags, xpf_modified)) { p 1609 lib/common/xml.c } else if (pcmk_is_set(p->flags, xpf_moved)) { p 2043 lib/common/xml.c xml_private_t *p = NULL; p 2046 lib/common/xml.c p = attr->_private; p 2048 lib/common/xml.c pcmk__set_xml_flags(p, xpf_deleted); p 2100 lib/common/xml.c xml_private_t *p = new_xml->doc->_private; p 2104 lib/common/xml.c pcmk__clear_xml_flags(p, xpf_tracking); p 2108 lib/common/xml.c pcmk__set_xml_flags(p, xpf_tracking); p 2111 lib/common/xml.c p = attr->_private; p 2112 lib/common/xml.c p->flags = 0; p 2150 lib/common/xml.c xml_private_t *p = new_attr->_private; p 2159 lib/common/xml.c pcmk__set_xml_flags(p, xpf_dirty|xpf_moved); p 2161 lib/common/xml.c p = (p_old > p_new)? old_attr->_private : new_attr->_private; p 2162 lib/common/xml.c pcmk__set_xml_flags(p, xpf_skip); p 2186 lib/common/xml.c xml_private_t *p = new_attr->_private; p 2192 lib/common/xml.c pcmk__clear_xml_flags(p, xpf_created); p 2218 lib/common/xml.c xml_private_t *p = attr_iter->_private; p 2221 lib/common/xml.c if (pcmk_is_set(p->flags, xpf_created)) { p 2287 lib/common/xml.c xml_private_t *p = new_child->_private; p 2293 lib/common/xml.c pcmk__set_xml_flags(p, xpf_moved); p 2296 lib/common/xml.c p = old_child->_private; p 2298 lib/common/xml.c p = new_child->_private; p 2300 lib/common/xml.c pcmk__set_xml_flags(p, xpf_skip); p 2308 lib/common/xml.c xml_private_t *p = NULL; p 2317 lib/common/xml.c p = new_xml->_private; p 2318 lib/common/xml.c CRM_CHECK(p != NULL, return); p 2320 lib/common/xml.c if(p->flags & xpf_processed) { p 2324 lib/common/xml.c pcmk__set_xml_flags(p, xpf_processed); p 2350 lib/common/xml.c p = new_child->_private; p 2351 lib/common/xml.c pcmk__set_xml_flags(p, xpf_skip); p 2442 lib/common/xml.c xml_private_t *p = a_child->_private; p 2451 lib/common/xml.c if (pcmk_is_set(p->flags, xpf_skip)) { p 2198 lib/fencing/st_client.c stonith_key_value_t *p, *end; p 2200 lib/fencing/st_client.c p = calloc(1, sizeof(stonith_key_value_t)); p 2202 lib/fencing/st_client.c p->key = strdup(key); p 2205 lib/fencing/st_client.c p->value = strdup(value); p 2214 lib/fencing/st_client.c end->next = p; p 2216 lib/fencing/st_client.c head = p; p 2225 lib/fencing/st_client.c stonith_key_value_t *p; p 2228 lib/fencing/st_client.c p = head->next; p 2236 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 103 lib/pengine/complex.c pe_resource_t *p = rsc->parent; p 105 lib/pengine/complex.c if (p == NULL) { p 111 lib/pengine/complex.c while(p != NULL) { p 113 lib/pengine/complex.c pe__unpack_dataset_nvpairs(p->xml, XML_TAG_META_SETS, p 115 lib/pengine/complex.c p = p->parent; p 118 lib/pengine/native.c pe_resource_t *p = rsc->parent; p 123 lib/pengine/native.c while(p && node->details->online) { p 125 lib/pengine/native.c p->running_on = g_list_append(p->running_on, node); p 126 lib/pengine/native.c p = p->parent; p 662 lib/pengine/rules.c const char *p, *last_match_index; p 669 lib/pengine/rules.c p = last_match_index = string; p 671 lib/pengine/rules.c while (*p) { p 672 lib/pengine/rules.c if (*p == '%' && *(p + 1) && isdigit(*(p + 1))) { p 673 lib/pengine/rules.c i = *(p + 1) - '0'; p 676 lib/pengine/rules.c len += p - last_match_index + (match_data->pmatch[i].rm_eo - match_data->pmatch[i].rm_so); p 677 lib/pengine/rules.c last_match_index = p + 2; p 679 lib/pengine/rules.c p++; p 681 lib/pengine/rules.c p++; p 683 lib/pengine/rules.c len += p - last_match_index + 1; p 691 lib/pengine/rules.c p = string; p 693 lib/pengine/rules.c while (*p) { p 694 lib/pengine/rules.c if (*p == '%' && *(p + 1) && isdigit(*(p + 1))) { p 695 lib/pengine/rules.c i = *(p + 1) - '0'; p 703 lib/pengine/rules.c p++; p 705 lib/pengine/rules.c *(p_dst) = *(p); p 708 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 820 lib/services/systemd.c systemd_timeout_callback(gpointer p) p 822 lib/services/systemd.c svc_action_t * op = p; p 94 libltdl/argz.c const char *p; p 101 libltdl/argz.c for (p = str, q = argz; *p != EOS_CHAR; ++p) p 103 libltdl/argz.c if (*p == delim) p 113 libltdl/argz.c *q++ = *p; p 116 libltdl/argz.c *q = *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)) { if (p) free (p); (p) = (q); (q) = 0; } \ 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 821 libltdl/ltdl.c char *p, *save_search_path = 0; p 843 libltdl/ltdl.c p = deplibs; p 844 libltdl/ltdl.c while (*p) p 846 libltdl/ltdl.c if (!isspace ((unsigned char) *p)) p 848 libltdl/ltdl.c char *end = p+1; p 854 libltdl/ltdl.c if (strncmp(p, "-L", 2) == 0 || strncmp(p, "-R", 2) == 0) p 858 libltdl/ltdl.c if (lt_dladdsearchdir(p+2)) p 869 libltdl/ltdl.c p = end; p 873 libltdl/ltdl.c ++p; p 890 libltdl/ltdl.c p = deplibs; p 891 libltdl/ltdl.c while (*p) p 893 libltdl/ltdl.c if (isspace ((unsigned char) *p)) p 895 libltdl/ltdl.c ++p; p 899 libltdl/ltdl.c char *end = p+1; p 905 libltdl/ltdl.c if (strncmp(p, "-L", 2) != 0 && strncmp(p, "-R", 2) != 0) p 910 libltdl/ltdl.c if (strncmp(p, "-l", 2) == 0) p 912 libltdl/ltdl.c size_t name_len = 3+ /* "lib" */ LT_STRLEN (p + 2); p 915 libltdl/ltdl.c sprintf (name, "lib%s", p+2); p 918 libltdl/ltdl.c name = lt__strdup(p); p 926 libltdl/ltdl.c p = end; p 1784 libltdl/ltdl.c char *p; p 1785 libltdl/ltdl.c for (p = end; p -1 > dp->d_name; --p) p 1786 libltdl/ltdl.c if (strchr (".0123456789", p[-1]) == 0) p 1789 libltdl/ltdl.c if (*p == '.') p 1790 libltdl/ltdl.c end = p; p 1795 libltdl/ltdl.c char *p; p 1796 libltdl/ltdl.c for (p = end -1; p > dp->d_name; --p) p 1797 libltdl/ltdl.c if (*p == '.') p 1799 libltdl/ltdl.c end = p; p 1882 tools/crm_resource_runtime.c pe_resource_t *p = uber_parent(rsc); p 1884 tools/crm_resource_runtime.c if (pcmk_is_set(p->flags, pe_rsc_promotable)) { p 1886 tools/crm_resource_runtime.c rsc_id = p->id; p 1887 tools/crm_resource_runtime.c rsc = p;