Home
last modified time | relevance | path

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

12345678910

/linux-6.1.9/drivers/interconnect/
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()
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 …]
/linux-6.1.9/include/linux/
Dinterconnect.h47 int devm_of_icc_bulk_get(struct device *dev, int num_paths, struct icc_bulk_data *paths);
56 struct icc_bulk_data *paths);
57 void icc_bulk_put(int num_paths, struct icc_bulk_data *paths);
58 int icc_bulk_set_bw(int num_paths, const struct icc_bulk_data *paths);
59 int icc_bulk_enable(int num_paths, const struct icc_bulk_data *paths);
60 void icc_bulk_disable(int num_paths, const struct icc_bulk_data *paths);
115 static inline int of_icc_bulk_get(struct device *dev, int num_paths, struct icc_bulk_data *paths) in of_icc_bulk_get() argument
121 struct icc_bulk_data *paths) in devm_of_icc_bulk_get() argument
126 static inline void icc_bulk_put(int num_paths, struct icc_bulk_data *paths) in icc_bulk_put() argument
130 static inline int icc_bulk_set_bw(int num_paths, const struct icc_bulk_data *paths) in icc_bulk_set_bw() argument
[all …]
/linux-6.1.9/drivers/thunderbolt/
Dtunnel.c131 tunnel->paths = kcalloc(npaths, sizeof(tunnel->paths[0]), GFP_KERNEL); in tb_tunnel_alloc()
132 if (!tunnel->paths) { in tb_tunnel_alloc()
247 tunnel->paths[TB_PCI_PATH_UP] = path; in tb_tunnel_discover_pci()
248 if (tb_pci_init_path(tunnel->paths[TB_PCI_PATH_UP])) in tb_tunnel_discover_pci()
255 tunnel->paths[TB_PCI_PATH_DOWN] = path; in tb_tunnel_discover_pci()
256 if (tb_pci_init_path(tunnel->paths[TB_PCI_PATH_DOWN])) in tb_tunnel_discover_pci()
317 tunnel->paths[TB_PCI_PATH_DOWN] = path; in tb_tunnel_alloc_pci()
325 tunnel->paths[TB_PCI_PATH_UP] = path; in tb_tunnel_alloc_pci()
605 struct tb_path **paths; in tb_dp_activate() local
608 paths = tunnel->paths; in tb_dp_activate()
[all …]
Dtest.c1346 KUNIT_ASSERT_EQ(test, tunnel1->paths[0]->path_length, 2); in tb_test_tunnel_pcie()
1347 KUNIT_EXPECT_PTR_EQ(test, tunnel1->paths[0]->hops[0].in_port, down); in tb_test_tunnel_pcie()
1348 KUNIT_EXPECT_PTR_EQ(test, tunnel1->paths[0]->hops[1].out_port, up); in tb_test_tunnel_pcie()
1349 KUNIT_ASSERT_EQ(test, tunnel1->paths[1]->path_length, 2); in tb_test_tunnel_pcie()
1350 KUNIT_EXPECT_PTR_EQ(test, tunnel1->paths[1]->hops[0].in_port, up); in tb_test_tunnel_pcie()
1351 KUNIT_EXPECT_PTR_EQ(test, tunnel1->paths[1]->hops[1].out_port, down); in tb_test_tunnel_pcie()
1361 KUNIT_ASSERT_EQ(test, tunnel2->paths[0]->path_length, 2); in tb_test_tunnel_pcie()
1362 KUNIT_EXPECT_PTR_EQ(test, tunnel2->paths[0]->hops[0].in_port, down); in tb_test_tunnel_pcie()
1363 KUNIT_EXPECT_PTR_EQ(test, tunnel2->paths[0]->hops[1].out_port, up); in tb_test_tunnel_pcie()
1364 KUNIT_ASSERT_EQ(test, tunnel2->paths[1]->path_length, 2); in tb_test_tunnel_pcie()
[all …]
/linux-6.1.9/tools/perf/ui/browsers/
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()
/linux-6.1.9/Documentation/admin-guide/device-mapper/
Ddm-service-time.rst11 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
Dswitch.rst7 paths. The path used for any specific region can be switched
38 robin algorithm to send I/O across all paths and let the storage array
52 Lower Tier - Load balance amongst paths to a particular member.
55 Each of these multipath devices contains the set of paths directly to
57 selectors to load balance amongst these paths. We also build a
58 non-preferred priority group containing paths to other array members for
73 The number of paths across which to distribute the I/O.
77 to any of the available paths.
97 which paths.
/linux-6.1.9/Documentation/ABI/testing/
Dsysfs-class-rtrs-server8 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
Dsysfs-class-rtrs-client40 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 …]
/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/
Dd_path.c19 char paths[MAX_FILES][MAX_PATH_LEN]; member
27 return readlink(buf, src.paths[src.cnt++], MAX_PATH_LEN); in set_pathname()
136 CHECK(strncmp(src.paths[i], bss->paths_stat[i], MAX_PATH_LEN), in test_d_path_basic()
139 i, src.paths[i], bss->paths_stat[i]); in test_d_path_basic()
140 CHECK(strncmp(src.paths[i], bss->paths_close[i], MAX_PATH_LEN), in test_d_path_basic()
143 i, src.paths[i], bss->paths_close[i]); in test_d_path_basic()
/linux-6.1.9/scripts/
Dleaking_addresses.pl521 my ($total, $dmesg, $paths, $files) = parse_raw_file($file);
534 squash_by($paths, 'path');
561 my %paths; # Unique paths containing leaks.
572 cache_path(\%paths, $line);
576 return $total, \@dmesg, \%paths, \%files;
618 my ($paths, $line) = @_;
624 add_to_cache($paths, $path, substr($line, $index));
Dcheck-sysctl-docs99 delete paths
162 if (paths[tables[1]] == table) {
167 split(paths[tables[1]], components, "/")
/linux-6.1.9/tools/perf/
DBuild38 paths += -DPERF_HTML_PATH="BUILD_STR($(htmldir_SQ))"
39 paths += -DPERF_INFO_PATH="BUILD_STR($(infodir_SQ))"
40 paths += -DPERF_MAN_PATH="BUILD_STR($(mandir_SQ))"
42 CFLAGS_builtin-help.o += $(paths)
43 CFLAGS_builtin-timechart.o += $(paths)
/linux-6.1.9/include/trace/events/
Dasoc.h193 TP_PROTO(int paths, int stream),
195 TP_ARGS(paths, stream),
198 __field( int, paths )
203 __entry->paths = paths;
208 __entry->stream ? "capture" : "playback", __entry->paths)
/linux-6.1.9/drivers/block/rnbd/
Drnbd-clt-sysfs.c57 struct rtrs_addr *paths; member
123 &opt->paths[p_cnt]); in rnbd_clt_parse_map_options()
574 struct rtrs_addr paths[6]; in rnbd_clt_map_device_store() local
578 opt.paths = paths; in rnbd_clt_map_device_store()
584 addrs = kcalloc(ARRAY_SIZE(paths) * 2, sizeof(*addrs), GFP_KERNEL); in rnbd_clt_map_device_store()
588 for (path_cnt = 0; path_cnt < ARRAY_SIZE(paths); path_cnt++) { in rnbd_clt_map_device_store()
589 paths[path_cnt].src = &addrs[path_cnt * 2]; in rnbd_clt_map_device_store()
590 paths[path_cnt].dst = &addrs[path_cnt * 2 + 1]; in rnbd_clt_map_device_store()
593 ret = rnbd_clt_parse_map_options(buf, ARRAY_SIZE(paths), &opt); in rnbd_clt_map_device_store()
602 dev = rnbd_clt_map_device(sessname, paths, path_cnt, port_nr, pathname, in rnbd_clt_map_device_store()
/linux-6.1.9/tools/testing/selftests/exec/
Dnon-regular.c56 const char * const paths[] = { in setup_link() local
62 for (i = 0; i < ARRAY_SIZE(paths); i++) { in setup_link()
63 if (access(paths[i], X_OK) == 0) { in setup_link()
64 ASSERT_EQ(symlink(paths[i], self->pathname), 0); in setup_link()
/linux-6.1.9/scripts/clang-tools/
Dgen_compile_commands.py70 args.paths if len(args.paths) > 0 else [args.directory])
188 log_level, directory, output, ar, paths = parse_arguments()
197 for path in paths:
/linux-6.1.9/drivers/staging/sm750fb/
Dsm750_hw.c199 if (output->paths & sm750_panel) in hw_sm750_output_setMode()
201 if (output->paths & sm750_crt) in hw_sm750_output_setMode()
206 if (output->paths & sm750_panel) in hw_sm750_output_setMode()
208 if (output->paths & sm750_crt) in hw_sm750_output_setMode()
415 if (output->paths & sm750_crt) { in hw_sm750le_setBLANK()
460 if (output->paths & sm750_crt) { in hw_sm750_setBLANK()
469 if (output->paths & sm750_panel) { in hw_sm750_setBLANK()
/linux-6.1.9/Documentation/driver-api/firmware/
Ddirect-fs-lookup.rst7 filesystem in the paths documented in the section 'Firmware search paths'.
12 It is recommended you keep /lib/firmware paths on your root filesystem,
Dfw_search_path.rst2 Firmware search paths
5 The following search paths are used to look for firmware on your
/linux-6.1.9/Documentation/devicetree/bindings/interconnect/
Dinterconnect.txt40 bandwidth requirements along interconnect paths they are connected to. There
42 multiple paths from different providers depending on use case and the
56 interconnect-names to match interconnect paths with interconnect
/linux-6.1.9/drivers/opp/
Dof.c466 struct icc_path **paths; in dev_pm_opp_of_find_icc_paths() local
493 paths = kcalloc(num_paths, sizeof(*paths), GFP_KERNEL); in dev_pm_opp_of_find_icc_paths()
494 if (!paths) in dev_pm_opp_of_find_icc_paths()
498 paths[i] = of_icc_get_by_index(dev, i); in dev_pm_opp_of_find_icc_paths()
499 if (IS_ERR(paths[i])) { in dev_pm_opp_of_find_icc_paths()
500 ret = PTR_ERR(paths[i]); in dev_pm_opp_of_find_icc_paths()
510 opp_table->paths = paths; in dev_pm_opp_of_find_icc_paths()
517 icc_put(paths[i]); in dev_pm_opp_of_find_icc_paths()
519 kfree(paths); in dev_pm_opp_of_find_icc_paths()
/linux-6.1.9/tools/lib/subcmd/
Dhelp.c209 char *paths, *path, *colon; in load_command_list() local
210 path = paths = strdup(env_path); in load_command_list()
221 free(paths); in load_command_list()
/linux-6.1.9/drivers/soc/imx/
Dimx8m-blk-ctrl.c64 struct icc_bulk_data paths[DOMAIN_MAX_PATHS]; member
126 ret = icc_bulk_set_bw(domain->num_paths, domain->paths); in imx8m_blk_ctrl_power_on()
229 domain->paths[j].name = data->path_names[j]; in imx8m_blk_ctrl_probe()
231 domain->paths[j].avg_bw = 1; in imx8m_blk_ctrl_probe()
232 domain->paths[j].peak_bw = 1; in imx8m_blk_ctrl_probe()
235 ret = devm_of_icc_bulk_get(dev, data->num_paths, domain->paths); in imx8m_blk_ctrl_probe()
Dimx8mp-blk-ctrl.c54 struct icc_bulk_data paths[DOMAIN_MAX_PATHS]; member
452 ret = icc_bulk_set_bw(domain->num_paths, domain->paths); in imx8mp_blk_ctrl_power_on()
563 domain->paths[j].name = data->path_names[j]; in imx8mp_blk_ctrl_probe()
565 domain->paths[j].avg_bw = 1; in imx8mp_blk_ctrl_probe()
566 domain->paths[j].peak_bw = 1; in imx8mp_blk_ctrl_probe()
569 ret = devm_of_icc_bulk_get(dev, data->num_paths, domain->paths); in imx8mp_blk_ctrl_probe()

12345678910