Lines Matching refs:paths_num
1292 (alive_path = it.next_path(&it)) && it.i < it.clt->paths_num; in rtrs_clt_failover_req()
2133 if (up > MAX_PATHS_NUM && up == MAX_PATHS_NUM + clt->paths_num) in rtrs_clt_path_up()
2134 clt->paths_up = clt->paths_num; in rtrs_clt_path_up()
2265 clt->paths_num--; in rtrs_clt_remove_path_from_arr()
2318 clt->paths_num++; in rtrs_clt_add_path_to_arr()
2687 static struct rtrs_clt_sess *alloc_clt(const char *sessname, size_t paths_num, in alloc_clt() argument
2697 if (!paths_num || paths_num > MAX_PATHS_NUM) in alloc_clt()
2717 clt->paths_num = paths_num; in alloc_clt()
2800 size_t paths_num, u16 port, in rtrs_clt_open() argument
2814 clt = alloc_clt(pathname, paths_num, port, pdu_sz, ops->priv, in rtrs_clt_open()
2822 for (i = 0; i < paths_num; i++) { in rtrs_clt_open()
3018 (clt_path = it.next_path(&it)) && it.i < it.clt->paths_num; it.i++) { in rtrs_clt_request()
3061 (clt_path = it.next_path(&it)) && it.i < it.clt->paths_num; it.i++) { in rtrs_clt_rdma_cq_direct()
3111 if (clt->paths_num == 0) { in rtrs_clt_create_path_from_sysfs()