taglinefilesource code
target175drivers/block/cdu31a.cint retval, target;
target178drivers/block/cdu31a.ctarget = MINOR(full_dev);
target180drivers/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) {
target254drivers/block/xd.cint target = DEVICE_NR(MINOR(dev)),start = target << xd_gendisk.minor_shift,partition;
target256drivers/block/xd.ccli(); xd_valid[target] = (xd_access[target] != 1); sti();
target257drivers/block/xd.cif (xd_valid[target])
target268drivers/block/xd.cxd_gendisk.part[start].nr_sects = xd_info[target].heads * xd_info[target].cylinders * xd_info[target].sectors;
target269drivers/block/xd.cresetup_one_dev(&xd_gendisk,target);
target271drivers/block/xd.cxd_valid[target] = 1;
target835drivers/scsi/NCR5380.cif (!(hostdata->busy[tmp->target] & (1 << tmp->lun))) {
target853drivers/scsi/NCR5380.cinstance->host_no, tmp->target, tmp->lun);
target1088drivers/scsi/NCR5380.cNCR5380_write(OUTPUT_DATA_REG, (hostdata->id_mask | (1 << cmd->target)));
target1127drivers/scsi/NCR5380.cprintk("scsi%d : selecting target %d\n", instance->host_no, cmd->target);
target1179drivers/scsi/NCR5380.cinstance->host_no, cmd->target);
target1217drivers/scsi/NCR5380.chostdata->busy[cmd->target] |= (1 << cmd->lun);
target1530drivers/scsi/NCR5380.cinstance->host_no, cmd->target, cmd->lun);
target1572drivers/scsi/NCR5380.cinstance->host_no, cmd->target, cmd->lun);
target1582drivers/scsi/NCR5380.cinstance->host_no, cmd->target, cmd->lun);
target1595drivers/scsi/NCR5380.cinstance->host_no, cmd->target, cmd->lun);
target1606drivers/scsi/NCR5380.cinstance->host_no, cmd->target, cmd->lun);
target1608drivers/scsi/NCR5380.chostdata->busy[cmd->target] &= ~(1 << cmd->lun);
target1658drivers/scsi/NCR5380.chostdata->busy[cmd->target] |= (1 << cmd->lun);
target1674drivers/scsi/NCR5380.ccmd->target, cmd->lun);
target1717drivers/scsi/NCR5380.chostdata->busy[cmd->target] &= ~(1 << cmd->lun);
target1872drivers/scsi/NCR5380.cif ((target_mask == (1 << tmp->target)) && (lun == tmp->lun)
target1912drivers/scsi/NCR5380.cinstance->host_no, cmd->target, cmd->lun, cmd->tag);
target377drivers/scsi/aha152x.cstatic inline Scsi_Cmnd *remove_SC( Scsi_Cmnd **SC, int target, int lun )
target382drivers/scsi/aha152x.cptr && ((ptr->target!=target) || (ptr->lun!=lun));
target717drivers/scsi/aha152x.cSCpnt->target,
target850drivers/scsi/aha152x.cSETPORT( SCSIID, (this_host << OID_) | current_SC->target );
target1090drivers/scsi/aha152x.cint identify_msg, target, i;
target1115drivers/scsi/aha152x.ctarget=0;
target1117drivers/scsi/aha152x.cfor( ; (i & 1)==0; target++, i>>=1)
target1123drivers/scsi/aha152x.cprintk("SELID=%02x, target=%d, ", GETPORT(SELID), target );
target1125drivers/scsi/aha152x.cSETPORT( SCSIID, (this_host << OID_) | target );
target1148drivers/scsi/aha152x.ctarget, identify_msg);
target1164drivers/scsi/aha152x.ctarget,
target1204drivers/scsi/aha152x.cprintk("selecting %d, ", current_SC->target); 
target1206drivers/scsi/aha152x.cSETPORT( SCSIID, (this_host << OID_) | current_SC->target );
target2322drivers/scsi/aha152x.c(unsigned long) ptr, ptr->target, ptr->lun);
target391drivers/scsi/aha1542.cunchar target = SCpnt->target;
target404drivers/scsi/aha1542.cDEB(if (target > 1) {
target428drivers/scsi/aha1542.cprintk("aha1542_queuecommand: dev %d cmd %02x pos %d len %d ", target, *cmd, i, bufflen);
target430drivers/scsi/aha1542.cprintk("aha1542_command: dev %d cmd %02x pos %d len %d ", target, *cmd, i, bufflen);
target523drivers/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 */
target648drivers/scsi/fdomain.cSCinit.target = i;
target744drivers/scsi/fdomain.cstatic int fdomain_select( int target )
target751drivers/scsi/fdomain.coutb( adapter_mask | (1 << target), SCSI_Data_NoACK_port );
target768drivers/scsi/fdomain.cif (!target) printk( "Selection failed\n" );
target771drivers/scsi/fdomain.cif (!target) printk( "Future Domain: Selection failed" );
target840drivers/scsi/fdomain.coutb( adapter_mask | (1 << current_SC->target), SCSI_Data_NoACK_port );
target852drivers/scsi/fdomain.cif (fdomain_select( current_SC->target )) {
target912drivers/scsi/fdomain.ccurrent_SC->target, current_SC->cmnd[0],
target1226drivers/scsi/fdomain.cSCpnt->target,
target1311drivers/scsi/fdomain.cSCpnt->target,
target233drivers/scsi/scsi.cSCmd.target = dev;
target536drivers/scsi/scsi.cif(SCpnt->target == scsi_devices[index].id &&
target619drivers/scsi/scsi.cif(SCpnt->target == scsi_devices[index].id &&
target722drivers/scsi/scsi.c"bufflen = %d, done = %08x)\n", SCpnt->host->host_no, SCpnt->target, SCpnt->cmnd, SCpnt->buffer, SCpnt->bufflen, SCpnt->done);
target793drivers/scsi/scsi.cint target = SCpnt->target;
target796drivers/scsi/scsi.c"command : " , host->host_no, target, buffer, bufflen, done, timeout, retries);
target842drivers/scsi/scsi.cSCpnt->target = target;
target1008drivers/scsi/scsi.cSCpnt->host->host_no, SCpnt->target, SCpnt->lun);
target1598drivers/scsi/scsi.cSCpnt->target = scsi_devices[i].id;
target339drivers/scsi/scsi.hunsigned char target, lun,  index;
target61drivers/scsi/scsi_debug.cif ((SCpnt->request.dev & 0xfff0) != ((target + NR_REAL) << 4) +(MAJOR_NR << 8)){  \
target62drivers/scsi/scsi_debug.cprintk("Dev #s %x %x ",SCpnt->request.dev, target);      \
target147drivers/scsi/scsi_debug.cint target = SCpnt->target;
target153drivers/scsi/scsi_debug.cDEB(if (target > 1) { SCpnt->result = DID_TIME_OUT << 16;done(SCpnt);return 0;});
target157drivers/scsi/scsi_debug.cif(target>=2 || SCpnt->lun != 0) {
target237drivers/scsi/scsi_debug.cif(block == 0 && target == 0) {
target274drivers/scsi/scsi_debug.cmemcpy(buff, &target, sizeof(target));
target275drivers/scsi/scsi_debug.cmemcpy(buff+sizeof(target), cmd, 24);
target58drivers/scsi/sd.cint target;
target59drivers/scsi/sd.ctarget =  DEVICE_NR(MINOR(inode->i_rdev));
target61drivers/scsi/sd.cif(target >= NR_SD || !rscsi_disks[target].device)
target67drivers/scsi/sd.cwhile (rscsi_disks[target].device->busy);
target69drivers/scsi/sd.cif(rscsi_disks[target].device->removable) {
target72drivers/scsi/sd.cif(!rscsi_disks[target].device->access_count)
target75drivers/scsi/sd.crscsi_disks[target].device->access_count++;
target81drivers/scsi/sd.cint target;
target84drivers/scsi/sd.ctarget =  DEVICE_NR(MINOR(inode->i_rdev));
target86drivers/scsi/sd.crscsi_disks[target].device->access_count--;
target88drivers/scsi/sd.cif(rscsi_disks[target].device->removable) {
target89drivers/scsi/sd.cif(!rscsi_disks[target].device->access_count)
target618drivers/scsi/sd.cint target;
target621drivers/scsi/sd.ctarget =  DEVICE_NR(MINOR(full_dev));
target623drivers/scsi/sd.cif (target >= NR_SD) {
target628drivers/scsi/sd.cif(!rscsi_disks[target].device->removable) return 0;
target638drivers/scsi/sd.crscsi_disks[target].device->changed = 1;
target643drivers/scsi/sd.cretval = rscsi_disks[target].device->changed;
target644drivers/scsi/sd.cif(!flag) rscsi_disks[target].device->changed = 0;
target917drivers/scsi/sd.c#define DEVICE_BUSY rscsi_disks[target].device->busy
target918drivers/scsi/sd.c#define USAGE rscsi_disks[target].device->access_count
target919drivers/scsi/sd.c#define CAPACITY rscsi_disks[target].capacity
target920drivers/scsi/sd.c#define MAYBE_REINIT  sd_init_onedisk(target)
target931drivers/scsi/sd.cint target, major;
target937drivers/scsi/sd.ctarget =  DEVICE_NR(MINOR(dev));
target950drivers/scsi/sd.cstart = target << gdev->minor_shift;
target966drivers/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;
target104drivers/scsi/sr.cif(!flag) scsi_CDs[target].device->changed = 0;
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;
target100drivers/scsi/sr_ioctl.ctarget = MINOR(dev);
target101drivers/scsi/sr_ioctl.cif (target >= NR_SR) return -ENODEV;
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);
target210drivers/scsi/sr_ioctl.csr_cmd[1] = ((scsi_CDs[target].device->lun) << 5) | 0x02;    /* MSF format */
target220drivers/scsi/sr_ioctl.cresult = do_ioctl (target, sr_cmd, buffer, 12);
target241drivers/scsi/sr_ioctl.csr_cmd[1] = ((scsi_CDs[target].device->lun) << 5) | 1;
target245drivers/scsi/sr_ioctl.cresult = do_ioctl(target, sr_cmd, NULL, 255);
target250drivers/scsi/sr_ioctl.csr_cmd[1] = ((scsi_CDs[target].device->lun) << 5) | 1;
target254drivers/scsi/sr_ioctl.cresult = do_ioctl(target, sr_cmd, NULL, 255);
target258drivers/scsi/sr_ioctl.cif (scsi_CDs[target].device -> access_count == 1)
target262drivers/scsi/sr_ioctl.csr_cmd[1] = ((scsi_CDs[target].device -> lun) << 5) | 1;
target266drivers/scsi/sr_ioctl.cif (!(result = do_ioctl(target, sr_cmd, NULL, 255)))
target267drivers/scsi/sr_ioctl.cscsi_CDs[target].device -> changed = 1;
target282drivers/scsi/sr_ioctl.csr_cmd[1] = (scsi_CDs[target].device -> lun) << 5;
target291drivers/scsi/sr_ioctl.cif ((result = do_ioctl (target, sr_cmd, buffer, 28))) {
target298drivers/scsi/sr_ioctl.csr_cmd[1] = (scsi_CDs[target].device -> lun) << 5;
target310drivers/scsi/sr_ioctl.cif ((result = do_ioctl (target, sr_cmd, mask, 28))) {
target325drivers/scsi/sr_ioctl.csr_cmd[1] = ((scsi_CDs[target].device -> lun) << 5) | 0x10;    /* Params are SCSI-2 */
target330drivers/scsi/sr_ioctl.cresult = do_ioctl (target, sr_cmd, buffer, 28);
target342drivers/scsi/sr_ioctl.csr_cmd[1] = ((scsi_CDs[target].device->lun) << 5) | 0x02;    /* MSF format */
target354drivers/scsi/sr_ioctl.cresult = do_ioctl(target, sr_cmd, buffer, 16);
target383drivers/scsi/sr_ioctl.creturn scsi_ioctl(scsi_CDs[target].device,cmd,(void *) arg);
target700drivers/scsi/ultrastor.cmy_mscp->target_id = SCpnt->target;
target363drivers/scsi/wd7000.cidlun = ((SCpnt->target << 5) & 0xe0) | (SCpnt->lun & 7);
target585drivers/scsi/wd7000.cprintk("id %d lun %d cdb", SCpnt->target, SCpnt->lun);
target913drivers/sound/gus_wave.cint             current, target, rate;
target919drivers/sound/gus_wave.ctarget = voices[voice].initial_volume;
target924drivers/sound/gus_wave.cgus_voice_volume (target);
target934drivers/sound/gus_wave.cif ((target - current) / 64 == 0)  /* Too close */
target937drivers/sound/gus_wave.cgus_voice_volume (target);
target941drivers/sound/gus_wave.cif (target > current)
target943drivers/sound/gus_wave.cif (target > (4095 - 65))
target944drivers/sound/gus_wave.ctarget = 4095 - 65;
target945drivers/sound/gus_wave.cgus_ramp_range (current, target);
target950drivers/sound/gus_wave.cif (target < 65)
target951drivers/sound/gus_wave.ctarget = 65;
target953drivers/sound/gus_wave.cgus_ramp_range (target, current);
target1270drivers/sound/gus_wave.cunsigned long   blk_size, blk_end, left, src_offs, target;
target1391drivers/sound/gus_wave.ctarget = free_mem_ptr;
target1402drivers/sound/gus_wave.cblk_end = target + blk_size;
target1404drivers/sound/gus_wave.cif ((target >> 18) != (blk_end >> 18))
target1408drivers/sound/gus_wave.cblk_size = blk_end - target;
target1426drivers/sound/gus_wave.cgus_poke (target + i, data);
target1450drivers/sound/gus_wave.caddress = target;
target1493drivers/sound/gus_wave.ctarget += blk_size;
target59drivers/sound/os.h#define GET_BYTE_FROM_USER(target, addr, offs)  target = get_fs_byte(&((addr)[offs]))
target60drivers/sound/os.h#define GET_SHORT_FROM_USER(target, addr, offs)  target = get_fs_word(&((addr)[offs]))
target61drivers/sound/os.h#define GET_WORD_FROM_USER(target, addr, offs)  target = get_fs_long((long*)&((addr)[offs]))