Lines Matching defs:npaths
134 static struct tb_tunnel *tb_tunnel_alloc(struct tb *tb, size_t npaths,
143 tunnel->paths = kcalloc(npaths, sizeof(tunnel->paths[0]), GFP_KERNEL);
151 tunnel->npaths = npaths;
1573 for (i = 0; i < tunnel->npaths; i++) {
1600 size_t npaths = 0, i = 0;
1609 npaths++;
1611 npaths++;
1613 if (WARN_ON(!npaths))
1616 tunnel = tb_tunnel_alloc(tb, npaths, TB_TUNNEL_DMA);
1680 for (i = 0; i < tunnel->npaths; i++) {
2084 for (i = 0; i < tunnel->npaths; i++) {
2101 for (i = 0; i < tunnel->npaths; i++) {
2126 for (i = 0; i < tunnel->npaths; i++) {
2139 for (i = 0; i < tunnel->npaths; i++) {
2169 for (i = 0; i < tunnel->npaths; i++) {
2193 for (i = 0; i < tunnel->npaths; i++) {
2212 for (i = 0; i < tunnel->npaths; i++) {
2227 for (i = 0; i < tunnel->npaths; i++) {