peer_interfaces 50 contrib/build-mca-comps-outside-of-tree/btl_tcp2_proc.c static mca_btl_tcp2_interface_t** peer_interfaces = NULL; peer_interfaces 406 contrib/build-mca-comps-outside-of-tree/btl_tcp2_proc.c if( NULL == peer_interfaces ) { peer_interfaces 408 contrib/build-mca-comps-outside-of-tree/btl_tcp2_proc.c peer_interfaces = (mca_btl_tcp2_interface_t**)malloc( max_peer_interfaces * sizeof(mca_btl_tcp2_interface_t*) ); peer_interfaces 412 contrib/build-mca-comps-outside-of-tree/btl_tcp2_proc.c memset(peer_interfaces, 0, max_peer_interfaces * sizeof(mca_btl_tcp2_interface_t*)); peer_interfaces 434 contrib/build-mca-comps-outside-of-tree/btl_tcp2_proc.c peer_interfaces = (mca_btl_tcp2_interface_t**)realloc( peer_interfaces, peer_interfaces 436 contrib/build-mca-comps-outside-of-tree/btl_tcp2_proc.c if( NULL == peer_interfaces ) peer_interfaces 439 contrib/build-mca-comps-outside-of-tree/btl_tcp2_proc.c peer_interfaces[index] = (mca_btl_tcp2_interface_t *) malloc(sizeof(mca_btl_tcp2_interface_t)); peer_interfaces 440 contrib/build-mca-comps-outside-of-tree/btl_tcp2_proc.c mca_btl_tcp2_initialise_interface(peer_interfaces[index], peer_interfaces 449 contrib/build-mca-comps-outside-of-tree/btl_tcp2_proc.c peer_interfaces[index]->inuse = 1; peer_interfaces 454 contrib/build-mca-comps-outside-of-tree/btl_tcp2_proc.c peer_interfaces[index]->ipv4_address = (struct sockaddr_storage*) malloc(sizeof(endpoint_addr_ss)); peer_interfaces 455 contrib/build-mca-comps-outside-of-tree/btl_tcp2_proc.c peer_interfaces[index]->ipv4_endpoint_addr = endpoint_addr; peer_interfaces 456 contrib/build-mca-comps-outside-of-tree/btl_tcp2_proc.c memcpy(peer_interfaces[index]->ipv4_address, peer_interfaces 460 contrib/build-mca-comps-outside-of-tree/btl_tcp2_proc.c peer_interfaces[index]->ipv6_address = (struct sockaddr_storage*) malloc(sizeof(endpoint_addr_ss)); peer_interfaces 461 contrib/build-mca-comps-outside-of-tree/btl_tcp2_proc.c peer_interfaces[index]->ipv6_endpoint_addr = endpoint_addr; peer_interfaces 462 contrib/build-mca-comps-outside-of-tree/btl_tcp2_proc.c memcpy(peer_interfaces[index]->ipv6_address, peer_interfaces 508 contrib/build-mca-comps-outside-of-tree/btl_tcp2_proc.c NULL != peer_interfaces[j]->ipv4_address) { peer_interfaces 512 contrib/build-mca-comps-outside-of-tree/btl_tcp2_proc.c && !opal_net_islocalhost((struct sockaddr *)peer_interfaces[j]->ipv4_address)) peer_interfaces 513 contrib/build-mca-comps-outside-of-tree/btl_tcp2_proc.c || (opal_net_islocalhost((struct sockaddr *)peer_interfaces[j]->ipv4_address) peer_interfaces 523 contrib/build-mca-comps-outside-of-tree/btl_tcp2_proc.c peer_interfaces[j]->ipv4_address)) { peer_interfaces 525 contrib/build-mca-comps-outside-of-tree/btl_tcp2_proc.c (struct sockaddr*) peer_interfaces[j]->ipv4_address, peer_interfaces 531 contrib/build-mca-comps-outside-of-tree/btl_tcp2_proc.c best_addr[i][j] = peer_interfaces[j]->ipv4_endpoint_addr; peer_interfaces 535 contrib/build-mca-comps-outside-of-tree/btl_tcp2_proc.c (struct sockaddr*) peer_interfaces[j]->ipv4_address, peer_interfaces 541 contrib/build-mca-comps-outside-of-tree/btl_tcp2_proc.c best_addr[i][j] = peer_interfaces[j]->ipv4_endpoint_addr; peer_interfaces 549 contrib/build-mca-comps-outside-of-tree/btl_tcp2_proc.c NULL != peer_interfaces[j]->ipv6_address) { peer_interfaces 553 contrib/build-mca-comps-outside-of-tree/btl_tcp2_proc.c && !opal_net_islocalhost((struct sockaddr *)peer_interfaces[j]->ipv6_address)) peer_interfaces 554 contrib/build-mca-comps-outside-of-tree/btl_tcp2_proc.c || (opal_net_islocalhost((struct sockaddr *)peer_interfaces[j]->ipv6_address) peer_interfaces 562 contrib/build-mca-comps-outside-of-tree/btl_tcp2_proc.c (struct sockaddr*) peer_interfaces[j]->ipv6_address, peer_interfaces 568 contrib/build-mca-comps-outside-of-tree/btl_tcp2_proc.c best_addr[i][j] = peer_interfaces[j]->ipv6_endpoint_addr; peer_interfaces 601 contrib/build-mca-comps-outside-of-tree/btl_tcp2_proc.c || peer_interfaces[best_assignment[i]]->inuse peer_interfaces 602 contrib/build-mca-comps-outside-of-tree/btl_tcp2_proc.c || NULL == peer_interfaces[best_assignment[i]]) { peer_interfaces 605 contrib/build-mca-comps-outside-of-tree/btl_tcp2_proc.c peer_interfaces[best_assignment[i]]->inuse++; peer_interfaces 619 contrib/build-mca-comps-outside-of-tree/btl_tcp2_proc.c if (!peer_interfaces[j]->inuse) { peer_interfaces 631 contrib/build-mca-comps-outside-of-tree/btl_tcp2_proc.c peer_interfaces[j_max]->inuse++; peer_interfaces 644 contrib/build-mca-comps-outside-of-tree/btl_tcp2_proc.c if(NULL != peer_interfaces[i]->ipv4_address) { peer_interfaces 645 contrib/build-mca-comps-outside-of-tree/btl_tcp2_proc.c free(peer_interfaces[i]->ipv4_address); peer_interfaces 647 contrib/build-mca-comps-outside-of-tree/btl_tcp2_proc.c if(NULL != peer_interfaces[i]->ipv6_address) { peer_interfaces 648 contrib/build-mca-comps-outside-of-tree/btl_tcp2_proc.c free(peer_interfaces[i]->ipv6_address); peer_interfaces 650 contrib/build-mca-comps-outside-of-tree/btl_tcp2_proc.c free(peer_interfaces[i]); peer_interfaces 652 contrib/build-mca-comps-outside-of-tree/btl_tcp2_proc.c free(peer_interfaces); peer_interfaces 653 contrib/build-mca-comps-outside-of-tree/btl_tcp2_proc.c peer_interfaces = NULL; peer_interfaces 447 opal/mca/btl/tcp/btl_tcp_proc.c mca_btl_tcp_interface_t** peer_interfaces = NULL; peer_interfaces 485 opal/mca/btl/tcp/btl_tcp_proc.c peer_interfaces = (mca_btl_tcp_interface_t**)calloc( max_peer_interfaces, sizeof(mca_btl_tcp_interface_t*) ); peer_interfaces 486 opal/mca/btl/tcp/btl_tcp_proc.c if (NULL == peer_interfaces) { peer_interfaces 513 opal/mca/btl/tcp/btl_tcp_proc.c peer_interfaces = (mca_btl_tcp_interface_t**)realloc( peer_interfaces, peer_interfaces 515 opal/mca/btl/tcp/btl_tcp_proc.c if( NULL == peer_interfaces ) { peer_interfaces 519 opal/mca/btl/tcp/btl_tcp_proc.c peer_interfaces[index] = (mca_btl_tcp_interface_t *) malloc(sizeof(mca_btl_tcp_interface_t)); peer_interfaces 520 opal/mca/btl/tcp/btl_tcp_proc.c mca_btl_tcp_initialise_interface(peer_interfaces[index], peer_interfaces 529 opal/mca/btl/tcp/btl_tcp_proc.c peer_interfaces[index]->inuse = 1; peer_interfaces 534 opal/mca/btl/tcp/btl_tcp_proc.c peer_interfaces[index]->ipv4_address = (struct sockaddr_storage*) malloc(sizeof(endpoint_addr_ss)); peer_interfaces 535 opal/mca/btl/tcp/btl_tcp_proc.c peer_interfaces[index]->ipv4_endpoint_addr = endpoint_addr; peer_interfaces 536 opal/mca/btl/tcp/btl_tcp_proc.c memcpy(peer_interfaces[index]->ipv4_address, peer_interfaces 540 opal/mca/btl/tcp/btl_tcp_proc.c peer_interfaces[index]->ipv6_address = (struct sockaddr_storage*) malloc(sizeof(endpoint_addr_ss)); peer_interfaces 541 opal/mca/btl/tcp/btl_tcp_proc.c peer_interfaces[index]->ipv6_endpoint_addr = endpoint_addr; peer_interfaces 542 opal/mca/btl/tcp/btl_tcp_proc.c memcpy(peer_interfaces[index]->ipv6_address, peer_interfaces 588 opal/mca/btl/tcp/btl_tcp_proc.c NULL != peer_interfaces[j]->ipv4_address) { peer_interfaces 593 opal/mca/btl/tcp/btl_tcp_proc.c inet_ntop(AF_INET, &(((struct sockaddr_in*) peer_interfaces[j]->ipv4_address))->sin_addr, peer_interfaces 597 opal/mca/btl/tcp/btl_tcp_proc.c opal_net_addr_isipv4public((struct sockaddr*) peer_interfaces[j]->ipv4_address)) { peer_interfaces 599 opal/mca/btl/tcp/btl_tcp_proc.c (struct sockaddr*) peer_interfaces[j]->ipv4_address, peer_interfaces 611 opal/mca/btl/tcp/btl_tcp_proc.c proc_data->best_addr[i][j] = peer_interfaces[j]->ipv4_endpoint_addr; peer_interfaces 615 opal/mca/btl/tcp/btl_tcp_proc.c (struct sockaddr*) peer_interfaces[j]->ipv4_address, peer_interfaces 627 opal/mca/btl/tcp/btl_tcp_proc.c proc_data->best_addr[i][j] = peer_interfaces[j]->ipv4_endpoint_addr; peer_interfaces 635 opal/mca/btl/tcp/btl_tcp_proc.c NULL != peer_interfaces[j]->ipv6_address) { peer_interfaces 640 opal/mca/btl/tcp/btl_tcp_proc.c inet_ntop(AF_INET6, &(((struct sockaddr_in6*) peer_interfaces[j]->ipv6_address))->sin6_addr, peer_interfaces 644 opal/mca/btl/tcp/btl_tcp_proc.c (struct sockaddr*) peer_interfaces[j]->ipv6_address, peer_interfaces 656 opal/mca/btl/tcp/btl_tcp_proc.c proc_data->best_addr[i][j] = peer_interfaces[j]->ipv6_endpoint_addr; peer_interfaces 692 opal/mca/btl/tcp/btl_tcp_proc.c || peer_interfaces[best]->inuse peer_interfaces 693 opal/mca/btl/tcp/btl_tcp_proc.c || NULL == peer_interfaces[best]) { peer_interfaces 696 opal/mca/btl/tcp/btl_tcp_proc.c peer_interfaces[best]->inuse++; peer_interfaces 710 opal/mca/btl/tcp/btl_tcp_proc.c if (!peer_interfaces[j]->inuse) { peer_interfaces 722 opal/mca/btl/tcp/btl_tcp_proc.c peer_interfaces[j_max]->inuse++; peer_interfaces 744 opal/mca/btl/tcp/btl_tcp_proc.c if(NULL != peer_interfaces[i]->ipv4_address) { peer_interfaces 745 opal/mca/btl/tcp/btl_tcp_proc.c free(peer_interfaces[i]->ipv4_address); peer_interfaces 747 opal/mca/btl/tcp/btl_tcp_proc.c if(NULL != peer_interfaces[i]->ipv6_address) { peer_interfaces 748 opal/mca/btl/tcp/btl_tcp_proc.c free(peer_interfaces[i]->ipv6_address); peer_interfaces 750 opal/mca/btl/tcp/btl_tcp_proc.c free(peer_interfaces[i]); peer_interfaces 752 opal/mca/btl/tcp/btl_tcp_proc.c free(peer_interfaces);