Home
last modified time | relevance | path

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

/linux/net/rds/
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()
/linux/drivers/thunderbolt/
H A Dtunnel.c178 static struct tb_tunnel *tb_tunnel_alloc(struct tb *tb, size_t npaths, in tb_tunnel_alloc() argument
187 tunnel->paths = kcalloc(npaths, sizeof(tunnel->paths[0]), GFP_KERNEL); in tb_tunnel_alloc()
195 tunnel->npaths = npaths; in tb_tunnel_alloc()
217 for (i = 0; i < tunnel->npaths; i++) { in tb_tunnel_destroy()
1853 for (i = 0; i < tunnel->npaths; i++) { in tb_dma_destroy()
1880 size_t npaths = 0, i = 0; in tb_tunnel_alloc_dma() local
1889 npaths++; in tb_tunnel_alloc_dma()
1891 npaths++; in tb_tunnel_alloc_dma()
1893 if (WARN_ON(!npaths)) in tb_tunnel_alloc_dma()
1896 tunnel = tb_tunnel_alloc(tb, npaths, TB_TUNNEL_DMA); in tb_tunnel_alloc_dma()
[all …]