taglinefilesource code
target183drivers/block/cdu31a.cint retval, target;
target186drivers/block/cdu31a.ctarget = MINOR(full_dev);
target188drivers/block/cdu31a.cif (target > 0) {
target576drivers/block/hd.cint target;
target577drivers/block/hd.ctarget =  DEVICE_NR(MINOR(inode->i_rdev));
target579drivers/block/hd.cwhile (busy[target])
target581drivers/block/hd.caccess_count[target]++;
target591drivers/block/hd.cint target;
target594drivers/block/hd.ctarget =  DEVICE_NR(MINOR(inode->i_rdev));
target595drivers/block/hd.caccess_count[target]--;
target745drivers/block/hd.c#define DEVICE_BUSY busy[target]
target746drivers/block/hd.c#define USAGE access_count[target]
target747drivers/block/hd.c#define CAPACITY (hd_info[target].head*hd_info[target].sect*hd_info[target].cyl)
target763drivers/block/hd.cint target, major;
target769drivers/block/hd.ctarget =  DEVICE_NR(MINOR(dev));
target781drivers/block/hd.cstart = target << gdev->minor_shift;
target797drivers/block/hd.cresetup_one_dev(gdev, target);
target108drivers/block/mcd.cint retval, target;
target114drivers/block/mcd.ctarget = MINOR(full_dev);
target116drivers/block/mcd.cif (target > 0) {
target298drivers/block/xd.cint target = DEVICE_NR(MINOR(dev)),start = target << xd_gendisk.minor_shift,partition;
target300drivers/block/xd.ccli(); xd_valid[target] = (xd_access[target] != 1); sti();
target301drivers/block/xd.cif (xd_valid[target])
target312drivers/block/xd.cxd_gendisk.part[start].nr_sects = xd_info[target].heads * xd_info[target].cylinders * xd_info[target].sectors;
target313drivers/block/xd.cresetup_one_dev(&xd_gendisk,target);
target315drivers/block/xd.cxd_valid[target] = 1;
target880drivers/scsi/NCR5380.cif (!(hostdata->busy[tmp->target] & (1 << tmp->lun))) {
target898drivers/scsi/NCR5380.cinstance->host_no, tmp->target, tmp->lun);
target1164drivers/scsi/NCR5380.cNCR5380_write(OUTPUT_DATA_REG, (hostdata->id_mask | (1 << cmd->target)));
target1203drivers/scsi/NCR5380.cprintk("scsi%d : selecting target %d\n", instance->host_no, cmd->target);
target1255drivers/scsi/NCR5380.cinstance->host_no, cmd->target);
target1293drivers/scsi/NCR5380.chostdata->busy[cmd->target] |= (1 << cmd->lun);
target1813drivers/scsi/NCR5380.cinstance->host_no, cmd->target, cmd->lun);
target1854drivers/scsi/NCR5380.cinstance->host_no, cmd->target, cmd->lun);
target1864drivers/scsi/NCR5380.cinstance->host_no, cmd->target, cmd->lun);
target1877drivers/scsi/NCR5380.cinstance->host_no, cmd->target, cmd->lun);
target1888drivers/scsi/NCR5380.cinstance->host_no, cmd->target, cmd->lun);
target1890drivers/scsi/NCR5380.chostdata->busy[cmd->target] &= ~(1 << cmd->lun);
target1955drivers/scsi/NCR5380.chostdata->busy[cmd->target] |= (1 << cmd->lun);
target1971drivers/scsi/NCR5380.ccmd->target, cmd->lun);
target2019drivers/scsi/NCR5380.chostdata->busy[cmd->target] &= ~(1 << cmd->lun);
target2175drivers/scsi/NCR5380.cif ((target_mask == (1 << tmp->target)) && (lun == tmp->lun)
target2215drivers/scsi/NCR5380.cinstance->host_no, cmd->target, cmd->lun, cmd->tag);
target380drivers/scsi/aha152x.cstatic inline Scsi_Cmnd *remove_SC( Scsi_Cmnd **SC, int target, int lun )
target385drivers/scsi/aha152x.cptr && ((ptr->target!=target) || (ptr->lun!=lun));
target712drivers/scsi/aha152x.cSCpnt->target,
target845drivers/scsi/aha152x.cSETPORT( SCSIID, (this_host << OID_) | current_SC->target );
target1075drivers/scsi/aha152x.cint identify_msg, target, i;
target1100drivers/scsi/aha152x.ctarget=0;
target1102drivers/scsi/aha152x.cfor( ; (i & 1)==0; target++, i>>=1)
target1108drivers/scsi/aha152x.cprintk("SELID=%02x, target=%d, ", GETPORT(SELID), target );
target1110drivers/scsi/aha152x.cSETPORT( SCSIID, (this_host << OID_) | target );
target1133drivers/scsi/aha152x.ctarget, identify_msg);
target1149drivers/scsi/aha152x.ctarget,
target1189drivers/scsi/aha152x.cprintk("selecting %d, ", current_SC->target); 
target1191drivers/scsi/aha152x.cSETPORT( SCSIID, (this_host << OID_) | current_SC->target );
target2296drivers/scsi/aha152x.c(unsigned int) ptr, ptr->target, ptr->lun);
target416drivers/scsi/aha1542.cunchar target = SCpnt->target;
target429drivers/scsi/aha1542.cDEB(if (target > 1) {
target453drivers/scsi/aha1542.cprintk("aha1542_queuecommand: dev %d cmd %02x pos %d len %d ", target, *cmd, i, bufflen);
target455drivers/scsi/aha1542.cprintk("aha1542_command: dev %d cmd %02x pos %d len %d ", target, *cmd, i, bufflen);
target548drivers/scsi/aha1542.cccb[mbo].idlun = (target&7)<<5 | direction | (lun & 7); /*SCSI Target Id*/
target242drivers/scsi/aha1740.cunchar target = SCpnt->target;
target268drivers/scsi/aha1740.cprintk("aha1740_queuecommand: dev %d cmd %02x pos %d len %d ", target, *cmd, i, bufflen);
target390drivers/scsi/aha1740.coutb(ATTN_START | (target & 7), ATTN);  /* Start it up */
target682drivers/scsi/fdomain.cSCinit.target = i;
target778drivers/scsi/fdomain.cstatic int fdomain_select( int target )
target785drivers/scsi/fdomain.coutb( adapter_mask | (1 << target), SCSI_Data_NoACK_port );
target806drivers/scsi/fdomain.cif (!target) printk( "Selection failed\n" );
target809drivers/scsi/fdomain.cif (!target) printk( "Future Domain: Selection failed\n" );
target878drivers/scsi/fdomain.coutb( adapter_mask | (1 << current_SC->target), SCSI_Data_NoACK_port );
target890drivers/scsi/fdomain.cif (fdomain_select( current_SC->target )) {
target950drivers/scsi/fdomain.ccurrent_SC->target, current_SC->cmnd[0],
target1264drivers/scsi/fdomain.cSCpnt->target,
target1349drivers/scsi/fdomain.cSCpnt->target,
target241drivers/scsi/scsi.cSCmd.target = dev;
target547drivers/scsi/scsi.cif(SCpnt->target == scsi_devices[index].id &&
target632drivers/scsi/scsi.cif(SCpnt->target == scsi_devices[index].id &&
target737drivers/scsi/scsi.c"bufflen = %d, done = %08x)\n", SCpnt->host->host_no, SCpnt->target, SCpnt->cmnd, SCpnt->buffer, SCpnt->bufflen, SCpnt->done);
target808drivers/scsi/scsi.cint target = SCpnt->target;
target811drivers/scsi/scsi.c"command : " , host->host_no, target, buffer, bufflen, done, timeout, retries);
target857drivers/scsi/scsi.cSCpnt->target = target;
target1027drivers/scsi/scsi.cSCpnt->host->host_no, SCpnt->target, SCpnt->lun);
target1620drivers/scsi/scsi.cSCpnt->target = scsi_devices[i].id;
target343drivers/scsi/scsi.hunsigned char target, lun,  index;
target77drivers/scsi/scsi_debug.cif ((SCpnt->request.dev & 0xfff0) != ((target + NR_REAL) << 4) +(MAJOR_NR << 8)){  \
target78drivers/scsi/scsi_debug.cprintk("Dev #s %x %x ",SCpnt->request.dev, target);      \
target164drivers/scsi/scsi_debug.cint target = SCpnt->target;
target170drivers/scsi/scsi_debug.cDEB(if (target > 1) { SCpnt->result = DID_TIME_OUT << 16;done(SCpnt);return 0;});
target174drivers/scsi/scsi_debug.cif(target>=1 || SCpnt->lun != 0) {
target272drivers/scsi/scsi_debug.cif(block == 0 && target == 0) {
target313drivers/scsi/scsi_debug.cmemcpy(buff, &target, sizeof(target));
target314drivers/scsi/scsi_debug.cmemcpy(buff+sizeof(target), cmd, 24);
target62drivers/scsi/sd.cint target;
target63drivers/scsi/sd.ctarget =  DEVICE_NR(MINOR(inode->i_rdev));
target65drivers/scsi/sd.cif(target >= NR_SD || !rscsi_disks[target].device)
target71drivers/scsi/sd.cwhile (rscsi_disks[target].device->busy);
target73drivers/scsi/sd.cif(rscsi_disks[target].device->removable) {
target76drivers/scsi/sd.cif(!rscsi_disks[target].device->access_count)
target79drivers/scsi/sd.crscsi_disks[target].device->access_count++;
target85drivers/scsi/sd.cint target;
target88drivers/scsi/sd.ctarget =  DEVICE_NR(MINOR(inode->i_rdev));
target90drivers/scsi/sd.crscsi_disks[target].device->access_count--;
target92drivers/scsi/sd.cif(rscsi_disks[target].device->removable) {
target93drivers/scsi/sd.cif(!rscsi_disks[target].device->access_count)
target737drivers/scsi/sd.cint target;
target740drivers/scsi/sd.ctarget =  DEVICE_NR(MINOR(full_dev));
target742drivers/scsi/sd.cif (target >= NR_SD) {
target747drivers/scsi/sd.cif(!rscsi_disks[target].device->removable) return 0;
target757drivers/scsi/sd.crscsi_disks[target].device->changed = 1;
target762drivers/scsi/sd.cretval = rscsi_disks[target].device->changed;
target763drivers/scsi/sd.cif(!flag) rscsi_disks[target].device->changed = 0;
target1038drivers/scsi/sd.c#define DEVICE_BUSY rscsi_disks[target].device->busy
target1039drivers/scsi/sd.c#define USAGE rscsi_disks[target].device->access_count
target1040drivers/scsi/sd.c#define CAPACITY rscsi_disks[target].capacity
target1041drivers/scsi/sd.c#define MAYBE_REINIT  sd_init_onedisk(target)
target1052drivers/scsi/sd.cint target, major;
target1058drivers/scsi/sd.ctarget =  DEVICE_NR(MINOR(dev));
target1071drivers/scsi/sd.cstart = target << gdev->minor_shift;
target1087drivers/scsi/sd.cresetup_one_dev(gdev, target);
target85drivers/scsi/seagate.cstatic int internal_command(unsigned char target, unsigned char lun,
target520drivers/scsi/seagate.ccurrent_target = SCpnt->target;
target562drivers/scsi/seagate.cresult = internal_command (SCint->target, SCint->lun, SCint->cmnd, SCint->request_buffer,
target576drivers/scsi/seagate.creturn internal_command (SCpnt->target, SCpnt->lun, SCpnt->cmnd, SCpnt->request_buffer,
target581drivers/scsi/seagate.cstatic int internal_command(unsigned char target, unsigned char lun, const void *cmnd,
target622drivers/scsi/seagate.cprintk ("scsi%d : target = %d, command = ", hostno, target);
target650drivers/scsi/seagate.cif (target == (controller_type == SEAGATE ? 7 : 6))
target844drivers/scsi/seagate.cDATA = (unsigned char) ((1 << target) | (controller_type == SEAGATE ? 0x80 : 0x40));
target871drivers/scsi/seagate.chostno, target, STATUS);
target1036drivers/scsi/seagate.chostno, target, lun);
target1351drivers/scsi/seagate.cprintk("scsi%d : target %d requested MSGOUT, sent NOP message.\n", hostno, target);
target1424drivers/scsi/seagate.chostno, target, message & 7);
target1436drivers/scsi/seagate.chostno,  message,   target);
target80drivers/scsi/sr.cint retval, target;
target83drivers/scsi/sr.ctarget =  MINOR(full_dev);
target85drivers/scsi/sr.cif (target >= NR_SR) {
target98drivers/scsi/sr.cscsi_CDs[target].device->changed = 1;
target103drivers/scsi/sr.cretval = scsi_CDs[target].device->changed;
target105drivers/scsi/sr.cscsi_CDs[target].device->changed = 0;
target108drivers/scsi/sr.cif (retval) scsi_CDs[target].needs_sector_size = 1;
target41drivers/scsi/sr_ioctl.cstatic int do_ioctl(int target, unsigned char * sr_cmd, void * buffer, unsigned buflength)
target46drivers/scsi/sr_ioctl.cSCpnt = allocate_device(NULL, scsi_CDs[target].device->index, 1);
target64drivers/scsi/sr_ioctl.cscsi_CDs[target].device->changed = 1;
target75drivers/scsi/sr_ioctl.cscsi_CDs[target].device->host->host_no, 
target76drivers/scsi/sr_ioctl.cscsi_CDs[target].device->id,
target77drivers/scsi/sr_ioctl.cscsi_CDs[target].device->lun,
target98drivers/scsi/sr_ioctl.cint result, target, err;
target100drivers/scsi/sr_ioctl.ctarget = MINOR(dev);
target101drivers/scsi/sr_ioctl.cif (target >= NR_SR) return -ENXIO;
target109drivers/scsi/sr_ioctl.csr_cmd[1] = scsi_CDs[target].device->lun << 5;
target115drivers/scsi/sr_ioctl.cresult = do_ioctl(target, sr_cmd, NULL, 255);
target121drivers/scsi/sr_ioctl.csr_cmd[1] = scsi_CDs[target].device->lun << 5;
target127drivers/scsi/sr_ioctl.cresult = do_ioctl(target, sr_cmd, NULL, 255);
target137drivers/scsi/sr_ioctl.csr_cmd[1] = scsi_CDs[target].device->lun << 5;
target147drivers/scsi/sr_ioctl.cresult = do_ioctl(target, sr_cmd, NULL, 255);
target157drivers/scsi/sr_ioctl.csr_cmd[1] = scsi_CDs[target].device->lun << 5;
target167drivers/scsi/sr_ioctl.cresult = do_ioctl(target, sr_cmd, NULL, 255);
target178drivers/scsi/sr_ioctl.csr_cmd[1] = ((scsi_CDs[target].device->lun) << 5) | 0x02;    /* MSF format */
target188drivers/scsi/sr_ioctl.cresult = do_ioctl(target, sr_cmd, buffer, 12);
target212drivers/scsi/sr_ioctl.csr_cmd[1] = ((scsi_CDs[target].device->lun) << 5) | 0x02;    /* MSF format */
target222drivers/scsi/sr_ioctl.cresult = do_ioctl (target, sr_cmd, buffer, 12);
target245drivers/scsi/sr_ioctl.csr_cmd[1] = ((scsi_CDs[target].device->lun) << 5) | 1;
target249drivers/scsi/sr_ioctl.cresult = do_ioctl(target, sr_cmd, NULL, 255);
target254drivers/scsi/sr_ioctl.csr_cmd[1] = ((scsi_CDs[target].device->lun) << 5) | 1;
target258drivers/scsi/sr_ioctl.cresult = do_ioctl(target, sr_cmd, NULL, 255);
target262drivers/scsi/sr_ioctl.cif (scsi_CDs[target].device -> access_count == 1)
target266drivers/scsi/sr_ioctl.csr_cmd[1] = ((scsi_CDs[target].device -> lun) << 5) | 1;
target270drivers/scsi/sr_ioctl.cif (!(result = do_ioctl(target, sr_cmd, NULL, 255)))
target271drivers/scsi/sr_ioctl.cscsi_CDs[target].device -> changed = 1;
target286drivers/scsi/sr_ioctl.csr_cmd[1] = (scsi_CDs[target].device -> lun) << 5;
target295drivers/scsi/sr_ioctl.cif ((result = do_ioctl (target, sr_cmd, buffer, 28))) {
target302drivers/scsi/sr_ioctl.csr_cmd[1] = (scsi_CDs[target].device -> lun) << 5;
target314drivers/scsi/sr_ioctl.cif ((result = do_ioctl (target, sr_cmd, mask, 28))) {
target330drivers/scsi/sr_ioctl.csr_cmd[1] = ((scsi_CDs[target].device -> lun) << 5) | 0x10;    /* Params are SCSI-2 */
target335drivers/scsi/sr_ioctl.cresult = do_ioctl (target, sr_cmd, buffer, 28);
target347drivers/scsi/sr_ioctl.csr_cmd[1] = ((scsi_CDs[target].device->lun) << 5) | 0x02;    /* MSF format */
target359drivers/scsi/sr_ioctl.cresult = do_ioctl(target, sr_cmd, buffer, 16);
target396drivers/scsi/sr_ioctl.creturn scsi_ioctl(scsi_CDs[target].device,cmd,(void *) arg);
target686drivers/scsi/ultrastor.cmy_mscp->target_id = SCpnt->target;
target379drivers/scsi/wd7000.cidlun = ((SCpnt->target << 5) & 0xe0) | (SCpnt->lun & 7);
target602drivers/scsi/wd7000.cprintk("id %d lun %d cdb", SCpnt->target, SCpnt->lun);
target1175drivers/sound/gus_wave.cint             current, target, rate;
target1189drivers/sound/gus_wave.ctarget = voices[voice].initial_volume;
target1194drivers/sound/gus_wave.cgus_voice_volume (target);
target1205drivers/sound/gus_wave.cif ((target - current) / 64 == 0)  /* 
target1210drivers/sound/gus_wave.cgus_voice_volume (target);
target1215drivers/sound/gus_wave.cif (target > current)
target1217drivers/sound/gus_wave.cif (target > (4095 - 65))
target1218drivers/sound/gus_wave.ctarget = 4095 - 65;
target1219drivers/sound/gus_wave.cgus_ramp_range (current, target);
target1226drivers/sound/gus_wave.cif (target < 65)
target1227drivers/sound/gus_wave.ctarget = 65;
target1229drivers/sound/gus_wave.cgus_ramp_range (target, current);
target1686drivers/sound/gus_wave.cunsigned long   blk_size, blk_end, left, src_offs, target;
target1818drivers/sound/gus_wave.ctarget = free_mem_ptr;
target1831drivers/sound/gus_wave.cblk_end = target + blk_size;
target1833drivers/sound/gus_wave.cif ((target >> 18) != (blk_end >> 18))
target1839drivers/sound/gus_wave.cblk_size = blk_end - target;
target1859drivers/sound/gus_wave.cgus_poke (target + i, data);
target1888drivers/sound/gus_wave.caddress = target;
target1945drivers/sound/gus_wave.ctarget += blk_size;
target60drivers/sound/os.h#define GET_BYTE_FROM_USER(target, addr, offs)  target = get_fs_byte(&((addr)[offs]))
target61drivers/sound/os.h#define GET_SHORT_FROM_USER(target, addr, offs)  target = get_fs_word(&((addr)[offs]))
target62drivers/sound/os.h#define GET_WORD_FROM_USER(target, addr, offs)  target = get_fs_long((long*)&((addr)[offs]))