/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 | 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 …]
|
/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 …]
|
/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()
|
/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/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/fs/bcachefs/ |
H A D | btree_iter.c | 261 bch2_btree_path_verify(trans, &trans->paths[iter->update_path]); in bch2_btree_iter_verify() 650 i->old_v = bch2_btree_path_peek_slot(trans->paths + i->path, &i->old_k).v; in bch2_trans_revalidate_updates_in_node() 1012 if (trans->paths[idx].uptodate) { in bch2_btree_path_traverse_all() 1013 __btree_path_get(trans, &trans->paths[idx], false); in bch2_btree_path_traverse_all() 1015 __btree_path_put(trans, &trans->paths[idx], false); in bch2_btree_path_traverse_all() 1124 struct btree_path *path = &trans->paths[path_idx]; in bch2_btree_path_traverse_one() 1150 path = &trans->paths[path_idx]; in bch2_btree_path_traverse_one() 1230 btree_path_copy(trans, trans->paths + new, trans->paths + src); in btree_path_clone() 1231 __btree_path_get(trans, trans->paths + new, intent); in btree_path_clone() 1233 trans->paths[new].ip_allocated = ip; in btree_path_clone() [all …]
|
H A D | btree_update_interior.c | 772 struct btree_path *path = trans->paths + path_idx; in btree_update_nodes_written() 1563 struct btree_path *path = trans->paths + path_idx; in btree_split_insert_keys() 1582 struct btree *parent = btree_node_parent(trans->paths + path, b); in btree_split() 1590 BUG_ON(parent && !btree_node_intent_locked(trans->paths + path, b->c.level + 1)); in btree_split() 1624 mark_btree_node_locked(trans, trans->paths + path1, n1->c.level, BTREE_NODE_INTENT_LOCKED); in btree_split() 1625 bch2_btree_path_level_init(trans, trans->paths + path1, n1); in btree_split() 1629 mark_btree_node_locked(trans, trans->paths + path2, n2->c.level, BTREE_NODE_INTENT_LOCKED); in btree_split() 1630 bch2_btree_path_level_init(trans, trans->paths + path2, n2); in btree_split() 1647 trans->paths[path2].locks_want++; in btree_split() 1648 BUG_ON(btree_node_locked(trans->paths + path2, n3->c.level)); in btree_split() [all …]
|
H A D | btree_iter.h | 24 unsigned idx = path - trans->paths; in __btree_path_get() 39 EBUG_ON(!test_bit(path - trans->paths, trans->paths_allocated)); in __btree_path_put() 84 static inline unsigned long *trans_paths_nr(struct btree_path *paths) in trans_paths_nr() argument 86 return &container_of(paths, struct btree_trans_paths, paths[0])->nr_paths; in trans_paths_nr() 89 static inline unsigned long *trans_paths_allocated(struct btree_path *paths) in trans_paths_allocated() argument 91 unsigned long *v = trans_paths_nr(paths); in trans_paths_allocated() 113 return trans->paths + *idx; in __trans_next_path() 143 ? trans->paths + trans->sorted[idx] in next_btree_path() 152 ? trans->paths + trans->sorted[idx - 1] in prev_btree_path() 170 _path = (_trans)->paths + _iter.path_idx, \ [all …]
|
H A D | btree_trans_commit.c | 49 struct bkey_s_c k = bch2_btree_path_peek_slot_exact(trans->paths + i->path, &u); in verify_update_old_key() 69 return (trans->paths + i->path)->l + i->level; in insert_l() 110 bch2_btree_node_unlock_write(trans, trans->paths + i->path, insert_l(trans, i)->b); in trans_lock_write_fail() 125 if (bch2_btree_node_lock_write(trans, trans->paths + i->path, &insert_l(trans, i)->b->c)) in bch2_trans_lock_write() 129 bch2_btree_node_prep_for_write(trans, trans->paths + i->path, insert_l(trans, i)->b); in bch2_trans_lock_write() 140 if (btree_node_locked_type(trans->paths + i->path, i->level) == in bch2_trans_unlock_write() 143 trans->paths + i->path, insert_l(trans, i)->b); in bch2_trans_unlock_write() 333 struct btree_path *path = trans->paths + i->path; in btree_insert_entry_checks() 654 : btree_key_can_insert_cached(trans, flags, trans->paths + i->path, u64s); in bch2_trans_commit_write_locked() 817 struct btree_path *path = trans->paths + i->path; in bch2_trans_commit_write_locked() [all …]
|
/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 | checktransupdate.py | 35 paths = file_path.split("/") 36 tidx = paths.index("translations") 37 opaths = paths[:tidx] 38 opaths += paths[tidx + 2 :]
|
H A D | rustdoc_test_gen.rs | 112 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/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/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; 215 TP_printk("%s: found %d paths", 216 snd_pcm_direction_name(__entry->stream), __entry->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/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 | 198 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/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,
|
/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 | 509 struct icc_path **paths; in dev_pm_opp_of_find_icc_paths() local 536 paths = kcalloc(num_paths, sizeof(*paths), GFP_KERNEL); in dev_pm_opp_of_find_icc_paths() 537 if (!paths) in dev_pm_opp_of_find_icc_paths() 541 paths[i] = of_icc_get_by_index(dev, i); in dev_pm_opp_of_find_icc_paths() 542 if (IS_ERR(paths[i])) { in dev_pm_opp_of_find_icc_paths() 543 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() 549 opp_table->paths = paths; in dev_pm_opp_of_find_icc_paths() 556 icc_put(paths[i]); in dev_pm_opp_of_find_icc_paths() 558 kfree(paths); in dev_pm_opp_of_find_icc_paths()
|