Lines Matching refs:paths_num
1176 (alive_sess = it.next_path(&it)) && it.i < it.clt->paths_num; in rtrs_clt_failover_req()
1979 if (up > MAX_PATHS_NUM && up == MAX_PATHS_NUM + clt->paths_num) in rtrs_clt_sess_up()
1980 clt->paths_up = clt->paths_num; in rtrs_clt_sess_up()
2119 clt->paths_num--; in rtrs_clt_remove_path_from_arr()
2173 clt->paths_num++; in rtrs_clt_add_path_to_arr()
2527 static struct rtrs_clt *alloc_clt(const char *sessname, size_t paths_num, in alloc_clt() argument
2539 if (!paths_num || paths_num > MAX_PATHS_NUM) in alloc_clt()
2557 clt->paths_num = paths_num; in alloc_clt()
2656 size_t paths_num, u16 port, in rtrs_clt_open() argument
2666 clt = alloc_clt(sessname, paths_num, port, pdu_sz, ops->priv, in rtrs_clt_open()
2674 for (i = 0; i < paths_num; i++) { in rtrs_clt_open()
2870 (sess = it.next_path(&it)) && it.i < it.clt->paths_num; it.i++) { in rtrs_clt_request()