Home
last modified time | relevance | path

Searched refs:paths (Results 1 – 25 of 864) sorted by relevance

12345678910>>...35

/openbmc/phosphor-dbus-monitor/src/test/
H A Dpathgentest.cpp48 paths[0],
49 paths[1],
50 paths[2],
51 paths[3],
54 paths[0],
55 paths[1],
56 paths[2],
57 paths[3],
60 paths[0],
61 paths[1],
[all …]
/openbmc/linux/drivers/interconnect/
H A Dbulk.c16 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()
50 paths[num_paths].path = NULL; in icc_bulk_put()
68 ret = icc_set_bw(paths[i].path, paths[i].avg_bw, paths[i].peak_bw); in icc_bulk_set_bw()
101 icc_bulk_disable(i, paths); in icc_bulk_enable()
[all …]
/openbmc/linux/include/linux/
H A Dinterconnect.h45 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);
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
127 static inline int icc_bulk_enable(int num_paths, const struct icc_bulk_data *paths) in icc_bulk_enable() argument
[all …]
/openbmc/phosphor-inventory-manager/test/
H A Dassociations_test.cpp23 "paths":
37 "paths":
54 "paths":
65 "paths":
92 "paths":
105 "paths": "system/PS0",
114 "paths":
127 "paths": "system/PS0",
204 EXPECT_EQ(paths.size(), 4); in TEST_F()
212 EXPECT_EQ(paths.size(), 1); in TEST_F()
[all …]
/openbmc/openbmc/poky/scripts/
H A Dsstate-cache-management.py107 print(set([p.bb_task for p in paths]))
111 def scandir(path, paths): argument
124 scandir(p, paths)
129 paths = set()
131 scandir(Path(args.cache_dir), paths)
142 return paths
145 def remove_by_stamps(args, paths): argument
167 def remove_duplicated(args, paths): argument
188 def remove_orphans(args, paths): argument
191 for p in paths:
[all …]
/openbmc/hiomapd/vpnor/
H A Dbackend.cpp46 void vpnor_default_paths(vpnor_partition_paths* paths) in vpnor_default_paths() argument
49 paths->ro_loc[PATH_MAX - 1] = '\0'; in vpnor_default_paths()
51 paths->rw_loc[PATH_MAX - 1] = '\0'; in vpnor_default_paths()
53 paths->prsv_loc[PATH_MAX - 1] = '\0'; 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
82 priv->paths = *paths; in vpnor_init()
143 priv.paths = ((struct vpnor_data*)backend->priv)->paths; in vpnor_copy_bootloader_partition()
242 return vpnor_init(backend, paths); in vpnor_dev_init()
452 vpnor_partition_paths paths = priv->paths; in vpnor_reset() local
[all …]
H A Dbackend.h21 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 Dpartition.cpp45 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/phosphor-dbus-monitor/src/example/
H A Dtest.yaml103 paths: test path group
109 paths: test path group
115 paths: test path group
121 paths: test path group
127 paths: test path group
133 paths: test path group
139 paths: test path group
145 paths: test path group
151 paths: test path group
157 paths: test path group
[all …]
/openbmc/hiomapd/vpnor/test/
H A Dtmpd.hpp63 vpnor_partition_paths paths{}; in VpnorRoot() local
65 snprintf(paths.ro_loc, PATH_MAX - 1, "%s/ro", root.c_str()); in VpnorRoot()
66 paths.ro_loc[PATH_MAX - 1] = '\0'; in VpnorRoot()
67 snprintf(paths.rw_loc, PATH_MAX - 1, "%s/rw", root.c_str()); in VpnorRoot()
68 paths.rw_loc[PATH_MAX - 1] = '\0'; in VpnorRoot()
69 snprintf(paths.prsv_loc, PATH_MAX - 1, "%s/prsv", root.c_str()); in VpnorRoot()
70 paths.prsv_loc[PATH_MAX - 1] = '\0'; in VpnorRoot()
71 snprintf(paths.patch_loc, PATH_MAX - 1, "%s/patch", root.c_str()); in VpnorRoot()
72 paths.patch_loc[PATH_MAX - 1] = '\0'; in VpnorRoot()
74 if (backend_probe_vpnor(backend, &paths)) in VpnorRoot()
/openbmc/hiomapd/
H A Dcontrol_dbus.c136 struct vpnor_partition_paths paths; in control_dbus_set_backend() local
138 vpnor_default_paths(&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
172 if (!(paths && *paths)) in control_dbus_set_backend()
175 path = *paths; in control_dbus_set_backend()
[all …]
/openbmc/phosphor-logging/extensions/openpower-pels/
H A Dservice_indicators.cpp77 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/openpower-vpd-parser/test/vpd-manager-test/
H A Dreader_test.cpp155 ListOfPaths paths = read.getFrusAtLocation(LocationCode, nodeNumber, in TEST_F() local
159 EXPECT_EQ(paths.at(0), expected); in TEST_F()
169 ListOfPaths paths; in TEST_F() local
171 paths = read.getFRUsByExpandedLocationCode(locationCode, in TEST_F()
176 (void)paths; in TEST_F()
181 paths = read.getFRUsByExpandedLocationCode(locationCode, in TEST_F()
196 (void)paths; in TEST_F()
198 paths = read.getFRUsByExpandedLocationCode(locationCode, in TEST_F()
216 ListOfPaths paths = read.getFRUsByExpandedLocationCode(validLocationCode, in TEST_F() local
221 EXPECT_EQ(paths.at(0), expected); in TEST_F()
[all …]
/openbmc/openbmc/meta-ibm/recipes-phosphor/dbus/fan-policy/swift/
H A Dfan-errors.yaml133 paths: fan0
142 paths: fan0
151 paths: fan1
160 paths: fan1
169 paths: fan2
178 paths: fan2
187 paths: fan3
196 paths: fan3
205 paths: fan0
214 paths: fan1
[all …]
/openbmc/phosphor-mboxd/vpnor/test/
H A Dtmpd.hpp57 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/linux/tools/perf/ui/browsers/
H A Dscripts.c28 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/openbmc/meta-ibm/recipes-phosphor/dbus/fan-policy/witherspoon/
H A Dfan-errors.yaml134 paths: fan0
143 paths: fan0
152 paths: fan1
161 paths: fan1
170 paths: fan2
179 paths: fan2
188 paths: fan3
197 paths: fan3
206 paths: fan0
215 paths: fan1
[all …]
/openbmc/linux/drivers/thunderbolt/
H A Dtest.c2039 path = tunnel->paths[0]; in tb_test_credit_alloc_legacy_not_bonded()
2046 path = tunnel->paths[1]; in tb_test_credit_alloc_legacy_not_bonded()
2072 path = tunnel->paths[0]; in tb_test_credit_alloc_legacy_bonded()
2079 path = tunnel->paths[1]; in tb_test_credit_alloc_legacy_bonded()
2105 path = tunnel->paths[0]; in tb_test_credit_alloc_pcie()
2112 path = tunnel->paths[1]; in tb_test_credit_alloc_pcie()
2154 path = tunnel->paths[0]; in tb_test_credit_alloc_without_dp()
2162 path = tunnel->paths[1]; in tb_test_credit_alloc_without_dp()
2190 path = tunnel->paths[0]; in tb_test_credit_alloc_dp()
2198 path = tunnel->paths[1]; in tb_test_credit_alloc_dp()
[all …]
H A Dtunnel.c143 tunnel->paths = kcalloc(npaths, sizeof(tunnel->paths[0]), GFP_KERNEL); in tb_tunnel_alloc()
144 if (!tunnel->paths) { in tb_tunnel_alloc()
817 struct tb_path **paths; in tb_dp_activate() local
820 paths = tunnel->paths; in tb_dp_activate()
1393 struct tb_path **paths; in tb_tunnel_alloc_dp() local
1415 paths = tunnel->paths; in tb_tunnel_alloc_dp()
1574 if (!tunnel->paths[i]) in tb_dma_deinit()
2085 if (tunnel->paths[i]) in tb_tunnel_free()
2089 kfree(tunnel->paths); in tb_tunnel_free()
2194 if (tunnel->paths[i] && tunnel->paths[i]->activated) in tb_tunnel_deactivate()
[all …]
/openbmc/openbmc/poky/meta/lib/patchtest/tests/
H A Dtest_mbox.py40 paths = { variable in TestMbox
53 …el@lists.openembedded.org', gitrepo='http://git.openembedded.org/bitbake/', paths=paths['bitbake'])
54 …org', gitrepo='http://git.yoctoproject.org/cgit/cgit.cgi/yocto-docs/', paths=paths['documentation'…
55 …@yoctoproject.org', gitrepo='http://git.yoctoproject.org/cgit/cgit.cgi/poky/', paths=paths['poky'])
56 …sts.openembedded.org', gitrepo='http://git.openembedded.org/meta-openembedded/', paths=paths['oe'])
121 if base_path in project.paths:
/openbmc/openbmc/meta-ibm/recipes-phosphor/dbus/events-policy/
H A Dconfig.yaml38 paths: occpath group
45 paths: occpath group
52 paths: occpath group
59 paths: occpath group
71 paths: occpath group
83 paths: occpath group
95 paths: occpath group
103 paths: occpath group
111 paths: occpath group
/openbmc/phosphor-dbus-monitor/src/test/templates/
H A Dpathgentest.mako.hpp7 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-mboxd/vpnor/
H A Dmboxd_pnor_partition_table.cpp21 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 Dpnor_partition.cpp39 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/yaml/conditiongentest/
H A Dtest.yaml40 paths: test path group 1
51 paths: test path group 1
62 paths: test path group 1
70 paths: test path group 1
81 paths: test path group 1
92 paths: test path group 1
100 paths: test path group 1
109 paths: test path group 2

12345678910>>...35