Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/thunderbolt/
Dtunnel.c122 static struct tb_tunnel *tb_tunnel_alloc(struct tb *tb, size_t npaths, in tb_tunnel_alloc() argument
131 tunnel->paths = kcalloc(npaths, sizeof(tunnel->paths[0]), GFP_KERNEL); in tb_tunnel_alloc()
139 tunnel->npaths = npaths; in tb_tunnel_alloc()
1056 for (i = 0; i < tunnel->npaths; i++) { in tb_dma_deinit()
1083 size_t npaths = 0, i = 0; in tb_tunnel_alloc_dma() local
1088 npaths++; in tb_tunnel_alloc_dma()
1090 npaths++; in tb_tunnel_alloc_dma()
1092 if (WARN_ON(!npaths)) in tb_tunnel_alloc_dma()
1095 tunnel = tb_tunnel_alloc(tb, npaths, TB_TUNNEL_DMA); in tb_tunnel_alloc_dma()
1159 for (i = 0; i < tunnel->npaths; i++) { in tb_tunnel_match_dma()
[all …]
Dtest.c1345 KUNIT_ASSERT_EQ(test, tunnel1->npaths, 2); in tb_test_tunnel_pcie()
1360 KUNIT_ASSERT_EQ(test, tunnel2->npaths, 2); in tb_test_tunnel_pcie()
1397 KUNIT_ASSERT_EQ(test, tunnel->npaths, 3); in tb_test_tunnel_dp()
1443 KUNIT_ASSERT_EQ(test, tunnel->npaths, 3); in tb_test_tunnel_dp_chain()
1493 KUNIT_ASSERT_EQ(test, tunnel->npaths, 3); in tb_test_tunnel_dp_tree()
1558 KUNIT_ASSERT_EQ(test, tunnel->npaths, 3); in tb_test_tunnel_dp_max_length()
1614 KUNIT_ASSERT_EQ(test, tunnel1->npaths, 2); in tb_test_tunnel_usb3()
1629 KUNIT_ASSERT_EQ(test, tunnel2->npaths, 2); in tb_test_tunnel_usb3()
1733 KUNIT_ASSERT_EQ(test, tunnel->npaths, 2); in tb_test_tunnel_dma()
1776 KUNIT_ASSERT_EQ(test, tunnel->npaths, 1); in tb_test_tunnel_dma_rx()
[all …]
Dtunnel.h49 size_t npaths; member
/linux-6.1.9/net/rds/
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()
Dtcp_listen.c69 int npaths = max_t(int, 1, conn->c_npaths); in rds_tcp_accept_one_path() local
79 if (npaths == 1) in rds_tcp_accept_one_path()
84 for (i = 0; i < npaths; i++) { in rds_tcp_accept_one_path()
Dsend.c1463 u16 npaths = cpu_to_be16(RDS_MPATH_WORKERS); in rds_send_probe() local
1467 RDS_EXTHDR_NPATHS, &npaths, in rds_send_probe()
1468 sizeof(npaths)); in rds_send_probe()
/linux-6.1.9/Documentation/networking/
Drds.rst442 sent in response to a probe-ping should contain the rcvr's npaths
/linux-6.1.9/net/ipv4/
Dnexthop.c989 static bool valid_group_nh(struct nexthop *nh, unsigned int npaths, in valid_group_nh() argument
1010 if (nhi->reject_nh && npaths > 1) { in valid_group_nh()