taglinefilesource code
target264drivers/block/cdu31a.cint retval, target;
target267drivers/block/cdu31a.ctarget = MINOR(full_dev);
target269drivers/block/cdu31a.cif (target > 0) {
target913drivers/block/hd.cint target;
target914drivers/block/hd.ctarget =  DEVICE_NR(inode->i_rdev);
target916drivers/block/hd.cwhile (busy[target])
target918drivers/block/hd.caccess_count[target]++;
target928drivers/block/hd.cint target;
target931drivers/block/hd.ctarget =  DEVICE_NR(inode->i_rdev);
target932drivers/block/hd.caccess_count[target]--;
target1085drivers/block/hd.c#define DEVICE_BUSY busy[target]
target1086drivers/block/hd.c#define USAGE access_count[target]
target1087drivers/block/hd.c#define CAPACITY (bios_info[target].head*bios_info[target].sect*bios_info[target].cyl)
target1103drivers/block/hd.cint target, major;
target1110drivers/block/hd.ctarget =  DEVICE_NR(dev);
target1123drivers/block/hd.cstart = target << gdev->minor_shift;
target1139drivers/block/hd.cresetup_one_dev(gdev, target);
target164drivers/block/mcd.cint retval, target;
target170drivers/block/mcd.ctarget = MINOR(full_dev);
target172drivers/block/mcd.cif (target > 0) {
target299drivers/block/xd.cint target = DEVICE_NR(MINOR(dev)),start = target << xd_gendisk.minor_shift,partition;
target301drivers/block/xd.ccli(); xd_valid[target] = (xd_access[target] != 1); sti();
target302drivers/block/xd.cif (xd_valid[target])
target313drivers/block/xd.cxd_gendisk.part[start].nr_sects = xd_info[target].heads * xd_info[target].cylinders * xd_info[target].sectors;
target314drivers/block/xd.cresetup_one_dev(&xd_gendisk,target);
target316drivers/block/xd.cxd_valid[target] = 1;
target1321drivers/scsi/53c7,8xx.cdsa_temp_sync, hostdata->sync[c->target].select_indirect);
target1323drivers/scsi/53c7,8xx.cdsa_temp_target, c->target);
target1456drivers/scsi/53c7,8xx.cstatic int asynchronous (struct Scsi_Host *host, int target) {
target1463drivers/scsi/53c7,8xx.chostdata->sync[target].select_indirect = (hostdata->saved_scntl3 << 24)
target1464drivers/scsi/53c7,8xx.c| (target << 16);
target1467drivers/scsi/53c7,8xx.chostdata->sync[target].select_indirect = (1 << (target & 7)) << 16;
target1524drivers/scsi/53c7,8xx.cstatic void synchronous (struct Scsi_Host *host, int target, char *msg) {
target1554drivers/scsi/53c7,8xx.chostdata->sync[target].select_indirect = (scntl3 << 24) | (target << 16) | 
target1557drivers/scsi/53c7,8xx.cscript = hostdata->sync[target].script;
target1611drivers/scsi/53c7,8xx.cprintk (" from target %d lun %d", c->target, c->lun);
target1635drivers/scsi/53c7,8xx.chost->host_no, c->target, (cmd->flags & CMD_FLAG_SDTR) ? "accepting" :
target1647drivers/scsi/53c7,8xx.csynchronous (host, c->target, hostdata->msg_buf);
target1655drivers/scsi/53c7,8xx.csynchronous (host, c->target, hostdata->msg_buf);
target1672drivers/scsi/53c7,8xx.chost->host_no, c->target, Hz / 1000000, Hz % 1000000,
target1680drivers/scsi/53c7,8xx.chost->host_no, c->target);
target1733drivers/scsi/53c7,8xx.casynchronous (host, c->target);
target2413drivers/scsi/53c7,8xx.cpatch_dsa_32(tmp->dsa, dsa_select, 0, hostdata->sync[cmd->target].
target2591drivers/scsi/53c7,8xx.c!(hostdata->debug_lun_limit[cmd->target] & (1 << cmd->lun)))) ||
target2592drivers/scsi/53c7,8xx.ccmd->target > 7) {
target2594drivers/scsi/53c7,8xx.ccmd->target, cmd->lun);
target2662drivers/scsi/53c7,8xx.ctarget_was_busy = hostdata->busy[cmd->target][cmd->lun]
target2798drivers/scsi/53c7,8xx.chost->host_no, cmd->cmd->target, cmd->cmd->lun);
target2831drivers/scsi/53c7,8xx.chost->host_no, cmd->cmd->target, cmd->cmd->lun);
target2845drivers/scsi/53c7,8xx.chost->host_no, cmd->cmd->target, cmd->cmd->lun);
target3031drivers/scsi/53c7,8xx.cif (--hostdata->busy[tmp->target][tmp->lun]) {
target3051drivers/scsi/53c7,8xx.chost->host_no, tmp->pid, tmp->target, tmp->lun, tmp->result);
target3098drivers/scsi/53c7,8xx.chost->host_no, cmd->cmd->pid, (int) cmd->cmd->target,
target952drivers/scsi/NCR5380.cif (!(hostdata->busy[tmp->target] & (1 << tmp->lun))) {
target970drivers/scsi/NCR5380.cinstance->host_no, tmp->target, tmp->lun);
target1278drivers/scsi/NCR5380.cNCR5380_write(OUTPUT_DATA_REG, (hostdata->id_mask | (1 << cmd->target)));
target1317drivers/scsi/NCR5380.cprintk("scsi%d : selecting target %d\n", instance->host_no, cmd->target);
target1350drivers/scsi/NCR5380.cif (hostdata->targets_present & (1 << cmd->target)) {
target1371drivers/scsi/NCR5380.chostdata->targets_present |= (1 << cmd->target);
target1393drivers/scsi/NCR5380.cinstance->host_no, cmd->target);
target1431drivers/scsi/NCR5380.chostdata->busy[cmd->target] |= (1 << cmd->lun);
target2007drivers/scsi/NCR5380.cinstance->host_no, cmd->target, cmd->lun);
target2047drivers/scsi/NCR5380.cinstance->host_no, cmd->target, cmd->lun);
target2057drivers/scsi/NCR5380.cinstance->host_no, cmd->target, cmd->lun);
target2071drivers/scsi/NCR5380.cinstance->host_no, cmd->target, cmd->lun);
target2084drivers/scsi/NCR5380.cinstance->host_no, cmd->target, cmd->lun);
target2086drivers/scsi/NCR5380.chostdata->busy[cmd->target] &= ~(1 << cmd->lun);
target2158drivers/scsi/NCR5380.chostdata->busy[cmd->target] |= (1 << cmd->lun);
target2176drivers/scsi/NCR5380.ccmd->target, cmd->lun);
target2282drivers/scsi/NCR5380.cinstance->host_no, tmp, cmd->target, cmd->lun);
target2285drivers/scsi/NCR5380.cinstance->host_no, extended_msg[1], extended_msg[0], cmd->target, cmd->lun);
target2299drivers/scsi/NCR5380.chostdata->busy[cmd->target] &= ~(1 << cmd->lun);
target2456drivers/scsi/NCR5380.cif ((target_mask == (1 << tmp->target)) && (lun == tmp->lun)
target2496drivers/scsi/NCR5380.cinstance->host_no, tmp->target, tmp->lun, tmp->tag);
target406drivers/scsi/aha152x.cstatic inline Scsi_Cmnd *remove_SC( Scsi_Cmnd **SC, int target, int lun )
target411drivers/scsi/aha152x.cptr && ((ptr->target!=target) || (ptr->lun!=lun));
target730drivers/scsi/aha152x.cSCpnt->target,
target879drivers/scsi/aha152x.cSETPORT( SCSIID, (this_host << OID_) | current_SC->target );
target1139drivers/scsi/aha152x.cint identify_msg, target, i;
target1164drivers/scsi/aha152x.ctarget=0;
target1166drivers/scsi/aha152x.cfor( ; (i & 1)==0; target++, i>>=1)
target1172drivers/scsi/aha152x.cprintk("SELID=%02x, target=%d, ", GETPORT(SELID), target );
target1174drivers/scsi/aha152x.cSETPORT( SCSIID, (this_host << OID_) | target );
target1197drivers/scsi/aha152x.ctarget, identify_msg);
target1213drivers/scsi/aha152x.ctarget,
target1253drivers/scsi/aha152x.cprintk("selecting %d, ", current_SC->target); 
target1255drivers/scsi/aha152x.cSETPORT( SCSIID, (this_host << OID_) | current_SC->target );
target2360drivers/scsi/aha152x.c(unsigned int) ptr, ptr->target, ptr->lun);
target475drivers/scsi/aha1542.cunchar target = SCpnt->target;
target488drivers/scsi/aha1542.cDEB(if (target > 1) {
target511drivers/scsi/aha1542.cprintk("aha1542_queuecommand: dev %d cmd %02x pos %d len %d ", target, *cmd, i, bufflen);
target513drivers/scsi/aha1542.cprintk("aha1542_command: dev %d cmd %02x pos %d len %d ", target, *cmd, i, bufflen);
target606drivers/scsi/aha1542.cccb[mbo].idlun = (target&7)<<5 | direction | (lun & 7); /*SCSI Target Id*/
target1068drivers/scsi/aha1542.cprintk("Sent BUS DEVICE RESET to target %d\n", SCpnt->target);
target1076drivers/scsi/aha1542.cHOSTDATA(SCpnt->host)->SCint[i]->target == SCpnt->target)
target1082drivers/scsi/aha1542.cprintk("Sending DID_RESET for target %d\n", SCpnt->target);
target243drivers/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 */
target602drivers/scsi/buslogic.cunsigned char target = scpnt->target;
target611drivers/scsi/buslogic.cif (target > 1) {
target642drivers/scsi/buslogic.ctarget, *cmd, i, bufflen);
target751drivers/scsi/buslogic.cccb[mbo].id = target;
target1317drivers/scsi/buslogic.cscpnt->target);
target1325drivers/scsi/buslogic.c&& HOSTDATA(scpnt->host)->sc[i]->target == scpnt->target) {
target1331drivers/scsi/buslogic.cprintk("Sending DID_RESET for target %d\n", scpnt->target);
target553drivers/scsi/constants.ccmd->target, 
target701drivers/scsi/fdomain.cSCinit.target = i;
target797drivers/scsi/fdomain.cstatic int fdomain_select( int target )
target804drivers/scsi/fdomain.coutb( adapter_mask | (1 << target), SCSI_Data_NoACK_port );
target825drivers/scsi/fdomain.cif (!target) printk( "Selection failed\n" );
target828drivers/scsi/fdomain.cif (!target) printk( "Future Domain: Selection failed\n" );
target897drivers/scsi/fdomain.coutb( adapter_mask | (1 << current_SC->target), SCSI_Data_NoACK_port );
target909drivers/scsi/fdomain.cif (fdomain_select( current_SC->target )) {
target969drivers/scsi/fdomain.ccurrent_SC->target, current_SC->cmnd[0],
target1283drivers/scsi/fdomain.cSCpnt->target,
target1368drivers/scsi/fdomain.cSCpnt->target,
target268drivers/scsi/scsi.cSCmd.target = dev;
target523drivers/scsi/scsi.cSCpnt->pid, SCpnt->host->host_no, (int) SCpnt->target, (int) 
target574drivers/scsi/scsi.cif(SCpnt->target == device->id &&
target660drivers/scsi/scsi.cif(SCpnt->target == device->id &&
target765drivers/scsi/scsi.c"bufflen = %d, done = %08x)\n", SCpnt->host->host_no, SCpnt->target, SCpnt->cmnd, SCpnt->buffer, SCpnt->bufflen, SCpnt->done);
target850drivers/scsi/scsi.cint target = SCpnt->target;
target853drivers/scsi/scsi.c"command : " , host->host_no, target, buffer, bufflen, done, timeout, retries);
target901drivers/scsi/scsi.cSCpnt->target = target;
target1049drivers/scsi/scsi.cresult, SCpnt->target, SCpnt->lun);
target1079drivers/scsi/scsi.cSCpnt->host->host_no, SCpnt->target, SCpnt->lun);
target1389drivers/scsi/scsi.c" the bus was reset\n", SCpnt->target, SCpnt->lun);
target1777drivers/scsi/scsi.cSCpnt->target = SDpnt->id;
target1897drivers/scsi/scsi.cSCpnt->target,
target422drivers/scsi/scsi.hunsigned char target, lun;
target79drivers/scsi/scsi_debug.cif ((SCpnt->request.dev & 0xfff0) != ((target + NR_REAL) << 4) +(MAJOR_NR << 8)){  \
target80drivers/scsi/scsi_debug.cprintk("Dev #s %x %x ",SCpnt->request.dev, target);      \
target165drivers/scsi/scsi_debug.cint target = SCpnt->target;
target171drivers/scsi/scsi_debug.cDEB(if (target > 1) { SCpnt->result = DID_TIME_OUT << 16;done(SCpnt);return 0;});
target175drivers/scsi/scsi_debug.cif(target>=1 || SCpnt->lun != 0) {
target273drivers/scsi/scsi_debug.cif(block == 0 && target == 0) {
target314drivers/scsi/scsi_debug.cmemcpy(buff, &target, sizeof(target));
target315drivers/scsi/scsi_debug.cmemcpy(buff+sizeof(target), cmd, 24);
target74drivers/scsi/sd.cint target;
target75drivers/scsi/sd.ctarget =  DEVICE_NR(MINOR(inode->i_rdev));
target77drivers/scsi/sd.cif(target >= sd_template.dev_max || !rscsi_disks[target].device)
target83drivers/scsi/sd.cwhile (rscsi_disks[target].device->busy);
target85drivers/scsi/sd.cif(rscsi_disks[target].device->removable) {
target88drivers/scsi/sd.cif(!rscsi_disks[target].device->access_count)
target91drivers/scsi/sd.crscsi_disks[target].device->access_count++;
target97drivers/scsi/sd.cint target;
target100drivers/scsi/sd.ctarget =  DEVICE_NR(MINOR(inode->i_rdev));
target102drivers/scsi/sd.crscsi_disks[target].device->access_count--;
target104drivers/scsi/sd.cif(rscsi_disks[target].device->removable) {
target105drivers/scsi/sd.cif(!rscsi_disks[target].device->access_count)
target755drivers/scsi/sd.cint target;
target759drivers/scsi/sd.ctarget =  DEVICE_NR(MINOR(full_dev));
target761drivers/scsi/sd.cif (target >= sd_template.dev_max ||
target762drivers/scsi/sd.c!rscsi_disks[target].device) {
target767drivers/scsi/sd.cif(!rscsi_disks[target].device->removable) return 0;
target777drivers/scsi/sd.crscsi_disks[target].device->changed = 1;
target782drivers/scsi/sd.cretval = rscsi_disks[target].device->changed;
target783drivers/scsi/sd.cif(!flag) rscsi_disks[target].device->changed = 0;
target1095drivers/scsi/sd.c#define DEVICE_BUSY rscsi_disks[target].device->busy
target1096drivers/scsi/sd.c#define USAGE rscsi_disks[target].device->access_count
target1097drivers/scsi/sd.c#define CAPACITY rscsi_disks[target].capacity
target1098drivers/scsi/sd.c#define MAYBE_REINIT  sd_init_onedisk(target)
target1109drivers/scsi/sd.cint target, major;
target1115drivers/scsi/sd.ctarget =  DEVICE_NR(MINOR(dev));
target1128drivers/scsi/sd.cstart = target << gdev->minor_shift;
target1144drivers/scsi/sd.cresetup_one_dev(gdev, target);
target83drivers/scsi/seagate.cstatic int internal_command(unsigned char target, unsigned char lun,
target512drivers/scsi/seagate.ccurrent_target = SCpnt->target;
target554drivers/scsi/seagate.cresult = internal_command (SCint->target, SCint->lun, SCint->cmnd, SCint->request_buffer,
target568drivers/scsi/seagate.creturn internal_command (SCpnt->target, SCpnt->lun, SCpnt->cmnd, SCpnt->request_buffer,
target573drivers/scsi/seagate.cstatic int internal_command(unsigned char target, unsigned char lun, const void *cmnd,
target614drivers/scsi/seagate.cprintk ("scsi%d : target = %d, command = ", hostno, target);
target642drivers/scsi/seagate.cif (target == (controller_type == SEAGATE ? 7 : 6))
target838drivers/scsi/seagate.cDATA = (unsigned char) ((1 << target) | (controller_type == SEAGATE ? 0x80 : 0x40));
target865drivers/scsi/seagate.chostno, target, STATUS);
target1030drivers/scsi/seagate.chostno, target, lun);
target1345drivers/scsi/seagate.cprintk("scsi%d : target %d requested MSGOUT, sent NOP message.\n", hostno, target);
target1418drivers/scsi/seagate.chostno, target, message & 7);
target1430drivers/scsi/seagate.chostno,  message,   target);
target93drivers/scsi/sr.cint retval, target;
target97drivers/scsi/sr.ctarget =  MINOR(full_dev);
target99drivers/scsi/sr.cif (target >= sr_template.nr_dev) {
target112drivers/scsi/sr.cscsi_CDs[target].device->changed = 1;
target117drivers/scsi/sr.cretval = scsi_CDs[target].device->changed;
target119drivers/scsi/sr.cscsi_CDs[target].device->changed = 0;
target122drivers/scsi/sr.cif (retval) scsi_CDs[target].needs_sector_size = 1;
target37drivers/scsi/sr_ioctl.cstatic int do_ioctl(int target, unsigned char * sr_cmd, void * buffer, unsigned buflength)
target42drivers/scsi/sr_ioctl.cSCpnt = allocate_device(NULL, scsi_CDs[target].device, 1);
target62drivers/scsi/sr_ioctl.cscsi_CDs[target].device->changed = 1;
target73drivers/scsi/sr_ioctl.cscsi_CDs[target].device->host->host_no, 
target74drivers/scsi/sr_ioctl.cscsi_CDs[target].device->id,
target75drivers/scsi/sr_ioctl.cscsi_CDs[target].device->lun,
target96drivers/scsi/sr_ioctl.cint result, target, err;
target98drivers/scsi/sr_ioctl.ctarget = MINOR(dev);
target100drivers/scsi/sr_ioctl.cif (target >= sr_template.nr_dev ||
target101drivers/scsi/sr_ioctl.c!scsi_CDs[target].device) 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);
target701drivers/scsi/ultrastor.cmy_mscp->target_id = SCpnt->target;
target904drivers/scsi/wd7000.cidlun = ((SCpnt->target << 5) & 0xe0) | (SCpnt->lun & 7);
target1015drivers/sound/gus_wave.cint             current, target, rate;
target1029drivers/sound/gus_wave.ctarget = voices[voice].initial_volume;
target1034drivers/sound/gus_wave.cgus_voice_volume (target);
target1045drivers/sound/gus_wave.cif ((target - current) / 64 == 0)  /* Close enough to target. */
target1048drivers/sound/gus_wave.cgus_voice_volume (target);
target1053drivers/sound/gus_wave.cif (target > current)
target1055drivers/sound/gus_wave.cif (target > (4095 - 65))
target1056drivers/sound/gus_wave.ctarget = 4095 - 65;
target1057drivers/sound/gus_wave.cgus_ramp_range (current, target);
target1062drivers/sound/gus_wave.cif (target < 65)
target1063drivers/sound/gus_wave.ctarget = 65;
target1065drivers/sound/gus_wave.cgus_ramp_range (target, current);
target1479drivers/sound/gus_wave.cunsigned long   blk_size, blk_end, left, src_offs, target;
target1601drivers/sound/gus_wave.ctarget = free_mem_ptr;
target1612drivers/sound/gus_wave.cblk_end = target + blk_size;
target1614drivers/sound/gus_wave.cif ((target >> 18) != (blk_end >> 18))
target1618drivers/sound/gus_wave.cblk_size = blk_end - target;
target1636drivers/sound/gus_wave.cgus_poke (target + i, data);
target1663drivers/sound/gus_wave.caddress = target;
target1707drivers/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]))