tag | line | file | source code |
target | 182 | drivers/block/gscd.c | int target; |
target | 185 | drivers/block/gscd.c | target = MINOR(full_dev); |
target | 187 | drivers/block/gscd.c | if (target > 0) |
target | 891 | drivers/block/hd.c | int target; |
target | 892 | drivers/block/hd.c | target = DEVICE_NR(inode->i_rdev); |
target | 894 | drivers/block/hd.c | if (target >= NR_HD) |
target | 896 | drivers/block/hd.c | while (busy[target]) |
target | 898 | drivers/block/hd.c | access_count[target]++; |
target | 908 | drivers/block/hd.c | int target; |
target | 911 | drivers/block/hd.c | target = DEVICE_NR(inode->i_rdev); |
target | 912 | drivers/block/hd.c | access_count[target]--; |
target | 1063 | drivers/block/hd.c | #define DEVICE_BUSY busy[target] |
target | 1064 | drivers/block/hd.c | #define USAGE access_count[target] |
target | 1065 | drivers/block/hd.c | #define CAPACITY (bios_info[target].head*bios_info[target].sect*bios_info[target].cyl) |
target | 1081 | drivers/block/hd.c | int target, major; |
target | 1088 | drivers/block/hd.c | target = DEVICE_NR(dev); |
target | 1101 | drivers/block/hd.c | start = target << gdev->minor_shift; |
target | 1117 | drivers/block/hd.c | resetup_one_dev(gdev, target); |
target | 218 | drivers/block/mcd.c | int retval, target; |
target | 224 | drivers/block/mcd.c | target = MINOR(full_dev); |
target | 226 | drivers/block/mcd.c | if (target > 0) { |
target | 300 | drivers/block/xd.c | int target = DEVICE_NR(MINOR(dev)),start = target << xd_gendisk.minor_shift,partition; |
target | 302 | drivers/block/xd.c | cli(); xd_valid[target] = (xd_access[target] != 1); sti(); |
target | 303 | drivers/block/xd.c | if (xd_valid[target]) |
target | 314 | drivers/block/xd.c | xd_gendisk.part[start].nr_sects = xd_info[target].heads * xd_info[target].cylinders * xd_info[target].sectors; |
target | 315 | drivers/block/xd.c | resetup_one_dev(&xd_gendisk,target); |
target | 317 | drivers/block/xd.c | xd_valid[target] = 1; |
target | 918 | drivers/net/eql.c | slave_t *target; |
target | 920 | drivers/net/eql.c | target = eql_find_slave_dev (queue, dev); |
target | 922 | drivers/net/eql.c | if (target != 0) |
target | 928 | drivers/net/eql.c | while (current != target) |
target | 1415 | drivers/scsi/53c7,8xx.c | dsa_temp_sync, hostdata->sync[c->target].select_indirect); |
target | 1417 | drivers/scsi/53c7,8xx.c | dsa_temp_target, c->target); |
target | 1546 | drivers/scsi/53c7,8xx.c | static int asynchronous (struct Scsi_Host *host, int target) { |
target | 1553 | drivers/scsi/53c7,8xx.c | hostdata->sync[target].select_indirect = (hostdata->saved_scntl3 << 24) |
target | 1554 | drivers/scsi/53c7,8xx.c | | (target << 16); |
target | 1557 | drivers/scsi/53c7,8xx.c | hostdata->sync[target].select_indirect = (1 << (target & 7)) << 16; |
target | 1615 | drivers/scsi/53c7,8xx.c | static void synchronous (struct Scsi_Host *host, int target, char *msg) { |
target | 1645 | drivers/scsi/53c7,8xx.c | hostdata->sync[target].select_indirect = (scntl3 << 24) | (target << 16) | |
target | 1648 | drivers/scsi/53c7,8xx.c | script = (u32*) hostdata->sync[target].script; |
target | 1702 | drivers/scsi/53c7,8xx.c | printk (" from target %d lun %d", c->target, c->lun); |
target | 1726 | drivers/scsi/53c7,8xx.c | host->host_no, c->target, (cmd->flags & CMD_FLAG_SDTR) ? "accepting" : |
target | 1738 | drivers/scsi/53c7,8xx.c | synchronous (host, c->target, (unsigned char *) |
target | 1747 | drivers/scsi/53c7,8xx.c | synchronous (host, c->target, (unsigned char *) |
target | 1765 | drivers/scsi/53c7,8xx.c | host->host_no, c->target, Hz / 1000000, Hz % 1000000, |
target | 1773 | drivers/scsi/53c7,8xx.c | host->host_no, c->target); |
target | 1826 | drivers/scsi/53c7,8xx.c | asynchronous (host, c->target); |
target | 2384 | drivers/scsi/53c7,8xx.c | !(hostdata->cmd_allocated[cmd->target] & (1 << cmd->lun))) { |
target | 2528 | drivers/scsi/53c7,8xx.c | patch_dsa_32(tmp->dsa, dsa_select, 0, hostdata->sync[cmd->target]. |
target | 2704 | drivers/scsi/53c7,8xx.c | !(hostdata->debug_lun_limit[cmd->target] & (1 << cmd->lun)))) || |
target | 2705 | drivers/scsi/53c7,8xx.c | cmd->target > 7) { |
target | 2707 | drivers/scsi/53c7,8xx.c | cmd->target, cmd->lun); |
target | 2776 | drivers/scsi/53c7,8xx.c | target_was_busy = hostdata->busy[cmd->target][cmd->lun] |
target | 2917 | drivers/scsi/53c7,8xx.c | host->host_no, cmd->cmd->target, cmd->cmd->lun); |
target | 2951 | drivers/scsi/53c7,8xx.c | host->host_no, cmd->cmd->target, cmd->cmd->lun); |
target | 2964 | drivers/scsi/53c7,8xx.c | host->host_no, cmd->cmd->target, cmd->cmd->lun); |
target | 3158 | drivers/scsi/53c7,8xx.c | if (--hostdata->busy[tmp->target][tmp->lun]) { |
target | 3170 | drivers/scsi/53c7,8xx.c | host->host_no, tmp->pid, tmp->target, tmp->lun, tmp->result); |
target | 3217 | drivers/scsi/53c7,8xx.c | host->host_no, cmd->cmd->pid, (int) cmd->cmd->target, |
target | 953 | drivers/scsi/NCR5380.c | if (!(hostdata->busy[tmp->target] & (1 << tmp->lun))) { |
target | 971 | drivers/scsi/NCR5380.c | instance->host_no, tmp->target, tmp->lun); |
target | 1279 | drivers/scsi/NCR5380.c | NCR5380_write(OUTPUT_DATA_REG, (hostdata->id_mask | (1 << cmd->target))); |
target | 1318 | drivers/scsi/NCR5380.c | printk("scsi%d : selecting target %d\n", instance->host_no, cmd->target); |
target | 1351 | drivers/scsi/NCR5380.c | if (hostdata->targets_present & (1 << cmd->target)) { |
target | 1372 | drivers/scsi/NCR5380.c | hostdata->targets_present |= (1 << cmd->target); |
target | 1394 | drivers/scsi/NCR5380.c | instance->host_no, cmd->target); |
target | 1432 | drivers/scsi/NCR5380.c | hostdata->busy[cmd->target] |= (1 << cmd->lun); |
target | 2011 | drivers/scsi/NCR5380.c | instance->host_no, cmd->target, cmd->lun); |
target | 2051 | drivers/scsi/NCR5380.c | instance->host_no, cmd->target, cmd->lun); |
target | 2061 | drivers/scsi/NCR5380.c | instance->host_no, cmd->target, cmd->lun); |
target | 2075 | drivers/scsi/NCR5380.c | instance->host_no, cmd->target, cmd->lun); |
target | 2088 | drivers/scsi/NCR5380.c | instance->host_no, cmd->target, cmd->lun); |
target | 2090 | drivers/scsi/NCR5380.c | hostdata->busy[cmd->target] &= ~(1 << cmd->lun); |
target | 2162 | drivers/scsi/NCR5380.c | hostdata->busy[cmd->target] |= (1 << cmd->lun); |
target | 2180 | drivers/scsi/NCR5380.c | cmd->target, cmd->lun); |
target | 2286 | drivers/scsi/NCR5380.c | instance->host_no, tmp, cmd->target, cmd->lun); |
target | 2289 | drivers/scsi/NCR5380.c | instance->host_no, extended_msg[1], extended_msg[0], cmd->target, cmd->lun); |
target | 2303 | drivers/scsi/NCR5380.c | hostdata->busy[cmd->target] &= ~(1 << cmd->lun); |
target | 2460 | drivers/scsi/NCR5380.c | if ((target_mask == (1 << tmp->target)) && (lun == tmp->lun) |
target | 2500 | drivers/scsi/NCR5380.c | instance->host_no, tmp->target, tmp->lun, tmp->tag); |
target | 445 | drivers/scsi/aha152x.c | static inline Scsi_Cmnd *remove_SC( Scsi_Cmnd **SC, int target, int lun ) |
target | 450 | drivers/scsi/aha152x.c | ptr && ((ptr->target!=target) || (ptr->lun!=lun)); |
target | 796 | drivers/scsi/aha152x.c | printk( "SCpnt (target = %d lun = %d cmnd = ", SCpnt->target, SCpnt->lun); |
target | 956 | drivers/scsi/aha152x.c | SETPORT( SCSIID, (this_host << OID_) | current_SC->target ); |
target | 1245 | drivers/scsi/aha152x.c | int identify_msg, target, i; |
target | 1273 | drivers/scsi/aha152x.c | target=0; |
target | 1275 | drivers/scsi/aha152x.c | for( ; (i & 1)==0; target++, i>>=1) |
target | 1282 | drivers/scsi/aha152x.c | printk("SELID=%02x, target=%d, ", GETPORT(SELID), target ); |
target | 1284 | drivers/scsi/aha152x.c | SETPORT( SCSIID, (this_host << OID_) | target ); |
target | 1307 | drivers/scsi/aha152x.c | target, identify_msg); |
target | 1327 | drivers/scsi/aha152x.c | target, |
target | 1371 | drivers/scsi/aha152x.c | printk("selecting %d, ", current_SC->target); |
target | 1373 | drivers/scsi/aha152x.c | SETPORT( SCSIID, (this_host << OID_) | current_SC->target ); |
target | 2550 | drivers/scsi/aha152x.c | (unsigned int) ptr, ptr->target, ptr->lun); |
target | 510 | drivers/scsi/aha1542.c | unchar target = SCpnt->target; |
target | 524 | drivers/scsi/aha1542.c | DEB(if (target > 1) { |
target | 547 | drivers/scsi/aha1542.c | printk("aha1542_queuecommand: dev %d cmd %02x pos %d len %d ", target, *cmd, i, bufflen); |
target | 549 | drivers/scsi/aha1542.c | printk("aha1542_command: dev %d cmd %02x pos %d len %d ", target, *cmd, i, bufflen); |
target | 643 | drivers/scsi/aha1542.c | ccb[mbo].idlun = (target&7)<<5 | direction | (lun & 7); /*SCSI Target Id*/ |
target | 1204 | drivers/scsi/aha1542.c | printk("Sending DID_RESET for target %d\n", SCpnt->target); |
target | 1232 | drivers/scsi/aha1542.c | printk("Sent BUS DEVICE RESET to target %d\n", SCpnt->target); |
target | 1239 | drivers/scsi/aha1542.c | HOSTDATA(SCpnt->host)->SCint[i]->target == SCpnt->target) |
target | 1245 | drivers/scsi/aha1542.c | printk("Sending DID_RESET for target %d\n", SCpnt->target); |
target | 250 | drivers/scsi/aha1740.c | unchar target = SCpnt->target; |
target | 276 | drivers/scsi/aha1740.c | printk("aha1740_queuecommand: dev %d cmd %02x pos %d len %d ", target, *cmd, i, bufflen); |
target | 396 | drivers/scsi/aha1740.c | outb(ATTN_START | (target & 7), ATTN); /* Start it up */ |
target | 1393 | drivers/scsi/aic7xxx.c | unsigned char offset, int target) |
target | 1403 | drivers/scsi/aic7xxx.c | target, aic7xxx_syncrates[i].english, offset); |
target | 1412 | drivers/scsi/aic7xxx.c | printk("aic7xxx: target %d using asynchronous transfers\n", target); |
target | 1440 | drivers/scsi/aic7xxx.c | int target, tcl; |
target | 1565 | drivers/scsi/aic7xxx.c | target = (tcl >> 4) & 0x0F; |
target | 1567 | drivers/scsi/aic7xxx.c | target_mask = 0x01 << (target & 0x07); |
target | 1571 | drivers/scsi/aic7xxx.c | "issuing ABORT\n", target, (tcl & 0x08) >> 3, tcl & 0x07); |
target | 1849 | drivers/scsi/aic7xxx.c | scb->target_channel_lun = ((cmd->target << 4) & 0xF0) | |
target | 1978 | drivers/scsi/aic7xxx.c | cmd->target, cmd->underflow, actual); |
target | 2006 | drivers/scsi/aic7xxx.c | cmd->target, cmd->lun & 0x07); |
target | 2100 | drivers/scsi/aic7xxx.c | unsigned char target_mask = (1 << (cmd->target & 0x07)); |
target | 2193 | drivers/scsi/aic7xxx.c | cmd->target, |
target | 3422 | drivers/scsi/aic7xxx.c | "channel %d\n", cmd->target, cmd->channel); |
target | 3431 | drivers/scsi/aic7xxx.c | mask = (0x01 << cmd->target); |
target | 3437 | drivers/scsi/aic7xxx.c | printk("Sending WDTR request to target %d.\n", cmd->target); |
target | 3447 | drivers/scsi/aic7xxx.c | printk("Sending SDTR request to target %d.\n", cmd->target); |
target | 3454 | drivers/scsi/aic7xxx.c | cmd->target, cmd->cmnd[0], cmd->cmd_len, p->needwdtr, mask); |
target | 3456 | drivers/scsi/aic7xxx.c | scb->target_channel_lun = ((cmd->target << 4) & 0xF0) | |
target | 3551 | drivers/scsi/aic7xxx.c | cmd->cmnd[0], cmd->cmd_len, cmd->target, cmd->channel, |
target | 3934 | drivers/scsi/aic7xxx.c | p->needsdtr = p->needsdtr & (1 << cmd->target); |
target | 573 | drivers/scsi/buslogic.c | unsigned char target = scpnt->target; |
target | 585 | drivers/scsi/buslogic.c | if (target > 1) { |
target | 615 | drivers/scsi/buslogic.c | target, *cmd, i, bufflen); |
target | 729 | drivers/scsi/buslogic.c | ccb->id = target; |
target | 1463 | drivers/scsi/buslogic.c | scpnt->target); |
target | 1471 | drivers/scsi/buslogic.c | && HOSTDATA(scpnt->host)->sc[i]->target == scpnt->target) { |
target | 1478 | drivers/scsi/buslogic.c | scpnt->target); |
target | 568 | drivers/scsi/constants.c | cmd->target, |
target | 273 | drivers/scsi/eata.c | unchar target; /* SCSI Target ID */ |
target | 663 | drivers/scsi/eata.c | BN(j), i, SCpnt->target, SCpnt->pid); |
target | 675 | drivers/scsi/eata.c | cpp->target = SCpnt->target; |
target | 697 | drivers/scsi/eata.c | BN(j), SCpnt->target, SCpnt->pid); |
target | 717 | drivers/scsi/eata.c | BN(j), SCarg->target, SCarg->pid); |
target | 724 | drivers/scsi/eata.c | BN(j), i, SCarg->target, SCarg->pid); |
target | 776 | drivers/scsi/eata.c | BN(j), SCarg->target, SCarg->pid); |
target | 976 | drivers/scsi/eata.c | && HD(j)->target_reset[SCpnt->target]) |
target | 989 | drivers/scsi/eata.c | HD(j)->target_reset[SCpnt->target] = FALSE; |
target | 994 | drivers/scsi/eata.c | SCpnt->target, SCpnt->lun, SCpnt->pid, |
target | 997 | drivers/scsi/eata.c | HD(j)->target_time_out[SCpnt->target] = 0; |
target | 1003 | drivers/scsi/eata.c | if (HD(j)->target_time_out[SCpnt->target] > 1) |
target | 1007 | drivers/scsi/eata.c | HD(j)->target_time_out[SCpnt->target]++; |
target | 1052 | drivers/scsi/eata.c | SCpnt->target, SCpnt->lun, SCpnt->pid, HD(j)->iocount); |
target | 206 | drivers/scsi/eata_dma.c | irq, base, cmd->pid, cmd->target, cmd->lun, |
target | 379 | drivers/scsi/eata_dma.c | cmd->pid, cmd->target, cmd->lun, y)); |
target | 441 | drivers/scsi/eata_dma.c | if (cmd->target == sh->this_id) |
target | 470 | drivers/scsi/eata_dma.c | cp->cp_id = cmd->target; |
target | 486 | drivers/scsi/eata_dma.c | " done.\n", cmd->target, cmd->pid); |
target | 494 | drivers/scsi/eata_dma.c | cmd->target, cmd->lun, y, sh->irq)); |
target | 510 | drivers/scsi/eata_dma.c | " reason %x\n", cmd->pid, cmd->target, cmd->lun, |
target | 561 | drivers/scsi/eata_dma.c | " reason %x\n", cmd->pid, cmd->target, cmd->lun, |
target | 177 | drivers/scsi/eata_dma_proc.c | scmd.target = HBA_ptr->this_id; |
target | 316 | drivers/scsi/eata_pio.c | cmd->pid, cmd->target, cmd->lun, y)); |
target | 340 | drivers/scsi/eata_pio.c | cp->Interpret = (cmd->target == hd->hostid); |
target | 346 | drivers/scsi/eata_pio.c | cp->cp_id = cmd->target; |
target | 377 | drivers/scsi/eata_pio.c | "DID_ERROR, done.\n", cmd->target, cmd->pid); |
target | 389 | drivers/scsi/eata_pio.c | cmd->target, cmd->lun, y, sh->irq)); |
target | 405 | drivers/scsi/eata_pio.c | " reason %x\n", cmd->pid, cmd->target, cmd->lun, |
target | 454 | drivers/scsi/eata_pio.c | "reason %x\n", cmd->pid, cmd->target, cmd->lun, |
target | 957 | drivers/scsi/fdomain.c | SCinit.target = i; |
target | 1052 | drivers/scsi/fdomain.c | static int fdomain_select( int target ) |
target | 1060 | drivers/scsi/fdomain.c | outb( adapter_mask | (1 << target), SCSI_Data_NoACK_port ); |
target | 1079 | drivers/scsi/fdomain.c | if (!target) printk( "Selection failed\n" ); |
target | 1082 | drivers/scsi/fdomain.c | if (!target) { |
target | 1162 | drivers/scsi/fdomain.c | outb( adapter_mask | (1 << current_SC->target), SCSI_Data_NoACK_port ); |
target | 1174 | drivers/scsi/fdomain.c | if (fdomain_select( current_SC->target )) { |
target | 1233 | drivers/scsi/fdomain.c | current_SC->target, |
target | 1547 | drivers/scsi/fdomain.c | SCpnt->target, |
target | 1637 | drivers/scsi/fdomain.c | SCpnt->target, |
target | 416 | drivers/scsi/in2000.c | unchar target = SCpnt->target; |
target | 522 | drivers/scsi/in2000.c | outb(target&7,INDATA); |
target | 326 | drivers/scsi/qlogic.c | outb(cmd->target, qbase + 4); |
target | 486 | drivers/scsi/qlogic.c | if (cmd->target == qinitid) |
target | 500 | drivers/scsi/qlogic.c | if(cmd->target == qinitid) { |
target | 442 | drivers/scsi/scsi.c | SCpnt->target = SDpnt->id; |
target | 856 | drivers/scsi/scsi.c | if(SCpnt->target == device->id && |
target | 864 | drivers/scsi/scsi.c | if(SCpnt->target == device->id) { |
target | 939 | drivers/scsi/scsi.c | SCpnt->target = device->id; |
target | 983 | drivers/scsi/scsi.c | if(SCpnt->target == device->id && |
target | 992 | drivers/scsi/scsi.c | if(SCpnt->target == device->id) { |
target | 1092 | drivers/scsi/scsi.c | SCpnt->target = device->id; |
target | 1131 | drivers/scsi/scsi.c | SCpnt->host->host_no, SCpnt->channel, SCpnt->target, SCpnt->cmnd, |
target | 1222 | drivers/scsi/scsi.c | int target = SCpnt->target; |
target | 1226 | drivers/scsi/scsi.c | "command : " , host->host_no, SCpnt->channel, target, buffer, |
target | 1274 | drivers/scsi/scsi.c | SCpnt->target = target; |
target | 1425 | drivers/scsi/scsi.c | result, SCpnt->target, SCpnt->lun); |
target | 1464 | drivers/scsi/scsi.c | SCpnt->host->host_no, SCpnt->channel, SCpnt->target, |
target | 1801 | drivers/scsi/scsi.c | SCpnt->channel, SCpnt->target, SCpnt->lun); |
target | 1813 | drivers/scsi/scsi.c | (int) SCpnt->target, (int) SCpnt->lun); |
target | 2317 | drivers/scsi/scsi.c | SCpnt->target = SDpnt->id; |
target | 3081 | drivers/scsi/scsi.c | SCpnt->target, |
target | 344 | drivers/scsi/scsi.h | unsigned char target, lun, channel; |
target | 92 | drivers/scsi/scsi_debug.c | if ((SCpnt->request.dev & 0xfff0) != ((target + NR_REAL) << 4) +(MAJOR_NR << 8)){ \ |
target | 93 | drivers/scsi/scsi_debug.c | printk("Dev #s %x %x ",SCpnt->request.dev, target); \ |
target | 186 | drivers/scsi/scsi_debug.c | int target = SCpnt->target; |
target | 193 | drivers/scsi/scsi_debug.c | DEB(if (target > 1) { SCpnt->result = DID_TIME_OUT << 16;done(SCpnt);return 0;}); |
target | 197 | drivers/scsi/scsi_debug.c | if(target>=1 || SCpnt->lun != 0) { |
target | 203 | drivers/scsi/scsi_debug.c | if( SCrst[target] != 0 && !scsi_debug_lockup ) |
target | 205 | drivers/scsi/scsi_debug.c | SCrst[target] = 0; |
target | 305 | drivers/scsi/scsi_debug.c | if(block == 0 && target == 0) { |
target | 348 | drivers/scsi/scsi_debug.c | memcpy(buff, &target, sizeof(target)); |
target | 349 | drivers/scsi/scsi_debug.c | memcpy(buff+sizeof(target), cmd, 24); |
target | 99 | drivers/scsi/sd.c | int target; |
target | 100 | drivers/scsi/sd.c | target = DEVICE_NR(MINOR(inode->i_rdev)); |
target | 102 | drivers/scsi/sd.c | if(target >= sd_template.dev_max || !rscsi_disks[target].device) |
target | 111 | drivers/scsi/sd.c | while (rscsi_disks[target].device->busy) |
target | 113 | drivers/scsi/sd.c | if(rscsi_disks[target].device->removable) { |
target | 116 | drivers/scsi/sd.c | if(!rscsi_disks[target].device->access_count) |
target | 127 | drivers/scsi/sd.c | rscsi_disks[target].device->access_count++; |
target | 128 | drivers/scsi/sd.c | if (rscsi_disks[target].device->host->hostt->usage_count) |
target | 129 | drivers/scsi/sd.c | (*rscsi_disks[target].device->host->hostt->usage_count)++; |
target | 136 | drivers/scsi/sd.c | int target; |
target | 139 | drivers/scsi/sd.c | target = DEVICE_NR(MINOR(inode->i_rdev)); |
target | 141 | drivers/scsi/sd.c | rscsi_disks[target].device->access_count--; |
target | 142 | drivers/scsi/sd.c | if (rscsi_disks[target].device->host->hostt->usage_count) |
target | 143 | drivers/scsi/sd.c | (*rscsi_disks[target].device->host->hostt->usage_count)--; |
target | 146 | drivers/scsi/sd.c | if(rscsi_disks[target].device->removable) { |
target | 147 | drivers/scsi/sd.c | if(!rscsi_disks[target].device->access_count) |
target | 885 | drivers/scsi/sd.c | int target; |
target | 889 | drivers/scsi/sd.c | target = DEVICE_NR(MINOR(full_dev)); |
target | 891 | drivers/scsi/sd.c | if (target >= sd_template.dev_max || |
target | 892 | drivers/scsi/sd.c | !rscsi_disks[target].device) { |
target | 897 | drivers/scsi/sd.c | if(!rscsi_disks[target].device->removable) return 0; |
target | 907 | drivers/scsi/sd.c | rscsi_disks[target].device->changed = 1; |
target | 912 | drivers/scsi/sd.c | retval = rscsi_disks[target].device->changed; |
target | 913 | drivers/scsi/sd.c | if(!flag) rscsi_disks[target].device->changed = 0; |
target | 1278 | drivers/scsi/sd.c | #define DEVICE_BUSY rscsi_disks[target].device->busy |
target | 1279 | drivers/scsi/sd.c | #define USAGE rscsi_disks[target].device->access_count |
target | 1280 | drivers/scsi/sd.c | #define CAPACITY rscsi_disks[target].capacity |
target | 1281 | drivers/scsi/sd.c | #define MAYBE_REINIT sd_init_onedisk(target) |
target | 1292 | drivers/scsi/sd.c | int target, major; |
target | 1299 | drivers/scsi/sd.c | target = DEVICE_NR(MINOR(dev)); |
target | 1313 | drivers/scsi/sd.c | start = target << gdev->minor_shift; |
target | 1334 | drivers/scsi/sd.c | resetup_one_dev(gdev, target); |
target | 89 | drivers/scsi/seagate.c | static int internal_command(unsigned char target, unsigned char lun, |
target | 524 | drivers/scsi/seagate.c | current_target = SCpnt->target; |
target | 566 | drivers/scsi/seagate.c | result = internal_command (SCint->target, SCint->lun, SCint->cmnd, SCint->request_buffer, |
target | 580 | drivers/scsi/seagate.c | return internal_command (SCpnt->target, SCpnt->lun, SCpnt->cmnd, SCpnt->request_buffer, |
target | 585 | drivers/scsi/seagate.c | static int internal_command(unsigned char target, unsigned char lun, const void *cmnd, |
target | 626 | drivers/scsi/seagate.c | printk ("scsi%d : target = %d, command = ", hostno, target); |
target | 654 | drivers/scsi/seagate.c | if (target == (controller_type == SEAGATE ? 7 : 6)) |
target | 850 | drivers/scsi/seagate.c | DATA = (unsigned char) ((1 << target) | (controller_type == SEAGATE ? 0x80 : 0x40)); |
target | 877 | drivers/scsi/seagate.c | hostno, target, STATUS); |
target | 1042 | drivers/scsi/seagate.c | hostno, target, lun); |
target | 1357 | drivers/scsi/seagate.c | printk("scsi%d : target %d requested MSGOUT, sent NOP message.\n", hostno, target); |
target | 1430 | drivers/scsi/seagate.c | hostno, target, message & 7); |
target | 1442 | drivers/scsi/seagate.c | hostno, message, target); |
target | 114 | drivers/scsi/sr.c | int retval, target; |
target | 118 | drivers/scsi/sr.c | target = MINOR(full_dev); |
target | 120 | drivers/scsi/sr.c | if (target >= sr_template.nr_dev) { |
target | 133 | drivers/scsi/sr.c | scsi_CDs[target].device->changed = 1; |
target | 138 | drivers/scsi/sr.c | retval = scsi_CDs[target].device->changed; |
target | 140 | drivers/scsi/sr.c | scsi_CDs[target].device->changed = 0; |
target | 143 | drivers/scsi/sr.c | if (retval) scsi_CDs[target].needs_sector_size = 1; |
target | 43 | drivers/scsi/sr_ioctl.c | static int do_ioctl(int target, unsigned char * sr_cmd, void * buffer, unsigned buflength) |
target | 48 | drivers/scsi/sr_ioctl.c | SCpnt = allocate_device(NULL, scsi_CDs[target].device, 1); |
target | 68 | drivers/scsi/sr_ioctl.c | scsi_CDs[target].device->changed = 1; |
target | 79 | drivers/scsi/sr_ioctl.c | scsi_CDs[target].device->host->host_no, |
target | 80 | drivers/scsi/sr_ioctl.c | scsi_CDs[target].device->id, |
target | 81 | drivers/scsi/sr_ioctl.c | scsi_CDs[target].device->lun, |
target | 102 | drivers/scsi/sr_ioctl.c | int result, target, err; |
target | 104 | drivers/scsi/sr_ioctl.c | target = MINOR(dev); |
target | 106 | drivers/scsi/sr_ioctl.c | if (target >= sr_template.nr_dev || |
target | 107 | drivers/scsi/sr_ioctl.c | !scsi_CDs[target].device) return -ENXIO; |
target | 115 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = scsi_CDs[target].device->lun << 5; |
target | 121 | drivers/scsi/sr_ioctl.c | result = do_ioctl(target, sr_cmd, NULL, 255); |
target | 127 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = scsi_CDs[target].device->lun << 5; |
target | 133 | drivers/scsi/sr_ioctl.c | result = do_ioctl(target, sr_cmd, NULL, 255); |
target | 147 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = scsi_CDs[target].device->lun << 5; |
target | 157 | drivers/scsi/sr_ioctl.c | result = do_ioctl(target, sr_cmd, NULL, 255); |
target | 171 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = scsi_CDs[target].device->lun << 5; |
target | 181 | drivers/scsi/sr_ioctl.c | result = do_ioctl(target, sr_cmd, NULL, 255); |
target | 192 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = ((scsi_CDs[target].device->lun) << 5) | 0x02; /* MSF format */ |
target | 202 | drivers/scsi/sr_ioctl.c | result = do_ioctl(target, sr_cmd, buffer, 12); |
target | 228 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = ((scsi_CDs[target].device->lun) << 5) | 0x02; /* MSF format */ |
target | 238 | drivers/scsi/sr_ioctl.c | result = do_ioctl (target, sr_cmd, buffer, 12); |
target | 261 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = ((scsi_CDs[target].device->lun) << 5) | 1; |
target | 265 | drivers/scsi/sr_ioctl.c | result = do_ioctl(target, sr_cmd, NULL, 255); |
target | 270 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = ((scsi_CDs[target].device->lun) << 5) | 1; |
target | 274 | drivers/scsi/sr_ioctl.c | result = do_ioctl(target, sr_cmd, NULL, 255); |
target | 281 | drivers/scsi/sr_ioctl.c | if (scsi_CDs[target].device -> access_count > 1) |
target | 286 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = ((scsi_CDs[target].device -> lun) << 5) | 1; |
target | 290 | drivers/scsi/sr_ioctl.c | if (!(result = do_ioctl(target, sr_cmd, NULL, 255))) |
target | 291 | drivers/scsi/sr_ioctl.c | scsi_CDs[target].device -> changed = 1; |
target | 296 | drivers/scsi/sr_ioctl.c | scsi_CDs[target].auto_eject = !!arg; |
target | 312 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = (scsi_CDs[target].device -> lun) << 5; |
target | 321 | drivers/scsi/sr_ioctl.c | if ((result = do_ioctl (target, sr_cmd, buffer, 28))) { |
target | 328 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = (scsi_CDs[target].device -> lun) << 5; |
target | 340 | drivers/scsi/sr_ioctl.c | if ((result = do_ioctl (target, sr_cmd, mask, 28))) { |
target | 356 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = ((scsi_CDs[target].device -> lun) << 5) | 0x10; /* Params are SCSI-2 */ |
target | 361 | drivers/scsi/sr_ioctl.c | result = do_ioctl (target, sr_cmd, buffer, 28); |
target | 373 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = ((scsi_CDs[target].device->lun) << 5) | 0x02; /* MSF format */ |
target | 385 | drivers/scsi/sr_ioctl.c | result = do_ioctl(target, sr_cmd, buffer, 16); |
target | 427 | drivers/scsi/sr_ioctl.c | lba = scsi_CDs[target].mpcd_sector+CD_BLOCK_OFFSET; |
target | 433 | drivers/scsi/sr_ioctl.c | ms_info.addr.lba=scsi_CDs[target].mpcd_sector; |
target | 436 | drivers/scsi/sr_ioctl.c | ms_info.xa_flag=scsi_CDs[target].xa_flags & 0x01; |
target | 454 | drivers/scsi/sr_ioctl.c | return scsi_ioctl(scsi_CDs[target].device,cmd,(void *) arg); |
target | 232 | drivers/scsi/u14-34f.c | unsigned char target: 3; /* target SCSI id */ |
target | 608 | drivers/scsi/u14-34f.c | BN(j), i, SCpnt->target, SCpnt->pid); |
target | 612 | drivers/scsi/u14-34f.c | cpp->target = SCpnt->target; |
target | 634 | drivers/scsi/u14-34f.c | BN(j), SCpnt->target, SCpnt->pid); |
target | 660 | drivers/scsi/u14-34f.c | BN(j), SCarg->target, SCarg->pid); |
target | 667 | drivers/scsi/u14-34f.c | BN(j), i, SCarg->target, SCarg->pid); |
target | 719 | drivers/scsi/u14-34f.c | BN(j), SCarg->target, SCarg->pid); |
target | 922 | drivers/scsi/u14-34f.c | && HD(j)->target_reset[SCpnt->target]) |
target | 935 | drivers/scsi/u14-34f.c | HD(j)->target_reset[SCpnt->target] = FALSE; |
target | 940 | drivers/scsi/u14-34f.c | SCpnt->target, SCpnt->lun, SCpnt->pid, |
target | 943 | drivers/scsi/u14-34f.c | HD(j)->target_time_out[SCpnt->target] = 0; |
target | 948 | drivers/scsi/u14-34f.c | if (HD(j)->target_time_out[SCpnt->target] > 1) |
target | 952 | drivers/scsi/u14-34f.c | HD(j)->target_time_out[SCpnt->target]++; |
target | 999 | drivers/scsi/u14-34f.c | SCpnt->target, SCpnt->lun, SCpnt->pid, HD(j)->iocount); |
target | 709 | drivers/scsi/ultrastor.c | my_mscp->target_id = SCpnt->target; |
target | 901 | drivers/scsi/wd7000.c | idlun = ((SCpnt->target << 5) & 0xe0) | (SCpnt->lun & 7); |
target | 170 | drivers/sound/configure.c | int bin2hex (char *path, char *target, char *varname); |
target | 1323 | drivers/sound/configure.c | bin2hex (char *path, char *target, char *varname) |
target | 1332 | drivers/sound/configure.c | FILE *sf = fopen (target, "w"); |
target | 1046 | drivers/sound/gus_wave.c | int current, target, rate; |
target | 1060 | drivers/sound/gus_wave.c | target = voices[voice].initial_volume; |
target | 1065 | drivers/sound/gus_wave.c | gus_voice_volume (target); |
target | 1076 | drivers/sound/gus_wave.c | if ((target - current) / 64 == 0) /* Close enough to target. */ |
target | 1079 | drivers/sound/gus_wave.c | gus_voice_volume (target); |
target | 1084 | drivers/sound/gus_wave.c | if (target > current) |
target | 1086 | drivers/sound/gus_wave.c | if (target > (4095 - 65)) |
target | 1087 | drivers/sound/gus_wave.c | target = 4095 - 65; |
target | 1088 | drivers/sound/gus_wave.c | gus_ramp_range (current, target); |
target | 1093 | drivers/sound/gus_wave.c | if (target < 65) |
target | 1094 | drivers/sound/gus_wave.c | target = 65; |
target | 1096 | drivers/sound/gus_wave.c | gus_ramp_range (target, current); |
target | 1514 | drivers/sound/gus_wave.c | unsigned long blk_size, blk_end, left, src_offs, target; |
target | 1636 | drivers/sound/gus_wave.c | target = free_mem_ptr; |
target | 1647 | drivers/sound/gus_wave.c | blk_end = target + blk_size; |
target | 1649 | drivers/sound/gus_wave.c | if ((target >> 18) != (blk_end >> 18)) |
target | 1653 | drivers/sound/gus_wave.c | blk_size = blk_end - target; |
target | 1671 | drivers/sound/gus_wave.c | gus_poke (target + i, data); |
target | 1699 | drivers/sound/gus_wave.c | address = target; |
target | 1742 | drivers/sound/gus_wave.c | target += blk_size; |
target | 15 | drivers/sound/hex2hex.h | int hex2hex(char *source, char *target, char *varline) |
target | 28 | drivers/sound/hex2hex.h | if ((outf=fopen(target, "w"))==NULL) |
target | 30 | drivers/sound/hex2hex.h | perror(target); |
target | 67 | drivers/sound/os.h | #define GET_BYTE_FROM_USER(target, addr, offs) target = get_fs_byte(&((addr)[offs])) |
target | 68 | drivers/sound/os.h | #define GET_SHORT_FROM_USER(target, addr, offs) target = get_fs_word(&((addr)[offs])) |
target | 69 | drivers/sound/os.h | #define GET_WORD_FROM_USER(target, addr, offs) target = get_fs_long((long*)&((addr)[offs])) |
target | 183 | fs/smbfs/sock.c | smb_receive_raw(struct socket *sock, unsigned char *target, |
target | 235 | fs/smbfs/sock.c | memcpy_tofs(target, peek_buf, 4); |
target | 236 | fs/smbfs/sock.c | target += 4; |
target | 245 | fs/smbfs/sock.c | (void *)(target+already_read), |
target | 596 | fs/smbfs/sock.c | unsigned char *target, int max_len) |
target | 630 | fs/smbfs/sock.c | (unsigned int)target, max_len); |
target | 644 | fs/smbfs/sock.c | result = smb_receive_raw(sock, target, max_len, 0); |
target | 44 | include/linux/atalk.h | struct at_addr target; |
target | 170 | include/linux/smb_fs.h | unsigned char *target, int max_len); |
target | 12 | include/linux/smp.h | extern void smp_message_pass(int target, int msg, unsigned long data, int wait); |
target | 469 | net/appletalk/ddp.c | static struct atalk_route *atrtr_find(struct at_addr *target) |
target | 476 | net/appletalk/ddp.c | if(r->target.s_net==target->s_net) |
target | 478 | net/appletalk/ddp.c | if(!(r->flags&RTF_HOST) || r->target.s_node==target->s_node) |
target | 552 | net/appletalk/ddp.c | if(ta->sat_addr.s_net == rt->target.s_net) { |
target | 555 | net/appletalk/ddp.c | if(ta->sat_addr.s_node == rt->target.s_node) |
target | 590 | net/appletalk/ddp.c | rt->target=ta->sat_addr; |
target | 610 | net/appletalk/ddp.c | if (tmp->target.s_net == addr->s_net && |
target | 612 | net/appletalk/ddp.c | tmp->target.s_node == addr->s_node )) { |
target | 871 | net/appletalk/ddp.c | ntohs(rt->target.s_net),rt->target.s_node, |