add: TRACE(("find_port(name = \"%s\")\n", name));
context: find_port(const char *name){	port_id portFound = B_NAME_NOT_FOUND;	cpu_status state;	int i;	if (!sPortsActive)		return B_NAME_NOT_FOUND;	if (name == NULL)		return B_BAD_VALUE;	// Since we have to check every single port, and we don't	// care if it goes away at any point, we're only grabbing	// the port lock in question, not the port list lock	// loop over list	for (i = 0; i < sMaxPorts && portFound < B_OK; i++) {		// lock every individual port before comparing		state = disable_interrupts();		GRAB_PORT_LOCK(sPorts[i]);		if (sPorts[i].id >= 0 && !strcmp(name, sPorts[i].name))			portFound = sPorts[i].id;		RELEASE_PORT_LOCK(sPorts[i]);		restore_interrupts(state);	}	return portFound;}