Home
last modified time | relevance | path

Searched refs:path_length (Results 1 – 9 of 9) sorted by relevance

/linux-6.1.9/drivers/thunderbolt/
Dpath.c159 path->path_length = num_hops; in tb_path_discover()
342 path->path_length = num_hops; in tb_path_alloc()
363 for (i = 0; i < path->path_length; i++) { in tb_path_free()
382 for (i = first_hop; i < path->path_length; i++) { in __tb_path_deallocate_nfc()
453 for (i = first_hop; i < path->path_length; i++) { in __tb_path_deactivate_hops()
474 tb_route(path->hops[path->path_length - 1].out_port->sw), in tb_path_deactivate()
475 path->hops[path->path_length - 1].out_port->port); in tb_path_deactivate()
503 tb_route(path->hops[path->path_length - 1].out_port->sw), in tb_path_activate()
504 path->hops[path->path_length - 1].out_port->port); in tb_path_activate()
507 for (i = path->path_length - 1; i >= 0; i--) { in tb_path_activate()
[all …]
Dtest.c892 KUNIT_ASSERT_EQ(test, path->path_length, ARRAY_SIZE(test_data)); in tb_test_path_not_bonded_lane0()
954 KUNIT_ASSERT_EQ(test, path->path_length, ARRAY_SIZE(test_data)); in tb_test_path_not_bonded_lane1()
1034 KUNIT_ASSERT_EQ(test, path->path_length, ARRAY_SIZE(test_data)); in tb_test_path_not_bonded_lane1_chain()
1114 KUNIT_ASSERT_EQ(test, path->path_length, ARRAY_SIZE(test_data)); in tb_test_path_not_bonded_lane1_chain_reverse()
1206 KUNIT_ASSERT_EQ(test, path->path_length, ARRAY_SIZE(test_data)); in tb_test_path_mixed_chain()
1298 KUNIT_ASSERT_EQ(test, path->path_length, ARRAY_SIZE(test_data)); in tb_test_path_mixed_chain_reverse()
1346 KUNIT_ASSERT_EQ(test, tunnel1->paths[0]->path_length, 2); in tb_test_tunnel_pcie()
1349 KUNIT_ASSERT_EQ(test, tunnel1->paths[1]->path_length, 2); in tb_test_tunnel_pcie()
1361 KUNIT_ASSERT_EQ(test, tunnel2->paths[0]->path_length, 2); in tb_test_tunnel_pcie()
1364 KUNIT_ASSERT_EQ(test, tunnel2->paths[1]->path_length, 2); in tb_test_tunnel_pcie()
[all …]
Dtunnel.c609 last = paths[TB_DP_VIDEO_PATH_OUT]->path_length - 1; in tb_dp_activate()
997 for (i = 1; i < path->path_length; i++) { in tb_dma_init_rx_path()
1167 else if (tb_port_is_nhi(path->hops[path->path_length - 1].out_port)) in tb_tunnel_match_dma()
1178 (tx_path->hops[tx_path->path_length - 1].next_hop_index != transmit_path)) in tb_tunnel_match_dma()
1189 (rx_path->hops[rx_path->path_length - 1].next_hop_index != receive_ring)) in tb_tunnel_match_dma()
Dtb.h408 int path_length; member
1095 (hop) <= &(path)->hops[(path)->path_length - 1]; (hop)++)
/linux-6.1.9/fs/reiserfs/
Dstree.c218 int position, path_offset = chk_path->path_length; in get_lkey()
265 int position, path_offset = chk_path->path_length; in get_rkey()
330 RFALSE(!key || chk_path->path_length < FIRST_PATH_ELEMENT_OFFSET in key_in_buffer()
331 || chk_path->path_length > MAX_HEIGHT, in key_in_buffer()
333 key, chk_path->path_length); in key_in_buffer()
349 RFALSE(p->path_length != ILLEGAL_PATH_ELEMENT_OFFSET, in reiserfs_check_path()
362 int path_offset = search_path->path_length; in pathrelse_and_restore()
373 search_path->path_length = ILLEGAL_PATH_ELEMENT_OFFSET; in pathrelse_and_restore()
379 int path_offset = search_path->path_length; in pathrelse()
387 search_path->path_length = ILLEGAL_PATH_ELEMENT_OFFSET; in pathrelse()
[all …]
Dreiserfs.h2132 int path_length; /* Length of the array above. */ member
2142 struct treepath var = {.path_length = ILLEGAL_PATH_ELEMENT_OFFSET, .reada = 0,}
2153 #define PATH_PLAST_BUFFER(path) (PATH_OFFSET_PBUFFER((path), (path)->path_length))
2160 #define PATH_LAST_POSITION(path) (PATH_OFFSET_POSITION((path), (path)->path_length))
2169 PATH_OFFSET_PBUFFER(path, path->path_length - (h))
2175 PATH_OFFSET_POSITION(path, path->path_length - (h))
2180 #define PATH_H_PATH_OFFSET(path, n_h) ((path)->path_length - (n_h))
Dfix_node.c1154 RFALSE(s_path_to_neighbor_father.path_length < in get_far_parent()
1157 s_path_to_neighbor_father.path_length--; in get_far_parent()
2375 for (i = tb->tb_path->path_length; in wait_tb_buffers_until_unlocked()
2391 path_length - i); in wait_tb_buffers_until_unlocked()
Dprints.c660 tb->tb_path->path_length in store_print_tb()
/linux-6.1.9/include/acpi/
Dactbl2.h2552 u16 path_length; member