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 | 388 | arch/i386/kernel/smp.c | void smp_store_cpu_info(int id) |
id | 390 | arch/i386/kernel/smp.c | struct cpuinfo_x86 *c=&cpu_data[id]; |
id | 168 | drivers/block/cmd640.c | long id; |
id | 173 | drivers/block/cmd640.c | id = inl(0xcfc); |
id | 174 | drivers/block/cmd640.c | if (id != 0x06401095) |
id | 492 | drivers/block/cmd640.c | struct hd_driveid* id; |
id | 504 | drivers/block/cmd640.c | id = drive->id; |
id | 505 | drivers/block/cmd640.c | if ((max_pio = known_drive_pio(id->model)) != -1) { |
id | 510 | drivers/block/cmd640.c | max_pio = id->tPIO; |
id | 514 | drivers/block/cmd640.c | if (id->field_valid & 2) { |
id | 515 | drivers/block/cmd640.c | if ((id->capability & 8) && (id->eide_pio_modes & 7)) { |
id | 516 | drivers/block/cmd640.c | if (id->eide_pio_modes & 4) max_pio = 5; |
id | 517 | drivers/block/cmd640.c | else if (id->eide_pio_modes & 2) max_pio = 4; |
id | 519 | drivers/block/cmd640.c | ds_time = id->eide_pio_iordy; |
id | 523 | drivers/block/cmd640.c | ds_time = id->eide_pio; |
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 | 2581 | drivers/block/ide-cd.c | ((drive->id->config & 0x0060) == 0x20); |
id | 2591 | drivers/block/ide-cd.c | if (strcmp (drive->id->model, "CD220E") == 0 || |
id | 2592 | drivers/block/ide-cd.c | strcmp (drive->id->model, "CD") == 0) /* Creative Labs */ |
id | 2595 | drivers/block/ide-cd.c | else if (strcmp (drive->id->model, "TO-ICSLYAL") == 0 || /* Acer CD525E */ |
id | 2596 | drivers/block/ide-cd.c | strcmp (drive->id->model, "OTI-SCYLLA") == 0) |
id | 2601 | drivers/block/ide-cd.c | else if (strcmp (drive->id->model, "DCI-2S10") == 0) |
id | 2604 | drivers/block/ide-cd.c | else if (strcmp (drive->id->model, "CDA26803I SE") == 0) /* Aztech */ |
id | 2612 | drivers/block/ide-cd.c | else if (strcmp (drive->id->model, "V003S0DS") == 0 || /* Vertos */ |
id | 2613 | drivers/block/ide-cd.c | strcmp (drive->id->model, "0V300SSD") == 0) |
id | 2620 | drivers/block/ide-cd.c | else if (strcmp (drive->id->model, "V004E0DT") == 0 || |
id | 2621 | drivers/block/ide-cd.c | strcmp (drive->id->model, "0V400ETD") == 0) |
id | 1001 | drivers/block/ide-tape.c | int idetape_identify_device (ide_drive_t *drive,struct hd_driveid *id) |
id | 1012 | drivers/block/ide-tape.c | *ptr=id->config; |
id | 1051 | drivers/block/ide-tape.c | printk ("Model: %s\n",id->model); |
id | 1052 | drivers/block/ide-tape.c | printk ("Firmware Revision: %s\n",id->fw_rev); |
id | 1053 | drivers/block/ide-tape.c | printk ("Serial Number: %s\n",id->serial_no); |
id | 1054 | drivers/block/ide-tape.c | printk ("Write buffer size: %d bytes\n",id->buf_size*512); |
id | 1055 | drivers/block/ide-tape.c | printk ("DMA: %s",id->capability & 0x01 ? "Yes\n":"No\n"); |
id | 1056 | drivers/block/ide-tape.c | printk ("LBA: %s",id->capability & 0x02 ? "Yes\n":"No\n"); |
id | 1057 | drivers/block/ide-tape.c | printk ("IORDY can be disabled: %s",id->capability & 0x04 ? "Yes\n":"No\n"); |
id | 1058 | drivers/block/ide-tape.c | printk ("IORDY supported: %s",id->capability & 0x08 ? "Yes\n":"Unknown\n"); |
id | 1059 | drivers/block/ide-tape.c | printk ("PIO Cycle Timing Category: %d\n",id->tPIO); |
id | 1060 | drivers/block/ide-tape.c | printk ("DMA Cycle Timing Category: %d\n",id->tDMA); |
id | 1063 | drivers/block/ide-tape.c | if (id->dma_1word & mask) |
id | 1065 | drivers/block/ide-tape.c | if (id->dma_1word & (mask << 8)) |
id | 1072 | drivers/block/ide-tape.c | if (id->dma_mword & mask) |
id | 1074 | drivers/block/ide-tape.c | if (id->dma_mword & (mask << 8)) |
id | 1079 | drivers/block/ide-tape.c | if (id->field_valid & 0x0002) { |
id | 1080 | drivers/block/ide-tape.c | printk ("Enhanced PIO Modes: %s\n",id->eide_pio_modes & 1 ? "Mode 3":"None"); |
id | 1082 | drivers/block/ide-tape.c | if (id->eide_dma_min == 0) |
id | 1085 | drivers/block/ide-tape.c | printk ("%d ns\n",id->eide_dma_min); |
id | 1088 | drivers/block/ide-tape.c | if (id->eide_dma_time == 0) |
id | 1091 | drivers/block/ide-tape.c | printk ("%d ns\n",id->eide_dma_time); |
id | 1094 | drivers/block/ide-tape.c | if (id->eide_pio == 0) |
id | 1097 | drivers/block/ide-tape.c | printk ("%d ns\n",id->eide_pio); |
id | 1100 | drivers/block/ide-tape.c | if (id->eide_pio_iordy == 0) |
id | 1103 | drivers/block/ide-tape.c | printk ("%d ns\n",id->eide_pio_iordy); |
id | 474 | drivers/block/ide.c | static int lba_capacity_is_ok (struct hd_driveid *id) |
id | 476 | drivers/block/ide.c | unsigned long lba_sects = id->lba_capacity; |
id | 477 | drivers/block/ide.c | unsigned long chs_sects = id->cyls * id->heads * id->sectors; |
id | 487 | drivers/block/ide.c | id->lba_capacity = lba_sects; /* fix it */ |
id | 499 | drivers/block/ide.c | struct hd_driveid *id = drive->id; |
id | 507 | drivers/block/ide.c | if (id != NULL && (id->capability & 2) && lba_capacity_is_ok(id)) { |
id | 509 | drivers/block/ide.c | capacity = id->lba_capacity; |
id | 1165 | drivers/block/ide.c | if (drive->id && drive->mult_req > drive->id->max_multsect) |
id | 1166 | drivers/block/ide.c | drive->mult_req = drive->id->max_multsect; |
id | 1903 | drivers/block/ide.c | if (drive->id == NULL) |
id | 1905 | drivers/block/ide.c | err = verify_area(VERIFY_WRITE, (char *)arg, sizeof(*drive->id)); |
id | 1907 | drivers/block/ide.c | memcpy_tofs((char *)arg, (char *)drive->id, sizeof(*drive->id)); |
id | 1916 | drivers/block/ide.c | if (!drive->id || !(drive->id->capability & 1) || !HWIF(drive)->dmaproc) |
id | 1969 | drivers/block/ide.c | if ((drive->id != NULL) && (arg > drive->id->max_multsect)) |
id | 2063 | drivers/block/ide.c | struct hd_driveid *id; |
id | 2066 | drivers/block/ide.c | id = drive->id = kmalloc (SECTOR_WORDS*4, GFP_KERNEL); |
id | 2067 | drivers/block/ide.c | ide_input_data(drive, id, SECTOR_WORDS); /* read 512 bytes of id info */ |
id | 2073 | drivers/block/ide.c | if ((id->model[0] == 'P' && id->model[1] == 'M') |
id | 2074 | drivers/block/ide.c | || (id->model[0] == 'S' && id->model[1] == 'K')) { |
id | 2075 | drivers/block/ide.c | printk("%s: EATA SCSI HBA %.10s\n", drive->name, id->model); |
id | 2086 | drivers/block/ide.c | if ((id->model[0] == 'N' && id->model[1] == 'E') /* NEC */ |
id | 2087 | drivers/block/ide.c | || (id->model[0] == 'F' && id->model[1] == 'X') /* Mitsumi */ |
id | 2088 | drivers/block/ide.c | || (id->model[0] == 'P' && id->model[1] == 'i'))/* Pioneer */ |
id | 2091 | drivers/block/ide.c | ide_fixstring (id->model, sizeof(id->model), bswap); |
id | 2092 | drivers/block/ide.c | ide_fixstring (id->fw_rev, sizeof(id->fw_rev), bswap); |
id | 2093 | drivers/block/ide.c | ide_fixstring (id->serial_no, sizeof(id->serial_no), bswap); |
id | 2100 | drivers/block/ide.c | byte type = (id->config >> 8) & 0x1f; |
id | 2101 | drivers/block/ide.c | printk("%s: %s, ATAPI ", drive->name, id->model); |
id | 2118 | drivers/block/ide.c | if (idetape_identify_device (drive,id)) { |
id | 2141 | drivers/block/ide.c | if (id->config & (1<<7)) { /* removeable disk ? */ |
id | 2142 | drivers/block/ide.c | if (id->model[0] != 'W' || id->model[1] != 'D') |
id | 2150 | drivers/block/ide.c | drive->cyl = drive->bios_cyl = id->cyls; |
id | 2151 | drivers/block/ide.c | drive->head = drive->bios_head = id->heads; |
id | 2152 | drivers/block/ide.c | drive->sect = drive->bios_sect = id->sectors; |
id | 2155 | drivers/block/ide.c | if ((id->field_valid & 1) && id->cur_cyls && id->cur_heads |
id | 2156 | drivers/block/ide.c | && (id->cur_heads <= 16) && id->cur_sectors) |
id | 2168 | drivers/block/ide.c | drive->cyl = id->cur_cyls; |
id | 2169 | drivers/block/ide.c | drive->head = id->cur_heads; |
id | 2170 | drivers/block/ide.c | drive->sect = id->cur_sectors; |
id | 2174 | drivers/block/ide.c | check = (id->cur_capacity0 << 16) | id->cur_capacity1; |
id | 2177 | drivers/block/ide.c | id->cur_capacity0 = (capacity >> 0) & 0xffff; |
id | 2178 | drivers/block/ide.c | id->cur_capacity1 = (capacity >> 16) & 0xffff; |
id | 2182 | drivers/block/ide.c | if ((!drive->head || drive->head > 16) && id->heads && id->heads <= 16) { |
id | 2183 | drivers/block/ide.c | drive->cyl = id->cyls; |
id | 2184 | drivers/block/ide.c | drive->head = id->heads; |
id | 2185 | drivers/block/ide.c | drive->sect = id->sectors; |
id | 2196 | drivers/block/ide.c | drive->name, id->model, current_capacity(drive)/2048L, id->buf_size/2, |
id | 2201 | drivers/block/ide.c | if (id->max_multsect) { |
id | 2203 | drivers/block/ide.c | if (drive->mult_req > id->max_multsect) |
id | 2204 | drivers/block/ide.c | drive->mult_req = id->max_multsect; |
id | 2205 | drivers/block/ide.c | if (drive->mult_req || ((id->multsect_valid & 1) && id->multsect)) |
id | 2363 | drivers/block/ide.c | if (drive->id == NULL) { /* identification failed? */ |
id | 2780 | drivers/block/ide.c | if (drive->id) { |
id | 2781 | drivers/block/ide.c | drive->cyl = drive->id->cyls; |
id | 2782 | drivers/block/ide.c | drive->head = drive->id->heads; |
id | 2783 | drivers/block/ide.c | drive->sect = drive->id->sectors; |
id | 342 | drivers/block/ide.h | struct hd_driveid *id; /* drive model identification info */ |
id | 568 | drivers/block/ide.h | int idetape_identify_device (ide_drive_t *drive,struct hd_driveid *id); |
id | 237 | drivers/block/triton.c | struct hd_driveid *id = drive->id; |
id | 238 | drivers/block/triton.c | if (id && (id->capability & 1)) { |
id | 240 | drivers/block/triton.c | if ((id->field_valid & 2) && (id->dma_mword & 0x404) == 0x404) { |
id | 247 | drivers/block/triton.c | if (!strcmp(*list++,id->model)) { |
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 | 430 | drivers/net/slhc.c | deltaS = ntohs(ip->id) - ntohs(cs->cs_ip.id); |
id | 593 | drivers/net/slhc.c | ip->id = htons (ntohs (ip->id) + x); |
id | 595 | drivers/net/slhc.c | ip->id = htons (ntohs (ip->id) + 1); |
id | 2909 | 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 char id[] = "$Id: aic7xxx_asm.c,v 2.1 1995/08/23 04:31:40 deang Exp $"; |
id | 596 | 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 | 517 | drivers/scsi/scsi.c | SDpnt->id = dev; |
id | 538 | drivers/scsi/scsi.c | SCpnt->target = SDpnt->id; |
id | 859 | drivers/scsi/scsi.c | if(SCpnt->target == device->id && |
id | 867 | drivers/scsi/scsi.c | if(SCpnt->target == device->id) { |
id | 942 | drivers/scsi/scsi.c | SCpnt->target = device->id; |
id | 990 | drivers/scsi/scsi.c | if(SCpnt->target == device->id && |
id | 999 | drivers/scsi/scsi.c | if(SCpnt->target == device->id) { |
id | 1037 | drivers/scsi/scsi.c | "lun %d\n", device->channel, device->id, device->lun); |
id | 1099 | drivers/scsi/scsi.c | SCpnt->target = device->id; |
id | 2288 | drivers/scsi/scsi.c | SCpnt->target = SDpnt->id; |
id | 2506 | 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 | 533 | 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 | 2139 | drivers/scsi/st.c | SDp->host->host_no, SDp->channel, SDp->id, SDp->lun); |
id | 1262 | drivers/sound/ad1848.c | int id; |
id | 1280 | drivers/sound/ad1848.c | id = ad_read (devc, 25) & 0xe7; |
id | 1282 | drivers/sound/ad1848.c | switch (id) |
id | 388 | drivers/sound/configure.c | char *id = &buf[8]; |
id | 391 | drivers/sound/configure.c | while (id[i] && id[i] != ' ' && |
id | 392 | drivers/sound/configure.c | id[i] != '\t' && id[i] != '\n') |
id | 395 | drivers/sound/configure.c | strncpy (tmp, id, i); |
id | 411 | drivers/sound/configure.c | char *id = &buf[8]; |
id | 414 | drivers/sound/configure.c | while (id[i] && id[i] != ' ' && |
id | 415 | drivers/sound/configure.c | id[i] != '\t' && id[i] != '\n') |
id | 418 | drivers/sound/configure.c | strncpy (tmp, id, i); |
id | 424 | drivers/sound/configure.c | strncpy (tmp, &id[8], i - 8); |
id | 321 | drivers/sound/dev_table.c | char *id = sound_drivers[i].driver_id; |
id | 324 | drivers/sound/dev_table.c | for (j = 0; j < 80 && name[j] == id[j]; j++) |
id | 325 | drivers/sound/dev_table.c | if (id[j] == 0 && name[j] == 0) /* Match */ |
id | 64 | drivers/sound/dev_table.h | int id; |
id | 94 | drivers/sound/pss.c | unsigned short id; |
id | 119 | drivers/sound/pss.c | id = inw (REG (PSS_ID)); |
id | 120 | drivers/sound/pss.c | if ((id >> 8) != 'E') |
id | 331 | drivers/sound/pss.c | unsigned short id; |
id | 341 | drivers/sound/pss.c | id = inw (REG (PSS_ID)) & 0x00ff; |
id | 373 | drivers/sound/pss.c | printk (" <ECHO-PSS Rev. %d>", id); |
id | 147 | drivers/sound/sound_pnp.c | pnp_activate (int id, struct pnp_dev *dev) |
id | 152 | drivers/sound/sound_pnp.c | if (pnp_devs[i]->id == id) |
id | 155 | drivers/sound/sound_pnp.c | printk ("PnP dev: %08x, %s\n", id, |
id | 156 | drivers/sound/sound_pnp.c | pnp_devid2asc (id)); |
id | 124 | fs/binfmt_elf.c | #define NEW_AUX_ENT(id, val) \ |
id | 125 | fs/binfmt_elf.c | put_user ((id), dlinfo++); \ |
id | 59 | fs/dquot.c | static inline int const hashfn(kdev_t dev, unsigned int id, short type) |
id | 61 | fs/dquot.c | return((HASHDEV(dev) ^ id) * (MAXQUOTAS - type)) % NR_DQHASH; |
id | 64 | fs/dquot.c | static inline struct dquot **const hash(kdev_t dev, unsigned int id, short type) |
id | 66 | fs/dquot.c | return(hash_table + hashfn(dev, id, type)); |
id | 536 | fs/dquot.c | static struct dquot *dqget(kdev_t dev, unsigned int id, short type) |
id | 547 | fs/dquot.c | dquot = *(hash(dev, id, type)); |
id | 549 | fs/dquot.c | if (dquot->dq_dev != dev || dquot->dq_id != id) { |
id | 554 | fs/dquot.c | if (dquot->dq_dev != dev || dquot->dq_id != id) |
id | 567 | fs/dquot.c | dquot->dq_id = id; |
id | 581 | fs/dquot.c | static int set_dqblk(kdev_t dev, int id, short type, int flags, struct dqblk *dqblk) |
id | 597 | fs/dquot.c | if ((dquot = dqget(dev, id, type)) != NODQUOT) { |
id | 599 | fs/dquot.c | if (id > 0 && ((flags & SET_QUOTA) || (flags & SET_QLIMIT))) { |
id | 621 | fs/dquot.c | if (id == 0) { |
id | 640 | fs/dquot.c | static int get_quota(kdev_t dev, int id, short type, struct dqblk *dqblk) |
id | 652 | fs/dquot.c | if ((dquot = dqget(dev, id, type)) != NODQUOT) { |
id | 679 | fs/dquot.c | unsigned int id = 0; |
id | 691 | fs/dquot.c | id = inode->i_uid; |
id | 694 | fs/dquot.c | id = inode->i_gid; |
id | 697 | fs/dquot.c | inode->i_dquot[cnt] = dqget(inode->i_dev, id, cnt); |
id | 993 | fs/dquot.c | asmlinkage int sys_quotactl(int cmd, const char *special, int id, caddr_t addr) |
id | 1009 | fs/dquot.c | if (((type == USRQUOTA && current->uid != id) || |
id | 1010 | fs/dquot.c | (type == GRPQUOTA && current->gid != id)) && !fsuser()) |
id | 1037 | fs/dquot.c | return(get_quota(dev, id, type, (struct dqblk *) addr)); |
id | 1057 | fs/dquot.c | return(set_dqblk(dev, id, type, flags, (struct dqblk *) addr)); |
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 | 120 | include/asm-alpha/hwrpb.h | unsigned long id; /* check: "HWRPB\0\0\0" */ |
id | 200 | 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 | 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 | 205 | include/linux/mm.h | extern void swap_in(struct task_struct *, struct vm_area_struct *, pte_t *, unsigned long id, int write_access); |
id | 16 | ipc/msg.c | static void freeque (int id); |
id | 30 | ipc/msg.c | int id; |
id | 32 | ipc/msg.c | for (id = 0; id < MSGMNI; id++) |
id | 33 | ipc/msg.c | msgque[id] = (struct msqid_ds *) IPC_UNUSED; |
id | 41 | ipc/msg.c | int id, err; |
id | 56 | ipc/msg.c | id = (unsigned int) msqid % MSGMNI; |
id | 57 | ipc/msg.c | msq = msgque [id]; |
id | 85 | ipc/msg.c | if (msgque[id] == IPC_UNUSED || msgque[id] == IPC_NOID |
id | 118 | ipc/msg.c | int id, err; |
id | 128 | ipc/msg.c | id = (unsigned int) msqid % MSGMNI; |
id | 129 | ipc/msg.c | msq = msgque [id]; |
id | 213 | ipc/msg.c | int id; |
id | 216 | ipc/msg.c | for (id = 0; id <= max_msqid; id++) { |
id | 217 | ipc/msg.c | while ((msq = msgque[id]) == IPC_NOID) |
id | 222 | ipc/msg.c | return id; |
id | 229 | ipc/msg.c | int id; |
id | 233 | ipc/msg.c | for (id = 0; id < MSGMNI; id++) |
id | 234 | ipc/msg.c | if (msgque[id] == IPC_UNUSED) { |
id | 235 | ipc/msg.c | msgque[id] = (struct msqid_ds *) IPC_NOID; |
id | 243 | ipc/msg.c | msgque[id] = (struct msqid_ds *) IPC_UNUSED; |
id | 261 | ipc/msg.c | if (id > max_msqid) |
id | 262 | ipc/msg.c | max_msqid = id; |
id | 263 | ipc/msg.c | msgque[id] = msq; |
id | 267 | ipc/msg.c | return (unsigned int) msq->msg_perm.seq * MSGMNI + id; |
id | 272 | ipc/msg.c | int id; |
id | 277 | ipc/msg.c | if ((id = findkey (key)) == -1) { /* key not used */ |
id | 284 | ipc/msg.c | msq = msgque[id]; |
id | 289 | ipc/msg.c | return (unsigned int) msq->msg_perm.seq * MSGMNI + id; |
id | 292 | ipc/msg.c | static void freeque (int id) |
id | 294 | ipc/msg.c | struct msqid_ds *msq = msgque[id]; |
id | 300 | ipc/msg.c | if (id == max_msqid) |
id | 302 | ipc/msg.c | msgque[id] = (struct msqid_ds *) IPC_UNUSED; |
id | 321 | ipc/msg.c | int id, err; |
id | 367 | ipc/msg.c | id = (unsigned int) msq->msg_perm.seq * MSGMNI + msqid; |
id | 378 | ipc/msg.c | return id; |
id | 396 | ipc/msg.c | id = (unsigned int) msqid % MSGMNI; |
id | 397 | ipc/msg.c | msq = msgque [id]; |
id | 436 | ipc/msg.c | freeque (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 | 24 | ipc/shm.c | static void killseg (int id); |
id | 45 | ipc/shm.c | int id; |
id | 47 | ipc/shm.c | for (id = 0; id < SHMMNI; id++) |
id | 48 | ipc/shm.c | shm_segs[id] = (struct shmid_ds *) IPC_UNUSED; |
id | 56 | ipc/shm.c | int id; |
id | 59 | ipc/shm.c | for (id = 0; id <= max_shmid; id++) { |
id | 60 | ipc/shm.c | while ((shp = shm_segs[id]) == IPC_NOID) |
id | 65 | ipc/shm.c | return id; |
id | 77 | ipc/shm.c | int id, i; |
id | 83 | ipc/shm.c | for (id = 0; id < SHMMNI; id++) |
id | 84 | ipc/shm.c | if (shm_segs[id] == IPC_UNUSED) { |
id | 85 | ipc/shm.c | shm_segs[id] = (struct shmid_ds *) IPC_NOID; |
id | 93 | ipc/shm.c | shm_segs[id] = (struct shmid_ds *) IPC_UNUSED; |
id | 101 | ipc/shm.c | shm_segs[id] = (struct shmid_ds *) IPC_UNUSED; |
id | 123 | ipc/shm.c | if (id > max_shmid) |
id | 124 | ipc/shm.c | max_shmid = id; |
id | 125 | ipc/shm.c | shm_segs[id] = shp; |
id | 129 | ipc/shm.c | return (unsigned int) shp->shm_perm.seq * SHMMNI + id; |
id | 135 | ipc/shm.c | int id = 0; |
id | 141 | ipc/shm.c | if ((id = findkey (key)) == -1) { |
id | 148 | ipc/shm.c | shp = shm_segs[id]; |
id | 155 | ipc/shm.c | return (unsigned int) shp->shm_perm.seq * SHMMNI + id; |
id | 162 | ipc/shm.c | static void killseg (int id) |
id | 167 | ipc/shm.c | shp = shm_segs[id]; |
id | 169 | ipc/shm.c | printk ("shm nono: killseg called on unused seg id=%d\n", id); |
id | 174 | ipc/shm.c | shm_segs[id] = (struct shmid_ds *) IPC_UNUSED; |
id | 176 | ipc/shm.c | if (id == max_shmid) |
id | 179 | ipc/shm.c | printk ("shm nono: killseg shp->pages=NULL. id=%d\n", id); |
id | 207 | ipc/shm.c | int id, err; |
id | 267 | ipc/shm.c | id = (unsigned int) shp->shm_perm.seq * SHMMNI + shmid; |
id | 277 | ipc/shm.c | return id; |
id | 280 | ipc/shm.c | shp = shm_segs[id = (unsigned int) shmid % SHMMNI]; |
id | 339 | ipc/shm.c | killseg (id); |
id | 460 | ipc/shm.c | unsigned int id; |
id | 468 | ipc/shm.c | shp = shm_segs[id = (unsigned int) shmid % SHMMNI]; |
id | 510 | ipc/shm.c | if ((shp != shm_segs[id]) || (shp->shm_perm.seq != (unsigned int) shmid / SHMMNI)) { |
id | 515 | ipc/shm.c | shmd->vm_pte = SWP_ENTRY(SHM_SWP_TYPE, id); |
id | 531 | ipc/shm.c | killseg(id); |
id | 548 | ipc/shm.c | unsigned int id; |
id | 551 | ipc/shm.c | id = SWP_OFFSET(shmd->vm_pte) & SHM_ID_MASK; |
id | 552 | ipc/shm.c | shp = shm_segs[id]; |
id | 554 | ipc/shm.c | printk("shm_open: unused id=%d PANIC\n", id); |
id | 572 | ipc/shm.c | int id; |
id | 575 | ipc/shm.c | id = SWP_OFFSET(shmd->vm_pte) & SHM_ID_MASK; |
id | 576 | ipc/shm.c | shp = shm_segs[id]; |
id | 581 | ipc/shm.c | killseg (id); |
id | 608 | ipc/shm.c | unsigned int id, idx; |
id | 610 | ipc/shm.c | id = SWP_OFFSET(code) & SHM_ID_MASK; |
id | 611 | ipc/shm.c | if (id != (SWP_OFFSET(shmd->vm_pte) & SHM_ID_MASK)) { |
id | 613 | ipc/shm.c | id, SWP_OFFSET(shmd->vm_pte) & SHM_ID_MASK); |
id | 616 | ipc/shm.c | if (id > max_shmid) { |
id | 617 | ipc/shm.c | printk ("shm_swap_in: id=%d too big. proc mem corrupted\n", id); |
id | 620 | ipc/shm.c | shp = shm_segs[id]; |
id | 622 | ipc/shm.c | printk ("shm_swap_in: id=%d invalid. Race.\n", id); |
id | 632 | ipc/shm.c | printk ("shm_swap_in : too large page index. id=%d\n", id); |
id | 682 | ipc/shm.c | unsigned long id, idx; |
id | 703 | ipc/shm.c | id = swap_id; |
id | 730 | ipc/shm.c | if ((SWP_OFFSET(shmd->vm_pte) & SHM_ID_MASK) != id) { |
id | 732 | ipc/shm.c | id, SWP_OFFSET(shmd->vm_pte) & SHM_ID_MASK); |
id | 741 | ipc/shm.c | id, shmd->vm_start, idx); |
id | 748 | ipc/shm.c | id, shmd->vm_start, idx); |
id | 406 | net/ipv4/icmp.c | iph->id = htons(new_mtu); |
id | 617 | net/ipv4/icmp.c | icmp_param.icmph.un.echo.id = icmph->un.echo.id; |
id | 62 | 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 | 186 | net/ipv4/raw.c | iph->id = htons(ip_id_count++); |
id | 688 | net/ipv4/tcp.c | iph->id = htons(ip_id_count++); |
id | 1112 | net/ipv4/tcp.c | unsigned short new_mtu = ntohs(iph->id); |
id | 182 | net/netrom/af_netrom.c | static struct sock *nr_find_socket(unsigned char index, unsigned char id, int type) |
id | 191 | net/netrom/af_netrom.c | if (s->nr->my_index == index && s->nr->my_id == id && s->type == type) { |
id | 205 | net/netrom/af_netrom.c | static struct sock *nr_find_peer(unsigned char index, unsigned char id, int type) |
id | 214 | net/netrom/af_netrom.c | if (s->nr->your_index == index && s->nr->your_id == id && s->type == type) { |