Lines Matching full:nodes
65 struct cmatest_node *nodes; member
380 test.nodes = malloc(sizeof *test.nodes * connections); in alloc_nodes()
381 if (!test.nodes) { in alloc_nodes()
382 printf("mckey: unable to allocate memory for test nodes\n"); in alloc_nodes()
385 memset(test.nodes, 0, sizeof *test.nodes * connections); in alloc_nodes()
388 test.nodes[i].id = i; in alloc_nodes()
389 ret = rdma_create_id(test.channel, &test.nodes[i].cma_id, in alloc_nodes()
390 &test.nodes[i], port_space); in alloc_nodes()
397 rdma_destroy_id(test.nodes[i].cma_id); in alloc_nodes()
398 free(test.nodes); in alloc_nodes()
407 destroy_node(&test.nodes[i]); in destroy_nodes()
408 free(test.nodes); in destroy_nodes()
417 if (!test.nodes[i].connected) in poll_cqs()
421 ret = ibv_poll_cq(test.nodes[i].cq, 8, wc); in poll_cqs()
493 ret = rdma_bind_addr(test.nodes[i].cma_id, in run()
503 ret = addr_handler(&test.nodes[i]); in run()
505 ret = rdma_resolve_addr(test.nodes[i].cma_id, in run()
531 ret = post_sends(&test.nodes[i], 0); in run()
545 err = rdma_leave_multicast(test.nodes[i].cma_id, in run()