Searched refs:npaths (Results 1 – 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/net/rds/ |
D | connection.c | 173 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()
|
D | tcp_listen.c | 69 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()
|
D | send.c | 1463 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()
|
/kernel/linux/linux-5.10/drivers/thunderbolt/ |
D | tunnel.c | 63 static struct tb_tunnel *tb_tunnel_alloc(struct tb *tb, size_t npaths, in tb_tunnel_alloc() argument 72 tunnel->paths = kcalloc(npaths, sizeof(tunnel->paths[0]), GFP_KERNEL); in tb_tunnel_alloc() 80 tunnel->npaths = npaths; in tb_tunnel_alloc() 1221 for (i = 0; i < tunnel->npaths; i++) { in tb_tunnel_free() 1238 for (i = 0; i < tunnel->npaths; i++) { in tb_tunnel_is_invalid() 1263 for (i = 0; i < tunnel->npaths; i++) { in tb_tunnel_restart() 1276 for (i = 0; i < tunnel->npaths; i++) { in tb_tunnel_restart() 1306 for (i = 0; i < tunnel->npaths; i++) { in tb_tunnel_activate() 1330 for (i = 0; i < tunnel->npaths; i++) { in tb_tunnel_deactivate() 1349 for (i = 0; i < tunnel->npaths; i++) { in tb_tunnel_port_on_path() [all …]
|
D | tunnel.h | 48 size_t npaths; member
|
D | test.c | 1235 KUNIT_ASSERT_EQ(test, tunnel1->npaths, (size_t)2); in tb_test_tunnel_pcie() 1250 KUNIT_ASSERT_EQ(test, tunnel2->npaths, (size_t)2); in tb_test_tunnel_pcie() 1287 KUNIT_ASSERT_EQ(test, tunnel->npaths, (size_t)3); in tb_test_tunnel_dp() 1333 KUNIT_ASSERT_EQ(test, tunnel->npaths, (size_t)3); in tb_test_tunnel_dp_chain() 1383 KUNIT_ASSERT_EQ(test, tunnel->npaths, (size_t)3); in tb_test_tunnel_dp_tree() 1448 KUNIT_ASSERT_EQ(test, tunnel->npaths, (size_t)3); in tb_test_tunnel_dp_max_length() 1504 KUNIT_ASSERT_EQ(test, tunnel1->npaths, (size_t)2); in tb_test_tunnel_usb3() 1519 KUNIT_ASSERT_EQ(test, tunnel2->npaths, (size_t)2); in tb_test_tunnel_usb3()
|
/kernel/linux/linux-5.10/net/ipv4/ |
D | nexthop.c | 386 static bool valid_group_nh(struct nexthop *nh, unsigned int npaths, in valid_group_nh() argument 404 if (nhi->reject_nh && npaths > 1) { in valid_group_nh()
|
/kernel/linux/linux-5.10/Documentation/networking/ |
D | rds.rst | 442 sent in response to a probe-ping should contain the rcvr's npaths
|