tag | line | file | source code |
id | 39 | arch/i386/boot/compressed/xtract.c | int i,c,id, sz; |
id | 49 | arch/i386/boot/compressed/xtract.c | if ((id=open(argv[1],O_RDONLY,0))<0) |
id | 51 | arch/i386/boot/compressed/xtract.c | if (read(id,buf,GCC_HEADER) != GCC_HEADER) |
id | 55 | arch/i386/boot/compressed/xtract.c | lseek(id, GCC_HEADER, SEEK_SET); |
id | 70 | arch/i386/boot/compressed/xtract.c | if ((n=read(id, buf, l)) !=l) |
id | 84 | arch/i386/boot/compressed/xtract.c | close(id); |
id | 92 | arch/i386/boot/tools/build.c | int i,c,id, sz; |
id | 129 | arch/i386/boot/tools/build.c | if ((id=open(argv[1],O_RDONLY,0))<0) |
id | 131 | arch/i386/boot/tools/build.c | if (read(id,buf,MINIX_HEADER) != MINIX_HEADER) |
id | 145 | arch/i386/boot/tools/build.c | i=read(id,buf,sizeof buf); |
id | 156 | arch/i386/boot/tools/build.c | close (id); |
id | 158 | arch/i386/boot/tools/build.c | if ((id=open(argv[2],O_RDONLY,0))<0) |
id | 160 | arch/i386/boot/tools/build.c | if (read(id,buf,MINIX_HEADER) != MINIX_HEADER) |
id | 174 | arch/i386/boot/tools/build.c | for (i=0 ; (c=read(id,buf,sizeof buf))>0 ; i+=c ) |
id | 179 | arch/i386/boot/tools/build.c | close (id); |
id | 196 | arch/i386/boot/tools/build.c | if ((id=open(argv[3],O_RDONLY,0))<0) |
id | 199 | arch/i386/boot/tools/build.c | if (read(id,buf,GCC_HEADER) != GCC_HEADER) |
id | 203 | arch/i386/boot/tools/build.c | lseek(id, GCC_HEADER, SEEK_SET); |
id | 213 | arch/i386/boot/tools/build.c | if (fstat (id, &sb)) { |
id | 229 | arch/i386/boot/tools/build.c | if ((n=read(id, buf, l)) != l) { |
id | 240 | arch/i386/boot/tools/build.c | close(id); |
id | 416 | arch/i386/kernel/smp.c | void smp_store_cpu_info(int id) |
id | 418 | arch/i386/kernel/smp.c | struct cpuinfo_x86 *c=&cpu_data[id]; |
id | 125 | drivers/block/ali14xx.c | struct hd_driveid *id = drive->id; |
id | 137 | drivers/block/ali14xx.c | time1a = (id->capability & 0x08) ? id->eide_pio_iordy : id->eide_pio; |
id | 209 | drivers/block/cmd640.c | long id; |
id | 214 | drivers/block/cmd640.c | id = inl(0xcfc); |
id | 215 | drivers/block/cmd640.c | if (id != 0x06401095) |
id | 678 | drivers/block/cmd640.c | struct hd_driveid* id; |
id | 689 | drivers/block/cmd640.c | id = drive->id; |
id | 690 | drivers/block/cmd640.c | if ((max_pio = ide_scan_pio_blacklist(id->model)) != -1) { |
id | 693 | drivers/block/cmd640.c | max_pio = id->tPIO; |
id | 695 | drivers/block/cmd640.c | if (id->field_valid & 2) { |
id | 696 | drivers/block/cmd640.c | if ((id->capability & 8) && (id->eide_pio_modes & 7)) { |
id | 697 | drivers/block/cmd640.c | if (id->eide_pio_modes & 4) max_pio = 5; |
id | 698 | drivers/block/cmd640.c | else if (id->eide_pio_modes & 2) max_pio = 4; |
id | 700 | drivers/block/cmd640.c | ds_time = id->eide_pio_iordy; |
id | 702 | drivers/block/cmd640.c | ds_time = id->eide_pio; |
id | 729 | drivers/block/cmd640.c | readahead = known_drive_readahead(id->model); |
id | 285 | drivers/block/hd.c | struct hd_driveid *id = hd_ident_info[dev]; |
id | 293 | drivers/block/hd.c | if (id != NULL) { |
id | 295 | drivers/block/hd.c | kfree_s (id, 512); |
id | 298 | drivers/block/hd.c | insw(HD_DATA, id, 256); /* get ID info */ |
id | 299 | drivers/block/hd.c | max_mult[dev] = id->max_multsect; |
id | 300 | drivers/block/hd.c | if ((id->field_valid&1) && id->cur_cyls && id->cur_heads && (id->cur_heads <= 16) && id->cur_sectors) { |
id | 308 | drivers/block/hd.c | hd_info[dev].cyl = id->cur_cyls; |
id | 309 | drivers/block/hd.c | hd_info[dev].head = id->cur_heads; |
id | 310 | drivers/block/hd.c | hd_info[dev].sect = id->cur_sectors; |
id | 312 | drivers/block/hd.c | fixstring (id->serial_no, sizeof(id->serial_no)); |
id | 313 | drivers/block/hd.c | fixstring (id->fw_rev, sizeof(id->fw_rev)); |
id | 314 | drivers/block/hd.c | fixstring (id->model, sizeof(id->model)); |
id | 316 | drivers/block/hd.c | dev+'a', id->model, id->cyls*id->heads*id->sectors/2048, |
id | 317 | drivers/block/hd.c | id->buf_size/2, bios_info[dev].cyl, bios_info[dev].head, |
id | 318 | drivers/block/hd.c | bios_info[dev].sect, id->max_multsect); |
id | 324 | drivers/block/hd.c | if (!strncmp(id->model, "QUANTUM", 7)) |
id | 2686 | drivers/block/ide-cd.c | if (drive->id != NULL) { |
id | 2688 | drivers/block/ide-cd.c | ((drive->id->config & 0x0060) == 0x20); |
id | 2700 | drivers/block/ide-cd.c | if (drive->id != NULL) { |
id | 2702 | drivers/block/ide-cd.c | if (strcmp (drive->id->model, "CD220E") == 0 || |
id | 2703 | drivers/block/ide-cd.c | strcmp (drive->id->model, "CD") == 0) /* Creative Labs */ |
id | 2706 | drivers/block/ide-cd.c | else if (strcmp (drive->id->model, "TO-ICSLYAL") == 0 || /* Acer CD525E */ |
id | 2707 | drivers/block/ide-cd.c | strcmp (drive->id->model, "OTI-SCYLLA") == 0) |
id | 2712 | drivers/block/ide-cd.c | else if (strcmp (drive->id->model, "DCI-2S10") == 0) |
id | 2715 | drivers/block/ide-cd.c | else if (strcmp (drive->id->model, "CDA26803I SE") == 0) /* Aztech */ |
id | 2727 | drivers/block/ide-cd.c | else if (strcmp (drive->id->model, "V003S0DS") == 0) |
id | 2733 | drivers/block/ide-cd.c | else if (strcmp (drive->id->model, "0V300SSD") == 0 || |
id | 2734 | drivers/block/ide-cd.c | strcmp (drive->id->model, "V003M0DP") == 0) |
id | 2738 | drivers/block/ide-cd.c | else if (strcmp (drive->id->model, "V004E0DT") == 0 || |
id | 2739 | drivers/block/ide-cd.c | strcmp (drive->id->model, "0V400ETD") == 0) |
id | 2742 | drivers/block/ide-cd.c | else if ( strcmp (drive->id->model, "CD-ROM CDU55D") == 0) /*sony cdu55d */ |
id | 2745 | drivers/block/ide-cd.c | else if (strcmp (drive->id->model, "CD-ROM CDU55E") == 0) |
id | 1018 | drivers/block/ide-tape.c | int idetape_identify_device (ide_drive_t *drive,struct hd_driveid *id) |
id | 1029 | drivers/block/ide-tape.c | *ptr=id->config; |
id | 1068 | drivers/block/ide-tape.c | printk ("Model: %s\n",id->model); |
id | 1069 | drivers/block/ide-tape.c | printk ("Firmware Revision: %s\n",id->fw_rev); |
id | 1070 | drivers/block/ide-tape.c | printk ("Serial Number: %s\n",id->serial_no); |
id | 1071 | drivers/block/ide-tape.c | printk ("Write buffer size: %d bytes\n",id->buf_size*512); |
id | 1072 | drivers/block/ide-tape.c | printk ("DMA: %s",id->capability & 0x01 ? "Yes\n":"No\n"); |
id | 1073 | drivers/block/ide-tape.c | printk ("LBA: %s",id->capability & 0x02 ? "Yes\n":"No\n"); |
id | 1074 | drivers/block/ide-tape.c | printk ("IORDY can be disabled: %s",id->capability & 0x04 ? "Yes\n":"No\n"); |
id | 1075 | drivers/block/ide-tape.c | printk ("IORDY supported: %s",id->capability & 0x08 ? "Yes\n":"Unknown\n"); |
id | 1076 | drivers/block/ide-tape.c | printk ("PIO Cycle Timing Category: %d\n",id->tPIO); |
id | 1077 | drivers/block/ide-tape.c | printk ("DMA Cycle Timing Category: %d\n",id->tDMA); |
id | 1080 | drivers/block/ide-tape.c | if (id->dma_1word & mask) |
id | 1082 | drivers/block/ide-tape.c | if (id->dma_1word & (mask << 8)) |
id | 1089 | drivers/block/ide-tape.c | if (id->dma_mword & mask) |
id | 1091 | drivers/block/ide-tape.c | if (id->dma_mword & (mask << 8)) |
id | 1096 | drivers/block/ide-tape.c | if (id->field_valid & 0x0002) { |
id | 1097 | drivers/block/ide-tape.c | printk ("Enhanced PIO Modes: %s\n",id->eide_pio_modes & 1 ? "Mode 3":"None"); |
id | 1099 | drivers/block/ide-tape.c | if (id->eide_dma_min == 0) |
id | 1102 | drivers/block/ide-tape.c | printk ("%d ns\n",id->eide_dma_min); |
id | 1105 | drivers/block/ide-tape.c | if (id->eide_dma_time == 0) |
id | 1108 | drivers/block/ide-tape.c | printk ("%d ns\n",id->eide_dma_time); |
id | 1111 | drivers/block/ide-tape.c | if (id->eide_pio == 0) |
id | 1114 | drivers/block/ide-tape.c | printk ("%d ns\n",id->eide_pio); |
id | 1117 | drivers/block/ide-tape.c | if (id->eide_pio_iordy == 0) |
id | 1120 | drivers/block/ide-tape.c | printk ("%d ns\n",id->eide_pio_iordy); |
id | 447 | drivers/block/ide.c | static int lba_capacity_is_ok (struct hd_driveid *id) |
id | 449 | drivers/block/ide.c | unsigned long lba_sects = id->lba_capacity; |
id | 450 | drivers/block/ide.c | unsigned long chs_sects = id->cyls * id->heads * id->sectors; |
id | 460 | drivers/block/ide.c | id->lba_capacity = lba_sects; /* fix it */ |
id | 472 | drivers/block/ide.c | struct hd_driveid *id = drive->id; |
id | 480 | drivers/block/ide.c | if (id != NULL && (id->capability & 2) && lba_capacity_is_ok(id)) { |
id | 482 | drivers/block/ide.c | capacity = id->lba_capacity; |
id | 1151 | drivers/block/ide.c | if (drive->id && drive->mult_req > drive->id->max_multsect) |
id | 1152 | drivers/block/ide.c | drive->mult_req = drive->id->max_multsect; |
id | 1899 | drivers/block/ide.c | if (drive->id == NULL) |
id | 1901 | drivers/block/ide.c | err = verify_area(VERIFY_WRITE, (char *)arg, sizeof(*drive->id)); |
id | 1903 | drivers/block/ide.c | memcpy_tofs((char *)arg, (char *)drive->id, sizeof(*drive->id)); |
id | 1914 | drivers/block/ide.c | if (!drive->id || !(drive->id->capability & 1) || !HWIF(drive)->dmaproc) |
id | 1967 | drivers/block/ide.c | if (drive->id && arg > drive->id->max_multsect) |
id | 2074 | drivers/block/ide.c | struct hd_driveid *id; |
id | 2077 | drivers/block/ide.c | id = drive->id = kmalloc (SECTOR_WORDS*4, GFP_KERNEL); |
id | 2078 | drivers/block/ide.c | ide_input_data(drive, id, SECTOR_WORDS); /* read 512 bytes of id info */ |
id | 2084 | drivers/block/ide.c | if ((id->model[0] == 'P' && id->model[1] == 'M') |
id | 2085 | drivers/block/ide.c | || (id->model[0] == 'S' && id->model[1] == 'K')) { |
id | 2086 | drivers/block/ide.c | printk("%s: EATA SCSI HBA %.10s\n", drive->name, id->model); |
id | 2097 | drivers/block/ide.c | if ((id->model[0] == 'N' && id->model[1] == 'E') /* NEC */ |
id | 2098 | drivers/block/ide.c | || (id->model[0] == 'F' && id->model[1] == 'X') /* Mitsumi */ |
id | 2099 | drivers/block/ide.c | || (id->model[0] == 'P' && id->model[1] == 'i'))/* Pioneer */ |
id | 2102 | drivers/block/ide.c | ide_fixstring (id->model, sizeof(id->model), bswap); |
id | 2103 | drivers/block/ide.c | ide_fixstring (id->fw_rev, sizeof(id->fw_rev), bswap); |
id | 2104 | drivers/block/ide.c | ide_fixstring (id->serial_no, sizeof(id->serial_no), bswap); |
id | 2111 | drivers/block/ide.c | byte type = (id->config >> 8) & 0x1f; |
id | 2112 | drivers/block/ide.c | printk("%s: %s, ATAPI ", drive->name, id->model); |
id | 2129 | drivers/block/ide.c | if (idetape_identify_device (drive,id)) { |
id | 2158 | drivers/block/ide.c | if (id->config & (1<<7)) { /* removeable disk ? */ |
id | 2159 | drivers/block/ide.c | if (id->model[0] != 'W' || id->model[1] != 'D') |
id | 2167 | drivers/block/ide.c | drive->cyl = drive->bios_cyl = id->cyls; |
id | 2168 | drivers/block/ide.c | drive->head = drive->bios_head = id->heads; |
id | 2169 | drivers/block/ide.c | drive->sect = drive->bios_sect = id->sectors; |
id | 2172 | drivers/block/ide.c | if ((id->field_valid & 1) && id->cur_cyls && id->cur_heads |
id | 2173 | drivers/block/ide.c | && (id->cur_heads <= 16) && id->cur_sectors) |
id | 2185 | drivers/block/ide.c | drive->cyl = id->cur_cyls; |
id | 2186 | drivers/block/ide.c | drive->head = id->cur_heads; |
id | 2187 | drivers/block/ide.c | drive->sect = id->cur_sectors; |
id | 2191 | drivers/block/ide.c | check = (id->cur_capacity0 << 16) | id->cur_capacity1; |
id | 2194 | drivers/block/ide.c | id->cur_capacity0 = (capacity >> 0) & 0xffff; |
id | 2195 | drivers/block/ide.c | id->cur_capacity1 = (capacity >> 16) & 0xffff; |
id | 2199 | drivers/block/ide.c | if ((!drive->head || drive->head > 16) && id->heads && id->heads <= 16) { |
id | 2200 | drivers/block/ide.c | drive->cyl = id->cyls; |
id | 2201 | drivers/block/ide.c | drive->head = id->heads; |
id | 2202 | drivers/block/ide.c | drive->sect = id->sectors; |
id | 2213 | drivers/block/ide.c | drive->name, id->model, current_capacity(drive)/2048L, id->buf_size/2, |
id | 2218 | drivers/block/ide.c | if (id->max_multsect) { |
id | 2220 | drivers/block/ide.c | if (drive->mult_req > id->max_multsect) |
id | 2221 | drivers/block/ide.c | drive->mult_req = id->max_multsect; |
id | 2222 | drivers/block/ide.c | if (drive->mult_req || ((id->multsect_valid & 1) && id->multsect)) |
id | 2383 | drivers/block/ide.c | if (drive->id == NULL) { /* identification failed? */ |
id | 2777 | drivers/block/ide.c | if (drive->id) { |
id | 2778 | drivers/block/ide.c | drive->cyl = drive->id->cyls; |
id | 2779 | drivers/block/ide.c | drive->head = drive->id->heads; |
id | 2780 | drivers/block/ide.c | drive->sect = drive->id->sectors; |
id | 330 | drivers/block/ide.h | struct hd_driveid *id; /* drive model identification info */ |
id | 611 | drivers/block/ide.h | int idetape_identify_device (ide_drive_t *drive,struct hd_driveid *id); |
id | 120 | drivers/block/ide_modes.h | struct hd_driveid *id = drive->id; |
id | 122 | drivers/block/ide_modes.h | if (id != NULL) { |
id | 123 | drivers/block/ide_modes.h | if (HWIF(drive)->chipset != ide_cmd640 && !strcmp("QUANTUM FIREBALL1080A", id->model)) |
id | 126 | drivers/block/ide_modes.h | pio = ide_scan_pio_blacklist(id->model); |
id | 128 | drivers/block/ide_modes.h | pio = (id->tPIO < 2) ? id->tPIO : 2; |
id | 129 | drivers/block/ide_modes.h | if (id->field_valid & 2) { |
id | 130 | drivers/block/ide_modes.h | byte modes = id->eide_pio_modes; |
id | 239 | drivers/block/triton.c | struct hd_driveid *id = drive->id; |
id | 240 | drivers/block/triton.c | if (id && (id->capability & 1)) { |
id | 242 | drivers/block/triton.c | if ((id->field_valid & 2) && (id->dma_mword & 0x404) == 0x404) { |
id | 249 | drivers/block/triton.c | if (!strcmp(*list++,id->model)) { |
id | 1332 | drivers/isdn/icn/icn.c | static int if_sendbuf1(int id, int channel, const u_char * buffer, int len, |
id | 1338 | drivers/isdn/icn/icn.c | static int if_sendbuf2(int id, int channel, const u_char * buffer, int len, |
id | 1398 | drivers/isdn/icn/icn.c | strncpy(dev->interface.id, icn_id, sizeof(dev->interface.id) - 1); |
id | 1415 | drivers/isdn/icn/icn.c | strncpy(dev2->interface.id, icn_id2, |
id | 1416 | drivers/isdn/icn/icn.c | sizeof(dev->interface.id) - 1); |
id | 1430 | drivers/isdn/icn/icn.c | sprintf(regname, "icn-isdn (%s)", dev->interface.id); |
id | 1457 | drivers/isdn/icn/icn.c | rev, dev->port, (uint) dev->shmem, dev->interface.id); |
id | 1722 | drivers/isdn/isdn_common.c | if (!strlen(i->id)) |
id | 1723 | drivers/isdn/isdn_common.c | sprintf(i->id, "line%d", drvidx); |
id | 1735 | drivers/isdn/isdn_common.c | strcpy(dev->drvid[drvidx], i->id); |
id | 1266 | drivers/isdn/teles/callc.c | teles_writebuf(int id, int chan, const u_char * buf, int count, int user) |
id | 93 | drivers/isdn/teles/llglue.c | strncpy(iif.id, teles_id, sizeof(iif.id) - 1); |
id | 418 | drivers/isdn/teles/teles.h | int teles_writebuf(int id, int chan, const u_char * buf, int count, int user); |
id | 304 | drivers/net/eepro.c | unsigned short station_addr[6], id, counter; |
id | 314 | drivers/net/eepro.c | if (((id=inb(ioaddr + ID_REG)) & ID_REG_MASK) == ID_REG_SIG) { |
id | 320 | drivers/net/eepro.c | counter = (id & R_ROBIN_BITS); |
id | 321 | drivers/net/eepro.c | if (((id=inb(ioaddr+ID_REG)) & R_ROBIN_BITS) == |
id | 355 | drivers/net/eepro.c | id = inb(ioaddr + REG3); |
id | 356 | drivers/net/eepro.c | if (id & TPE_BIT) |
id | 136 | drivers/net/hp100.c | u_int id; |
id | 142 | drivers/net/hp100.c | struct hp100_eisa_id *id; |
id | 352 | drivers/net/hp100.c | if ( ( hp100_eisa_ids[ i ].id & 0xf0ffffff ) == ( eisa_id & 0xf0ffffff ) ) |
id | 360 | drivers/net/hp100.c | if ( ( eid -> id & 0x0f000000 ) < ( eisa_id & 0x0f000000 ) ) |
id | 411 | drivers/net/hp100.c | lp -> id = eid; |
id | 446 | drivers/net/hp100.c | dev -> name, lp -> id -> name, ioaddr, dev -> irq ); |
id | 491 | drivers/net/hp100.c | if ( request_irq( dev -> irq, hp100_interrupt, SA_INTERRUPT, lp -> id -> name ) ) |
id | 1011 | drivers/net/hp100.c | if ( lp -> id -> id == 0x02019F022 ) /* HP J27248B doesn't have 100Mb/s interface */ |
id | 276 | drivers/net/new_tunnel.c | iph->id = htons(ip_id_count++); /* Race condition here? */ |
id | 431 | drivers/net/slhc.c | deltaS = ntohs(ip->id) - ntohs(cs->cs_ip.id); |
id | 594 | drivers/net/slhc.c | ip->id = htons (ntohs (ip->id) + x); |
id | 596 | drivers/net/slhc.c | ip->id = htons (ntohs (ip->id) + 1); |
id | 6773 | drivers/scsi/advansys.c | uchar id, |
id | 6778 | drivers/scsi/advansys.c | AscWriteChipScsiID(iop_base, id); |
id | 6779 | drivers/scsi/advansys.c | if (AscReadChipScsiID(iop_base) != (0x01 << id)) { |
id | 2926 | drivers/scsi/aha152x.c | scd->channel, scd->id, scd->lun); |
id | 301 | drivers/scsi/aha152x.h | unsigned id:3; /* SCSI-id */ |
id | 312 | drivers/scsi/aha152x.h | #define cf_id fields.id |
id | 30 | drivers/scsi/aic7xxx_asm.c | static const char id[] = "$Id: aic7xxx_asm.c,v 2.4 1996/01/30 07:17:29 deang Exp $"; |
id | 621 | drivers/scsi/aic7xxx_asm.c | printf("%s\n", id); |
id | 290 | drivers/scsi/eata_dma.c | || cmd->scsi_done == NULL || cmd->device->id == 7) |
id | 294 | drivers/scsi/eata_dma.c | cmd->device->channel, cmd->device->id, cmd->device->lun, |
id | 327 | drivers/scsi/eata_dma.c | inline int eata_send_immediate(u32 addr, u32 base, u8 cmnd, u8 cmnd2, u8 id, |
id | 336 | drivers/scsi/eata_dma.c | outb(id, base + HA_WSUBCODE); |
id | 691 | drivers/scsi/eata_dma.c | char * get_board_data(u32 base, u32 irq, u32 id) |
id | 720 | drivers/scsi/eata_dma.c | cp->cp_id = id; |
id | 160 | drivers/scsi/eata_dma_proc.c | SDev.id = HBA_ptr->this_id; |
id | 3 | drivers/scsi/eata_dma_proc.h | __u8 id:5, |
id | 367 | drivers/scsi/eata_generic.h | __u8 id; /* drive id */ |
id | 536 | drivers/scsi/eata_pio.c | char * get_pio_board_data(ulong base, uint irq, uint id, ulong cplen, ushort cppadlen) |
id | 551 | drivers/scsi/eata_pio.c | cp.cp_id = id; |
id | 522 | drivers/scsi/scsi.c | SDpnt->id = dev; |
id | 543 | drivers/scsi/scsi.c | SCpnt->target = SDpnt->id; |
id | 865 | drivers/scsi/scsi.c | if(SCpnt->target == device->id && |
id | 873 | drivers/scsi/scsi.c | if(SCpnt->target == device->id) { |
id | 948 | drivers/scsi/scsi.c | SCpnt->target = device->id; |
id | 996 | drivers/scsi/scsi.c | if(SCpnt->target == device->id && |
id | 1005 | drivers/scsi/scsi.c | if(SCpnt->target == device->id) { |
id | 1043 | drivers/scsi/scsi.c | "lun %d\n", device->channel, device->id, device->lun); |
id | 1105 | drivers/scsi/scsi.c | SCpnt->target = device->id; |
id | 2294 | drivers/scsi/scsi.c | SCpnt->target = SDpnt->id; |
id | 2515 | drivers/scsi/scsi.c | || scd->id != parameter[2] |
id | 155 | drivers/scsi/scsi.h | unsigned char id, lun, channel; |
id | 140 | drivers/scsi/scsi_ioctl.c | dev->id, |
id | 280 | drivers/scsi/scsi_ioctl.c | printk("scsi_ioctl : device %d. command = ", dev->id); |
id | 313 | drivers/scsi/scsi_ioctl.c | put_user(dev->id |
id | 263 | drivers/scsi/scsi_proc.c | scd->host->host_no, scd->channel, scd->id, scd->lun); |
id | 389 | drivers/scsi/sd.c | rscsi_disks[DEVICE_NR(SCpnt->request.rq_dev)].device->id, |
id | 1335 | drivers/scsi/sd.c | SDp->host->host_no, SDp->channel, SDp->id, SDp->lun); |
id | 511 | drivers/scsi/sg.c | SDp->host->host_no, SDp->channel, SDp->id, SDp->lun); |
id | 281 | drivers/scsi/sr.c | scsi_CDs[DEVICE_NR(SCpnt->request.rq_dev)].device->id, |
id | 932 | drivers/scsi/sr.c | SDp->host->host_no, SDp->channel, SDp->id, SDp->lun); |
id | 70 | drivers/scsi/sr_ioctl.c | scsi_CDs[target].device->id, |
id | 2148 | drivers/scsi/st.c | SDp->host->host_no, SDp->channel, SDp->id, SDp->lun); |
id | 1305 | drivers/sound/ad1848.c | int id; |
id | 1321 | drivers/sound/ad1848.c | id = ad_read (devc, 25) & 0xe7; |
id | 1323 | drivers/sound/ad1848.c | switch (id) |
id | 466 | drivers/sound/configure.c | char *id = &buf[8]; |
id | 469 | drivers/sound/configure.c | while (id[i] && id[i] != ' ' && |
id | 470 | drivers/sound/configure.c | id[i] != '\t' && id[i] != '\n') |
id | 473 | drivers/sound/configure.c | strncpy (tmp, id, i); |
id | 500 | drivers/sound/configure.c | strncpy (tmp, id, i); |
id | 505 | drivers/sound/configure.c | strncpy (tmp, &id[7], i - 7); |
id | 523 | drivers/sound/configure.c | char *id = &buf[8]; |
id | 526 | drivers/sound/configure.c | while (id[i] && id[i] != ' ' && |
id | 527 | drivers/sound/configure.c | id[i] != '\t' && id[i] != '\n') |
id | 530 | drivers/sound/configure.c | strncpy (tmp, id, i); |
id | 535 | drivers/sound/configure.c | strncpy (tmp, id, i); |
id | 540 | drivers/sound/configure.c | strncpy (tmp, &id[8], i - 8); |
id | 333 | drivers/sound/dev_table.c | char *id = sound_drivers[i].driver_id; |
id | 336 | drivers/sound/dev_table.c | for (j = 0; j < 80 && name[j] == id[j]; j++) |
id | 337 | drivers/sound/dev_table.c | if (id[j] == 0 && name[j] == 0) /* Match */ |
id | 64 | drivers/sound/dev_table.h | int id; |
id | 96 | drivers/sound/pss.c | unsigned short id; |
id | 114 | drivers/sound/pss.c | id = inw (REG (PSS_ID)); |
id | 115 | drivers/sound/pss.c | if ((id >> 8) != 'E') |
id | 326 | drivers/sound/pss.c | unsigned short id; |
id | 337 | drivers/sound/pss.c | id = inw (REG (PSS_ID)) & 0x00ff; |
id | 369 | drivers/sound/pss.c | sprintf (tmp, "ECHO-PSS Rev. %d", id); |
id | 125 | fs/binfmt_elf.c | #define NEW_AUX_ENT(id, val) \ |
id | 126 | fs/binfmt_elf.c | put_user ((id), dlinfo++); \ |
id | 62 | fs/dquot.c | static inline int const hashfn(kdev_t dev, unsigned int id, short type) |
id | 64 | fs/dquot.c | return((HASHDEV(dev) ^ id) * (MAXQUOTAS - type)) % NR_DQHASH; |
id | 67 | fs/dquot.c | static inline struct dquot **const hash(kdev_t dev, unsigned int id, short type) |
id | 69 | fs/dquot.c | return(hash_table + hashfn(dev, id, type)); |
id | 539 | fs/dquot.c | static struct dquot *dqget(kdev_t dev, unsigned int id, short type) |
id | 550 | fs/dquot.c | dquot = *(hash(dev, id, type)); |
id | 552 | fs/dquot.c | if (dquot->dq_dev != dev || dquot->dq_id != id) { |
id | 557 | fs/dquot.c | if (dquot->dq_dev != dev || dquot->dq_id != id) |
id | 570 | fs/dquot.c | dquot->dq_id = id; |
id | 584 | fs/dquot.c | static int set_dqblk(kdev_t dev, int id, short type, int flags, struct dqblk *dqblk) |
id | 600 | fs/dquot.c | if ((dquot = dqget(dev, id, type)) != NODQUOT) { |
id | 602 | fs/dquot.c | if (id > 0 && ((flags & SET_QUOTA) || (flags & SET_QLIMIT))) { |
id | 624 | fs/dquot.c | if (id == 0) { |
id | 643 | fs/dquot.c | static int get_quota(kdev_t dev, int id, short type, struct dqblk *dqblk) |
id | 655 | fs/dquot.c | if ((dquot = dqget(dev, id, type)) != NODQUOT) { |
id | 682 | fs/dquot.c | unsigned int id = 0; |
id | 695 | fs/dquot.c | id = inode->i_uid; |
id | 698 | fs/dquot.c | id = inode->i_gid; |
id | 702 | fs/dquot.c | tmp = dqget(inode->i_dev, id, cnt); |
id | 1011 | fs/dquot.c | asmlinkage int sys_quotactl(int cmd, const char *special, int id, caddr_t addr) |
id | 1027 | fs/dquot.c | if (((type == USRQUOTA && current->uid != id) || |
id | 1028 | fs/dquot.c | (type == GRPQUOTA && current->gid != id)) && !fsuser()) |
id | 1055 | fs/dquot.c | return(get_quota(dev, id, type, (struct dqblk *) addr)); |
id | 1075 | fs/dquot.c | return(set_dqblk(dev, id, type, flags, (struct dqblk *) addr)); |
id | 111 | fs/fat/dir.c | unsigned char id; |
id | 118 | fs/fat/dir.c | id = ds->id; |
id | 119 | fs/fat/dir.c | if (id & 0x40) { |
id | 120 | fs/fat/dir.c | slots = id & ~0x40; |
id | 134 | fs/fat/dir.c | if ((ds->id & ~0x40) != slot) { |
id | 177 | fs/fat/dir.c | if (ds->id & 0x40) { |
id | 268 | fs/isofs/inode.c | if (strncmp (hdp->id, HS_STANDARD_ID, sizeof hdp->id) == 0) { |
id | 281 | fs/isofs/inode.c | if (strncmp (vdp->id, ISO_STANDARD_ID, sizeof vdp->id) == 0) { |
id | 76 | fs/noquot.c | asmlinkage int sys_quotactl(int cmd, const char *special, int id, caddr_t addr) |
id | 563 | fs/vfat/namei.c | ps->id = slot; ps_mask->id = 0xff; |
id | 653 | fs/vfat/namei.c | ds[0].id |= 0x40; |
id | 678 | fs/vfat/namei.c | int id, res, slots; |
id | 686 | fs/vfat/namei.c | id = 1; |
id | 695 | fs/vfat/namei.c | if ((ps->id &~ 0x40) != id) goto finish; |
id | 697 | fs/vfat/namei.c | if (ps->id & 0x40) { |
id | 699 | fs/vfat/namei.c | slots = ps->id &~ 0x40; |
id | 704 | fs/vfat/namei.c | id++; |
id | 120 | include/asm-alpha/hwrpb.h | unsigned long id; /* check: "HWRPB\0\0\0" */ |
id | 199 | include/asm-i386/smp.h | extern void smp_store_cpu_info(int id); /* Store per cpu info (like the initial udelay numbers */ |
id | 67 | include/linux/icmp.h | __u16 id; |
id | 102 | include/linux/ip.h | __u16 id; |
id | 237 | include/linux/isdnif.h | char id[20]; |
id | 15 | include/linux/iso_fs.h | char id[ISODCL(2,6)]; |
id | 28 | include/linux/iso_fs.h | char id [ISODCL ( 2, 6)]; |
id | 68 | include/linux/iso_fs.h | char id [ISODCL ( 10, 14)]; |
id | 77 | include/linux/iso_fs.h | char id [ISODCL ( 10, 14)]; |
id | 20 | include/linux/kerneld.h | long id; |
id | 129 | include/linux/msdos_fs.h | __u8 id; /* sequence number for slot */ |
id | 133 | include/linux/soundcard.h | # define _PATCHKEY(id) (0xfd00|id) |
id | 135 | include/linux/soundcard.h | # define _PATCHKEY(id) ((id<<8)|0xfd) |
id | 21 | ipc/msg.c | static void freeque (int id); |
id | 37 | ipc/msg.c | int id; |
id | 39 | ipc/msg.c | for (id = 0; id < MSGMNI; id++) |
id | 40 | ipc/msg.c | msgque[id] = (struct msqid_ds *) IPC_UNUSED; |
id | 48 | ipc/msg.c | int id, err; |
id | 71 | ipc/msg.c | id = (unsigned int) msqid % MSGMNI; |
id | 72 | ipc/msg.c | msq = msgque [id]; |
id | 122 | ipc/msg.c | memcpy(msgh->msg_spot, (char *)(&(kdmp->id)), sizeof(long)); |
id | 129 | ipc/msg.c | if (msgque[id] == IPC_UNUSED || msgque[id] == IPC_NOID |
id | 161 | ipc/msg.c | int id, err; |
id | 177 | ipc/msg.c | id = (unsigned int) msqid % MSGMNI; |
id | 178 | ipc/msg.c | msq = msgque [id]; |
id | 258 | ipc/msg.c | memcpy((char *)(&(kdmp->id)), |
id | 307 | ipc/msg.c | int id; |
id | 310 | ipc/msg.c | for (id = 0; id <= max_msqid; id++) { |
id | 311 | ipc/msg.c | while ((msq = msgque[id]) == IPC_NOID) |
id | 316 | ipc/msg.c | return id; |
id | 323 | ipc/msg.c | int id; |
id | 327 | ipc/msg.c | for (id = 0; id < MSGMNI; id++) |
id | 328 | ipc/msg.c | if (msgque[id] == IPC_UNUSED) { |
id | 329 | ipc/msg.c | msgque[id] = (struct msqid_ds *) IPC_NOID; |
id | 337 | ipc/msg.c | msgque[id] = (struct msqid_ds *) IPC_UNUSED; |
id | 355 | ipc/msg.c | if (id > max_msqid) |
id | 356 | ipc/msg.c | max_msqid = id; |
id | 357 | ipc/msg.c | msgque[id] = msq; |
id | 361 | ipc/msg.c | return (unsigned int) msq->msg_perm.seq * MSGMNI + id; |
id | 366 | ipc/msg.c | int id; |
id | 384 | ipc/msg.c | if ((id = findkey (key)) == -1) { /* key not used */ |
id | 391 | ipc/msg.c | msq = msgque[id]; |
id | 396 | ipc/msg.c | return (unsigned int) msq->msg_perm.seq * MSGMNI + id; |
id | 399 | ipc/msg.c | static void freeque (int id) |
id | 401 | ipc/msg.c | struct msqid_ds *msq = msgque[id]; |
id | 407 | ipc/msg.c | if (id == max_msqid) |
id | 409 | ipc/msg.c | msgque[id] = (struct msqid_ds *) IPC_UNUSED; |
id | 428 | ipc/msg.c | int id, err; |
id | 474 | ipc/msg.c | id = (unsigned int) msq->msg_perm.seq * MSGMNI + msqid; |
id | 485 | ipc/msg.c | return id; |
id | 503 | ipc/msg.c | id = (unsigned int) msqid % MSGMNI; |
id | 504 | ipc/msg.c | msq = msgque [id]; |
id | 549 | ipc/msg.c | freeque (id); |
id | 606 | ipc/msg.c | static int id = KERNELD_MINSEQ; |
id | 619 | ipc/msg.c | if (++id <= 0) |
id | 620 | ipc/msg.c | id = KERNELD_MINSEQ; |
id | 621 | ipc/msg.c | kmsp.id = id; |
id | 630 | ipc/msg.c | kmsp.id, msgflg); |
id | 632 | ipc/msg.c | status = kmsp.id; |
id | 46 | ipc/sem.c | static void freeary (int id); |
id | 68 | ipc/sem.c | int id; |
id | 71 | ipc/sem.c | for (id = 0; id <= max_semid; id++) { |
id | 72 | ipc/sem.c | while ((sma = semary[id]) == IPC_NOID) |
id | 77 | ipc/sem.c | return id; |
id | 84 | ipc/sem.c | int id; |
id | 93 | ipc/sem.c | for (id = 0; id < SEMMNI; id++) |
id | 94 | ipc/sem.c | if (semary[id] == IPC_UNUSED) { |
id | 95 | ipc/sem.c | semary[id] = (struct semid_ds *) IPC_NOID; |
id | 104 | ipc/sem.c | semary[id] = (struct semid_ds *) IPC_UNUSED; |
id | 123 | ipc/sem.c | if (id > max_semid) |
id | 124 | ipc/sem.c | max_semid = id; |
id | 126 | ipc/sem.c | semary[id] = sma; |
id | 129 | ipc/sem.c | return (unsigned int) sma->sem_perm.seq * SEMMNI + id; |
id | 134 | ipc/sem.c | int id; |
id | 141 | ipc/sem.c | if ((id = findkey (key)) == -1) { /* key not used */ |
id | 148 | ipc/sem.c | sma = semary[id]; |
id | 153 | ipc/sem.c | return (unsigned int) sma->sem_perm.seq * SEMMNI + id; |
id | 329 | ipc/sem.c | static void freeary (int id) |
id | 331 | ipc/sem.c | struct semid_ds *sma = semary[id]; |
id | 339 | ipc/sem.c | if (id == max_semid) |
id | 341 | ipc/sem.c | semary[id] = (struct semid_ds *) IPC_UNUSED; |
id | 364 | ipc/sem.c | int i, id, val = 0; |
id | 414 | ipc/sem.c | id = (unsigned int) sma->sem_perm.seq * SEMMNI + semid; |
id | 420 | ipc/sem.c | return id; |
id | 423 | ipc/sem.c | id = (unsigned int) semid % SEMMNI; |
id | 424 | ipc/sem.c | sma = semary [id]; |
id | 471 | ipc/sem.c | freeary (id); |
id | 497 | ipc/sem.c | if (semary[id] == IPC_UNUSED || semary[id] == IPC_NOID) |
id | 559 | ipc/sem.c | int i, id, size, error; |
id | 574 | ipc/sem.c | id = (unsigned int) semid % SEMMNI; |
id | 575 | ipc/sem.c | if ((sma = semary[id]) == IPC_UNUSED || sma == IPC_NOID) |
id | 25 | ipc/shm.c | static void killseg (int id); |
id | 46 | ipc/shm.c | int id; |
id | 48 | ipc/shm.c | for (id = 0; id < SHMMNI; id++) |
id | 49 | ipc/shm.c | shm_segs[id] = (struct shmid_ds *) IPC_UNUSED; |
id | 57 | ipc/shm.c | int id; |
id | 60 | ipc/shm.c | for (id = 0; id <= max_shmid; id++) { |
id | 61 | ipc/shm.c | while ((shp = shm_segs[id]) == IPC_NOID) |
id | 66 | ipc/shm.c | return id; |
id | 78 | ipc/shm.c | int id, i; |
id | 84 | ipc/shm.c | for (id = 0; id < SHMMNI; id++) |
id | 85 | ipc/shm.c | if (shm_segs[id] == IPC_UNUSED) { |
id | 86 | ipc/shm.c | shm_segs[id] = (struct shmid_ds *) IPC_NOID; |
id | 94 | ipc/shm.c | shm_segs[id] = (struct shmid_ds *) IPC_UNUSED; |
id | 102 | ipc/shm.c | shm_segs[id] = (struct shmid_ds *) IPC_UNUSED; |
id | 124 | ipc/shm.c | if (id > max_shmid) |
id | 125 | ipc/shm.c | max_shmid = id; |
id | 126 | ipc/shm.c | shm_segs[id] = shp; |
id | 130 | ipc/shm.c | return (unsigned int) shp->shm_perm.seq * SHMMNI + id; |
id | 136 | ipc/shm.c | int id = 0; |
id | 142 | ipc/shm.c | if ((id = findkey (key)) == -1) { |
id | 149 | ipc/shm.c | shp = shm_segs[id]; |
id | 156 | ipc/shm.c | return (unsigned int) shp->shm_perm.seq * SHMMNI + id; |
id | 163 | ipc/shm.c | static void killseg (int id) |
id | 168 | ipc/shm.c | shp = shm_segs[id]; |
id | 170 | ipc/shm.c | printk ("shm nono: killseg called on unused seg id=%d\n", id); |
id | 175 | ipc/shm.c | shm_segs[id] = (struct shmid_ds *) IPC_UNUSED; |
id | 177 | ipc/shm.c | if (id == max_shmid) |
id | 180 | ipc/shm.c | printk ("shm nono: killseg shp->pages=NULL. id=%d\n", id); |
id | 208 | ipc/shm.c | int id, err; |
id | 268 | ipc/shm.c | id = (unsigned int) shp->shm_perm.seq * SHMMNI + shmid; |
id | 278 | ipc/shm.c | return id; |
id | 281 | ipc/shm.c | shp = shm_segs[id = (unsigned int) shmid % SHMMNI]; |
id | 340 | ipc/shm.c | killseg (id); |
id | 461 | ipc/shm.c | unsigned int id; |
id | 469 | ipc/shm.c | shp = shm_segs[id = (unsigned int) shmid % SHMMNI]; |
id | 511 | ipc/shm.c | if ((shp != shm_segs[id]) || (shp->shm_perm.seq != (unsigned int) shmid / SHMMNI)) { |
id | 516 | ipc/shm.c | shmd->vm_pte = SWP_ENTRY(SHM_SWP_TYPE, id); |
id | 532 | ipc/shm.c | killseg(id); |
id | 549 | ipc/shm.c | unsigned int id; |
id | 552 | ipc/shm.c | id = SWP_OFFSET(shmd->vm_pte) & SHM_ID_MASK; |
id | 553 | ipc/shm.c | shp = shm_segs[id]; |
id | 555 | ipc/shm.c | printk("shm_open: unused id=%d PANIC\n", id); |
id | 573 | ipc/shm.c | int id; |
id | 576 | ipc/shm.c | id = SWP_OFFSET(shmd->vm_pte) & SHM_ID_MASK; |
id | 577 | ipc/shm.c | shp = shm_segs[id]; |
id | 582 | ipc/shm.c | killseg (id); |
id | 609 | ipc/shm.c | unsigned int id, idx; |
id | 611 | ipc/shm.c | id = SWP_OFFSET(code) & SHM_ID_MASK; |
id | 612 | ipc/shm.c | if (id != (SWP_OFFSET(shmd->vm_pte) & SHM_ID_MASK)) { |
id | 614 | ipc/shm.c | id, SWP_OFFSET(shmd->vm_pte) & SHM_ID_MASK); |
id | 617 | ipc/shm.c | if (id > max_shmid) { |
id | 618 | ipc/shm.c | printk ("shm_swap_in: id=%d too big. proc mem corrupted\n", id); |
id | 621 | ipc/shm.c | shp = shm_segs[id]; |
id | 623 | ipc/shm.c | printk ("shm_swap_in: id=%d invalid. Race.\n", id); |
id | 633 | ipc/shm.c | printk ("shm_swap_in : too large page index. id=%d\n", id); |
id | 683 | ipc/shm.c | unsigned long id, idx; |
id | 704 | ipc/shm.c | id = swap_id; |
id | 731 | ipc/shm.c | if ((SWP_OFFSET(shmd->vm_pte) & SHM_ID_MASK) != id) { |
id | 733 | ipc/shm.c | id, SWP_OFFSET(shmd->vm_pte) & SHM_ID_MASK); |
id | 742 | ipc/shm.c | id, shmd->vm_start, idx); |
id | 749 | ipc/shm.c | id, shmd->vm_start, idx); |
id | 418 | net/ipv4/icmp.c | iph->id = htons(new_mtu); |
id | 629 | net/ipv4/icmp.c | icmp_param.icmph.un.echo.id = icmph->un.echo.id; |
id | 64 | net/ipv4/ip_forward.c | iph->id = htons(ip_id_count++); |
id | 138 | net/ipv4/ip_fragment.c | if (iph->id== qp->iph->id && iph->saddr == qp->iph->saddr && |
id | 379 | net/ipv4/ip_output.c | iph->id = htons(ip_id_count++); |
id | 580 | net/ipv4/ip_output.c | unsigned short id; |
id | 691 | net/ipv4/ip_output.c | iph->id=htons(ip_id_count++); |
id | 792 | net/ipv4/ip_output.c | id = htons(ip_id_count++); |
id | 881 | net/ipv4/ip_output.c | iph->id = id; |
id | 185 | net/ipv4/raw.c | iph->id = htons(ip_id_count++); |
id | 556 | net/ipv4/tcp.c | unsigned short new_mtu = ntohs(iph->id); |
id | 382 | net/ipv4/tcp_output.c | iph->id = htons(ip_id_count++); |
id | 176 | net/netrom/af_netrom.c | static struct sock *nr_find_socket(unsigned char index, unsigned char id) |
id | 185 | net/netrom/af_netrom.c | if (s->nr->my_index == index && s->nr->my_id == id) { |
id | 199 | net/netrom/af_netrom.c | static struct sock *nr_find_peer(unsigned char index, unsigned char id) |
id | 208 | net/netrom/af_netrom.c | if (s->nr->your_index == index && s->nr->your_id == id) { |