Home
last modified time | relevance | path

Searched refs:npaths (Results 1 – 8 of 8) sorted by relevance

/linux-6.15/net/rds/
H A Dconnection.c173 int npaths = (trans->t_mp_capable ? RDS_MPATH_WORKERS : 1); in __rds_conn_create() local
198 conn->c_path = kcalloc(npaths, sizeof(struct rds_conn_path), gfp); in __rds_conn_create()
267 for (i = 0; i < npaths; i++) { in __rds_conn_create()
320 for (i = 0; i < npaths; i++) { in __rds_conn_create()
486 int npaths = (conn->c_trans->t_mp_capable ? RDS_MPATH_WORKERS : 1); in rds_conn_destroy() local
499 for (i = 0; i < npaths; i++) { in rds_conn_destroy()
559 int npaths; in rds_conn_message_info_cmn() local
564 npaths = (conn->c_trans->t_mp_capable ? in rds_conn_message_info_cmn()
567 for (j = 0; j < npaths; j++) { in rds_conn_message_info_cmn()
H A Dtcp_listen.c70 int npaths = max_t(int, 1, conn->c_npaths); in rds_tcp_accept_one_path() local
80 if (npaths == 1) in rds_tcp_accept_one_path()
85 for (i = 0; i < npaths; i++) { in rds_tcp_accept_one_path()
H A Dsend.c1457 u16 npaths = cpu_to_be16(RDS_MPATH_WORKERS); in rds_send_probe() local
1461 RDS_EXTHDR_NPATHS, &npaths, in rds_send_probe()
1462 sizeof(npaths)); in rds_send_probe()
/linux-6.15/drivers/thunderbolt/
H A Dtunnel.c185 tunnel->npaths = npaths; in tb_tunnel_alloc()
207 for (i = 0; i < tunnel->npaths; i++) { in tb_tunnel_destroy()
1771 for (i = 0; i < tunnel->npaths; i++) { in tb_dma_destroy()
1798 size_t npaths = 0, i = 0; in tb_tunnel_alloc_dma() local
1807 npaths++; in tb_tunnel_alloc_dma()
1809 npaths++; in tb_tunnel_alloc_dma()
1811 if (WARN_ON(!npaths)) in tb_tunnel_alloc_dma()
1878 for (i = 0; i < tunnel->npaths; i++) { in tb_tunnel_match_dma()
2271 for (i = 0; i < tunnel->npaths; i++) { in tb_tunnel_is_invalid()
2299 for (i = 0; i < tunnel->npaths; i++) { in tb_tunnel_activate()
[all …]
H A Dtest.c1362 KUNIT_ASSERT_EQ(test, tunnel1->npaths, 2); in tb_test_tunnel_pcie()
1377 KUNIT_ASSERT_EQ(test, tunnel2->npaths, 2); in tb_test_tunnel_pcie()
1414 KUNIT_ASSERT_EQ(test, tunnel->npaths, 3); in tb_test_tunnel_dp()
1460 KUNIT_ASSERT_EQ(test, tunnel->npaths, 3); in tb_test_tunnel_dp_chain()
1510 KUNIT_ASSERT_EQ(test, tunnel->npaths, 3); in tb_test_tunnel_dp_tree()
1575 KUNIT_ASSERT_EQ(test, tunnel->npaths, 3); in tb_test_tunnel_dp_max_length()
1645 KUNIT_ASSERT_EQ(test, tunnel1->npaths, 3); in tb_test_tunnel_3dp()
1815 KUNIT_ASSERT_EQ(test, tunnel->npaths, 2); in tb_test_tunnel_dma()
1858 KUNIT_ASSERT_EQ(test, tunnel->npaths, 1); in tb_test_tunnel_dma_rx()
1895 KUNIT_ASSERT_EQ(test, tunnel->npaths, 1); in tb_test_tunnel_dma_tx()
[all …]
H A Dtunnel.h79 size_t npaths; member
/linux-6.15/Documentation/networking/
H A Drds.rst442 sent in response to a probe-ping should contain the rcvr's npaths
/linux-6.15/net/ipv4/
H A Dnexthop.c1216 static bool valid_group_nh(struct nexthop *nh, unsigned int npaths, in valid_group_nh() argument
1237 if (nhi->reject_nh && npaths > 1) { in valid_group_nh()