Lines Matching refs:nodes
65 struct cmatest_node *nodes;
380 test.nodes = malloc(sizeof *test.nodes * connections);
381 if (!test.nodes) {
382 printf("mckey: unable to allocate memory for test nodes\n");
385 memset(test.nodes, 0, sizeof *test.nodes * connections);
388 test.nodes[i].id = i;
389 ret = rdma_create_id(test.channel, &test.nodes[i].cma_id,
390 &test.nodes[i], port_space);
397 rdma_destroy_id(test.nodes[i].cma_id);
398 free(test.nodes);
407 destroy_node(&test.nodes[i]);
408 free(test.nodes);
417 if (!test.nodes[i].connected)
421 ret = ibv_poll_cq(test.nodes[i].cq, 8, wc);
494 ret = rdma_bind_addr(test.nodes[i].cma_id,
504 ret = addr_handler(&test.nodes[i]);
506 ret = rdma_resolve_addr(test.nodes[i].cma_id,
532 ret = post_sends(&test.nodes[i], 0);
546 err = rdma_leave_multicast(test.nodes[i].cma_id,