Searched refs:npaths (Results 1 – 7 of 7) sorted by relevance
/Linux-v5.4/drivers/thunderbolt/ |
D | tunnel.c | 56 static struct tb_tunnel *tb_tunnel_alloc(struct tb *tb, size_t npaths, in tb_tunnel_alloc() argument 65 tunnel->paths = kcalloc(npaths, sizeof(tunnel->paths[0]), GFP_KERNEL); in tb_tunnel_alloc() 73 tunnel->npaths = npaths; in tb_tunnel_alloc() 578 for (i = 0; i < tunnel->npaths; i++) { in tb_tunnel_free() 595 for (i = 0; i < tunnel->npaths; i++) { in tb_tunnel_is_invalid() 620 for (i = 0; i < tunnel->npaths; i++) { in tb_tunnel_restart() 633 for (i = 0; i < tunnel->npaths; i++) { in tb_tunnel_restart() 663 for (i = 0; i < tunnel->npaths; i++) { in tb_tunnel_activate() 687 for (i = 0; i < tunnel->npaths; i++) { in tb_tunnel_deactivate()
|
D | tunnel.h | 38 size_t npaths; member
|
/Linux-v5.4/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() 255 for (i = 0; i < npaths; i++) { in __rds_conn_create() 308 for (i = 0; i < npaths; i++) { in __rds_conn_create() 474 int npaths = (conn->c_trans->t_mp_capable ? RDS_MPATH_WORKERS : 1); in rds_conn_destroy() local 487 for (i = 0; i < npaths; i++) { in rds_conn_destroy() 547 int npaths; in rds_conn_message_info_cmn() local 552 npaths = (conn->c_trans->t_mp_capable ? in rds_conn_message_info_cmn() 555 for (j = 0; j < npaths; j++) { in rds_conn_message_info_cmn()
|
D | tcp_listen.c | 86 int npaths = max_t(int, 1, conn->c_npaths); in rds_tcp_accept_one_path() local 96 if (npaths == 1) in rds_tcp_accept_one_path() 101 for (i = 0; i < npaths; i++) { in rds_tcp_accept_one_path()
|
D | send.c | 1460 u16 npaths = cpu_to_be16(RDS_MPATH_WORKERS); in rds_send_probe() local 1464 RDS_EXTHDR_NPATHS, &npaths, in rds_send_probe() 1465 sizeof(npaths)); in rds_send_probe()
|
/Linux-v5.4/net/ipv4/ |
D | nexthop.c | 362 static bool valid_group_nh(struct nexthop *nh, unsigned int npaths, in valid_group_nh() argument 379 if (nhi->reject_nh && npaths > 1) { in valid_group_nh()
|
/Linux-v5.4/Documentation/networking/ |
D | rds.txt | 417 sent in response to a probe-ping should contain the rcvr's npaths
|