Searched refs:paths (Results 1 - 25 of 64) sorted by relevance

123

/linux-master/drivers/interconnect/
H A Dbulk.c8 * of_icc_bulk_get() - get interconnect paths
11 * @paths: the table with the paths we want to get
16 struct icc_bulk_data *paths)
21 paths[i].path = of_icc_get(dev, paths[i].name);
22 if (IS_ERR(paths[i].path)) {
23 ret = PTR_ERR(paths[i].path);
26 paths[i].name, ret);
27 paths[
15 of_icc_bulk_get(struct device *dev, int num_paths, struct icc_bulk_data *paths) argument
46 icc_bulk_put(int num_paths, struct icc_bulk_data *paths) argument
62 icc_bulk_set_bw(int num_paths, const struct icc_bulk_data *paths) argument
86 icc_bulk_enable(int num_paths, const struct icc_bulk_data *paths) argument
112 icc_bulk_disable(int num_paths, const struct icc_bulk_data *paths) argument
120 struct icc_bulk_data *paths; member in struct:icc_bulk_devres
139 devm_of_icc_bulk_get(struct device *dev, int num_paths, struct icc_bulk_data *paths) argument
[all...]
/linux-master/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);
107 static inline int of_icc_bulk_get(struct device *dev, int num_paths, struct icc_bulk_data *paths) argument
113 struct icc_bulk_data *paths)
118 static inline void icc_bulk_put(int num_paths, struct icc_bulk_data *paths) argument
122 static inline int icc_bulk_set_bw(int num_paths, const struct icc_bulk_data *paths) argument
112 devm_of_icc_bulk_get(struct device *dev, int num_paths, struct icc_bulk_data *paths) argument
127 icc_bulk_enable(int num_paths, const struct icc_bulk_data *paths) argument
132 icc_bulk_disable(int num_paths, const struct icc_bulk_data *paths) argument
[all...]
/linux-master/tools/perf/ui/browsers/
H A Dscripts.c28 char **paths; member in struct:script_config
53 if (asprintf(&c->paths[c->index],
73 if (asprintf(&c->paths[c->index], "%s %s", value,
88 char *buf, *paths[SCRIPT_MAX_NO], *names[SCRIPT_MAX_NO]; local
96 .paths = paths,
122 paths[i] = names[i] + SCRIPT_NAMELEN;
125 num = find_scripts(names + max_std, paths + max_std, SCRIPT_MAX_NO - max_std,
145 strcpy(script_name, paths[choice]);
152 zfree(&paths[
[all...]
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dd_path.c30 char paths[MAX_FILES][MAX_PATH_LEN]; member in struct:__anon382
38 return readlink(buf, src.paths[src.cnt++], MAX_PATH_LEN);
153 CHECK(strncmp(src.paths[i], bss->paths_stat[i], MAX_PATH_LEN),
156 i, src.paths[i], bss->paths_stat[i]);
157 CHECK(strncmp(src.paths[i], bss->paths_close[i], MAX_PATH_LEN),
160 i, src.paths[i], bss->paths_close[i]);
/linux-master/drivers/thunderbolt/
H A Dtest.c934 * paths like this (you either use lane 0 where lane 1 is
1363 KUNIT_ASSERT_EQ(test, tunnel1->paths[0]->path_length, 2);
1364 KUNIT_EXPECT_PTR_EQ(test, tunnel1->paths[0]->hops[0].in_port, down);
1365 KUNIT_EXPECT_PTR_EQ(test, tunnel1->paths[0]->hops[1].out_port, up);
1366 KUNIT_ASSERT_EQ(test, tunnel1->paths[1]->path_length, 2);
1367 KUNIT_EXPECT_PTR_EQ(test, tunnel1->paths[1]->hops[0].in_port, up);
1368 KUNIT_EXPECT_PTR_EQ(test, tunnel1->paths[1]->hops[1].out_port, down);
1378 KUNIT_ASSERT_EQ(test, tunnel2->paths[0]->path_length, 2);
1379 KUNIT_EXPECT_PTR_EQ(test, tunnel2->paths[0]->hops[0].in_port, down);
1380 KUNIT_EXPECT_PTR_EQ(test, tunnel2->paths[
[all...]
H A Dtunnel.c156 tunnel->paths = kcalloc(npaths, sizeof(tunnel->paths[0]), GFP_KERNEL);
157 if (!tunnel->paths) {
311 * Discover both paths even if they are not complete. We will
322 tunnel->paths[TB_PCI_PATH_UP] = path;
323 if (tb_pci_init_path(tunnel->paths[TB_PCI_PATH_UP]))
330 tunnel->paths[TB_PCI_PATH_DOWN] = path;
331 if (tb_pci_init_path(tunnel->paths[TB_PCI_PATH_DOWN]))
392 tunnel->paths[TB_PCI_PATH_DOWN] = path;
400 tunnel->paths[TB_PCI_PATH_U
897 struct tb_path **paths; local
1453 struct tb_path **paths; local
[all...]
/linux-master/tools/testing/selftests/exec/
H A Dnon-regular.c56 const char * const paths[] = { local
62 for (i = 0; i < ARRAY_SIZE(paths); i++) {
63 if (access(paths[i], X_OK) == 0) {
64 ASSERT_EQ(symlink(paths[i], self->pathname), 0);
/linux-master/scripts/clang-tools/
H A Dgen_compile_commands.py36 paths: The list of files/directories to handle to find .cmd files.
62 parser.add_argument('paths', type=str, nargs='*', help=paths_help)
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-master/include/trace/events/
H A Dasoc.h198 TP_PROTO(int paths, int stream),
200 TP_ARGS(paths, stream),
203 __field( int, paths )
208 __entry->paths = paths;
212 TP_printk("%s: found %d paths",
213 __entry->stream ? "capture" : "playback", __entry->paths)
/linux-master/scripts/
H A Dleaking_addresses.pl62 # Skip these absolute paths.
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));
/linux-master/drivers/block/rnbd/
H A Drnbd-clt-sysfs.c59 struct rtrs_addr *paths; member in struct:rnbd_map_options
112 pr_err("map_device: too many (> %zu) paths provided\n",
125 &opt->paths[p_cnt]);
576 struct rtrs_addr paths[6]; local
580 opt.paths = paths;
586 addrs = kcalloc(ARRAY_SIZE(paths) * 2, sizeof(*addrs), GFP_KERNEL);
590 for (path_cnt = 0; path_cnt < ARRAY_SIZE(paths); path_cnt++) {
591 paths[path_cnt].src = &addrs[path_cnt * 2];
592 paths[path_cn
[all...]
H A Drnbd-clt.h132 struct rtrs_addr *paths,
/linux-master/drivers/staging/sm750fb/
H A Dsm750_hw.c198 if (output->paths & sm750_panel)
200 if (output->paths & sm750_crt)
205 if (output->paths & sm750_panel)
207 if (output->paths & sm750_crt)
414 if (output->paths & sm750_crt) {
459 if (output->paths & sm750_crt) {
468 if (output->paths & sm750_panel) {
/linux-master/fs/bcachefs/
H A Dbtree_iter.c266 bch2_btree_path_verify(trans, &trans->paths[iter->update_path]);
662 i->old_v = bch2_btree_path_peek_slot(trans->paths + i->path, &i->old_k).v;
1023 if (trans->paths[idx].uptodate) {
1024 __btree_path_get(&trans->paths[idx], false);
1026 __btree_path_put(&trans->paths[idx], false);
1039 * We used to assert that all paths had been traversed here
1135 struct btree_path *path = &trans->paths[path_idx];
1159 path = &trans->paths[path_idx];
1227 btree_path_copy(trans, trans->paths + new, trans->paths
1547 struct btree_path *paths = p; local
3200 struct btree_path *paths = rcu_dereference(trans->paths); local
[all...]
H A Dbtree_iter.h54 /* Iterate over paths within a transaction: */
66 static inline unsigned long *trans_paths_nr(struct btree_path *paths) argument
68 return &container_of(paths, struct btree_trans_paths, paths[0])->nr_paths;
71 static inline unsigned long *trans_paths_allocated(struct btree_path *paths) argument
73 unsigned long *v = trans_paths_nr(paths);
95 return trans->paths + *idx;
125 ? trans->paths + trans->sorted[idx]
134 ? trans->paths + trans->sorted[idx - 1]
152 _path = (_trans)->paths
[all...]
H A Dbtree_update_interior.c51 struct btree_path *path = trans->paths + path_idx;
740 struct btree_path *path = trans->paths + path_idx;
1563 struct btree_path *path = trans->paths + path_idx;
1582 struct btree *parent = btree_node_parent(trans->paths + path, b);
1590 BUG_ON(parent && !btree_node_intent_locked(trans->paths + path, b->c.level + 1));
1624 mark_btree_node_locked(trans, trans->paths + path1, n1->c.level, BTREE_NODE_INTENT_LOCKED);
1625 bch2_btree_path_level_init(trans, trans->paths + path1, n1);
1629 mark_btree_node_locked(trans, trans->paths + path2, n2->c.level, BTREE_NODE_INTENT_LOCKED);
1630 bch2_btree_path_level_init(trans, trans->paths + path2, n2);
1647 trans->paths[path
[all...]
H A Dbtree_trans_commit.c27 struct bkey_s_c k = bch2_btree_path_peek_slot_exact(trans->paths + i->path, &u);
47 return (trans->paths + i->path)->l + i->level;
88 bch2_btree_node_unlock_write(trans, trans->paths + i->path, insert_l(trans, i)->b);
103 if (bch2_btree_node_lock_write(trans, trans->paths + i->path, &insert_l(trans, i)->b->c))
107 bch2_btree_node_prep_for_write(trans, trans->paths + i->path, insert_l(trans, i)->b);
120 trans->paths + i->path, insert_l(trans, i)->b);
310 struct btree_path *path = trans->paths + i->path;
633 : btree_key_can_insert_cached(trans, flags, trans->paths + i->path, u64s);
741 struct btree_path *path = trans->paths + i->path;
899 trace_ip, trans->paths
[all...]
/linux-master/drivers/md/
H A Ddm-ps-round-robin.c26 * Path-handling code, paths are held in lists
35 static void free_paths(struct list_head *paths) argument
39 list_for_each_entry_safe(pi, next, paths, list) {
H A Ddm-ps-service-time.c63 static void free_paths(struct list_head *paths) argument
67 list_for_each_entry_safe(pi, next, paths, list) {
127 * the path among all paths in the path-group.
131 * other paths having a positive value are available.
201 * Compare the estimated service time of 2 paths, pi1 and pi2,
H A Ddm-ps-queue-length.c67 static void ql_free_paths(struct list_head *paths) argument
71 list_for_each_entry_safe(pi, next, paths, list) {
/linux-master/drivers/opp/
H A Dof.c509 struct icc_path **paths; local
536 paths = kcalloc(num_paths, sizeof(*paths), GFP_KERNEL);
537 if (!paths)
541 paths[i] = of_icc_get_by_index(dev, i);
542 if (IS_ERR(paths[i])) {
543 ret = dev_err_probe(dev, PTR_ERR(paths[i]), "%s: Unable to get path%d\n", __func__, i);
549 opp_table->paths = paths;
556 icc_put(paths[
[all...]
/linux-master/scripts/dtc/
H A Ddtx_diff55 include paths will be set properly.
58 the dts source file for include paths to be set properly for '#include'
71 add the path of DTx_1 and DTx_2 to the include paths. If DTx_2 includes
/linux-master/tools/lib/subcmd/
H A Dhelp.c231 char *paths, *path, *colon; local
232 path = paths = strdup(env_path);
243 free(paths);
/linux-master/drivers/infiniband/ulp/rtrs/
H A Drtrs.h57 const struct rtrs_addr *paths,
/linux-master/drivers/net/wireless/realtek/rtw89/
H A Dcoex.h236 enum rtw89_rf_path_bit paths)
241 phy_map = FIELD_PREP(BTC_RFK_PATH_MAP, paths) |
234 rtw89_btc_phymap(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy_idx, enum rtw89_rf_path_bit paths) argument

Completed in 802 milliseconds

123