Home
last modified time | relevance | path

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

/openbmc/linux/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()
/openbmc/linux/drivers/thunderbolt/
H A Dtunnel.c137 static struct tb_tunnel *tb_tunnel_alloc(struct tb *tb, size_t npaths, in tb_tunnel_alloc() argument
146 tunnel->paths = kcalloc(npaths, sizeof(tunnel->paths[0]), GFP_KERNEL); in tb_tunnel_alloc()
154 tunnel->npaths = npaths; in tb_tunnel_alloc()
1616 for (i = 0; i < tunnel->npaths; i++) { in tb_dma_deinit()
1643 size_t npaths = 0, i = 0; in tb_tunnel_alloc_dma() local
1652 npaths++; in tb_tunnel_alloc_dma()
1654 npaths++; in tb_tunnel_alloc_dma()
1656 if (WARN_ON(!npaths)) in tb_tunnel_alloc_dma()
1659 tunnel = tb_tunnel_alloc(tb, npaths, TB_TUNNEL_DMA); in tb_tunnel_alloc_dma()
1723 for (i = 0; i < tunnel->npaths; i++) { in tb_tunnel_match_dma()
[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()
1653 KUNIT_ASSERT_EQ(test, tunnel2->npaths, 3); in tb_test_tunnel_3dp()
1661 KUNIT_ASSERT_EQ(test, tunnel3->npaths, 3); in tb_test_tunnel_3dp()
1696 KUNIT_ASSERT_EQ(test, tunnel1->npaths, 2); in tb_test_tunnel_usb3()
[all …]
H A Dtunnel.h54 size_t npaths; member
/openbmc/linux/Documentation/networking/
H A Drds.rst442 sent in response to a probe-ping should contain the rcvr's npaths
/openbmc/linux/net/ipv4/
H A Dnexthop.c990 static bool valid_group_nh(struct nexthop *nh, unsigned int npaths, in valid_group_nh() argument
1011 if (nhi->reject_nh && npaths > 1) { in valid_group_nh()