int try_adapter(int sector) 
static int try_adapter(int sector) 
int try_adapter(int sector){	if (cd->adapter_first <= sector && sector < cd->adapter_last) {		/* sector is in adapter memory */		empty_buffer(sector - cd->adapter_first);		return 0;	} else if (cd->background == 1 && cd->adapter_first <= sector		   && sector < cd->adapter_first + cd->max_sectors) {		/* a read is going on, we can wait for it */		cd->wait_back = 1;		while (sector >= cd->adapter_last) {			if (sleep_or_timeout(&cd->data, DATA_TIMEOUT)) {				debug(("Timed out during background wait: %d %d %d %d\n", sector, cd->adapter_last, cd->adapter_first, cd->background));				stats(back_read_timeout);				cd->wait_back = 0;				return -1;			}		}		cd->wait_back = 0;		empty_buffer(sector - cd->adapter_first);		return 0;	} else		return -2;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/8b3d4a2a3ef9488d4477e8823106abfd6039eb66/cm206.c/clean/drivers/cdrom/cm206.c