path 256 daemons/controld/controld_te_utils.c const char *path = crm_element_value(change, XML_DIFF_PATH); path 272 daemons/controld/controld_te_utils.c const char *shortpath = strrchr(path, '/'); path 277 daemons/controld/controld_te_utils.c (shortpath? (shortpath + 1) : path), abort_text, path 278 daemons/controld/controld_te_utils.c add[0], add[1], add[2], fn, line, path, path 288 daemons/controld/controld_te_utils.c abort_text, add[0], add[1], add[2], fn, line, path, path 319 daemons/controld/controld_te_utils.c abort_text, add[0], add[1], add[2], fn, line, path, path 130 daemons/pacemakerd/pacemakerd.c mcp_chown(const char *path, uid_t uid, gid_t gid) path 132 daemons/pacemakerd/pacemakerd.c int rc = chown(path, uid, gid); path 136 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 68 include/crm/common/internal.h int pcmk__real_path(const char *path, char **resolved_path); path 255 include/crm/common/xml.h xmlXPathObjectPtr xpath_search(xmlNode * xml_top, const char *path); path 623 lib/cib/cib_file.c cib_file_write_live(char *path) path 627 lib/cib/cib_file.c char *sep = strrchr(path, '/'); path 655 lib/cib/cib_file.c cib_filename = path; path 656 lib/cib/cib_file.c } else if (sep == path) { /* given name is in / */ path 658 lib/cib/cib_file.c cib_filename = path + 1; path 661 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 30 lib/cib/cib_utils.c const char *path; path 124 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 629 lib/common/io.c char *path = NULL; path 634 lib/common/io.c path = strdup(filename); path 635 lib/common/io.c CRM_ASSERT(path != NULL); path 639 lib/common/io.c path = crm_strdup_printf("%s/%s", dirname, filename); path 642 lib/common/io.c return path; path 941 lib/common/logging.c char path[512]; path 943 lib/common/logging.c snprintf(path, 512, "%s-%lu", crm_system_name, (unsigned long) getpid()); path 944 lib/common/logging.c mkdir(path, 0750); path 945 lib/common/logging.c chdir(path); path 946 lib/common/logging.c crm_info("Changed active directory to %s/%s/%s", base, pwent->pw_name, path); path 212 lib/common/patchset.c if (strstr(deleted_obj->path, path 358 lib/common/patchset.c crm_xml_add(change, XML_DIFF_PATH, deleted_obj->path); path 1033 lib/common/patchset.c char *path = NULL; path 1093 lib/common/patchset.c (path = (char *) xmlGetNodePath(target)), key); path 1094 lib/common/patchset.c free(path); path 23 lib/common/tests/io/pcmk__full_path_test.c char *path = NULL; path 25 lib/common/tests/io/pcmk__full_path_test.c path = pcmk__full_path("file", "/dir"); path 26 lib/common/tests/io/pcmk__full_path_test.c assert_int_equal(strcmp(path, "/dir/file"), 0); path 27 lib/common/tests/io/pcmk__full_path_test.c free(path); path 29 lib/common/tests/io/pcmk__full_path_test.c path = pcmk__full_path("/full/path", "/dir"); path 30 lib/common/tests/io/pcmk__full_path_test.c assert_int_equal(strcmp(path, "/full/path"), 0); path 31 lib/common/tests/io/pcmk__full_path_test.c free(path); path 33 lib/common/tests/io/pcmk__full_path_test.c path = pcmk__full_path("../relative/path", "/dir"); path 34 lib/common/tests/io/pcmk__full_path_test.c assert_int_equal(strcmp(path, "/dir/../relative/path"), 0); path 35 lib/common/tests/io/pcmk__full_path_test.c free(path); path 193 lib/common/xml.c free(deleted_obj->path); path 407 lib/common/xml.c deleted_obj->path, deleted_obj->position); path 411 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 200 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 255 lib/services/services_lsb.c char *path = pcmk__full_path(agent, PCMK__LSB_INIT_DIR); path 257 lib/services/services_lsb.c rc = (stat(path, &st) == 0); path 258 lib/services/services_lsb.c free(path); path 311 lib/services/systemd.c const char *path = NULL; path 317 lib/services/systemd.c if (pcmk_dbus_find_error((void *) &path, reply, &error)) { path 337 lib/services/systemd.c DBUS_TYPE_OBJECT_PATH, &path, path 342 lib/services/systemd.c if (path != NULL) { path 343 lib/services/systemd.c invoke_unit_by_path(op, path); path 352 lib/services/systemd.c return path; path 402 lib/services/systemd.c invoke_unit_by_name(const char *arg_name, svc_action_t *op, char **path) path 446 lib/services/systemd.c if (path != NULL) { path 447 lib/services/systemd.c *path = NULL; path 449 lib/services/systemd.c } else if (path != NULL) { path 450 lib/services/systemd.c *path = strdup(unit); path 451 lib/services/systemd.c if (*path == NULL) { path 603 lib/services/systemd.c char *path = NULL; path 609 lib/services/systemd.c if ((invoke_unit_by_name(name, NULL, &path) != pcmk_rc_ok) path 610 lib/services/systemd.c || (path == NULL)) { path 618 lib/services/systemd.c state = systemd_get_property(path, "LoadState", NULL, NULL, NULL, path 620 lib/services/systemd.c free(path); path 654 lib/services/systemd.c char *path = NULL; path 656 lib/services/systemd.c if (invoke_unit_by_name(name, NULL, &path) == pcmk_rc_ok) { path 658 lib/services/systemd.c desc = systemd_get_property(path, "Description", NULL, NULL, NULL, path 666 lib/services/systemd.c free(path); path 697 lib/services/systemd.c const char *path = NULL; path 700 lib/services/systemd.c DBUS_TYPE_OBJECT_PATH, &path, path 703 lib/services/systemd.c op->action, crm_str(op->rsc), path); path 109 lib/services/upstart.c object_path_for_job(const gchar *arg_name, char **path, int timeout) path 119 lib/services/upstart.c if (path != NULL) { path 120 lib/services/upstart.c *path = NULL; path 148 lib/services/upstart.c if (path != NULL) { path 149 lib/services/upstart.c dbus_message_get_args(reply, NULL, DBUS_TYPE_OBJECT_PATH, path, path 151 lib/services/upstart.c if (*path != NULL) { path 152 lib/services/upstart.c *path = strdup(*path); path 251 lib/services/upstart.c char *path = NULL; path 262 lib/services/upstart.c path = value.str; path 264 lib/services/upstart.c while (path[llpc] != 0) { path 265 lib/services/upstart.c if (path[llpc] == '/') { path 266 lib/services/upstart.c job = path + llpc + 1; path 271 lib/services/upstart.c crm_trace("%s -> %s", path, job); path 476 lib/services/upstart.c const char *path = NULL; path 478 lib/services/upstart.c dbus_message_get_args(reply, NULL, DBUS_TYPE_OBJECT_PATH, &path, path 481 lib/services/upstart.c op->action, crm_str(op->rsc), path); path 566 lib/services/upstart.c char *path = get_first_instance(job, op->timeout); path 570 lib/services/upstart.c if (path == NULL) { path 573 lib/services/upstart.c state = pcmk_dbus_get_property(upstart_proxy, BUS_NAME, path, path 579 lib/services/upstart.c free(path); path 674 lib/services/upstart.c const char *path = NULL; path 676 lib/services/upstart.c dbus_message_get_args(reply, NULL, DBUS_TYPE_OBJECT_PATH, &path, path 678 lib/services/upstart.c crm_info("Call to %s passed: %s", op->action, path); path 78 libltdl/libltdl/lt__dirent.h LT_SCOPE DIR * opendir (const char *path); path 49 libltdl/lt__dirent.c opendir (const char *path) path 54 libltdl/lt__dirent.c assert (path != (char *) 0); path 55 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 587 libltdl/ltdl.c canonicalize_path (const char *path, char **pcanonical) path 591 libltdl/ltdl.c assert (path && *path); path 594 libltdl/ltdl.c canonical = MALLOC (char, 1+ LT_STRLEN (path)); path 601 libltdl/ltdl.c for (src = 0; path[src] != LT_EOS_CHAR; ++src) path 606 libltdl/ltdl.c if (path[src] == LT_PATHSEP_CHAR) path 609 libltdl/ltdl.c || (path[1+ src] == LT_PATHSEP_CHAR) path 610 libltdl/ltdl.c || (path[1+ src] == LT_EOS_CHAR)) path 615 libltdl/ltdl.c if ((path[src] != '/') path 617 libltdl/ltdl.c && (path[src] != LT_DIRSEP_CHAR) path 621 libltdl/ltdl.c canonical[dest++] = path[src]; path 626 libltdl/ltdl.c else if ((path[1+ src] != LT_PATHSEP_CHAR) path 627 libltdl/ltdl.c && (path[1+ src] != LT_EOS_CHAR) path 629 libltdl/ltdl.c && (path[1+ src] != LT_DIRSEP_CHAR) path 631 libltdl/ltdl.c && (path[1+ src] != '/')) path 648 libltdl/ltdl.c argzize_path (const char *path, char **pargz, size_t *pargz_len) path 652 libltdl/ltdl.c assert (path); path 656 libltdl/ltdl.c if ((error = argz_create_sep (path, LT_PATHSEP_CHAR, pargz, pargz_len))) path 70 maint/gnulib/lib/dup.c char path[_MAX_PATH]; path 73 maint/gnulib/lib/dup.c if (!__libc_Back_ioFHToPath (fd, path, sizeof (path))) path 74 maint/gnulib/lib/dup.c dupfd = open (path, O_RDONLY); path 124 maint/gnulib/lib/dup2.c char path[_MAX_PATH]; path 125 maint/gnulib/lib/dup2.c if (__libc_Back_ioFHToPath (fd, path, sizeof (path))) path 128 maint/gnulib/lib/dup2.c return open(path, O_RDONLY); path 71 maint/gnulib/lib/fdopendir.c char path[_MAX_PATH]; path 75 maint/gnulib/lib/fdopendir.c if (__libc_Back_ioFHToPath (fd, path, sizeof (path))) path 78 maint/gnulib/lib/fdopendir.c dirp = opendir (path); path 75 maint/gnulib/lib/findprog-in.c find_in_given_path (const char *progname, const char *path, path 216 maint/gnulib/lib/findprog-in.c if (path == NULL) path 219 maint/gnulib/lib/findprog-in.c path = ""; path 223 maint/gnulib/lib/findprog-in.c char *path_copy = strdup (path); path 51 maint/gnulib/lib/findprog.c char *path; path 60 maint/gnulib/lib/findprog.c path = getenv ("PATH"); path 61 maint/gnulib/lib/findprog.c if (path == NULL || *path == '\0') path 68 maint/gnulib/lib/findprog.c path = xstrdup (path); path 70 maint/gnulib/lib/findprog.c path = strdup (path); path 71 maint/gnulib/lib/findprog.c if (path == NULL) path 75 maint/gnulib/lib/findprog.c for (path_rest = path; ; path_rest = cp + 1) path 100 maint/gnulib/lib/findprog.c free (path); path 132 maint/gnulib/lib/findprog.c free (path); path 141 maint/gnulib/lib/findprog.c free (path); path 153 maint/gnulib/lib/findprog.c free (path); path 68 maint/gnulib/lib/findprog.h extern const char *find_in_given_path (const char *progname, const char *path, path 949 maint/gnulib/lib/hamt.c iter.path = 0; path 1015 maint/gnulib/lib/hamt.c int j = (iter->path & ((1 << width) - 1)) + 1; path 1019 maint/gnulib/lib/hamt.c ++iter->path; path 1024 maint/gnulib/lib/hamt.c iter->path <<= width; path 1031 maint/gnulib/lib/hamt.c iter->path >>= width; path 214 maint/gnulib/lib/hamt.h size_t path; path 28 maint/gnulib/lib/isdir.c isdir (const char *path) path 32 maint/gnulib/lib/isdir.c return stat (path, &stats) == 0 && S_ISDIR (stats.st_mode); path 18 maint/gnulib/lib/isdir.h int isdir (const char *path); path 69 maint/gnulib/lib/mkfifoat.c mkfifoat (_GL_UNUSED int fd, _GL_UNUSED char const *path, path 69 maint/gnulib/lib/mknodat.c mknodat (_GL_UNUSED int fd, _GL_UNUSED char const *path, path 366 maint/gnulib/lib/progreloc.c const char *path = getenv ("PATH"); path 368 maint/gnulib/lib/progreloc.c if (path != NULL) path 373 maint/gnulib/lib/progreloc.c for (p = path; *p; p = p_next) path 564 maint/gnulib/lib/regex_internal.h state_array_t path; path 575 maint/gnulib/lib/regex_internal.h state_array_t *path; path 141 maint/gnulib/lib/regexec.c state_array_t *path, Idx top_node, path 2746 maint/gnulib/lib/regexec.c if (sub_top->path == NULL) path 2748 maint/gnulib/lib/regexec.c sub_top->path = calloc (sizeof (state_array_t), path 2750 maint/gnulib/lib/regexec.c if (sub_top->path == NULL) path 2755 maint/gnulib/lib/regexec.c err = check_arrival (mctx, sub_top->path, sub_top->node, path 2790 maint/gnulib/lib/regexec.c err = check_arrival (mctx, &sub_last->path, sub_last->node, path 2835 maint/gnulib/lib/regexec.c check_arrival (re_match_context_t *mctx, state_array_t *path, Idx top_node, path 2848 maint/gnulib/lib/regexec.c if (__glibc_unlikely (path->alloc < last_str + mctx->max_mb_elem_len + 1)) path 2851 maint/gnulib/lib/regexec.c Idx old_alloc = path->alloc; path 2859 maint/gnulib/lib/regexec.c new_array = re_realloc (path->array, re_dfastate_t *, new_alloc); path 2862 maint/gnulib/lib/regexec.c path->array = new_array; path 2863 maint/gnulib/lib/regexec.c path->alloc = new_alloc; path 2865 maint/gnulib/lib/regexec.c sizeof (re_dfastate_t *) * (path->alloc - old_alloc)); path 2868 maint/gnulib/lib/regexec.c str_idx = path->next_idx ? path->next_idx : top_str; path 2873 maint/gnulib/lib/regexec.c mctx->state_log = path->array; path 2977 maint/gnulib/lib/regexec.c path->next_idx = str_idx; path 4097 maint/gnulib/lib/regexec.c re_free (last->path.array); path 4101 maint/gnulib/lib/regexec.c if (top->path) path 4103 maint/gnulib/lib/regexec.c re_free (top->path->array); path 4104 maint/gnulib/lib/regexec.c re_free (top->path); path 120 maint/gnulib/lib/se-selinux.in.h matchpathcon_init_prefix (_GL_ATTRIBUTE_MAYBE_UNUSED char const *path, path 27 maint/gnulib/lib/spawn.c posix_spawn (pid_t *pid, const char *path, path 32 maint/gnulib/lib/spawn.c return __spawni (pid, path, file_actions, attrp, path 33 maint/gnulib/lib/spawn_faction_addchdir.c const char *path) path 37 maint/gnulib/lib/spawn_faction_addchdir.c return posix_spawn_file_actions_addchdir_np (file_actions, path); path 42 maint/gnulib/lib/spawn_faction_addchdir.c char *path_copy = strdup (path); path 61 maint/gnulib/lib/spawn_faction_addchdir.c rec->action.chdir_action.path = path_copy; path 39 maint/gnulib/lib/spawn_faction_addopen.c int fd, const char *path, int oflag, path 50 maint/gnulib/lib/spawn_faction_addopen.c return posix_spawn_file_actions_addopen (file_actions, fd, path, oflag, mode); path 55 maint/gnulib/lib/spawn_faction_addopen.c char *path_copy = strdup (path); path 75 maint/gnulib/lib/spawn_faction_addopen.c rec->action.open_action.path = path_copy; path 45 maint/gnulib/lib/spawn_faction_destroy.c free (sa->action.open_action.path); path 48 maint/gnulib/lib/spawn_faction_destroy.c free (sa->action.chdir_action.path); path 45 maint/gnulib/lib/spawn_int.h char *path; path 51 maint/gnulib/lib/spawn_int.h char *path; path 69 maint/gnulib/lib/spawn_int.h extern int __spawni (pid_t *pid, const char *path, path 584 maint/gnulib/lib/spawni.c const char *filename = action->action.open_action.path; path 605 maint/gnulib/lib/spawni.c char *newdir = action->action.chdir_action.path; path 730 maint/gnulib/lib/spawni.c char *path, *p, *name; path 841 maint/gnulib/lib/spawni.c int new_fd = open_not_cancel (action->action.open_action.path, path 874 maint/gnulib/lib/spawni.c if (chdir (action->action.chdir_action.path) < 0) path 898 maint/gnulib/lib/spawni.c path = getenv ("PATH"); path 899 maint/gnulib/lib/spawni.c if (path == NULL) path 906 maint/gnulib/lib/spawni.c path = (char *) alloca (1 + len); path 907 maint/gnulib/lib/spawni.c path[0] = ':'; path 908 maint/gnulib/lib/spawni.c (void) confstr (_CS_PATH, path + 1, len); path 911 maint/gnulib/lib/spawni.c path = ""; path 916 maint/gnulib/lib/spawni.c pathlen = strlen (path); path 923 maint/gnulib/lib/spawni.c p = path; path 928 maint/gnulib/lib/spawni.c path = p; path 929 maint/gnulib/lib/spawni.c p = strchrnul (path, ':'); path 931 maint/gnulib/lib/spawni.c if (p == path) path 936 maint/gnulib/lib/spawni.c startp = (char *) memcpy (name - (p - path), path, p - path); path 162 maint/gnulib/lib/stat-w32.c _gl_fstat_by_handle (HANDLE h, const char *path, struct stat *buf) path 286 maint/gnulib/lib/stat-w32.c if (path != NULL path 290 maint/gnulib/lib/stat-w32.c && (path = fpath, 1))) path 294 maint/gnulib/lib/stat-w32.c for (p = path; *p != '\0'; p++) path 30 maint/gnulib/lib/stat-w32.h extern int _gl_fstat_by_handle (HANDLE h, const char *path, struct stat *buf); path 63 maint/gnulib/lib/tmpdir.c # define __xstat64(version, path, buf) stat (path, buf) path 73 maint/gnulib/tests/test-pipe-filter-gi2-main.c const char *path[] = { NULL, NULL }; path 81 maint/gnulib/tests/test-pipe-filter-gi2-main.c path[0] = "/nonexistent/blah"; path 82 maint/gnulib/tests/test-pipe-filter-gi2-main.c f = pipe_filter_gi_create ("pipe-filter-test", path[0], path, true, false, path 95 maint/gnulib/tests/test-pipe-filter-gi2-main.c path[0] = argv[1]; path 96 maint/gnulib/tests/test-pipe-filter-gi2-main.c f = pipe_filter_gi_create ("pipe-filter-test", path[0], path, false, false, path 108 maint/gnulib/tests/test-pipe-filter-gi2-main.c path[0] = argv[1]; path 109 maint/gnulib/tests/test-pipe-filter-gi2-main.c f = pipe_filter_gi_create ("pipe-filter-test", path[0], path, false, false, path 125 maint/gnulib/tests/test-pipe-filter-gi2-main.c path[0] = argv[1]; path 126 maint/gnulib/tests/test-pipe-filter-gi2-main.c f = pipe_filter_gi_create ("pipe-filter-test", path[0], path, false, true, path 88 maint/gnulib/tests/test-pipe-filter-ii2-main.c const char *path[] = { NULL, NULL }; path 103 maint/gnulib/tests/test-pipe-filter-ii2-main.c path[0] = "/nonexistent/blah"; path 104 maint/gnulib/tests/test-pipe-filter-ii2-main.c rc = pipe_filter_ii_execute ("pipe-filter-test", path[0], path, true, false, path 122 maint/gnulib/tests/test-pipe-filter-ii2-main.c path[0] = argv[1]; path 123 maint/gnulib/tests/test-pipe-filter-ii2-main.c rc = pipe_filter_ii_execute ("pipe-filter-test", path[0], path, false, false, path 141 maint/gnulib/tests/test-pipe-filter-ii2-main.c path[0] = argv[1]; path 142 maint/gnulib/tests/test-pipe-filter-ii2-main.c rc = pipe_filter_ii_execute ("pipe-filter-test", path[0], path, false, true,