Lines Matching defs:newport
776 ds_port_t *newport;
790 newport = &ds_ports[port_id];
793 if (newport->state != DS_PORT_FREE) {
798 if (newport->domain_hdl == DS_DHDL_INVALID) {
799 newport->domain_hdl = dhdl;
801 if (newport->domain_name == NULL && dom_name != NULL) {
802 newport->domain_name = ds_strdup(dom_name);
808 newport->id = port_id;
809 newport->ldc.id = ldc_id;
810 newport->domain_hdl = dhdl;
812 newport->domain_name = ds_strdup(dom_name);
814 newport->domain_name = NULL;
815 ds_port_common_init(newport);