/openbmc/phosphor-dbus-monitor/src/test/ |
H A D | pathgentest.cpp | 30 PathMeta{paths[0], meta[0]}, 31 PathMeta{paths[1], meta[0]}, 32 PathMeta{paths[2], meta[0]}, 33 PathMeta{paths[3], meta[0]}, 34 PathMeta{paths[0], meta[1]}, 35 PathMeta{paths[1], meta[1]}, 36 PathMeta{paths[2], meta[1]}, 37 PathMeta{paths[3], meta[1]}, 38 PathMeta{paths[4], meta[0]}, 39 PathMeta{paths[5], meta[0]}, [all …]
|
/openbmc/linux/drivers/interconnect/ |
H A D | bulk.c | 16 struct icc_bulk_data *paths) in of_icc_bulk_get() argument 21 paths[i].path = of_icc_get(dev, paths[i].name); in of_icc_bulk_get() 22 if (IS_ERR(paths[i].path)) { in of_icc_bulk_get() 23 ret = PTR_ERR(paths[i].path); in of_icc_bulk_get() 26 paths[i].name, ret); in of_icc_bulk_get() 27 paths[i].path = NULL; in of_icc_bulk_get() 35 icc_bulk_put(i, paths); in of_icc_bulk_get() 46 void icc_bulk_put(int num_paths, struct icc_bulk_data *paths) in icc_bulk_put() argument 49 icc_put(paths[num_paths].path); in icc_bulk_put() 50 paths[num_paths].path = NULL; in icc_bulk_put() [all …]
|
/openbmc/linux/include/linux/ |
H A D | interconnect.h | 45 int devm_of_icc_bulk_get(struct device *dev, int num_paths, struct icc_bulk_data *paths); 54 struct icc_bulk_data *paths); 55 void icc_bulk_put(int num_paths, struct icc_bulk_data *paths); 56 int icc_bulk_set_bw(int num_paths, const struct icc_bulk_data *paths); 57 int icc_bulk_enable(int num_paths, const struct icc_bulk_data *paths); 58 void icc_bulk_disable(int num_paths, const struct icc_bulk_data *paths); 107 static inline int of_icc_bulk_get(struct device *dev, int num_paths, struct icc_bulk_data *paths) in of_icc_bulk_get() argument 113 struct icc_bulk_data *paths) in devm_of_icc_bulk_get() argument 118 static inline void icc_bulk_put(int num_paths, struct icc_bulk_data *paths) in icc_bulk_put() argument 122 static inline int icc_bulk_set_bw(int num_paths, const struct icc_bulk_data *paths) in icc_bulk_set_bw() argument [all …]
|
/openbmc/phosphor-inventory-manager/test/ |
H A D | associations_test.cpp | 23 "paths": 37 "paths": 54 "paths": 65 "paths": 92 "paths": 105 "paths": "system/PS0", 114 "paths": 127 "paths": "system/PS0", 203 auto& paths = std::get<1>(endpoints[0]); in TEST_F() local 204 EXPECT_EQ(paths.size(), 4); in TEST_F() [all …]
|
/openbmc/openbmc/poky/scripts/ |
H A D | sstate-cache-management.py | 107 print(set([p.bb_task for p in paths])) 111 def scandir(path, paths): argument 121 paths.add(SstateEntry(p, m)) 124 scandir(p, paths) 129 paths = set() 131 scandir(Path(args.cache_dir), paths) 140 executor.map(path_stat, paths) 142 return paths 145 def remove_by_stamps(args, paths): argument 164 return [p for p in paths if p.bb_unihash not in all_sums] [all …]
|
/openbmc/hiomapd/vpnor/ |
H A D | backend.cpp | 46 void vpnor_default_paths(vpnor_partition_paths* paths) in vpnor_default_paths() argument 48 strncpy(paths->ro_loc, PARTITION_FILES_RO_LOC, PATH_MAX); in vpnor_default_paths() 49 paths->ro_loc[PATH_MAX - 1] = '\0'; in vpnor_default_paths() 50 strncpy(paths->rw_loc, PARTITION_FILES_RW_LOC, PATH_MAX); in vpnor_default_paths() 51 paths->rw_loc[PATH_MAX - 1] = '\0'; in vpnor_default_paths() 52 strncpy(paths->prsv_loc, PARTITION_FILES_PRSV_LOC, PATH_MAX); in vpnor_default_paths() 53 paths->prsv_loc[PATH_MAX - 1] = '\0'; in vpnor_default_paths() 54 strncpy(paths->patch_loc, PARTITION_FILES_PATCH_LOC, PATH_MAX); in vpnor_default_paths() 55 paths->prsv_loc[PATH_MAX - 1] = '\0'; in vpnor_default_paths() 73 const vpnor_partition_paths* paths) in vpnor_init() argument [all …]
|
H A D | backend.h | 21 struct vpnor_partition_paths paths; member 35 void vpnor_default_paths(struct vpnor_partition_paths *paths); 37 static inline void vpnor_default_paths(struct vpnor_partition_paths *paths) 39 memset(paths, 0, sizeof(*paths));
|
H A D | partition.cpp | 45 auto dst = fs::path(priv->paths.patch_loc) / partition.data.name; in getPartitionFilePath() 52 dst = fs::path(priv->paths.rw_loc) / partition.data.name; in getPartitionFilePath() 62 dst = priv->paths.prsv_loc; in getPartitionFilePath() 66 dst = priv->paths.ro_loc; in getPartitionFilePath() 70 dst = priv->paths.rw_loc; in getPartitionFilePath() 81 dst = fs::path(priv->paths.ro_loc) / partition.data.name; in getPartitionFilePath() 87 auto src = fs::path(priv->paths.ro_loc) / partition.data.name; in getPartitionFilePath() 93 dst = priv->paths.rw_loc; in getPartitionFilePath() 96 dst = priv->paths.prsv_loc; in getPartitionFilePath()
|
/openbmc/hiomapd/ |
H A D | control_dbus.c | 136 struct vpnor_partition_paths paths; in control_dbus_set_backend() local 138 vpnor_default_paths(&paths); in control_dbus_set_backend() 140 rc = control_set_backend(context, &backend, &paths); in control_dbus_set_backend() 144 char **paths = NULL; in control_dbus_set_backend() local 147 rc = sd_bus_message_read_strv(m, &paths); in control_dbus_set_backend() 151 if (paths && *paths) in control_dbus_set_backend() 152 path = *paths; in control_dbus_set_backend() 163 free(paths); in control_dbus_set_backend() 165 char **paths = NULL; in control_dbus_set_backend() local 168 rc = sd_bus_message_read_strv(m, &paths); in control_dbus_set_backend() [all …]
|
/openbmc/hiomapd/vpnor/test/ |
H A D | tmpd.hpp | 62 vpnor_partition_paths paths{}; in VpnorRoot() local 64 snprintf(paths.ro_loc, PATH_MAX - 1, "%s/ro", root.c_str()); in VpnorRoot() 65 paths.ro_loc[PATH_MAX - 1] = '\0'; in VpnorRoot() 66 snprintf(paths.rw_loc, PATH_MAX - 1, "%s/rw", root.c_str()); in VpnorRoot() 67 paths.rw_loc[PATH_MAX - 1] = '\0'; in VpnorRoot() 68 snprintf(paths.prsv_loc, PATH_MAX - 1, "%s/prsv", root.c_str()); in VpnorRoot() 69 paths.prsv_loc[PATH_MAX - 1] = '\0'; in VpnorRoot() 70 snprintf(paths.patch_loc, PATH_MAX - 1, "%s/patch", root.c_str()); in VpnorRoot() 71 paths.patch_loc[PATH_MAX - 1] = '\0'; in VpnorRoot() 73 if (backend_probe_vpnor(backend, &paths)) in VpnorRoot()
|
/openbmc/phosphor-logging/extensions/openpower-pels/ |
H A D | service_indicators.cpp | 77 auto paths = getInventoryPaths(locCodes); in activate() local 78 if (!paths.empty()) in activate() 80 setNotFunctional(paths); in activate() 81 createCriticalAssociation(paths); in activate() 195 std::vector<std::string> paths; in getInventoryPaths() local 205 if (std::find(paths.begin(), paths.end(), path) == paths.end()) in getInventoryPaths() 207 paths.push_back(path); in getInventoryPaths() 219 paths.clear(); in getInventoryPaths() 224 return paths; in getInventoryPaths()
|
/openbmc/linux/drivers/thunderbolt/ |
H A D | test.c | 1363 KUNIT_ASSERT_EQ(test, tunnel1->paths[0]->path_length, 2); in tb_test_tunnel_pcie() 1364 KUNIT_EXPECT_PTR_EQ(test, tunnel1->paths[0]->hops[0].in_port, down); in tb_test_tunnel_pcie() 1365 KUNIT_EXPECT_PTR_EQ(test, tunnel1->paths[0]->hops[1].out_port, up); in tb_test_tunnel_pcie() 1366 KUNIT_ASSERT_EQ(test, tunnel1->paths[1]->path_length, 2); in tb_test_tunnel_pcie() 1367 KUNIT_EXPECT_PTR_EQ(test, tunnel1->paths[1]->hops[0].in_port, up); in tb_test_tunnel_pcie() 1368 KUNIT_EXPECT_PTR_EQ(test, tunnel1->paths[1]->hops[1].out_port, down); in tb_test_tunnel_pcie() 1378 KUNIT_ASSERT_EQ(test, tunnel2->paths[0]->path_length, 2); in tb_test_tunnel_pcie() 1379 KUNIT_EXPECT_PTR_EQ(test, tunnel2->paths[0]->hops[0].in_port, down); in tb_test_tunnel_pcie() 1380 KUNIT_EXPECT_PTR_EQ(test, tunnel2->paths[0]->hops[1].out_port, up); in tb_test_tunnel_pcie() 1381 KUNIT_ASSERT_EQ(test, tunnel2->paths[1]->path_length, 2); in tb_test_tunnel_pcie() [all …]
|
H A D | tunnel.c | 146 tunnel->paths = kcalloc(npaths, sizeof(tunnel->paths[0]), GFP_KERNEL); in tb_tunnel_alloc() 147 if (!tunnel->paths) { in tb_tunnel_alloc() 293 tunnel->paths[TB_PCI_PATH_UP] = path; in tb_tunnel_discover_pci() 294 if (tb_pci_init_path(tunnel->paths[TB_PCI_PATH_UP])) in tb_tunnel_discover_pci() 301 tunnel->paths[TB_PCI_PATH_DOWN] = path; in tb_tunnel_discover_pci() 302 if (tb_pci_init_path(tunnel->paths[TB_PCI_PATH_DOWN])) in tb_tunnel_discover_pci() 363 tunnel->paths[TB_PCI_PATH_DOWN] = path; in tb_tunnel_alloc_pci() 371 tunnel->paths[TB_PCI_PATH_UP] = path; in tb_tunnel_alloc_pci() 868 struct tb_path **paths; in tb_dp_activate() local 871 paths = tunnel->paths; in tb_dp_activate() [all …]
|
/openbmc/linux/tools/perf/ui/browsers/ |
H A D | scripts.c | 28 char **paths; member 53 if (asprintf(&c->paths[c->index], in add_script_option() 73 if (asprintf(&c->paths[c->index], "%s %s", value, in scripts_config() 88 char *buf, *paths[SCRIPT_MAX_NO], *names[SCRIPT_MAX_NO]; in list_scripts() local 96 .paths = paths, in list_scripts() 122 paths[i] = names[i] + SCRIPT_NAMELEN; in list_scripts() 125 num = find_scripts(names + max_std, paths + max_std, SCRIPT_MAX_NO - max_std, in list_scripts() 145 strcpy(script_name, paths[choice]); in list_scripts() 152 zfree(&paths[i]); in list_scripts()
|
/openbmc/phosphor-mboxd/vpnor/test/ |
H A D | tmpd.hpp | 57 strncpy(ctx->paths.ro_loc, ro().c_str(), PATH_MAX - 1); in VpnorRoot() 58 ctx->paths.ro_loc[PATH_MAX - 1] = '\0'; in VpnorRoot() 59 strncpy(ctx->paths.rw_loc, rw().c_str(), PATH_MAX - 1); in VpnorRoot() 60 ctx->paths.rw_loc[PATH_MAX - 1] = '\0'; in VpnorRoot() 61 strncpy(ctx->paths.prsv_loc, prsv().c_str(), PATH_MAX - 1); in VpnorRoot() 62 ctx->paths.prsv_loc[PATH_MAX - 1] = '\0'; in VpnorRoot() 63 strncpy(ctx->paths.patch_loc, patch().c_str(), PATH_MAX - 1); in VpnorRoot() 64 ctx->paths.patch_loc[PATH_MAX - 1] = '\0'; in VpnorRoot()
|
/openbmc/openbmc/poky/meta/lib/patchtest/tests/ |
H A D | test_mbox.py | 26 paths = { variable in TestMbox 39 …el@lists.openembedded.org', gitrepo='http://git.openembedded.org/bitbake/', paths=paths['bitbake']) 40 …org', gitrepo='http://git.yoctoproject.org/cgit/cgit.cgi/yocto-docs/', paths=paths['documentation'… 41 …@yoctoproject.org', gitrepo='http://git.yoctoproject.org/cgit/cgit.cgi/poky/', paths=paths['poky']) 42 …sts.openembedded.org', gitrepo='http://git.openembedded.org/meta-openembedded/', paths=paths['oe']) 123 if base_path in project.paths:
|
/openbmc/phosphor-mboxd/vpnor/ |
H A D | mboxd_pnor_partition_table.cpp | 21 strncpy(context->paths.ro_loc, PARTITION_FILES_RO_LOC, PATH_MAX); in init_vpnor() 22 context->paths.ro_loc[PATH_MAX - 1] = '\0'; in init_vpnor() 23 strncpy(context->paths.rw_loc, PARTITION_FILES_RW_LOC, PATH_MAX); in init_vpnor() 24 context->paths.rw_loc[PATH_MAX - 1] = '\0'; in init_vpnor() 25 strncpy(context->paths.prsv_loc, PARTITION_FILES_PRSV_LOC, PATH_MAX); in init_vpnor() 26 context->paths.prsv_loc[PATH_MAX - 1] = '\0'; in init_vpnor() 27 strncpy(context->paths.patch_loc, PARTITION_FILES_PATCH_LOC, PATH_MAX); in init_vpnor() 28 context->paths.prsv_loc[PATH_MAX - 1] = '\0'; in init_vpnor()
|
H A D | pnor_partition.cpp | 39 auto dst = fs::path(ctx->paths.patch_loc) / partition.data.name; in getPartitionFilePath() 49 dst = ctx->paths.prsv_loc; in getPartitionFilePath() 53 dst = ctx->paths.ro_loc; in getPartitionFilePath() 57 dst = ctx->paths.rw_loc; in getPartitionFilePath() 68 dst = fs::path(ctx->paths.ro_loc) / partition.data.name; in getPartitionFilePath() 74 auto src = fs::path(ctx->paths.ro_loc) / partition.data.name; in getPartitionFilePath() 80 dst = ctx->paths.rw_loc; in getPartitionFilePath() 83 dst = ctx->paths.prsv_loc; in getPartitionFilePath()
|
/openbmc/phosphor-dbus-monitor/src/test/templates/ |
H A D | pathgentest.mako.hpp | 7 const std::array<std::string, ${len(paths)}> paths = { variable 8 % for p in paths: 15 PathMeta{ paths[${p.path}], meta[${p.meta}] }, 24 paths[${p[0]}],
|
/openbmc/phosphor-logging/test/ |
H A D | elog_update_ts_test.cpp | 38 fs::create_directories(paths::error()); in TEST() 40 if (!fs::exists(paths::error())) in TEST() 42 ADD_FAILURE() << "Could not create " << paths::error() << "\n"; in TEST() 54 if (fs::exists(fs::path{paths::error()} / std::to_string(id))) in TEST() 100 fs::remove(fs::path{paths::error()} / std::to_string(id)); in TEST() 105 auto persist_path = phosphor::logging::paths::error(); in TEST() 113 << phosphor::logging::paths::error() << "\n"; in TEST()
|
/openbmc/linux/Documentation/admin-guide/device-mapper/ |
H A D | dm-service-time.rst | 11 The performance value is a relative throughput value among all paths 26 among all paths in the path-group. 30 other paths having a positive value are available. 43 among all paths in the path-group. 59 1. If the paths have the same 'relative_throughput', skip 62 2. If the paths have the same 'in-flight-size', skip the division 65 3. If some paths have non-zero 'relative_throughput' and others 66 have zero 'relative_throughput', ignore those paths with zero 78 In case that 2 paths (sda and sdb) are used with repeat_count == 128
|
/openbmc/phosphor-mrw-tools/ |
H A D | gen_openpower_fru.pl | 49 my @paths; 66 push @paths, $item->{OBMC_NAME}; 76 push @paths, $defaultPaths{$type}; 83 print $fh "PATHS=".join ',',@paths;
|
/openbmc/openbmc/poky/meta/lib/oe/ |
H A D | path.py | 13 def join(*paths): argument 15 return os.path.normpath("/".join(paths)) 274 def is_path_parent(possible_parent, *paths): argument 288 if not paths: 290 for path in paths: 304 paths = (path or os.environ.get('PATH', os.defpath)).split(':') 306 paths.reverse() 309 for index, element in enumerate(paths): 323 files.append((found_path, [os.path.join(p, rel) for p in paths[:index+1]])) 329 def canonicalize(paths, sep=','): argument [all …]
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-class-rtrs-client | 40 What: /sys/class/rtrs-client/<session-name>/paths/ 48 What: /sys/class/rtrs-client/<session-name>/paths/<src@dst>/state 55 What: /sys/class/rtrs-client/<session-name>/paths/<src@dst>/reconnect 62 What: /sys/class/rtrs-client/<session-name>/paths/<src@dst>/disconnect 69 What: /sys/class/rtrs-client/<session-name>/paths/<src@dst>/remove_path 77 What: /sys/class/rtrs-client/<session-name>/paths/<src@dst>/hca_name 83 What: /sys/class/rtrs-client/<session-name>/paths/<src@dst>/hca_port 89 What: /sys/class/rtrs-client/<session-name>/paths/<src@dst>/src_addr 95 What: /sys/class/rtrs-client/<session-name>/paths/<src@dst>/dst_addr 101 What: /sys/class/rtrs-client/<session-name>/paths/<src@dst>/cur_latency [all …]
|
H A D | sysfs-class-rtrs-server | 8 What: /sys/class/rtrs-server/<session-name>/paths/ 16 What: /sys/class/rtrs-server/<session-name>/paths/<src@dst>/disconnect 23 What: /sys/class/rtrs-server/<session-name>/paths/<src@dst>/hca_name 29 What: /sys/class/rtrs-server/<session-name>/paths/<src@dst>/hca_port 35 What: /sys/class/rtrs-server/<session-name>/paths/<src@dst>/src_addr 41 What: /sys/class/rtrs-server/<session-name>/paths/<src@dst>/dst_addr 47 What: /sys/class/rtrs-server/<session-name>/paths/<src@dst>/stats/rdma
|