Lines Matching refs:NCONNECTIONS
48 #define NCONNECTIONS 2
276 static void reconnect(struct cli_state *cli[NSERVERS][NCONNECTIONS], uint16_t fnum[NSERVERS][NCONNECTIONS][NFILES],
282 for (conn=0;conn<NCONNECTIONS;conn++) {
303 static bool test_one(struct cli_state *cli[NSERVERS][NCONNECTIONS],
304 uint16_t fnum[NSERVERS][NCONNECTIONS][NFILES],
387 static void close_files(struct cli_state *cli[NSERVERS][NCONNECTIONS],
388 uint16_t fnum[NSERVERS][NCONNECTIONS][NFILES])
393 for (conn=0;conn<NCONNECTIONS;conn++)
405 static void open_files(struct cli_state *cli[NSERVERS][NCONNECTIONS],
406 uint16_t fnum[NSERVERS][NCONNECTIONS][NFILES])
411 for (conn=0;conn<NCONNECTIONS;conn++)
426 static int retest(struct cli_state *cli[NSERVERS][NCONNECTIONS],
427 uint16_t fnum[NSERVERS][NCONNECTIONS][NFILES],
452 struct cli_state *cli[NSERVERS][NCONNECTIONS];
453 uint16_t fnum[NSERVERS][NCONNECTIONS][NFILES];
467 recorded[n].conn = random() % NCONNECTIONS;