add: TRACE(("set_port_owner(id = %ld, team = %ld)\n", id, team));
context: set_port_owner(port_id id, team_id team){	cpu_status state;	int slot;	if (!sPortsActive || id < 0)		return B_BAD_PORT_ID;	slot = id % sMaxPorts;	state = disable_interrupts();	GRAB_PORT_LOCK(sPorts[slot]);	if (sPorts[slot].id != id) {		RELEASE_PORT_LOCK(sPorts[slot]);		restore_interrupts(state);		TRACE(("set_port_owner: invalid port_id %ld\n", id));		return B_BAD_PORT_ID;	}	// transfer ownership to other team	sPorts[slot].owner = team;	// unlock port	RELEASE_PORT_LOCK(sPorts[slot]);	restore_interrupts(state);	return B_NO_ERROR;}