Lines Matching refs:paths_num
1180 (alive_sess = it.next_path(&it)) && it.i < it.clt->paths_num; in rtrs_clt_failover_req()
1999 if (up > MAX_PATHS_NUM && up == MAX_PATHS_NUM + clt->paths_num) in rtrs_clt_sess_up()
2000 clt->paths_up = clt->paths_num; in rtrs_clt_sess_up()
2139 clt->paths_num--; in rtrs_clt_remove_path_from_arr()
2193 clt->paths_num++; in rtrs_clt_add_path_to_arr()
2549 static struct rtrs_clt *alloc_clt(const char *sessname, size_t paths_num, in alloc_clt() argument
2561 if (!paths_num || paths_num > MAX_PATHS_NUM) in alloc_clt()
2581 clt->paths_num = paths_num; in alloc_clt()
2666 size_t paths_num, u16 port, in rtrs_clt_open() argument
2676 clt = alloc_clt(sessname, paths_num, port, pdu_sz, ops->priv, in rtrs_clt_open()
2684 for (i = 0; i < paths_num; i++) { in rtrs_clt_open()
2887 (sess = it.next_path(&it)) && it.i < it.clt->paths_num; it.i++) { in rtrs_clt_request()