add: TRACE(("delete_owned_ports(owner = %ld)\n", owner));
context: delete_owned_ports(team_id owner){	// ToDo: investigate maintaining a list of ports in the team	//	to make this simpler and more efficient.	cpu_status state;	int i;	int count = 0;	if (!sPortsActive)		return B_BAD_PORT_ID;	state = disable_interrupts();	GRAB_PORT_LIST_LOCK();	for (i = 0; i < sMaxPorts; i++) {		if (sPorts[i].id != -1 && sPorts[i].owner == owner) {			port_id id = sPorts[i].id;			RELEASE_PORT_LIST_LOCK();			restore_interrupts(state);			delete_port(id);			count++;			state = disable_interrupts();			GRAB_PORT_LIST_LOCK();		}	}	RELEASE_PORT_LIST_LOCK();	restore_interrupts(state);	return count;}