Home
last modified time | relevance | path

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

12345678910

/Linux-v6.6/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-v6.6/include/linux/
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);
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 …]
/Linux-v6.6/drivers/thunderbolt/
Dtest.c1363 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 …]
Dtunnel.c143 tunnel->paths = kcalloc(npaths, sizeof(tunnel->paths[0]), GFP_KERNEL); in tb_tunnel_alloc()
144 if (!tunnel->paths) { in tb_tunnel_alloc()
290 tunnel->paths[TB_PCI_PATH_UP] = path; in tb_tunnel_discover_pci()
291 if (tb_pci_init_path(tunnel->paths[TB_PCI_PATH_UP])) in tb_tunnel_discover_pci()
298 tunnel->paths[TB_PCI_PATH_DOWN] = path; in tb_tunnel_discover_pci()
299 if (tb_pci_init_path(tunnel->paths[TB_PCI_PATH_DOWN])) in tb_tunnel_discover_pci()
360 tunnel->paths[TB_PCI_PATH_DOWN] = path; in tb_tunnel_alloc_pci()
368 tunnel->paths[TB_PCI_PATH_UP] = path; in tb_tunnel_alloc_pci()
817 struct tb_path **paths; in tb_dp_activate() local
820 paths = tunnel->paths; in tb_dp_activate()
[all …]
/Linux-v6.6/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-v6.6/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-v6.6/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-v6.6/tools/testing/selftests/bpf/prog_tests/
Dd_path.c30 char paths[MAX_FILES][MAX_PATH_LEN]; member
38 return readlink(buf, src.paths[src.cnt++], MAX_PATH_LEN); in set_pathname()
153 CHECK(strncmp(src.paths[i], bss->paths_stat[i], MAX_PATH_LEN), in test_d_path_basic()
156 i, src.paths[i], bss->paths_stat[i]); in test_d_path_basic()
157 CHECK(strncmp(src.paths[i], bss->paths_close[i], MAX_PATH_LEN), in test_d_path_basic()
160 i, src.paths[i], bss->paths_close[i]); in test_d_path_basic()
/Linux-v6.6/scripts/
Dleaking_addresses.pl522 my ($total, $dmesg, $paths, $files) = parse_raw_file($file);
535 squash_by($paths, 'path');
562 my %paths; # Unique paths containing leaks.
573 cache_path(\%paths, $line);
577 return $total, \@dmesg, \%paths, \%files;
619 my ($paths, $line) = @_;
625 add_to_cache($paths, $path, substr($line, $index));
Drustdoc_test_gen.rs112 let mut paths = fs::read_dir("rust/test/doctests/kernel") in main() localVariable
118 paths.sort(); in main()
128 for path in paths { in main()
/Linux-v6.6/tools/perf/
DBuild43 paths += -DPERF_HTML_PATH="BUILD_STR($(htmldir_SQ))"
44 paths += -DPERF_INFO_PATH="BUILD_STR($(infodir_SQ))"
45 paths += -DPERF_MAN_PATH="BUILD_STR($(mandir_SQ))"
47 CFLAGS_builtin-help.o += $(paths)
48 CFLAGS_builtin-timechart.o += $(paths)
/Linux-v6.6/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-v6.6/drivers/block/rnbd/
Drnbd-clt-sysfs.c59 struct rtrs_addr *paths; member
125 &opt->paths[p_cnt]); in rnbd_clt_parse_map_options()
576 struct rtrs_addr paths[6]; in rnbd_clt_map_device_store() local
580 opt.paths = paths; in rnbd_clt_map_device_store()
586 addrs = kcalloc(ARRAY_SIZE(paths) * 2, sizeof(*addrs), GFP_KERNEL); in rnbd_clt_map_device_store()
590 for (path_cnt = 0; path_cnt < ARRAY_SIZE(paths); path_cnt++) { in rnbd_clt_map_device_store()
591 paths[path_cnt].src = &addrs[path_cnt * 2]; in rnbd_clt_map_device_store()
592 paths[path_cnt].dst = &addrs[path_cnt * 2 + 1]; in rnbd_clt_map_device_store()
595 ret = rnbd_clt_parse_map_options(buf, ARRAY_SIZE(paths), &opt); in rnbd_clt_map_device_store()
604 dev = rnbd_clt_map_device(sessname, paths, path_cnt, port_nr, pathname, in rnbd_clt_map_device_store()
/Linux-v6.6/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-v6.6/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-v6.6/drivers/staging/sm750fb/
Dsm750_hw.c198 if (output->paths & sm750_panel) in hw_sm750_output_setMode()
200 if (output->paths & sm750_crt) in hw_sm750_output_setMode()
205 if (output->paths & sm750_panel) in hw_sm750_output_setMode()
207 if (output->paths & sm750_crt) in hw_sm750_output_setMode()
414 if (output->paths & sm750_crt) { in hw_sm750le_setBLANK()
459 if (output->paths & sm750_crt) { in hw_sm750_setBLANK()
468 if (output->paths & sm750_panel) { in hw_sm750_setBLANK()
/Linux-v6.6/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-v6.6/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-v6.6/drivers/opp/
Dof.c482 struct icc_path **paths; in dev_pm_opp_of_find_icc_paths() local
509 paths = kcalloc(num_paths, sizeof(*paths), GFP_KERNEL); in dev_pm_opp_of_find_icc_paths()
510 if (!paths) in dev_pm_opp_of_find_icc_paths()
514 paths[i] = of_icc_get_by_index(dev, i); in dev_pm_opp_of_find_icc_paths()
515 if (IS_ERR(paths[i])) { in dev_pm_opp_of_find_icc_paths()
516 ret = dev_err_probe(dev, PTR_ERR(paths[i]), "%s: Unable to get path%d\n", __func__, i); in dev_pm_opp_of_find_icc_paths()
522 opp_table->paths = paths; in dev_pm_opp_of_find_icc_paths()
529 icc_put(paths[i]); in dev_pm_opp_of_find_icc_paths()
531 kfree(paths); in dev_pm_opp_of_find_icc_paths()
/Linux-v6.6/Documentation/trace/coresight/
Dcoresight-dummy.rst17 not have any programming interfaces, so that paths can be created in the driver.
19 disabling them. It also provides the Coresight dummy sink/source paths for
/Linux-v6.6/Documentation/driver-api/
Dinterconnect.rst72 Interconnect consumers are the entities which make use of the data paths exposed
91 get paths between endpoints and set their bandwidth/latency/QoS requirements
92 for these interconnect paths. These interfaces are not currently
138 # Voting for multiple paths is possible by repeating this
/Linux-v6.6/drivers/pmdomain/imx/
Dimx8m-blk-ctrl.c66 struct icc_bulk_data paths[DOMAIN_MAX_PATHS]; member
128 ret = icc_bulk_set_bw(domain->num_paths, domain->paths); in imx8m_blk_ctrl_power_on()
236 domain->paths[j].name = data->path_names[j]; in imx8m_blk_ctrl_probe()
238 domain->paths[j].avg_bw = 1; in imx8m_blk_ctrl_probe()
239 domain->paths[j].peak_bw = 1; in imx8m_blk_ctrl_probe()
242 ret = devm_of_icc_bulk_get(dev, data->num_paths, domain->paths); in imx8m_blk_ctrl_probe()

12345678910