Lines Matching defs:paths_num
1292 (alive_path = it.next_path(&it)) && it.i < it.clt->paths_num;
2119 if (up > MAX_PATHS_NUM && up == MAX_PATHS_NUM + clt->paths_num)
2120 clt->paths_up = clt->paths_num;
2242 * [!CONNECTED path] clt->paths_num--
2244 * load clt->paths_num from 2 to 1
2249 * ends, because expression i < clt->paths_num is false.
2251 clt->paths_num--;
2304 clt->paths_num++;
2676 static struct rtrs_clt_sess *alloc_clt(const char *sessname, size_t paths_num,
2686 if (!paths_num || paths_num > MAX_PATHS_NUM)
2706 clt->paths_num = paths_num;
2773 * @paths_num: Number of elements in the @paths array
2789 size_t paths_num, u16 port,
2803 clt = alloc_clt(pathname, paths_num, port, pdu_sz, ops->priv,
2811 for (i = 0; i < paths_num; i++) {
3007 (clt_path = it.next_path(&it)) && it.i < it.clt->paths_num; it.i++) {
3050 (clt_path = it.next_path(&it)) && it.i < it.clt->paths_num; it.i++) {
3100 if (clt->paths_num == 0) {