| /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 …]
|
| /linux/include/linux/ |
| H A D | interconnect.h | 48 int devm_of_icc_bulk_get(struct device *dev, int num_paths, struct icc_bulk_data *paths); 57 struct icc_bulk_data *paths); 58 void icc_bulk_put(int num_paths, struct icc_bulk_data *paths); 59 int icc_bulk_set_bw(int num_paths, const struct icc_bulk_data *paths); 60 int icc_bulk_enable(int num_paths, const struct icc_bulk_data *paths); 61 void icc_bulk_disable(int num_paths, const struct icc_bulk_data *paths); 110 static inline int of_icc_bulk_get(struct device *dev, int num_paths, struct icc_bulk_data *paths) in of_icc_bulk_get() argument 116 struct icc_bulk_data *paths) in devm_of_icc_bulk_get() argument 121 static inline void icc_bulk_put(int num_paths, struct icc_bulk_data *paths) in icc_bulk_put() argument 125 static inline int icc_bulk_set_bw(int num_paths, const struct icc_bulk_data *paths) in icc_bulk_set_bw() argument [all …]
|
| /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 | 187 tunnel->paths = kcalloc(npaths, sizeof(tunnel->paths[0]), GFP_KERNEL); in tb_tunnel_alloc() 188 if (!tunnel->paths) { in tb_tunnel_alloc() 218 if (tunnel->paths[i]) in tb_tunnel_destroy() 219 tb_path_free(tunnel->paths[i]); in tb_tunnel_destroy() 222 kfree(tunnel->paths); in tb_tunnel_destroy() 452 tunnel->paths[TB_PCI_PATH_UP] = path; in tb_tunnel_discover_pci() 453 if (tb_pci_init_path(tunnel->paths[TB_PCI_PATH_UP])) in tb_tunnel_discover_pci() 460 tunnel->paths[TB_PCI_PATH_DOWN] = path; in tb_tunnel_discover_pci() 461 if (tb_pci_init_path(tunnel->paths[TB_PCI_PATH_DOWN])) in tb_tunnel_discover_pci() 522 tunnel->paths[TB_PCI_PATH_DOWN] = path; in tb_tunnel_alloc_pci() [all …]
|
| /linux/tools/perf/ui/browsers/ |
| H A D | scripts.c | 30 char **paths; member 55 if (asprintf(&c->paths[c->index], in add_script_option() 75 if (asprintf(&c->paths[c->index], "%s %s", value, in scripts_config() 261 char *buf, *paths[SCRIPT_MAX_NO], *names[SCRIPT_MAX_NO]; in list_scripts() local 269 .paths = paths, in list_scripts() 295 paths[i] = names[i] + SCRIPT_NAMELEN; in list_scripts() 298 num = find_scripts(names + max_std, paths + max_std, SCRIPT_MAX_NO - max_std, in list_scripts() 318 strcpy(script_name, paths[choice]); in list_scripts() 325 zfree(&paths[i]); in list_scripts()
|
| /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
|
| H A D | switch.rst | 7 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/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
|
| /linux/kernel/ |
| H A D | audit_tree.c | 683 const struct path *paths; in audit_trim_trees() local 696 paths = collect_paths(&path, array, 16); in audit_trim_trees() 698 if (IS_ERR(paths)) in audit_trim_trees() 706 for (const struct path *p = paths; p->dentry; p++) { in audit_trim_trees() 716 drop_collected_paths(paths, array); in audit_trim_trees() 745 static int tag_mounts(const struct path *paths, struct audit_tree *tree) in tag_mounts() argument 747 for (const struct path *p = paths; p->dentry; p++) { in tag_mounts() 810 const struct path *paths; in audit_add_tree_rule() local 837 paths = collect_paths(&path, array, 16); in audit_add_tree_rule() 839 if (IS_ERR(paths)) { in audit_add_tree_rule() [all …]
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | d_path.c | 30 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/scripts/ |
| H A D | leaking_addresses.pl | 580 my ($total, $dmesg, $paths, $files) = parse_raw_file($file); 593 squash_by($paths, 'path'); 620 my %paths; # Unique paths containing leaks. 631 cache_path(\%paths, $line); 635 return $total, \@dmesg, \%paths, \%files; 677 my ($paths, $line) = @_; 683 add_to_cache($paths, $path, substr($line, $index));
|
| H A D | rustdoc_test_gen.rs | 113 let mut paths = fs::read_dir("rust/test/doctests/kernel") in main() localVariable 119 paths.sort(); in main() 129 for path in paths { in main()
|
| H A D | checktransupdate.py | 36 paths = file_path.split("/") 37 tidx = paths.index("translations") 38 opaths = paths[:tidx] 39 opaths += paths[tidx + 2 :]
|
| /linux/include/trace/events/ |
| H A D | asoc.h | 201 TP_PROTO(int paths, int stream), 203 TP_ARGS(paths, stream), 206 __field( int, paths ) 211 __entry->paths = paths; 216 snd_pcm_direction_name(__entry->stream), __entry->paths)
|
| /linux/drivers/block/rnbd/ |
| H A D | rnbd-clt-sysfs.c | 59 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/tools/perf/ |
| H A D | Build | 44 paths += -DPERF_HTML_PATH="BUILD_STR($(htmldir_SQ))" 45 paths += -DPERF_INFO_PATH="BUILD_STR($(infodir_SQ))" 46 paths += -DPERF_MAN_PATH="BUILD_STR($(mandir_SQ))" 48 CFLAGS_builtin-help.o += $(paths) 49 CFLAGS_builtin-timechart.o += $(paths)
|
| /linux/tools/testing/selftests/exec/ |
| H A D | non-regular.c | 56 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/Documentation/admin-guide/ |
| H A D | nvme-multipath.rst | 18 the underlying block devices (paths) according to the configured policy. 39 I/O distribution. This policy maintains the nearest paths to each NUMA node 52 The round-robin policy distributes I/O requests evenly across all paths to 59 2. Homogeneous Path Performance: Utilizes all paths efficiently when 70 1. High load with small I/Os: Effectively balances load across paths when
|
| /linux/scripts/clang-tools/ |
| H A D | gen_compile_commands.py | 70 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/drivers/staging/sm750fb/ |
| H A D | sm750_hw.c | 196 if (output->paths & sm750_panel) in hw_sm750_output_set_mode() 198 if (output->paths & sm750_crt) in hw_sm750_output_set_mode() 203 if (output->paths & sm750_panel) in hw_sm750_output_set_mode() 205 if (output->paths & sm750_crt) in hw_sm750_output_set_mode() 412 if (output->paths & sm750_crt) { in hw_sm750le_set_blank() 457 if (output->paths & sm750_crt) { in hw_sm750_set_blank() 466 if (output->paths & sm750_panel) { in hw_sm750_set_blank()
|
| /linux/Documentation/driver-api/firmware/ |
| H A D | direct-fs-lookup.rst | 7 filesystem in the paths documented in the section 'Firmware search paths'. 12 It is recommended you keep /lib/firmware paths on your root filesystem,
|
| H A D | fw_search_path.rst | 2 Firmware search paths 5 The following search paths are used to look for firmware on your
|
| /linux/Documentation/devicetree/bindings/interconnect/ |
| H A D | interconnect.txt | 40 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/drivers/opp/ |
| H A D | of.c | 443 struct icc_path **paths; in dev_pm_opp_of_find_icc_paths() local 468 paths = kcalloc(num_paths, sizeof(*paths), GFP_KERNEL); in dev_pm_opp_of_find_icc_paths() 469 if (!paths) in dev_pm_opp_of_find_icc_paths() 473 paths[i] = of_icc_get_by_index(dev, i); in dev_pm_opp_of_find_icc_paths() 474 if (IS_ERR(paths[i])) { in dev_pm_opp_of_find_icc_paths() 475 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() 481 opp_table->paths = paths; in dev_pm_opp_of_find_icc_paths() 488 icc_put(paths[i]); in dev_pm_opp_of_find_icc_paths() 490 kfree(paths); in dev_pm_opp_of_find_icc_paths()
|