path 668 crmd/control.c pe_subsystem->path = CRM_DAEMON_DIR; path 42 crmd/crmd_fsa.h const char *path; /* Command location */ path 115 crmd/subsystems.c if (access(the_subsystem->path, F_OK | X_OK) != 0) { path 116 crmd/subsystems.c crm_perror(LOG_ERR, "Cannot (access) exec %s", the_subsystem->path); path 609 crmd/te_utils.c const char *path = crm_element_value(change, XML_DIFF_PATH); path 625 crmd/te_utils.c const char *shortpath = strrchr(path, '/'); path 629 crmd/te_utils.c (shortpath? (shortpath + 1) : path), abort_text, path 630 crmd/te_utils.c add[0], add[1], add[2], fn, line, path, path 639 crmd/te_utils.c abort_text, add[0], add[1], add[2], fn, line, path, path 666 crmd/te_utils.c add[0], add[1], add[2], fn, line, path, path 47 include/crm/common/alerts_internal.h char *path; path 84 include/crm/common/alerts_internal.h crm_alert_entry_t *crm_alert_entry_new(const char *id, const char *path); path 357 include/crm/common/xml.h xmlXPathObjectPtr xpath_search(xmlNode * xml_top, const char *path); path 359 include/crm_internal.h char *crm_compat_realpath(const char *path); path 553 lib/ais/plugin.c char *path = ais_strdup(path_c); path 555 lib/ais/plugin.c AIS_CHECK(path != NULL, return); path 556 lib/ais/plugin.c for (len = strlen(path); offset < len; offset++) { path 557 lib/ais/plugin.c if (path[offset] == '/') { path 558 lib/ais/plugin.c path[offset] = 0; path 559 lib/ais/plugin.c if (mkdir(path, mode) < 0 && errno != EEXIST) { path 560 lib/ais/plugin.c ais_perror("Could not create directory '%s'", path); path 563 lib/ais/plugin.c path[offset] = '/'; path 566 lib/ais/plugin.c if (mkdir(path, mode) < 0 && errno != EEXIST) { path 567 lib/ais/plugin.c ais_perror("Could not create directory '%s'", path); path 569 lib/ais/plugin.c ais_free(path); path 597 lib/cib/cib_file.c cib_file_write_live(char *path) path 601 lib/cib/cib_file.c char *sep = strrchr(path, '/'); path 629 lib/cib/cib_file.c cib_filename = path; path 630 lib/cib/cib_file.c } else if (sep == path) { /* given name is in / */ path 632 lib/cib/cib_file.c cib_filename = path + 1; path 635 lib/cib/cib_file.c cib_dirname = path; path 342 lib/cib/cib_ops.c const char *path = get_object_parent(section); path 344 lib/cib/cib_ops.c if (path == NULL) { path 349 lib/cib/cib_ops.c cib_process_xpath(CIB_OP_CREATE, 0, path, NULL, tmp_section, NULL, result_cib, answer); path 718 lib/cib/cib_ops.c xmlChar *path = NULL; path 725 lib/cib/cib_ops.c path = xmlGetNodePath(match); path 726 lib/cib/cib_ops.c crm_debug("Processing %s op for %s with %s", op, section, path); path 727 lib/cib/cib_ops.c free(path); path 768 lib/cib/cib_ops.c char *path = NULL; path 789 lib/cib/cib_ops.c path ? path : ""); path 791 lib/cib/cib_ops.c snprintf(new_path, path_len + 1, "/%s%s", parent->name, path ? path : ""); path 793 lib/cib/cib_ops.c free(path); path 794 lib/cib/cib_ops.c path = new_path; path 797 lib/cib/cib_ops.c crm_trace("Got: %s", path); path 803 lib/cib/cib_ops.c crm_xml_add(parent, XML_ATTR_ID, path); path 804 lib/cib/cib_ops.c free(path); path 38 lib/cib/cib_utils.c const char *path; path 209 lib/cib/cib_utils.c return known_paths[lpc].path; path 70 lib/common/alerts.c crm_alert_entry_new(const char *id, const char *path) path 74 lib/common/alerts.c CRM_ASSERT(entry && id && path); path 76 lib/common/alerts.c entry->path = strdup(path); path 87 lib/common/alerts.c free(entry->path); path 121 lib/common/alerts.c crm_alert_entry_t *new_entry = crm_alert_entry_new(entry->id, entry->path); path 40 lib/common/compat.c crm_compat_realpath(const char *path) path 44 lib/common/compat.c return realpath(path, NULL); path 50 lib/common/compat.c if ((canonicalized == NULL) || (realpath(path, canonicalized) == NULL)) { path 53 lib/common/io.c char *path = strdup(path_c); path 55 lib/common/io.c CRM_CHECK(path != NULL, return); path 56 lib/common/io.c for (len = strlen(path); offset < len; offset++) { path 57 lib/common/io.c if (path[offset] == '/') { path 58 lib/common/io.c path[offset] = 0; path 59 lib/common/io.c if (mkdir(path, mode) < 0 && errno != EEXIST) { path 60 lib/common/io.c crm_perror(LOG_ERR, "Could not create directory '%s'", path); path 63 lib/common/io.c path[offset] = '/'; path 66 lib/common/io.c if (mkdir(path, mode) < 0 && errno != EEXIST) { path 67 lib/common/io.c crm_perror(LOG_ERR, "Could not create directory '%s'", path); path 70 lib/common/io.c free(path); path 872 lib/common/logging.c char path[512]; path 874 lib/common/logging.c snprintf(path, 512, "%s-%lu", crm_system_name, (unsigned long) getpid()); path 875 lib/common/logging.c mkdir(path, 0750); path 876 lib/common/logging.c chdir(path); path 877 lib/common/logging.c crm_info("Changed active directory to %s/%s/%s", base, pwent->pw_name, path); path 92 lib/common/xml.c char *path; path 291 lib/common/xml.c free(deleted_obj->path); path 562 lib/common/xml.c char *path = xml_get_path(match); path 565 lib/common/xml.c crm_trace("Applying %x to %s for %s", acl->mode, path, acl->xpath); path 573 lib/common/xml.c path, __xml_acl_to_text(p->flags), __xml_acl_to_text(acl->mode)); path 574 lib/common/xml.c free(path); path 581 lib/common/xml.c free(path); path 783 lib/common/xml.c char *path = xml_get_path(xml); path 792 lib/common/xml.c if (strcmp(prop_name, XML_ATTR_ID) == 0 && strstr(path, "/"XML_CIB_TAG_ACLS"/") == NULL) { path 801 lib/common/xml.c crm_trace("Cannot add new node %s at %s", crm_element_name(xml), path); path 807 lib/common/xml.c free(path); path 811 lib/common/xml.c free(path); path 1119 lib/common/xml.c if(strstr(deleted_obj->path, "/"XML_TAG_CIB"/"XML_CIB_TAG_CONFIGURATION) != NULL) { path 1268 lib/common/xml.c crm_xml_add(change, XML_DIFF_PATH, deleted_obj->path); path 1560 lib/common/xml.c deleted_obj->path, deleted_obj->position); path 1564 lib/common/xml.c deleted_obj->path); path 2005 lib/common/xml.c char *path = (char *)xmlGetNodePath(target); path 2007 lib/common/xml.c crm_trace("Found %s for %s", path, key); path 2008 lib/common/xml.c free(path); path 2676 lib/common/xml.c deleted_obj->path = strdup(buffer); path 145 lib/common/xpath.c xpath_search(xmlNode * xml_top, const char *path) path 150 lib/common/xpath.c const xmlChar *xpathExpr = (const xmlChar *)path; path 152 lib/common/xpath.c CRM_CHECK(path != NULL, return NULL); path 154 lib/common/xpath.c CRM_CHECK(strlen(path) > 0, return NULL); path 183 lib/lrmd/lrmd_alerts.c rc = lrmd->cmds->exec_alert(lrmd, entry->id, entry->path, path 254 lib/pengine/rules_alerts.c entry->id, entry->path, entry->timeout, entry->tstamp_format, path 79 lib/services/services.c char *path = NULL; path 82 lib/services/services.c rc = asprintf(&path, "%s/%s", LSB_ROOT_DIR, agent); path 83 lib/services/services.c if (rc > 0 && stat(path, &st) == 0) { path 84 lib/services/services.c free(path); path 87 lib/services/services.c free(path); path 252 lib/services/systemd.c const char *path = NULL; path 255 lib/services/systemd.c if (pcmk_dbus_find_error((void*)&path, reply, &error)) { path 264 lib/services/systemd.c DBUS_TYPE_OBJECT_PATH, &path, path 269 lib/services/systemd.c if (path) { path 270 lib/services/systemd.c systemd_unit_exec_with_unit(op, path); path 277 lib/services/systemd.c return path; path 485 lib/services/systemd.c char *path = systemd_unit_by_name(name, NULL); path 487 lib/services/systemd.c if (path) { path 489 lib/services/systemd.c desc = systemd_get_property(path, "Description", NULL, NULL, NULL, path 515 lib/services/systemd.c free(path); path 538 lib/services/systemd.c const char *path = NULL; path 541 lib/services/systemd.c DBUS_TYPE_OBJECT_PATH, &path, path 543 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 209 lib/services/upstart.c path = value.str; path 211 lib/services/upstart.c while (path[llpc] != 0) { path 212 lib/services/upstart.c if (path[llpc] == '/') { path 213 lib/services/upstart.c job = path + llpc + 1; path 218 lib/services/upstart.c crm_trace("%s -> %s", path, job); path 395 lib/services/upstart.c const char *path = NULL; path 398 lib/services/upstart.c DBUS_TYPE_OBJECT_PATH, &path, path 400 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))) path 679 mcp/pacemaker.c mcp_chown(const char *path, uid_t uid, gid_t gid) path 681 mcp/pacemaker.c int rc = chown(path, uid, gid); path 685 mcp/pacemaker.c path, CRM_DAEMON_USER, gid, pcmk_strerror(errno));