Lines Matching refs:nodes
62 struct cmatest_node *nodes; member
296 node = &test.nodes[test.conn_index++]; in connect_handler()
418 test.nodes = malloc(sizeof *test.nodes * connections); in alloc_nodes()
419 if (!test.nodes) { in alloc_nodes()
423 memset(test.nodes, 0, sizeof *test.nodes * connections); in alloc_nodes()
426 test.nodes[i].id = i; in alloc_nodes()
429 &test.nodes[i].cma_id, in alloc_nodes()
430 &test.nodes[i], hints.ai_port_space); in alloc_nodes()
438 rdma_destroy_id(test.nodes[i].cma_id); in alloc_nodes()
439 free(test.nodes); in alloc_nodes()
448 destroy_node(&test.nodes[i]); in destroy_nodes()
449 free(test.nodes); in destroy_nodes()
471 if (!test.nodes[i].connected) in poll_cqs()
475 ret = ibv_poll_cq(test.nodes[i].cq, 8, wc); in poll_cqs()
481 if (ret && !test.nodes[i].ah) in poll_cqs()
482 create_reply_ah(&test.nodes[i], wc); in poll_cqs()
543 ret = post_sends(&test.nodes[i], IBV_SEND_SIGNALED); in run_server()
572 ret = rdma_resolve_addr(test.nodes[i].cma_id, test.rai->ai_src_addr, in run_client()
588 ret = post_sends(&test.nodes[i], 0); in run_client()