path 213 daemons/controld/controld_te_utils.c const char *path = crm_element_value(change, XML_DIFF_PATH); path 229 daemons/controld/controld_te_utils.c const char *shortpath = strrchr(path, '/'); path 234 daemons/controld/controld_te_utils.c (shortpath? (shortpath + 1) : path), abort_text, path 235 daemons/controld/controld_te_utils.c add[0], add[1], add[2], fn, line, path, path 245 daemons/controld/controld_te_utils.c abort_text, add[0], add[1], add[2], fn, line, path, path 276 daemons/controld/controld_te_utils.c abort_text, add[0], add[1], add[2], fn, line, path, path 689 daemons/pacemakerd/pacemakerd.c mcp_chown(const char *path, uid_t uid, gid_t gid) path 691 daemons/pacemakerd/pacemakerd.c int rc = chown(path, uid, gid); path 695 daemons/pacemakerd/pacemakerd.c path, CRM_DAEMON_USER, gid, pcmk_strerror(errno)); path 34 include/crm/common/alerts_internal.h char *path; path 73 include/crm/common/alerts_internal.h pcmk__alert_t *pcmk__alert_new(const char *id, const char *path); path 66 include/crm/common/internal.h int pcmk__real_path(const char *path, char **resolved_path); path 250 include/crm/common/xml.h xmlXPathObjectPtr xpath_search(xmlNode * xml_top, const char *path); path 615 lib/cib/cib_file.c cib_file_write_live(char *path) path 619 lib/cib/cib_file.c char *sep = strrchr(path, '/'); path 647 lib/cib/cib_file.c cib_filename = path; path 648 lib/cib/cib_file.c } else if (sep == path) { /* given name is in / */ path 650 lib/cib/cib_file.c cib_filename = path + 1; path 653 lib/cib/cib_file.c cib_dirname = path; path 335 lib/cib/cib_ops.c const char *path = get_object_parent(section); path 337 lib/cib/cib_ops.c if (path == NULL) { path 342 lib/cib/cib_ops.c cib_process_xpath(CIB_OP_CREATE, 0, path, NULL, tmp_section, NULL, result_cib, answer); path 713 lib/cib/cib_ops.c xmlChar *path = NULL; path 720 lib/cib/cib_ops.c path = xmlGetNodePath(match); path 721 lib/cib/cib_ops.c crm_debug("Processing %s op for %s with %s", op, section, path); path 722 lib/cib/cib_ops.c free(path); path 761 lib/cib/cib_ops.c char *path = NULL; path 771 lib/cib/cib_ops.c (path? path : "")); path 774 lib/cib/cib_ops.c (path? path : "")); path 776 lib/cib/cib_ops.c free(path); path 777 lib/cib/cib_ops.c path = new_path; path 780 lib/cib/cib_ops.c crm_trace("Got: %s", path); path 786 lib/cib/cib_ops.c crm_xml_add(parent, XML_ATTR_ID, path); path 787 lib/cib/cib_ops.c free(path); path 31 lib/cib/cib_utils.c const char *path; path 125 lib/cib/cib_utils.c return known_paths[lpc].path; path 264 lib/common/acl.c char *path = xml_get_path(match); path 268 lib/common/acl.c acl_to_text(acl->mode), path, acl->xpath); path 270 lib/common/acl.c free(path); path 495 lib/common/acl.c char *path = NULL; path 503 lib/common/acl.c path = xml_get_path(xml); path 504 lib/common/acl.c if (strstr(path, "/" XML_CIB_TAG_ACLS "/") != NULL) { path 505 lib/common/acl.c free(path); path 508 lib/common/acl.c free(path); path 95 lib/common/alerts.c pcmk__alert_new(const char *id, const char *path) path 99 lib/common/alerts.c CRM_ASSERT(entry && id && path); path 101 lib/common/alerts.c entry->path = strdup(path); path 112 lib/common/alerts.c free(entry->path); path 135 lib/common/alerts.c pcmk__alert_t *new_entry = pcmk__alert_new(entry->id, entry->path); path 57 lib/common/crmcommon_private.h char *path; path 49 lib/common/io.c char *path = strdup(path_c); path 53 lib/common/io.c CRM_CHECK(path != NULL, return -ENOMEM); path 54 lib/common/io.c for (len = strlen(path); offset < len; offset++) { path 55 lib/common/io.c if (path[offset] == '/') { path 56 lib/common/io.c path[offset] = 0; path 57 lib/common/io.c if ((mkdir(path, mode) < 0) && (errno != EEXIST)) { path 61 lib/common/io.c path[offset] = '/'; path 64 lib/common/io.c if ((mkdir(path, mode) < 0) && (errno != EEXIST)) { path 68 lib/common/io.c free(path); path 85 lib/common/io.c pcmk__real_path(const char *path, char **resolved_path) path 87 lib/common/io.c CRM_CHECK((path != NULL) && (resolved_path != NULL), return EINVAL); path 91 lib/common/io.c *resolved_path = realpath(path, NULL); path 98 lib/common/io.c if ((*resolved_path == NULL) || (realpath(path, *resolved_path) == NULL)) { path 909 lib/common/logging.c char path[512]; path 911 lib/common/logging.c snprintf(path, 512, "%s-%lu", crm_system_name, (unsigned long) getpid()); path 912 lib/common/logging.c mkdir(path, 0750); path 913 lib/common/logging.c chdir(path); path 914 lib/common/logging.c crm_info("Changed active directory to %s/%s/%s", base, pwent->pw_name, path); path 213 lib/common/patchset.c if (strstr(deleted_obj->path, path 359 lib/common/patchset.c crm_xml_add(change, XML_DIFF_PATH, deleted_obj->path); path 1034 lib/common/patchset.c char *path = NULL; path 1094 lib/common/patchset.c (path = (char *) xmlGetNodePath(target)), key); path 1095 lib/common/patchset.c free(path); path 194 lib/common/xml.c free(deleted_obj->path); path 408 lib/common/xml.c deleted_obj->path, deleted_obj->position); path 412 lib/common/xml.c deleted_obj->path); path 798 lib/common/xml.c deleted_obj->path = strdup(buffer); path 139 lib/common/xpath.c xpath_search(xmlNode * xml_top, const char *path) path 144 lib/common/xpath.c const xmlChar *xpathExpr = (pcmkXmlStr) path; path 146 lib/common/xpath.c CRM_CHECK(path != NULL, return NULL); path 148 lib/common/xpath.c CRM_CHECK(strlen(path) > 0, return NULL); path 201 lib/lrmd/lrmd_alerts.c rc = lrmd->cmds->exec_alert(lrmd, entry->id, entry->path, path 212 lib/pengine/rules_alerts.c entry->id, entry->path, entry->timeout, entry->tstamp_format, path 262 lib/services/services_lsb.c char *path = services__lsb_agent_path(agent); path 264 lib/services/services_lsb.c rc = (stat(path, &st) == 0); path 265 lib/services/services_lsb.c free(path); path 258 lib/services/systemd.c const char *path = NULL; path 261 lib/services/systemd.c if (pcmk_dbus_find_error((void*)&path, reply, &error)) { path 275 lib/services/systemd.c DBUS_TYPE_OBJECT_PATH, &path, path 280 lib/services/systemd.c if (path) { path 281 lib/services/systemd.c systemd_unit_exec_with_unit(op, path); path 288 lib/services/systemd.c return path; path 511 lib/services/systemd.c char *path = systemd_unit_by_name(name, NULL); path 513 lib/services/systemd.c if (path) { path 515 lib/services/systemd.c desc = systemd_get_property(path, "Description", NULL, NULL, NULL, path 541 lib/services/systemd.c free(path); path 564 lib/services/systemd.c const char *path = NULL; path 567 lib/services/systemd.c DBUS_TYPE_OBJECT_PATH, &path, path 569 lib/services/systemd.c crm_info("Call to %s passed: %s", op->action, path); path 94 lib/services/upstart.c char *path = NULL; path 97 lib/services/upstart.c DBUS_TYPE_OBJECT_PATH, &path, path 100 lib/services/upstart.c *out_unit = strdup(path); path 199 lib/services/upstart.c char *path = NULL; path 210 lib/services/upstart.c path = value.str; path 212 lib/services/upstart.c while (path[llpc] != 0) { path 213 lib/services/upstart.c if (path[llpc] == '/') { path 214 lib/services/upstart.c job = path + llpc + 1; path 219 lib/services/upstart.c crm_trace("%s -> %s", path, job); path 396 lib/services/upstart.c const char *path = NULL; path 399 lib/services/upstart.c DBUS_TYPE_OBJECT_PATH, &path, path 401 lib/services/upstart.c crm_info("Call to %s passed: %s", op->action, path); path 452 lib/services/upstart.c char *path = get_first_instance(job, op->timeout); path 455 lib/services/upstart.c if(path) { path 458 lib/services/upstart.c upstart_proxy, BUS_NAME, path, UPSTART_06_API ".Instance", "state", path 463 lib/services/upstart.c free(path); path 540 lib/services/upstart.c const char *path = NULL; path 543 lib/services/upstart.c DBUS_TYPE_OBJECT_PATH, &path, path 545 lib/services/upstart.c crm_info("Call to %s passed: %s", op->action, path); path 77 libltdl/libltdl/lt__dirent.h LT_SCOPE DIR * opendir (const char *path); path 50 libltdl/lt__dirent.c opendir (const char *path) path 55 libltdl/lt__dirent.c assert (path != (char *) 0); path 56 libltdl/lt__dirent.c if (lt_strlcpy (file_spec, path, sizeof file_spec) >= sizeof file_spec path 117 libltdl/ltdl.c static int canonicalize_path (const char *path, char **pcanonical); path 118 libltdl/ltdl.c static int argzize_path (const char *path, path 580 libltdl/ltdl.c canonicalize_path (const char *path, char **pcanonical) path 584 libltdl/ltdl.c assert (path && *path); path 587 libltdl/ltdl.c canonical = MALLOC (char, 1+ LT_STRLEN (path)); path 594 libltdl/ltdl.c for (src = 0; path[src] != LT_EOS_CHAR; ++src) path 599 libltdl/ltdl.c if (path[src] == LT_PATHSEP_CHAR) path 602 libltdl/ltdl.c || (path[1+ src] == LT_PATHSEP_CHAR) path 603 libltdl/ltdl.c || (path[1+ src] == LT_EOS_CHAR)) path 608 libltdl/ltdl.c if ((path[src] != '/') path 610 libltdl/ltdl.c && (path[src] != LT_DIRSEP_CHAR) path 614 libltdl/ltdl.c canonical[dest++] = path[src]; path 619 libltdl/ltdl.c else if ((path[1+ src] != LT_PATHSEP_CHAR) path 620 libltdl/ltdl.c && (path[1+ src] != LT_EOS_CHAR) path 622 libltdl/ltdl.c && (path[1+ src] != LT_DIRSEP_CHAR) path 624 libltdl/ltdl.c && (path[1+ src] != '/')) path 641 libltdl/ltdl.c argzize_path (const char *path, char **pargz, size_t *pargz_len) path 645 libltdl/ltdl.c assert (path); path 649 libltdl/ltdl.c if ((error = argz_create_sep (path, LT_PATHSEP_CHAR, pargz, pargz_len)))