path 159 ompi/mca/io/romio321/romio/adio/ad_panfs/ad_panfs_open.c char *path; path 183 ompi/mca/io/romio321/romio/adio/ad_panfs/ad_panfs_open.c path = ADIOI_Strdup(fd->filename); path 184 ompi/mca/io/romio321/romio/adio/ad_panfs/ad_panfs_open.c slash = strrchr(path, '/'); path 186 ompi/mca/io/romio321/romio/adio/ad_panfs/ad_panfs_open.c ADIOI_Strncpy(path, ".", 2); path 188 ompi/mca/io/romio321/romio/adio/ad_panfs/ad_panfs_open.c if (slash == path) path 189 ompi/mca/io/romio321/romio/adio/ad_panfs/ad_panfs_open.c *(path + 1) = '\0'; path 196 ompi/mca/io/romio321/romio/adio/ad_panfs/ad_panfs_open.c fd_dir = open(path, O_RDONLY); path 242 ompi/mca/io/romio321/romio/adio/ad_panfs/ad_panfs_open.c ADIOI_Free(path); path 213 ompi/mca/io/romio321/romio/adio/ad_panfs/ad_panfs_open6.c char *path; path 240 ompi/mca/io/romio321/romio/adio/ad_panfs/ad_panfs_open6.c path = ADIOI_Strdup(fd->filename); path 241 ompi/mca/io/romio321/romio/adio/ad_panfs/ad_panfs_open6.c slash = strrchr(path, '/'); path 243 ompi/mca/io/romio321/romio/adio/ad_panfs/ad_panfs_open6.c ADIOI_Strncpy(path, ".", 2); path 245 ompi/mca/io/romio321/romio/adio/ad_panfs/ad_panfs_open6.c if (slash == path) path 246 ompi/mca/io/romio321/romio/adio/ad_panfs/ad_panfs_open6.c *(path + 1) = '\0'; path 254 ompi/mca/io/romio321/romio/adio/ad_panfs/ad_panfs_open6.c fd_dir = open(path, O_RDONLY); path 314 ompi/mca/io/romio321/romio/adio/ad_panfs/ad_panfs_open6.c ADIOI_Free(path); path 14 ompi/mca/io/romio321/romio/adio/ad_piofs/ad_piofs_hints.c char *value, *path, *slash; path 82 ompi/mca/io/romio321/romio/adio/ad_piofs/ad_piofs_hints.c path = ADIOI_Strdup(fd->filename); path 83 ompi/mca/io/romio321/romio/adio/ad_piofs/ad_piofs_hints.c len = strlen(path) + 1; path 84 ompi/mca/io/romio321/romio/adio/ad_piofs/ad_piofs_hints.c slash = strrchr(path, '/'); path 85 ompi/mca/io/romio321/romio/adio/ad_piofs/ad_piofs_hints.c if (!slash) ADIOI_Strncpy(path, ".", len); path 87 ompi/mca/io/romio321/romio/adio/ad_piofs/ad_piofs_hints.c if (slash == path) *(path + 1) = '\0'; path 90 ompi/mca/io/romio321/romio/adio/ad_piofs/ad_piofs_hints.c ADIOI_Strncpy(piofs_statfs.name, path, len); path 94 ompi/mca/io/romio321/romio/adio/ad_piofs/ad_piofs_hints.c ADIOI_Free(path); path 175 ompi/mca/io/romio321/romio/adio/include/adio.h ssize_t readlink(const char *path, char *buf, size_t bufsiz); path 773 ompi/mca/rte/pmix/rte_pmix_module.c static bool check_file(const char *root, const char *path) path 782 ompi/mca/rte/pmix/rte_pmix_module.c if (0 == strncmp(path, "output-", strlen("output-"))) { path 783 ompi/mca/rte/pmix/rte_pmix_module.c fullpath = opal_os_path(false, &fullpath, root, path, NULL); path 29 ompi/mca/vprotocol/pessimist/vprotocol_pessimist_sender_based.c static int sb_mmap_file_open(const char *path) path 31 ompi/mca/vprotocol/pessimist/vprotocol_pessimist_sender_based.c sb.sb_fd = open(path, O_CREAT | O_TRUNC | O_RDWR, 0600); path 35 ompi/mca/vprotocol/pessimist/vprotocol_pessimist_sender_based.c path, strerror(errno)); path 84 ompi/mca/vprotocol/pessimist/vprotocol_pessimist_sender_based.c char *path; path 101 ompi/mca/vprotocol/pessimist/vprotocol_pessimist_sender_based.c opal_asprintf(&path, "%s"OPAL_PATH_SEP"%s", ompi_process_info.proc_session_dir, path 103 ompi/mca/vprotocol/pessimist/vprotocol_pessimist_sender_based.c if(OPAL_SUCCESS != sb_mmap_file_open(path)) path 105 ompi/mca/vprotocol/pessimist/vprotocol_pessimist_sender_based.c free(path); path 892 opal/class/opal_interval_tree.c int opal_interval_tree_dump (opal_interval_tree_t *tree, const char *path) path 896 opal/class/opal_interval_tree.c fh = fopen (path, "w"); path 238 opal/class/opal_interval_tree.h OPAL_DECLSPEC int opal_interval_tree_dump (opal_interval_tree_t *tree, const char *path); path 64 opal/mca/base/mca_base_component_find.c static void find_dyn_components(const char *path, mca_base_framework_t *framework, path 242 opal/mca/base/mca_base_component_find.c static void find_dyn_components(const char *path, mca_base_framework_t *framework, path 249 opal/mca/base/mca_base_component_find.c if (NULL != path) { path 250 opal/mca/base/mca_base_component_find.c ret = mca_base_component_repository_add (path); path 202 opal/mca/base/mca_base_component_repository.c int mca_base_component_repository_add (const char *path) path 208 opal/mca/base/mca_base_component_repository.c if (NULL == path) { path 213 opal/mca/base/mca_base_component_repository.c path_to_use = strdup (path); path 91 opal/mca/base/mca_base_component_repository.h OPAL_DECLSPEC int mca_base_component_repository_add (const char *path); path 144 opal/mca/base/mca_base_var.c static int fixup_files(char **file_list, char * path, bool rel_path_search, char sep); path 1170 opal/mca/base/mca_base_var.c static int fixup_files(char **file_list, char * path, bool rel_path_search, char sep) { path 1180 opal/mca/base/mca_base_var.c search_path = opal_argv_split(path, OPAL_ENV_SEP); path 1188 opal/mca/base/mca_base_var.c char *msg_path = path; path 493 opal/mca/btl/smcuda/btl_smcuda.c char path[PATH_MAX]; path 505 opal/mca/btl/smcuda/btl_smcuda.c sprintf(path, "%s"OPAL_PATH_SEP"sm_fifo.%lu", path 508 opal/mca/btl/smcuda/btl_smcuda.c ep->fifo_fd = open(path, O_WRONLY); path 511 opal/mca/btl/smcuda/btl_smcuda.c path, errno); path 38 opal/mca/btl/usnic/test/usnic_btl_run_tests.c char *path; path 72 opal/mca/btl/usnic/test/usnic_btl_run_tests.c path = calloc(path_len+1, 1); path 73 opal/mca/btl/usnic/test/usnic_btl_run_tests.c to = path; path 78 opal/mca/btl/usnic/test/usnic_btl_run_tests.c usnic_handle = dlopen(path, RTLD_NOW|RTLD_LOCAL); path 85 opal/mca/btl/usnic/test/usnic_btl_run_tests.c free(path); path 3535 opal/mca/event/libevent2022/libevent/evdns.c char path[MAX_PATH+1]; path 3540 opal/mca/event/libevent2022/libevent/evdns.c if (! SHGetSpecialFolderPathA(NULL, path, CSIDL_SYSTEM, 0)) path 3542 opal/mca/event/libevent2022/libevent/evdns.c len_out = strlen(path)+strlen(hostfile); path 3544 opal/mca/event/libevent2022/libevent/evdns.c evutil_snprintf(path_out, len_out, "%s%s", path, hostfile); path 2180 opal/mca/event/libevent2022/libevent/evutil.c TCHAR path[MAX_PATH]; path 2182 opal/mca/event/libevent2022/libevent/evutil.c n = GetSystemDirectory(path, MAX_PATH); path 2185 opal/mca/event/libevent2022/libevent/evutil.c _tcscat(path, TEXT("\\")); path 2186 opal/mca/event/libevent2022/libevent/evutil.c _tcscat(path, library_name); path 2187 opal/mca/event/libevent2022/libevent/evutil.c return LoadLibrary(path); path 2880 opal/mca/event/libevent2022/libevent/http.c const char *path; path 2883 opal/mca/event/libevent2022/libevent/http.c path = evhttp_uri_get_path(req->uri_elems); path 2884 opal/mca/event/libevent2022/libevent/http.c offset = strlen(path); path 2887 opal/mca/event/libevent2022/libevent/http.c evhttp_decode_uri_internal(path, offset, translated, path 3919 opal/mca/event/libevent2022/libevent/http.c char *path; /* path, or "". */ path 4205 opal/mca/event/libevent2022/libevent/http.c char *path = NULL, *fragment = NULL; path 4250 opal/mca/event/libevent2022/libevent/http.c path = end_of_authority(readp); path 4251 opal/mca/event/libevent2022/libevent/http.c if (parse_authority(uri, authority, path) < 0) path 4253 opal/mca/event/libevent2022/libevent/http.c readp = path; path 4259 opal/mca/event/libevent2022/libevent/http.c path = readp; path 4260 opal/mca/event/libevent2022/libevent/http.c readp = end_of_path(path, PART_PATH, flags); path 4283 opal/mca/event/libevent2022/libevent/http.c if (!got_authority && path[0]=='/' && path[1]=='/') path 4287 opal/mca/event/libevent2022/libevent/http.c if (got_authority && path[0] != '/' && path[0] != '\0') path 4293 opal/mca/event/libevent2022/libevent/http.c if (! uri->scheme && !path_matches_noscheme(path)) path 4296 opal/mca/event/libevent2022/libevent/http.c EVUTIL_ASSERT(path); path 4297 opal/mca/event/libevent2022/libevent/http.c uri->path = mm_strdup(path); path 4298 opal/mca/event/libevent2022/libevent/http.c if (uri->path == NULL) { path 4340 opal/mca/event/libevent2022/libevent/http.c _URI_FREE_STR(path); path 4376 opal/mca/event/libevent2022/libevent/http.c if (uri->path && uri->path[0] != '/' && uri->path[0] != '\0') path 4380 opal/mca/event/libevent2022/libevent/http.c if (uri->path) path 4381 opal/mca/event/libevent2022/libevent/http.c _URI_ADD(path); path 4435 opal/mca/event/libevent2022/libevent/http.c return uri->path; path 4506 opal/mca/event/libevent2022/libevent/http.c evhttp_uri_set_path(struct evhttp_uri *uri, const char *path) path 4508 opal/mca/event/libevent2022/libevent/http.c if (path && end_of_cpath(path, PART_PATH, uri->flags) != path+strlen(path)) path 4511 opal/mca/event/libevent2022/libevent/http.c _URI_SET_STR(path); path 216 opal/mca/event/libevent2022/libevent/include/event2/http.h int evhttp_set_cb(struct evhttp *http, const char *path, path 771 opal/mca/event/libevent2022/libevent/include/event2/http.h int evhttp_uri_set_path(struct evhttp_uri *uri, const char *path); path 81 opal/mca/event/libevent2022/libevent/sample/http-server.c guess_content_type(const char *path) path 85 opal/mca/event/libevent2022/libevent/sample/http-server.c last_period = strrchr(path, '.'); path 155 opal/mca/event/libevent2022/libevent/sample/http-server.c const char *path; path 178 opal/mca/event/libevent2022/libevent/sample/http-server.c path = evhttp_uri_get_path(decoded); path 179 opal/mca/event/libevent2022/libevent/sample/http-server.c if (!path) path = "/"; path 182 opal/mca/event/libevent2022/libevent/sample/http-server.c decoded_path = evhttp_uridecode(path, 0, NULL); path 220 opal/mca/event/libevent2022/libevent/sample/http-server.c if (!strlen(path) || path[strlen(path)-1] != '/') path 247 opal/mca/event/libevent2022/libevent/sample/http-server.c uri_root, path, /* XXX html-escape this? */ path 200 opal/mca/hwloc/hwloc201/hwloc/hwloc/components.c const char *path = HWLOC_PLUGINS_PATH; path 215 opal/mca/hwloc/hwloc201/hwloc/hwloc/components.c path = env; path 220 opal/mca/hwloc/hwloc201/hwloc/hwloc/components.c fprintf(stderr, "Starting plugin dlforeach in %s\n", path); path 221 opal/mca/hwloc/hwloc201/hwloc/hwloc/components.c err = lt_dlforeachfile(path, hwloc__dlforeach_cb, NULL); path 315 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_checkat(const char *path, int fsroot_fd) path 324 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c for (relative_path = path; *relative_path == '/'; relative_path++); path 330 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_openat(const char *path, int fsroot_fd) path 334 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c relative_path = hwloc_checkat(path, fsroot_fd); path 342 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_fopenat(const char *path, const char *mode, int fsroot_fd) path 351 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c fd = hwloc_openat (path, fsroot_fd); path 359 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_accessat(const char *path, int mode, int fsroot_fd) path 363 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c relative_path = hwloc_checkat(path, fsroot_fd); path 371 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_fstatat(const char *path, struct stat *st, int flags, int fsroot_fd) path 375 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c relative_path = hwloc_checkat(path, fsroot_fd); path 383 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_opendirat(const char *path, int fsroot_fd) path 388 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c relative_path = hwloc_checkat(path, fsroot_fd); path 400 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_readlinkat(const char *path, char *buf, size_t buflen, int fsroot_fd) path 404 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c relative_path = hwloc_checkat(path, fsroot_fd); path 495 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_read_path_by_length(const char *path, char *string, size_t length, int fsroot_fd) path 499 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c fd = hwloc_open(path, fsroot_fd); path 515 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_read_path_as_int(const char *path, int *value, int fsroot_fd) path 518 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if (hwloc_read_path_by_length(path, string, sizeof(string), fsroot_fd) < 0) path 525 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_read_path_as_uint(const char *path, unsigned *value, int fsroot_fd) path 528 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if (hwloc_read_path_by_length(path, string, sizeof(string), fsroot_fd) < 0) path 2174 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c char path[] = "/proc/XXXXXXXXXX/cgroup"; path 2175 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c snprintf(path, sizeof(path), "/proc/%d/cgroup", pid); path 2176 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c file = hwloc_fopen(path, "r", fsroot_fd); path 2204 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c char path[] = "/proc/XXXXXXXXXX/cpuset"; path 2205 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c snprintf(path, sizeof(path), "/proc/%d/cpuset", pid); path 2206 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c err = hwloc_read_path_by_length(path, cpuset_name, sizeof(cpuset_name), fsroot_fd); path 2266 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c const char *path, path 2276 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if (hwloc_read_path_by_length(path, buffer, sizeof(buffer), data->root_fd) < 0) path 2313 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c char path[SYSFS_NUMA_NODE_PATH_LEN]; path 2322 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c err = snprintf(path, sizeof(path), "%s/%s/nr_hugepages", dirpath, dirent->d_name); path 2323 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if ((size_t) err < sizeof(path) path 2324 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c && !hwloc_read_path_by_length(path, line, sizeof(line), data->root_fd)) { path 2412 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c char path[SYSFS_NUMA_NODE_PATH_LEN]; path 2421 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c sprintf(path, "%s/node%d/hugepages", syspath, node); path 2422 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c err = hwloc_stat(path, &st, data->root_fd); path 2444 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_parse_hugepages_info(data, path, memory, &remaining_local_memory); path 2465 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_parse_nodes_distances(const char *path, unsigned nbnodes, unsigned *indexes, uint64_t *distances, int fsroot_fd) path 2484 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c sprintf(distancepath, "%s/node%u/distance", path, osnode); path 2517 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c char *path, unsigned pathlen, path 2522 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c strcpy(path+pathlen, dmi_name); path 2523 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if (hwloc_read_path_by_length(path, dmi_line, sizeof(dmi_line), data->root_fd) < 0) path 2538 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c char path[128]; path 2542 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c strcpy(path, "/sys/devices/virtual/dmi/id"); path 2543 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c dir = hwloc_opendir(path, data->root_fd); path 2547 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c strcpy(path, "/sys/class/dmi/id"); path 2548 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c dir = hwloc_opendir(path, data->root_fd); path 2556 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c path[pathlen++] = '/'; path 2558 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc__get_dmi_id_one_info(data, obj, path, pathlen, "product_name", "DMIProductName"); path 2559 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc__get_dmi_id_one_info(data, obj, path, pathlen, "product_version", "DMIProductVersion"); path 2560 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc__get_dmi_id_one_info(data, obj, path, pathlen, "product_serial", "DMIProductSerial"); path 2561 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc__get_dmi_id_one_info(data, obj, path, pathlen, "product_uuid", "DMIProductUUID"); path 2562 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc__get_dmi_id_one_info(data, obj, path, pathlen, "board_vendor", "DMIBoardVendor"); path 2563 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc__get_dmi_id_one_info(data, obj, path, pathlen, "board_name", "DMIBoardName"); path 2564 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc__get_dmi_id_one_info(data, obj, path, pathlen, "board_version", "DMIBoardVersion"); path 2565 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc__get_dmi_id_one_info(data, obj, path, pathlen, "board_serial", "DMIBoardSerial"); path 2566 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc__get_dmi_id_one_info(data, obj, path, pathlen, "board_asset_tag", "DMIBoardAssetTag"); path 2567 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc__get_dmi_id_one_info(data, obj, path, pathlen, "chassis_vendor", "DMIChassisVendor"); path 2568 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc__get_dmi_id_one_info(data, obj, path, pathlen, "chassis_type", "DMIChassisType"); path 2569 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc__get_dmi_id_one_info(data, obj, path, pathlen, "chassis_version", "DMIChassisVersion"); path 2570 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc__get_dmi_id_one_info(data, obj, path, pathlen, "chassis_serial", "DMIChassisSerial"); path 2571 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc__get_dmi_id_one_info(data, obj, path, pathlen, "chassis_asset_tag", "DMIChassisAssetTag"); path 2572 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc__get_dmi_id_one_info(data, obj, path, pathlen, "bios_vendor", "DMIBIOSVendor"); path 2573 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc__get_dmi_id_one_info(data, obj, path, pathlen, "bios_version", "DMIBIOSVersion"); path 2574 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc__get_dmi_id_one_info(data, obj, path, pathlen, "bios_date", "DMIBIOSDate"); path 2575 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc__get_dmi_id_one_info(data, obj, path, pathlen, "sys_vendor", "DMISysVendor"); path 3122 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c const char *path, path 3132 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c dir = hwloc_opendir(path, data->root_fd); path 3184 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c const char *path, unsigned *found) path 3197 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c indexes = list_sysfsnode(data, path, &nbnodes); path 3227 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c sprintf(nodepath, "%s/node%u/cpumap", path, osnode); path 3249 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_sysfs_node_meminfo_info(topology, data, path, osnode, &node->attr->numanode); path 3268 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if (distances && hwloc_parse_nodes_distances(path, nbnodes, indexes, distances, data->root_fd) < 0) { path 3426 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c const char *path, path 3439 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c dir = hwloc_opendir(path, data->root_fd); path 3458 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c sprintf(str, "%s/cpu%lu/online", path, cpu); path 3467 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c sprintf(str, "%s/cpu%lu/topology", path, cpu); path 3470 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c cpu, path, cpu); path 3491 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c sprintf(str, "%s/cpu%d/topology/core_siblings", path, i); path 3500 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c sprintf(str, "%s/cpu%d/topology/physical_package_id", path, i); /* contains %d at least up to 4.9 */ path 3569 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c sprintf(str, "%s/cpu%d/topology/thread_siblings", path, i); path 3580 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c sprintf(str, "%s/cpu%d/topology/core_id", path, i); /* contains %d at least up to 4.9 */ path 3589 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c sprintf(str, "%s/cpu%u/topology/core_id", path, siblingid); /* contains %d at least up to 4.9 */ path 3600 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c sprintf(str, "%s/cpu%d/topology/core_id", path, i); /* contains %d at least up to 4.9 */ path 3621 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c sprintf(str, "%s/cpu%d/topology/book_siblings", path, i); path 3629 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c sprintf(str, "%s/cpu%d/topology/book_id", path, i); /* contains %d at least up to 4.9 */ path 3664 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c sprintf(str, "%s/cpu%d/cache/index%d/shared_cpu_map", path, i, j); path 3670 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c sprintf(str, "%s/cpu%d/topology/thread_siblings", path, i); path 3690 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c sprintf(str, "%s/cpu%d/cache/index%d/level", path, i, j); /* contains %u at least up to 4.9 */ path 3697 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c sprintf(str, "%s/cpu%d/cache/index%d/type", path, i, j); path 3719 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c sprintf(str, "%s/cpu%d/cache/index%d/size", path, i, j); /* contains %uK at least up to 4.9 */ path 3731 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c sprintf(str, "%s/cpu%d/cache/index%d/coherency_line_size", path, i, j); /* contains %u at least up to 4.9 */ path 3739 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c sprintf(str, "%s/cpu%d/cache/index%d/number_of_sets", path, i, j); /* contains %u at least up to 4.9 */ path 3743 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c sprintf(str, "%s/cpu%d/cache/index%d/physical_line_partition", path, i, j); /* contains %u at least up to 4.9 */ path 3962 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c const char *path, path 3976 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if (!(fd=hwloc_fopen(path,"r", data->root_fd))) path 3978 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_debug("could not open %s\n", path); path 3985 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_debug("\n\n * Topology extraction from %s *\n\n", path); path 4024 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_debug("no number in "field" field of %s\n", path); \ path 4027 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_debug("too big "field" number in %s\n", path); \ path 4636 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c char path[256]; path 4639 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c snprintf(path, sizeof(path), "/sys/bus/pci/devices/%04x:%02x:%02x.%01x/local_cpus", path 4642 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c err = hwloc__read_path_as_cpumask(path, cpuset, data->root_fd); path 4793 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c char path[256], buf[10]; path 4803 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c err = hwloc_readlink(osdevpath, path, sizeof(path), root_fd); path 4810 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c err = hwloc_readlink(olddevpath, path, sizeof(path), root_fd); path 4814 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c path[err] = '\0'; path 4817 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if (strstr(path, "/virtual/")) path 4822 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if (strstr(path, "/usb")) path 4826 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c tmp = strstr(path, "/pci"); path 4869 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c snprintf(path, sizeof(path), "%s/device/numa_node", osdevpath); path 4870 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c fd = hwloc_open(path, root_fd); path 4889 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c snprintf(path, sizeof(path), "%s/device/local_cpus", osdevpath); path 4890 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c cpuset = hwloc__alloc_read_path_as_cpumask(path, root_fd); path 4930 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c char path[256]; path 4941 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c snprintf(path, sizeof(path), "%s/size", osdevpath); path 4942 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if (!hwloc_read_path_by_length(path, line, sizeof(line), root_fd)) { path 4949 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c snprintf(path, sizeof(path), "%s/queue/hw_sector_size", osdevpath); path 4950 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if (!hwloc_read_path_by_length(path, line, sizeof(line), root_fd)) { path 4960 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c snprintf(path, sizeof(path), "%s/device/devtype", osdevpath); path 4961 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if (!hwloc_read_path_by_length(path, line, sizeof(line), root_fd)) { path 4973 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c snprintf(path, sizeof(path), "%s/dev", osdevpath); path 4974 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if (hwloc_read_path_by_length(path, line, sizeof(line), root_fd) < 0) path 5021 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c snprintf(path, sizeof(path), "/run/udev/data/b%u:%u", major_id, minor_id); path 5022 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c file = hwloc_fopen(path, "r", root_fd); path 5103 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c char path[256]; path 5112 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c err = snprintf(path, sizeof(path), "/sys/class/block/%s/partition", dirent->d_name); path 5113 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if ((size_t) err < sizeof(path) path 5114 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c && hwloc_stat(path, &stbuf, root_fd) >= 0) path 5117 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c err = snprintf(path, sizeof(path), "/sys/class/block/%s", dirent->d_name); path 5118 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if ((size_t) err >= sizeof(path)) path 5120 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c parent = hwloc_linuxfs_find_osdev_parent(backend, root_fd, path, osdev_flags); path 5130 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_linuxfs_block_class_fillinfos(backend, root_fd, obj, path); path 5143 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c char path[256]; path 5145 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c snprintf(path, sizeof(path), "%s/address", osdevpath); path 5146 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if (!hwloc_read_path_by_length(path, address, sizeof(address), root_fd)) { path 5152 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c snprintf(path, sizeof(path), "%s/device/infiniband", osdevpath); path 5153 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if (!hwloc_stat(path, &st, root_fd)) { path 5155 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c snprintf(path, sizeof(path), "%s/dev_id", osdevpath); path 5156 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if (!hwloc_read_path_by_length(path, hexid, sizeof(hexid), root_fd)) { path 5182 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c char path[256]; path 5189 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c err = snprintf(path, sizeof(path), "/sys/class/net/%s", dirent->d_name); path 5190 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if ((size_t) err >= sizeof(path)) path 5192 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c parent = hwloc_linuxfs_find_osdev_parent(backend, root_fd, path, osdev_flags); path 5198 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_linuxfs_net_class_fillinfos(root_fd, obj, path); path 5210 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c char path[256]; path 5214 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c snprintf(path, sizeof(path), "%s/node_guid", osdevpath); path 5215 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if (!hwloc_read_path_by_length(path, guidvalue, sizeof(guidvalue), root_fd)) { path 5222 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c snprintf(path, sizeof(path), "%s/sys_image_guid", osdevpath); path 5223 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if (!hwloc_read_path_by_length(path, guidvalue, sizeof(guidvalue), root_fd)) { path 5235 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c snprintf(path, sizeof(path), "%s/ports/%u/state", osdevpath, i); path 5236 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if (!hwloc_read_path_by_length(path, statevalue, sizeof(statevalue), root_fd)) { path 5246 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c snprintf(path, sizeof(path), "%s/ports/%u/lid", osdevpath, i); path 5247 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if (!hwloc_read_path_by_length(path, lidvalue, sizeof(lidvalue), root_fd)) { path 5256 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c snprintf(path, sizeof(path), "%s/ports/%u/lid_mask_count", osdevpath, i); path 5257 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if (!hwloc_read_path_by_length(path, lidvalue, sizeof(lidvalue), root_fd)) { path 5267 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c snprintf(path, sizeof(path), "%s/ports/%u/gids/%u", osdevpath, i, j); path 5268 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if (!hwloc_read_path_by_length(path, gidvalue, sizeof(gidvalue), root_fd)) { path 5299 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c char path[256]; path 5310 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c err = snprintf(path, sizeof(path), "/sys/class/infiniband/%s", dirent->d_name); path 5311 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if ((size_t) err > sizeof(path)) path 5313 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c parent = hwloc_linuxfs_find_osdev_parent(backend, root_fd, path, osdev_flags); path 5319 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_linuxfs_infiniband_class_fillinfos(root_fd, obj, path); path 5331 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c char path[256]; path 5339 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c snprintf(path, sizeof(path), "%s/family", osdevpath); path 5340 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if (!hwloc_read_path_by_length(path, family, sizeof(family), root_fd)) { path 5347 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c snprintf(path, sizeof(path), "%s/sku", osdevpath); path 5348 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if (!hwloc_read_path_by_length(path, sku, sizeof(sku), root_fd)) { path 5355 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c snprintf(path, sizeof(path), "%s/serialnumber", osdevpath); path 5356 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if (!hwloc_read_path_by_length(path, sn, sizeof(sn), root_fd)) { path 5364 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c snprintf(path, sizeof(path), "%s/active_cores", osdevpath); path 5365 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if (!hwloc_read_path_by_length(path, string, sizeof(string), root_fd)) { path 5371 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c snprintf(path, sizeof(path), "%s/memsize", osdevpath); path 5372 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if (!hwloc_read_path_by_length(path, string, sizeof(string), root_fd)) { path 5393 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c char path[256]; path 5401 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c snprintf(path, sizeof(path), "/sys/class/mic/mic%u", idx); path 5402 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c parent = hwloc_linuxfs_find_osdev_parent(backend, root_fd, path, osdev_flags); path 5408 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_linuxfs_mic_class_fillinfos(root_fd, obj, path); path 5429 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c char path[256]; path 5438 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c err = snprintf(path, sizeof(path), "/sys/class/drm/%s/dev", dirent->d_name); path 5439 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if ((size_t) err < sizeof(path) path 5440 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c && hwloc_stat(path, &stbuf, root_fd) < 0) path 5456 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c err = snprintf(path, sizeof(path), "/sys/class/drm/%s", dirent->d_name); path 5457 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if ((size_t) err >= sizeof(path)) path 5459 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c parent = hwloc_linuxfs_find_osdev_parent(backend, root_fd, path, osdev_flags); path 5484 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c char path[256]; path 5491 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c err = snprintf(path, sizeof(path), "/sys/class/dma/%s", dirent->d_name); path 5492 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if ((size_t) err >= sizeof(path)) path 5494 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c parent = hwloc_linuxfs_find_osdev_parent(backend, root_fd, path, osdev_flags); path 5544 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c unsigned idx, const char *path, FILE *fd, path 5617 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c i, path); path 5655 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c char path[128]; path 5663 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c snprintf(path, sizeof(path), "/sys/firmware/dmi/entries/17-%u/raw", i); path 5664 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c fd = hwloc_fopen(path, "r", data->root_fd); path 5679 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc__get_firmware_dmi_memory_info_one(topology, i, path, fd, &header); path 5722 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c char path[64]; path 5732 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c err = snprintf(path, sizeof(path), "/sys/bus/pci/devices/%s/config", dirent->d_name); path 5733 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if ((size_t) err < sizeof(path)) { path 5735 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c fd = hwloc_open(path, root_fd); path 5744 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c err = snprintf(path, sizeof(path), "/sys/bus/pci/devices/%s/class", dirent->d_name); path 5745 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if ((size_t) err < sizeof(path) path 5746 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c && !hwloc_read_path_by_length(path, value, sizeof(value), root_fd)) path 5787 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c err = snprintf(path, sizeof(path), "/sys/bus/pci/devices/%s/vendor", dirent->d_name); path 5788 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if ((size_t) err < sizeof(path) path 5789 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c && !hwloc_read_path_by_length(path, value, sizeof(value), root_fd)) path 5792 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c err = snprintf(path, sizeof(path), "/sys/bus/pci/devices/%s/device", dirent->d_name); path 5793 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if ((size_t) err < sizeof(path) path 5794 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c && !hwloc_read_path_by_length(path, value, sizeof(value), root_fd)) path 5797 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c err = snprintf(path, sizeof(path), "/sys/bus/pci/devices/%s/subsystem_vendor", dirent->d_name); path 5798 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if ((size_t) err < sizeof(path) path 5799 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c && !hwloc_read_path_by_length(path, value, sizeof(value), root_fd)) path 5802 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c err = snprintf(path, sizeof(path), "/sys/bus/pci/devices/%s/subsystem_device", dirent->d_name); path 5803 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if ((size_t) err < sizeof(path) path 5804 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c && !hwloc_read_path_by_length(path, value, sizeof(value), root_fd)) path 5883 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c char path[64]; path 5890 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c err = snprintf(path, sizeof(path), "/sys/bus/pci/slots/%s/address", dirent->d_name); path 5891 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if ((size_t) err < sizeof(path) path 5892 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c && !hwloc_read_path_by_length(path, buf, sizeof(buf), root_fd) path 204 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-pci.c char path[64]; path 209 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-pci.c snprintf(path, sizeof(path), "/sys/bus/pci/devices/%04x:%02x:%02x.%01x/vendor", path 211 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-pci.c file = fopen(path, "r"); path 220 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-pci.c snprintf(path, sizeof(path), "/sys/bus/pci/devices/%04x:%02x:%02x.%01x/device", path 222 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-pci.c file = fopen(path, "r"); path 1375 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c char path[strlen(src_cpuiddump_path) + strlen("/hwloc-cpuid-info") + 1]; path 1376 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c sprintf(path, "%s/hwloc-cpuid-info", src_cpuiddump_path); path 1377 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c file = fopen(path, "r"); path 1379 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c fprintf(stderr, "Couldn't open dumped cpuid summary %s\n", path); path 1383 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c fprintf(stderr, "Found read dumped cpuid summary in %s\n", path); path 1389 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c fprintf(stderr, "Found non-x86 dumped cpuid summary in %s: %s\n", path, line); path 98 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/cuda.h char path[HWLOC_CUDA_DEVICE_SYSFS_PATH_MAX]; path 109 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/cuda.h sprintf(path, "/sys/bus/pci/devices/%04x:%02x:%02x.0/local_cpus", domainid, busid, deviceid); path 110 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/cuda.h if (hwloc_linux_read_path_as_cpumask(path, set) < 0 path 95 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/cudart.h char path[HWLOC_CUDART_DEVICE_SYSFS_PATH_MAX]; path 106 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/cudart.h sprintf(path, "/sys/bus/pci/devices/%04x:%02x:%02x.0/local_cpus", (unsigned) domain, (unsigned) bus, (unsigned) dev); path 107 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/cudart.h if (hwloc_linux_read_path_as_cpumask(path, set) < 0 path 65 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/intel-mic.h char path[HWLOC_INTEL_MIC_DEVICE_SYSFS_PATH_MAX]; path 75 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/intel-mic.h sprintf(path, "/sys/class/mic/mic%d", idx); path 76 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/intel-mic.h sysdir = opendir(path); path 82 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/intel-mic.h sprintf(path, "/sys/class/mic/mic%d/pci_%02x:%02x.%02x/local_cpus", idx, pcibus, pcidev, pcifunc); path 83 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/intel-mic.h if (hwloc_linux_read_path_as_cpumask(path, set) < 0 path 69 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/linux.h HWLOC_DECLSPEC int hwloc_linux_read_path_as_cpumask(const char *path, hwloc_bitmap_t set); path 62 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/nvml.h char path[HWLOC_NVML_DEVICE_SYSFS_PATH_MAX]; path 77 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/nvml.h sprintf(path, "/sys/bus/pci/devices/%04x:%02x:%02x.0/local_cpus", pci.domain, pci.bus, pci.device); path 78 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/nvml.h if (hwloc_linux_read_path_as_cpumask(path, set) < 0 path 76 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/opencl.h char path[HWLOC_OPENCL_DEVICE_SYSFS_PATH_MAX]; path 95 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/opencl.h sprintf(path, "/sys/bus/pci/devices/0000:%02x:%02x.%01x/local_cpus", path 97 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/opencl.h if (hwloc_linux_read_path_as_cpumask(path, set) < 0 path 69 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/openfabrics-verbs.h char path[HWLOC_OPENFABRICS_VERBS_SYSFS_PATH_MAX]; path 76 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/openfabrics-verbs.h sprintf(path, "/sys/class/infiniband/%s/device/local_cpus", path 78 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/openfabrics-verbs.h if (hwloc_linux_read_path_as_cpumask(path, set) < 0 path 321 opal/mca/hwloc/hwloc201/hwloc/include/private/netloc.h netloc_topology_t *netloc_topology_construct(char *path); path 399 opal/mca/hwloc/hwloc201/hwloc/include/private/netloc.h #define netloc_node_iter_paths(node,path,_tmp) \ path 400 opal/mca/hwloc/hwloc201/hwloc/include/private/netloc.h HASH_ITER(hh, node->paths, path, _tmp) path 408 opal/mca/hwloc/hwloc201/hwloc/include/private/netloc.h #define netloc_node_iter_paths(node, path,_tmp) \ path 409 opal/mca/hwloc/hwloc201/hwloc/include/private/netloc.h HASH_ITER(hh, node->paths, path, _tmp) path 483 opal/mca/hwloc/hwloc201/hwloc/include/private/netloc.h int netloc_path_destruct(netloc_path_t *path); path 519 opal/mca/hwloc/hwloc201/hwloc/include/private/netloc.h #define netloc_path_iter_links(path,link) \ path 520 opal/mca/hwloc/hwloc201/hwloc/include/private/netloc.h for ((link) = (netloc_physical_link_t **)utarray_front(path->links); \ path 522 opal/mca/hwloc/hwloc201/hwloc/include/private/netloc.h (link) = (netloc_physical_link_t **)utarray_next(path->links, link)) path 63 opal/mca/mpool/hugepage/mpool_hugepage.h char *path; path 265 opal/mca/mpool/hugepage/mpool_hugepage_component.c hp->path = strdup (mntent->mnt_dir); path 268 opal/mca/mpool/hugepage/mpool_hugepage_component.c if(0 == access (hp->path, R_OK | W_OK)){ path 271 opal/mca/mpool/hugepage/mpool_hugepage_component.c hp->page_size, hp->path, hp->mmap_flags); path 276 opal/mca/mpool/hugepage/mpool_hugepage_component.c "permissions, skipping", hp->page_size, hp->path, hp->mmap_flags); path 385 opal/mca/mpool/hugepage/mpool_hugepage_component.c "0x%x", page_size, hugepage_module->huge_page->path, path 63 opal/mca/mpool/hugepage/mpool_hugepage_module.c free (huge_page->path); path 126 opal/mca/mpool/hugepage/mpool_hugepage_module.c char *path = NULL; path 133 opal/mca/mpool/hugepage/mpool_hugepage_module.c if (huge_page->path) { path 138 opal/mca/mpool/hugepage/mpool_hugepage_module.c rc = opal_asprintf (&path, "%s/hugepage.openmpi.%d.%d", huge_page->path, path 144 opal/mca/mpool/hugepage/mpool_hugepage_module.c fd = open (path, O_RDWR | O_CREAT, 0600); path 146 opal/mca/mpool/hugepage/mpool_hugepage_module.c free (path); path 152 opal/mca/mpool/hugepage/mpool_hugepage_module.c unlink (path); path 153 opal/mca/mpool/hugepage/mpool_hugepage_module.c free (path); path 166 opal/mca/mpool/hugepage/mpool_hugepage_module.c if (path) { path 167 opal/mca/mpool/hugepage/mpool_hugepage_module.c unlink (path); path 168 opal/mca/mpool/hugepage/mpool_hugepage_module.c free (path); path 78 opal/mca/pmix/ext3x/ext3x.c static int ext3x_register_cleanup(char *path, bool directory, bool ignore, bool jobscope); path 368 opal/mca/pmix/ext3x/ext3x.c static int ext3x_register_cleanup(char *path, bool directory, bool ignore, bool jobscope) path 377 opal/mca/pmix/ext3x/ext3x.c PMIX_INFO_LOAD(&pinfo[ninfo], PMIX_CLEANUP_IGNORE, path, PMIX_STRING); path 381 opal/mca/pmix/ext3x/ext3x.c PMIX_INFO_LOAD(&pinfo[ninfo], PMIX_REGISTER_CLEANUP_DIR, path, PMIX_STRING); path 388 opal/mca/pmix/ext3x/ext3x.c PMIX_INFO_LOAD(&pinfo[ninfo], PMIX_REGISTER_CLEANUP, path, PMIX_STRING); path 138 opal/mca/pmix/flux/pmix_flux.c const char *path; path 139 opal/mca/pmix/flux/pmix_flux.c if ((path = getenv ("FLUX_PMI_LIBRARY_PATH"))) path 140 opal/mca/pmix/flux/pmix_flux.c dso = dlopen (path, RTLD_NOW | RTLD_GLOBAL); path 904 opal/mca/pmix/pmix.h typedef int (*opal_pmix_base_register_cleanup_fn_t)(char *path, bool directory, bool ignore, bool jobscope); path 57 opal/mca/pmix/pmix4x/pmix/src/include/pmix_globals.c static void dirpath_destroy(char *path, pmix_cleanup_dir_t *cd, path 59 opal/mca/pmix/pmix4x/pmix/src/include/pmix_globals.c static bool dirpath_is_empty(const char *path); path 73 opal/mca/pmix/pmix4x/pmix/src/include/pmix_globals.c p->path = NULL; path 77 opal/mca/pmix/pmix4x/pmix/src/include/pmix_globals.c if (NULL != p->path) { path 78 opal/mca/pmix/pmix4x/pmix/src/include/pmix_globals.c free(p->path); path 87 opal/mca/pmix/pmix4x/pmix/src/include/pmix_globals.c p->path = NULL; path 93 opal/mca/pmix/pmix4x/pmix/src/include/pmix_globals.c if (NULL != p->path) { path 94 opal/mca/pmix/pmix4x/pmix/src/include/pmix_globals.c free(p->path); path 387 opal/mca/pmix/pmix4x/pmix/src/include/pmix_globals.c tmp = pmix_argv_split(cf->path, ','); path 399 opal/mca/pmix/pmix4x/pmix/src/include/pmix_globals.c cf->path, path 420 opal/mca/pmix/pmix4x/pmix/src/include/pmix_globals.c tmp = pmix_argv_split(cd->path, ','); path 432 opal/mca/pmix/pmix4x/pmix/src/include/pmix_globals.c cd->path, path 450 opal/mca/pmix/pmix4x/pmix/src/include/pmix_globals.c static void dirpath_destroy(char *path, pmix_cleanup_dir_t *cd, pmix_epilog_t *epi) path 460 opal/mca/pmix/pmix4x/pmix/src/include/pmix_globals.c if (NULL == path) { /* protect against error */ path 466 opal/mca/pmix/pmix4x/pmix/src/include/pmix_globals.c if (0 == strcmp(cf->path, path)) { path 472 opal/mca/pmix/pmix4x/pmix/src/include/pmix_globals.c dp = opendir(path); path 490 opal/mca/pmix/pmix4x/pmix/src/include/pmix_globals.c filenm = pmix_os_path(false, path, ep->d_name, NULL); path 494 opal/mca/pmix/pmix4x/pmix/src/include/pmix_globals.c if (0 == strcmp(cf->path, filenm)) { path 554 opal/mca/pmix/pmix4x/pmix/src/include/pmix_globals.c if (0 == strcmp(path, cd->path) && cd->leave_topdir) { path 557 opal/mca/pmix/pmix4x/pmix/src/include/pmix_globals.c if (dirpath_is_empty(path)) { path 558 opal/mca/pmix/pmix4x/pmix/src/include/pmix_globals.c rmdir(path); path 562 opal/mca/pmix/pmix4x/pmix/src/include/pmix_globals.c static bool dirpath_is_empty(const char *path ) path 567 opal/mca/pmix/pmix4x/pmix/src/include/pmix_globals.c if (NULL != path) { /* protect against error */ path 568 opal/mca/pmix/pmix4x/pmix/src/include/pmix_globals.c dp = opendir(path); path 162 opal/mca/pmix/pmix4x/pmix/src/include/pmix_globals.h char *path; path 168 opal/mca/pmix/pmix4x/pmix/src/include/pmix_globals.h char *path; path 65 opal/mca/pmix/pmix4x/pmix/src/mca/base/pmix_mca_base_component_find.c static void find_dyn_components(const char *path, pmix_mca_base_framework_t *framework, path 247 opal/mca/pmix/pmix4x/pmix/src/mca/base/pmix_mca_base_component_find.c static void find_dyn_components(const char *path, pmix_mca_base_framework_t *framework, path 256 opal/mca/pmix/pmix4x/pmix/src/mca/base/pmix_mca_base_component_find.c path, framework->framework_name); path 258 opal/mca/pmix/pmix4x/pmix/src/mca/base/pmix_mca_base_component_find.c if (NULL != path) { path 259 opal/mca/pmix/pmix4x/pmix/src/mca/base/pmix_mca_base_component_find.c ret = pmix_mca_base_component_repository_add(path); path 201 opal/mca/pmix/pmix4x/pmix/src/mca/base/pmix_mca_base_component_repository.c int pmix_mca_base_component_repository_add (const char *path) path 207 opal/mca/pmix/pmix4x/pmix/src/mca/base/pmix_mca_base_component_repository.c if (NULL == path) { path 212 opal/mca/pmix/pmix4x/pmix/src/mca/base/pmix_mca_base_component_repository.c path_to_use = strdup (path); path 91 opal/mca/pmix/pmix4x/pmix/src/mca/base/pmix_mca_base_component_repository.h PMIX_EXPORT int pmix_mca_base_component_repository_add(const char *path); path 131 opal/mca/pmix/pmix4x/pmix/src/mca/base/pmix_mca_base_var.c static int fixup_files(char **file_list, char * path, bool rel_path_search, char sep); path 1191 opal/mca/pmix/pmix4x/pmix/src/mca/base/pmix_mca_base_var.c static int fixup_files(char **file_list, char * path, bool rel_path_search, char sep) { path 1201 opal/mca/pmix/pmix4x/pmix/src/mca/base/pmix_mca_base_var.c search_path = pmix_argv_split(path, PMIX_ENV_SEP); path 1209 opal/mca/pmix/pmix4x/pmix/src/mca/base/pmix_mca_base_var.c char *msg_path = path; path 194 opal/mca/pmix/pmix4x/pmix/src/mca/common/dstore/dstore_base.c static inline int _esh_dir_del(const char *path) path 203 opal/mca/pmix/pmix4x/pmix/src/mca/common/dstore/dstore_base.c dir = opendir(path); path 210 opal/mca/pmix/pmix4x/pmix/src/mca/common/dstore/dstore_base.c snprintf(name, PMIX_PATH_MAX, "%s/%s", path, d_ptr->d_name); path 242 opal/mca/pmix/pmix4x/pmix/src/mca/common/dstore/dstore_base.c if( 0 > rmdir(path) ){ path 2993 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_ops.c cf->path = strdup(cd->info[n].value.data.string); path 3009 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_ops.c cdir->path = strdup(cd->info[n].value.data.string); path 3027 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_ops.c cf->path = strdup(cd->info[n].value.data.string); path 3042 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_ops.c if (0 == strcmp(cf2->path, cf->path)) { path 3050 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_ops.c cfptr->path = strdup(cf->path); path 3062 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_ops.c if (0 == strcmp(cdir2->path, cdir->path)) { path 3078 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_ops.c if (0 == strcmp(cf->path, cdir->path)) { path 3088 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_ops.c cdirptr->path = strdup(cdir->path); path 3101 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_ops.c if (0 == strcmp(cf2->path, cf->path)) { path 3109 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_ops.c if (0 == strcmp(cf->path, cf2->path)) { path 3119 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_ops.c cfptr->path = strdup(cf->path); path 333 opal/mca/pmix/pmix4x/pmix/src/tools/pmix_info/support.c char *pretty, *path; path 338 opal/mca/pmix/pmix4x/pmix/src/tools/pmix_info/support.c if (0 > asprintf(&path, "path:%s", type)) { path 342 opal/mca/pmix/pmix4x/pmix/src/tools/pmix_info/support.c pmix_info_out(pretty, path, value); path 344 opal/mca/pmix/pmix4x/pmix/src/tools/pmix_info/support.c free(path); path 51 opal/mca/pmix/pmix4x/pmix/src/util/os_dirpath.c int pmix_os_dirpath_create(const char *path, const mode_t mode) path 58 opal/mca/pmix/pmix4x/pmix/src/util/os_dirpath.c if (NULL == path) { /* protect ourselves from errors */ path 62 opal/mca/pmix/pmix4x/pmix/src/util/os_dirpath.c if (0 == (ret = stat(path, &buf))) { /* already exists */ path 66 opal/mca/pmix/pmix4x/pmix/src/util/os_dirpath.c if (0 == (ret = chmod(path, (buf.st_mode | mode)))) { /* successfully change mode */ path 70 opal/mca/pmix/pmix4x/pmix/src/util/os_dirpath.c path, mode, strerror(errno)); path 75 opal/mca/pmix/pmix4x/pmix/src/util/os_dirpath.c if (0 == mkdir(path, mode)) { path 82 opal/mca/pmix/pmix4x/pmix/src/util/os_dirpath.c parts = pmix_argv_split(path, path_sep[0]); path 87 opal/mca/pmix/pmix4x/pmix/src/util/os_dirpath.c tmp = (char*)malloc(strlen(path) + 1); path 100 opal/mca/pmix/pmix4x/pmix/src/util/os_dirpath.c if ('/' == path[0]) { path 149 opal/mca/pmix/pmix4x/pmix/src/util/os_dirpath.c int pmix_os_dirpath_destroy(const char *path, path 160 opal/mca/pmix/pmix4x/pmix/src/util/os_dirpath.c if (NULL == path) { /* protect against error */ path 167 opal/mca/pmix/pmix4x/pmix/src/util/os_dirpath.c if (PMIX_SUCCESS != (rc = pmix_os_dirpath_access(path, 0))) { path 173 opal/mca/pmix/pmix4x/pmix/src/util/os_dirpath.c dp = opendir(path); path 194 opal/mca/pmix/pmix4x/pmix/src/util/os_dirpath.c filenm = pmix_os_path(false, path, ep->d_name, NULL); path 229 opal/mca/pmix/pmix4x/pmix/src/util/os_dirpath.c if (!(cbfunc(path, ep->d_name))) { path 260 opal/mca/pmix/pmix4x/pmix/src/util/os_dirpath.c if(pmix_os_dirpath_is_empty(path)) { path 261 opal/mca/pmix/pmix4x/pmix/src/util/os_dirpath.c rmdir(path); path 267 opal/mca/pmix/pmix4x/pmix/src/util/os_dirpath.c bool pmix_os_dirpath_is_empty(const char *path ) { path 271 opal/mca/pmix/pmix4x/pmix/src/util/os_dirpath.c if (NULL != path) { /* protect against error */ path 272 opal/mca/pmix/pmix4x/pmix/src/util/os_dirpath.c dp = opendir(path); path 290 opal/mca/pmix/pmix4x/pmix/src/util/os_dirpath.c int pmix_os_dirpath_access(const char *path, const mode_t in_mode ) { path 301 opal/mca/pmix/pmix4x/pmix/src/util/os_dirpath.c if (0 == stat(path, &buf)) { /* exists - check access */ path 61 opal/mca/pmix/pmix4x/pmix/src/util/os_dirpath.h PMIX_EXPORT int pmix_os_dirpath_create(const char *path, const mode_t mode); path 71 opal/mca/pmix/pmix4x/pmix/src/util/os_dirpath.h PMIX_EXPORT bool pmix_os_dirpath_is_empty(const char *path); path 84 opal/mca/pmix/pmix4x/pmix/src/util/os_dirpath.h PMIX_EXPORT int pmix_os_dirpath_access(const char *path, const mode_t mode ); path 96 opal/mca/pmix/pmix4x/pmix/src/util/os_dirpath.h typedef bool (*pmix_os_dirpath_destroy_callback_fn_t)(const char *root, const char *path); path 113 opal/mca/pmix/pmix4x/pmix/src/util/os_dirpath.h PMIX_EXPORT int pmix_os_dirpath_destroy(const char *path, path 40 opal/mca/pmix/pmix4x/pmix/src/util/os_path.c char *element, *path; path 58 opal/mca/pmix/pmix4x/pmix/src/util/os_path.c path = (char *)malloc(3); path 59 opal/mca/pmix/pmix4x/pmix/src/util/os_path.c path[0] = '\0'; path 61 opal/mca/pmix/pmix4x/pmix/src/util/os_path.c strcpy(path, "."); path 62 opal/mca/pmix/pmix4x/pmix/src/util/os_path.c strcat(path, path_sep); path 64 opal/mca/pmix/pmix4x/pmix/src/util/os_path.c strcpy(path, path_sep); path 66 opal/mca/pmix/pmix4x/pmix/src/util/os_path.c return(path); path 80 opal/mca/pmix/pmix4x/pmix/src/util/os_path.c path = (char *)malloc(total_length); path 81 opal/mca/pmix/pmix4x/pmix/src/util/os_path.c if (NULL == path) { path 84 opal/mca/pmix/pmix4x/pmix/src/util/os_path.c path[0] = 0; path 87 opal/mca/pmix/pmix4x/pmix/src/util/os_path.c strcpy(path, "."); path 93 opal/mca/pmix/pmix4x/pmix/src/util/os_path.c strcat(path, path_sep); path 95 opal/mca/pmix/pmix4x/pmix/src/util/os_path.c strcat(path, element); path 99 opal/mca/pmix/pmix4x/pmix/src/util/os_path.c strcat(path, path_sep); path 101 opal/mca/pmix/pmix4x/pmix/src/util/os_path.c strcat(path, element); path 105 opal/mca/pmix/pmix4x/pmix/src/util/os_path.c return pmix_make_filename_os_friendly(path); path 97 opal/mca/pmix/pmix4x/pmix/src/util/path.c static void path_env_load(char *path, int *pargc, char ***pargv); path 100 opal/mca/pmix/pmix4x/pmix/src/util/path.c bool pmix_path_is_absolute( const char *path ) path 102 opal/mca/pmix/pmix4x/pmix/src/util/path.c if( PMIX_PATH_SEP[0] == *path ) { path 174 opal/mca/pmix/pmix4x/pmix/src/util/path.c char *path; path 184 opal/mca/pmix/pmix4x/pmix/src/util/path.c if (NULL != (path = list_env_get("PATH", envv))) { path 185 opal/mca/pmix/pmix4x/pmix/src/util/path.c path_env_load(path, &dirc, &dirv); path 231 opal/mca/pmix/pmix4x/pmix/src/util/path.c char *pmix_path_access(char *fname, char *path, int mode) path 237 opal/mca/pmix/pmix4x/pmix/src/util/path.c if (NULL == path) { path 240 opal/mca/pmix/pmix4x/pmix/src/util/path.c fullpath = pmix_os_path(false, path, fname, NULL); path 302 opal/mca/pmix/pmix4x/pmix/src/util/path.c static void path_env_load(char *path, int *pargc, char ***pargv) path 307 opal/mca/pmix/pmix4x/pmix/src/util/path.c if (NULL == path) { path 315 opal/mca/pmix/pmix4x/pmix/src/util/path.c while ('\0' != *path) { path 319 opal/mca/pmix/pmix4x/pmix/src/util/path.c for (p = path; *p && (*p != PMIX_ENV_SEP); ++p) { path 325 opal/mca/pmix/pmix4x/pmix/src/util/path.c if (p != path) { path 328 opal/mca/pmix/pmix4x/pmix/src/util/path.c pmix_argv_append(pargc, pargv, path); path 330 opal/mca/pmix/pmix4x/pmix/src/util/path.c path = p; path 335 opal/mca/pmix/pmix4x/pmix/src/util/path.c if (*path) { path 336 opal/mca/pmix/pmix4x/pmix/src/util/path.c ++path; path 680 opal/mca/pmix/pmix4x/pmix/src/util/path.c pmix_path_df(const char *path, path 692 opal/mca/pmix/pmix4x/pmix/src/util/path.c if (NULL == path || NULL == out_avail) { path 699 opal/mca/pmix/pmix4x/pmix/src/util/path.c rc = statfs(path, &buf); path 701 opal/mca/pmix/pmix4x/pmix/src/util/path.c rc = statvfs(path, &buf); path 709 opal/mca/pmix/pmix4x/pmix/src/util/path.c path, err, strerror(err))); path 719 opal/mca/pmix/pmix4x/pmix/src/util/path.c path, *out_avail)); path 92 opal/mca/pmix/pmix4x/pmix/src/util/path.h PMIX_EXPORT bool pmix_path_is_absolute( const char *path ); path 126 opal/mca/pmix/pmix4x/pmix/src/util/path.h PMIX_EXPORT char *pmix_path_access(char *fname, char *path, int mode) __pmix_attribute_malloc__ __pmix_attribute_warn_unused_result__; path 157 opal/mca/pmix/pmix4x/pmix/src/util/path.h PMIX_EXPORT int pmix_path_df(const char *path, path 77 opal/mca/pmix/pmix4x/pmix4x.c static int pmix4x_register_cleanup(char *path, bool directory, bool ignore, bool jobscope); path 367 opal/mca/pmix/pmix4x/pmix4x.c static int pmix4x_register_cleanup(char *path, bool directory, bool ignore, bool jobscope) path 376 opal/mca/pmix/pmix4x/pmix4x.c PMIX_INFO_LOAD(&pinfo[ninfo], PMIX_CLEANUP_IGNORE, path, PMIX_STRING); path 380 opal/mca/pmix/pmix4x/pmix4x.c PMIX_INFO_LOAD(&pinfo[ninfo], PMIX_REGISTER_CLEANUP_DIR, path, PMIX_STRING); path 387 opal/mca/pmix/pmix4x/pmix4x.c PMIX_INFO_LOAD(&pinfo[ninfo], PMIX_REGISTER_CLEANUP, path, PMIX_STRING); path 248 opal/mca/shmem/mmap/shmem_mmap_module.c path_usable(const char *path, int *stat_errno) path 253 opal/mca/shmem/mmap/shmem_mmap_module.c rc = stat(path, &buf); path 351 opal/runtime/opal_info_support.c char *pretty, *path; path 356 opal/runtime/opal_info_support.c opal_asprintf(&path, "path:%s", type); path 357 opal/runtime/opal_info_support.c opal_info_out(pretty, path, value); path 359 opal/runtime/opal_info_support.c free(path); path 50 opal/util/os_dirpath.c int opal_os_dirpath_create(const char *path, const mode_t mode) path 57 opal/util/os_dirpath.c if (NULL == path) { /* protect ourselves from errors */ path 61 opal/util/os_dirpath.c if (0 == (ret = stat(path, &buf))) { /* already exists */ path 65 opal/util/os_dirpath.c if (0 == (ret = chmod(path, (buf.st_mode | mode)))) { /* successfully change mode */ path 69 opal/util/os_dirpath.c path, mode, strerror(errno)); path 74 opal/util/os_dirpath.c if (0 == mkdir(path, mode)) { path 81 opal/util/os_dirpath.c parts = opal_argv_split(path, path_sep[0]); path 86 opal/util/os_dirpath.c tmp = (char*)malloc(strlen(path) + 1); path 99 opal/util/os_dirpath.c if ('/' == path[0]) { path 148 opal/util/os_dirpath.c int opal_os_dirpath_destroy(const char *path, path 159 opal/util/os_dirpath.c if (NULL == path) { /* protect against error */ path 166 opal/util/os_dirpath.c if (OPAL_SUCCESS != (rc = opal_os_dirpath_access(path, 0))) { path 172 opal/util/os_dirpath.c dp = opendir(path); path 193 opal/util/os_dirpath.c filenm = opal_os_path(false, path, ep->d_name, NULL); path 228 opal/util/os_dirpath.c if (!(cbfunc(path, ep->d_name))) { path 259 opal/util/os_dirpath.c if(opal_os_dirpath_is_empty(path)) { path 260 opal/util/os_dirpath.c rmdir(path); path 266 opal/util/os_dirpath.c bool opal_os_dirpath_is_empty(const char *path ) { path 270 opal/util/os_dirpath.c if (NULL != path) { /* protect against error */ path 271 opal/util/os_dirpath.c dp = opendir(path); path 289 opal/util/os_dirpath.c int opal_os_dirpath_access(const char *path, const mode_t in_mode ) { path 300 opal/util/os_dirpath.c if (0 == stat(path, &buf)) { /* exists - check access */ path 60 opal/util/os_dirpath.h OPAL_DECLSPEC int opal_os_dirpath_create(const char *path, const mode_t mode); path 70 opal/util/os_dirpath.h OPAL_DECLSPEC bool opal_os_dirpath_is_empty(const char *path); path 83 opal/util/os_dirpath.h OPAL_DECLSPEC int opal_os_dirpath_access(const char *path, const mode_t mode ); path 95 opal/util/os_dirpath.h typedef bool (*opal_os_dirpath_destroy_callback_fn_t)(const char *root, const char *path); path 112 opal/util/os_dirpath.h OPAL_DECLSPEC int opal_os_dirpath_destroy(const char *path, path 39 opal/util/os_path.c char *element, *path; path 58 opal/util/os_path.c path = (char *)calloc(len, sizeof(char)); path 60 opal/util/os_path.c path[0] = '.'; path 62 opal/util/os_path.c strncat(path, path_sep, len - 1); path 63 opal/util/os_path.c return(path); path 77 opal/util/os_path.c path = (char *)calloc(total_length, sizeof(char)); path 78 opal/util/os_path.c if (NULL == path) { path 83 opal/util/os_path.c path[0] = '.'; path 89 opal/util/os_path.c strncat(path, path_sep, total_length); path 91 opal/util/os_path.c strcat(path, element); path 95 opal/util/os_path.c strncat(path, path_sep, total_length); path 97 opal/util/os_path.c strncat(path, element, total_length); path 101 opal/util/os_path.c return opal_make_filename_os_friendly(path); path 99 opal/util/path.c static void path_env_load(char *path, int *pargc, char ***pargv); path 102 opal/util/path.c bool opal_path_is_absolute( const char *path ) path 104 opal/util/path.c if( OPAL_PATH_SEP[0] == *path ) { path 171 opal/util/path.c char *path; path 181 opal/util/path.c if (NULL != (path = list_env_get("PATH", envv))) { path 182 opal/util/path.c path_env_load(path, &dirc, &dirv); path 228 opal/util/path.c char *opal_path_access(char *fname, char *path, int mode) path 235 opal/util/path.c if (NULL == path) { path 238 opal/util/path.c relative = !opal_path_is_absolute(path); path 239 opal/util/path.c fullpath = opal_os_path(relative, path, fname, NULL); path 301 opal/util/path.c static void path_env_load(char *path, int *pargc, char ***pargv) path 306 opal/util/path.c if (NULL == path) { path 314 opal/util/path.c while ('\0' != *path) { path 318 opal/util/path.c for (p = path; *p && (*p != OPAL_ENV_SEP); ++p) { path 324 opal/util/path.c if (p != path) { path 327 opal/util/path.c opal_argv_append(pargc, pargv, path); path 329 opal/util/path.c path = p; path 334 opal/util/path.c if (*path) { path 335 opal/util/path.c ++path; path 668 opal/util/path.c opal_path_df(const char *path, path 680 opal/util/path.c if (NULL == path || NULL == out_avail) { path 687 opal/util/path.c rc = statfs(path, &buf); path 689 opal/util/path.c rc = statvfs(path, &buf); path 697 opal/util/path.c path, err, strerror(err))); path 707 opal/util/path.c path, *out_avail)); path 91 opal/util/path.h OPAL_DECLSPEC bool opal_path_is_absolute( const char *path ); path 125 opal/util/path.h OPAL_DECLSPEC char *opal_path_access(char *fname, char *path, int mode) __opal_attribute_malloc__ __opal_attribute_warn_unused_result__; path 157 opal/util/path.h opal_path_df(const char *path, path 577 orte/mca/filem/raw/filem_raw_module.c static int create_link(char *my_dir, char *path, path 587 orte/mca/filem/raw/filem_raw_module.c fullname = opal_os_path(false, path, link_pt, NULL); path 623 orte/mca/filem/raw/filem_raw_module.c char *session_dir, *path=NULL; path 699 orte/mca/filem/raw/filem_raw_module.c path = orte_process_info.proc_session_dir; path 702 orte/mca/filem/raw/filem_raw_module.c if (OPAL_SUCCESS != (rc = opal_os_dirpath_create(path, S_IRWXU))) { path 731 orte/mca/filem/raw/filem_raw_module.c if (ORTE_SUCCESS != (rc = create_link(session_dir, path, inbnd->link_pts[j]))) { path 889 orte/mca/filem/raw/filem_raw_module.c char path[MAXPATHLEN]; path 907 orte/mca/filem/raw/filem_raw_module.c while (fgets(path, sizeof(path), fp) != NULL) { path 911 orte/mca/filem/raw/filem_raw_module.c path)); path 913 orte/mca/filem/raw/filem_raw_module.c if (0 == strlen(path)) { path 917 orte/mca/filem/raw/filem_raw_module.c path[strlen(path)-1] = '\0'; path 919 orte/mca/filem/raw/filem_raw_module.c if ('/' == path[strlen(path)-1]) { path 923 orte/mca/filem/raw/filem_raw_module.c path)); path 927 orte/mca/filem/raw/filem_raw_module.c if (NULL != strstr(path, ".deps")) { path 931 orte/mca/filem/raw/filem_raw_module.c path)); path 937 orte/mca/filem/raw/filem_raw_module.c path)); path 938 orte/mca/filem/raw/filem_raw_module.c opal_argv_append_nosize(&inbnd->link_pts, path); path 75 orte/mca/plm/rsh/plm_rsh.h ORTE_MODULE_DECLSPEC char **orte_plm_rsh_search(const char* agent_list, const char *path); path 70 orte/mca/plm/rsh/plm_rsh_component.c static int rsh_launch_agent_lookup(const char *agent_list, char *path); path 359 orte/mca/plm/rsh/plm_rsh_component.c char **orte_plm_rsh_search(const char* agent_list, const char *path) path 366 orte/mca/plm/rsh/plm_rsh_component.c if (NULL == path) { path 369 orte/mca/plm/rsh/plm_rsh_component.c opal_string_copy(cwd, path, OPAL_PATH_MAX); path 411 orte/mca/plm/rsh/plm_rsh_component.c static int rsh_launch_agent_lookup(const char *agent_list, char *path) path 420 orte/mca/plm/rsh/plm_rsh_component.c (NULL == path) ? "NULL" : path)); path 421 orte/mca/plm/rsh/plm_rsh_component.c if (NULL == (mca_plm_rsh_component.agent_argv = orte_plm_rsh_search(agent_list, path))) { path 169 orte/mca/plm/rsh/plm_rsh_module.c static int launch_agent_setup(const char *agent, char *path); path 1412 orte/mca/plm/rsh/plm_rsh_module.c static int launch_agent_setup(const char *agent, char *path) path 1427 orte/mca/plm/rsh/plm_rsh_module.c (NULL == path) ? "NULL" : path)); path 1428 orte/mca/plm/rsh/plm_rsh_module.c rsh_agent_argv = orte_plm_rsh_search(agent, path); path 1436 orte/mca/plm/rsh/plm_rsh_module.c rsh_agent_path = opal_path_findv(rsh_agent_argv[0], X_OK, environ, path); path 50 orte/mca/ras/alps/ras_alps_module.c char *path; path 245 orte/mca/ras/alps/ras_alps_module.c for (i = 0; NULL != sysconfigs[i].path; ++i) { path 249 orte/mca/ras/alps/ras_alps_module.c sysconfigs[i].path); path 250 orte/mca/ras/alps/ras_alps_module.c if (NULL == (fp = fopen(sysconfigs[i].path, "r"))) { path 255 orte/mca/ras/alps/ras_alps_module.c sysconfigs[i].path, strerror(err)); path 282 orte/mca/ras/alps/ras_alps_module.c if (NULL != sysconfigs[i].path) { path 68 orte/mca/schizo/base/base.h ORTE_DECLSPEC int orte_schizo_base_parse_env(char *path, path 74 orte/mca/schizo/base/schizo_base_stubs.c int orte_schizo_base_parse_env(char *path, path 84 orte/mca/schizo/base/schizo_base_stubs.c rc = mod->module->parse_env(path, cmd_line, srcenv, dstenv); path 57 orte/mca/schizo/ompi/schizo_ompi.c static int parse_env(char *path, path 393 orte/mca/schizo/ompi/schizo_ompi.c &orte_cmd_options.path, OPAL_CMD_LINE_TYPE_STRING, path 660 orte/mca/schizo/ompi/schizo_ompi.c static int parse_env(char *path, path 788 orte/mca/schizo/ompi/schizo_ompi.c if (NULL != path) { path 789 orte/mca/schizo/ompi/schizo_ompi.c opal_asprintf(&value, "OMPI_exec_path=%s", path); path 69 orte/mca/schizo/schizo.h typedef int (*orte_schizo_base_module_parse_env_fn_t)(char *path, path 1036 orte/mca/state/base/state_base_fns.c char path[1024], info[256], **list=NULL, *status, *result, *r2; path 1058 orte/mca/state/base/state_base_fns.c snprintf(path, 1024, "/proc/self/fd/%d", i); path 1061 orte/mca/state/base/state_base_fns.c rc = readlink(path, info, 256); path 122 orte/orted/orted_comm.c char gscmd[256], path[1035], *pathptr; path 1263 orte/orted/orted_comm.c pathptr = path; path 1309 orte/orted/orted_comm.c memset(path, 0, sizeof(path)); path 1310 orte/orted/orted_comm.c while (fgets(path, sizeof(path)-1, fp) != NULL) { path 1315 orte/orted/orted_comm.c memset(path, 0, sizeof(path)); path 832 orte/orted/orted_submit.c char cwd[OPAL_PATH_MAX], *path; path 834 orte/orted/orted_submit.c path = opal_os_path(false, cwd, orte_cmd_options.output_filename, NULL); path 835 orte/orted/orted_submit.c orte_set_attribute(&jdata->attributes, ORTE_JOB_OUTPUT_TO_FILE, ORTE_ATTR_GLOBAL, path, OPAL_STRING); path 836 orte/orted/orted_submit.c free(path); path 1176 orte/orted/orted_submit.c if (NULL != orte_cmd_options.path) { path 1177 orte/orted/orted_submit.c free(orte_cmd_options.path); path 1178 orte/orted/orted_submit.c orte_cmd_options.path = NULL; path 1514 orte/orted/orted_submit.c if (ORTE_SUCCESS != (rc = orte_schizo.parse_env(orte_cmd_options.path, path 61 orte/orted/orted_submit.h char *path; path 106 orte/test/system/orte_dfs.c char *uri, *host, *path; path 249 orte/test/system/orte_dfs.c if (OPAL_SUCCESS != (rc = opal_dss.unpack(xfer, &path, &cnt, OPAL_STRING))) { path 270 orte/test/system/orte_dfs.c (int)partition, (NULL == host) ? "NULL" : host, path, (int)length, (int)offset); path 275 orte/test/system/orte_dfs.c if (NULL == (uri = opal_filename_to_uri(path, host))) { path 304 orte/tools/orte-info/param.c char *pretty, *path; path 309 orte/tools/orte-info/param.c opal_asprintf(&path, "path:%s", type); path 310 orte/tools/orte-info/param.c orte_info_out(pretty, path, value); path 312 orte/tools/orte-info/param.c free(path); path 76 orte/util/session_dir.c static bool orte_dir_check_file(const char *root, const char *path); path 590 orte/util/session_dir.c orte_dir_check_file(const char *root, const char *path) path 599 orte/util/session_dir.c if (0 == strncmp(path, "output-", strlen("output-"))) { path 600 orte/util/session_dir.c fullpath = opal_os_path(false, &fullpath, root, path, NULL);