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 | 89 | arch/i386/boot/tools/build.c | int i,c,id, sz; |
id | 124 | arch/i386/boot/tools/build.c | if ((id=open(argv[1],O_RDONLY,0))<0) |
id | 126 | arch/i386/boot/tools/build.c | if (read(id,buf,MINIX_HEADER) != MINIX_HEADER) |
id | 140 | arch/i386/boot/tools/build.c | i=read(id,buf,sizeof buf); |
id | 151 | arch/i386/boot/tools/build.c | close (id); |
id | 153 | arch/i386/boot/tools/build.c | if ((id=open(argv[2],O_RDONLY,0))<0) |
id | 155 | arch/i386/boot/tools/build.c | if (read(id,buf,MINIX_HEADER) != MINIX_HEADER) |
id | 169 | arch/i386/boot/tools/build.c | for (i=0 ; (c=read(id,buf,sizeof buf))>0 ; i+=c ) |
id | 174 | arch/i386/boot/tools/build.c | close (id); |
id | 191 | arch/i386/boot/tools/build.c | if ((id=open(argv[3],O_RDONLY,0))<0) |
id | 193 | arch/i386/boot/tools/build.c | if (read(id,buf,GCC_HEADER) != GCC_HEADER) |
id | 197 | arch/i386/boot/tools/build.c | lseek(id, GCC_HEADER, SEEK_SET); |
id | 215 | arch/i386/boot/tools/build.c | if ((n=read(id, buf, l)) != l) { |
id | 226 | arch/i386/boot/tools/build.c | close(id); |
id | 291 | drivers/block/hd.c | struct hd_driveid *id = hd_ident_info[dev]; |
id | 299 | drivers/block/hd.c | if (id != NULL) { |
id | 301 | drivers/block/hd.c | kfree_s (id, 512); |
id | 304 | drivers/block/hd.c | insw(HD_DATA, id, 256); /* get ID info */ |
id | 305 | drivers/block/hd.c | max_mult[dev] = id->max_multsect; |
id | 306 | drivers/block/hd.c | if ((id->field_valid&1) && id->cur_cyls && id->cur_heads && (id->cur_heads <= 16) && id->cur_sectors) { |
id | 314 | drivers/block/hd.c | hd_info[dev].cyl = id->cur_cyls; |
id | 315 | drivers/block/hd.c | hd_info[dev].head = id->cur_heads; |
id | 316 | drivers/block/hd.c | hd_info[dev].sect = id->cur_sectors; |
id | 318 | drivers/block/hd.c | fixstring (id->serial_no, sizeof(id->serial_no)); |
id | 319 | drivers/block/hd.c | fixstring (id->fw_rev, sizeof(id->fw_rev)); |
id | 320 | drivers/block/hd.c | fixstring (id->model, sizeof(id->model)); |
id | 322 | drivers/block/hd.c | dev+'a', id->model, id->cyls*id->heads*id->sectors/2048, |
id | 323 | drivers/block/hd.c | id->buf_size/2, bios_info[dev].cyl, bios_info[dev].head, |
id | 324 | drivers/block/hd.c | bios_info[dev].sect, id->max_multsect); |
id | 330 | drivers/block/hd.c | if (!strncmp(id->model, "QUANTUM", 7)) |
id | 1328 | drivers/block/ide-cd.c | CDROM_FLAGS (dev)->drq_interrupt = ((dev->id->config & 0x0060) == 0x20); |
id | 289 | drivers/block/ide.c | struct hd_driveid *id; |
id | 891 | drivers/block/ide.c | if (dev->id && dev->mult_req > dev->id->max_multsect) |
id | 892 | drivers/block/ide.c | dev->mult_req = dev->id->max_multsect; |
id | 1442 | drivers/block/ide.c | if (dev->id == NULL) |
id | 1444 | drivers/block/ide.c | err = verify_area(VERIFY_WRITE, (char *)arg, sizeof(*dev->id)); |
id | 1446 | drivers/block/ide.c | memcpy_tofs((char *)arg, (char *)dev->id, sizeof(*dev->id)); |
id | 1473 | drivers/block/ide.c | if ((dev->id != NULL) && (arg > dev->id->max_multsect)) |
id | 1563 | drivers/block/ide.c | static unsigned long fix_lba_capacity (struct hd_driveid *id) |
id | 1565 | drivers/block/ide.c | unsigned long lba_sects = id->lba_capacity; |
id | 1566 | drivers/block/ide.c | unsigned long chs_sects = id->cyls * id->heads * id->sectors; |
id | 1576 | drivers/block/ide.c | return (id->lba_capacity = lba_sects); |
id | 1587 | drivers/block/ide.c | struct hd_driveid *id; |
id | 1590 | drivers/block/ide.c | id = dev->id = (struct hd_driveid *) probe_mem_start; /* kmalloc() */ |
id | 1592 | drivers/block/ide.c | IN_SECTORS(id,1); /* read 512 bytes of id info */ |
id | 1600 | drivers/block/ide.c | bswap = (id->config & 0x8000) ? 0 : 1; |
id | 1601 | drivers/block/ide.c | if (bswap && id->model[0] == 'F' && id->model[1] == 'X') |
id | 1603 | drivers/block/ide.c | fixstring (id->serial_no, sizeof(id->serial_no), bswap); |
id | 1604 | drivers/block/ide.c | fixstring (id->fw_rev, sizeof(id->fw_rev), bswap); |
id | 1605 | drivers/block/ide.c | fixstring (id->model, sizeof(id->model), bswap); |
id | 1610 | drivers/block/ide.c | if (id->config & 0x8000) { |
id | 1612 | drivers/block/ide.c | byte type = (id->config >> 8) & 0x0f; |
id | 1614 | drivers/block/ide.c | printk("%s: %s, ATAPI,", dev->name, id->model); |
id | 1638 | drivers/block/ide.c | dev->cyl = dev->bios_cyl = id->cyls; |
id | 1639 | drivers/block/ide.c | dev->head = dev->bios_head = id->heads; |
id | 1640 | drivers/block/ide.c | dev->sect = dev->bios_sect = id->sectors; |
id | 1643 | drivers/block/ide.c | if ((id->field_valid & 1) && id->cur_cyls && id->cur_heads |
id | 1644 | drivers/block/ide.c | && (id->cur_heads <= 16) && id->cur_sectors) |
id | 1656 | drivers/block/ide.c | dev->cyl = id->cur_cyls; |
id | 1657 | drivers/block/ide.c | dev->head = id->cur_heads; |
id | 1658 | drivers/block/ide.c | dev->sect = id->cur_sectors; |
id | 1662 | drivers/block/ide.c | check = (id->cur_capacity0 << 16) | id->cur_capacity1; |
id | 1664 | drivers/block/ide.c | *((int *)&id->cur_capacity0) = capacity; /* fix it */ |
id | 1666 | drivers/block/ide.c | if (id->capability & 2) { /* use LBA if the drive supports it */ |
id | 1667 | drivers/block/ide.c | capacity = fix_lba_capacity(id); |
id | 1670 | drivers/block/ide.c | dev->cyl = id->cyls; /* WIN_SPECIFY needs a valid */ |
id | 1671 | drivers/block/ide.c | dev->head = id->heads; /* geometry or it fails. */ |
id | 1672 | drivers/block/ide.c | dev->sect = id->sectors; |
id | 1679 | drivers/block/ide.c | if (!(id->capability & 2)) /* if NOT using LBA */ |
id | 1686 | drivers/block/ide.c | dev->name, id->model, capacity/2048L, id->buf_size/2, |
id | 1689 | drivers/block/ide.c | if (id->max_multsect) { |
id | 1693 | drivers/block/ide.c | if ((id->multsect_valid & 1) && id->multsect) |
id | 1694 | drivers/block/ide.c | dev->mult_count = id->multsect; /* current setting */ |
id | 1696 | drivers/block/ide.c | if (INITIAL_MULT_COUNT <= id->max_multsect) |
id | 1699 | drivers/block/ide.c | dev->mult_req = id->max_multsect; |
id | 1701 | drivers/block/ide.c | if (dev->mult_count <= id->max_multsect) /* valid? */ |
id | 1706 | drivers/block/ide.c | printk(", Mult=%d/%d", dev->mult_req, id->max_multsect); |
id | 1835 | drivers/block/ide.c | if (dev->id == NULL) { /* identification failed? */ |
id | 2039 | drivers/block/ide.c | dev->id = NULL; |
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 | 289 | drivers/scsi/aha152x.h | unsigned id:3; /* SCSI-id */ |
id | 300 | drivers/scsi/aha152x.h | #define cf_id fields.id |
id | 552 | drivers/scsi/buslogic.c | ccb[mbo].id, ccb[mbo].lun, mbo); |
id | 757 | drivers/scsi/buslogic.c | ccb[mbo].id = target; |
id | 860 | drivers/scsi/buslogic.c | unsigned char *dma, unsigned char *id, |
id | 907 | drivers/scsi/buslogic.c | *id = inquiry_result[2] & 0x7; |
id | 969 | drivers/scsi/buslogic.c | unsigned char *id, char *bus_type, |
id | 1037 | drivers/scsi/buslogic.c | if (getconfig(base, irq, dma, id, bus_type, max_sg, bios)) |
id | 1136 | drivers/scsi/buslogic.c | unsigned char id; |
id | 1162 | drivers/scsi/buslogic.c | if (buslogic_query(base, &bios_translation, &irq, &dma, &id, |
id | 1239 | drivers/scsi/buslogic.c | printk(", ID %u\n", id); |
id | 1281 | drivers/scsi/buslogic.c | shpnt->this_id = id; |
id | 167 | drivers/scsi/buslogic.h | unsigned char id; |
id | 276 | drivers/scsi/scsi.c | SDpnt->id = dev; |
id | 608 | drivers/scsi/scsi.c | if(SCpnt->target == device->id && |
id | 718 | drivers/scsi/scsi.c | if(SCpnt->target == device->id && |
id | 738 | drivers/scsi/scsi.c | device->id ,device->lun); |
id | 1954 | drivers/scsi/scsi.c | SCpnt->target = SDpnt->id; |
id | 2128 | drivers/scsi/scsi.c | SCpnt->target = SDpnt->id; |
id | 279 | drivers/scsi/scsi.h | unsigned char id, lun; |
id | 129 | drivers/scsi/scsi_ioctl.c | dev->id, |
id | 221 | drivers/scsi/scsi_ioctl.c | printk("scsi_ioctl : device %d. command = ", dev->id); |
id | 251 | drivers/scsi/scsi_ioctl.c | put_fs_long(dev->id + (dev->lun << 8) + |
id | 315 | drivers/scsi/sd.c | rscsi_disks[DEVICE_NR(SCpnt->request.dev)].device->id, |
id | 1114 | drivers/scsi/sd.c | SDp->host->host_no , SDp->id, SDp->lun); |
id | 263 | drivers/scsi/sr.c | scsi_CDs[DEVICE_NR(SCpnt->request.dev)].device->id, |
id | 802 | drivers/scsi/sr.c | SDp->host->host_no , SDp->id, SDp->lun); |
id | 74 | drivers/scsi/sr_ioctl.c | scsi_CDs[target].device->id, |
id | 1854 | drivers/scsi/st.c | SDp->host->host_no , SDp->id, SDp->lun); |
id | 229 | fs/isofs/inode.c | if (strncmp (hdp->id, HS_STANDARD_ID, sizeof hdp->id) == 0) { |
id | 242 | fs/isofs/inode.c | if (strncmp (vdp->id, ISO_STANDARD_ID, sizeof vdp->id) == 0) { |
id | 67 | include/linux/icmp.h | unsigned short id; |
id | 92 | 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 | 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 | 18 | ipc/sem.c | static void freeary (int id); |
id | 40 | ipc/sem.c | int id; |
id | 43 | ipc/sem.c | for (id = 0; id <= max_semid; id++) { |
id | 44 | ipc/sem.c | while ((sma = semary[id]) == IPC_NOID) |
id | 49 | ipc/sem.c | return id; |
id | 56 | ipc/sem.c | int id; |
id | 65 | ipc/sem.c | for (id = 0; id < SEMMNI; id++) |
id | 66 | ipc/sem.c | if (semary[id] == IPC_UNUSED) { |
id | 67 | ipc/sem.c | semary[id] = (struct semid_ds *) IPC_NOID; |
id | 76 | ipc/sem.c | semary[id] = (struct semid_ds *) IPC_UNUSED; |
id | 93 | ipc/sem.c | if (id > max_semid) |
id | 94 | ipc/sem.c | max_semid = id; |
id | 96 | ipc/sem.c | semary[id] = sma; |
id | 99 | ipc/sem.c | return (unsigned int) sma->sem_perm.seq * SEMMNI + id; |
id | 104 | ipc/sem.c | int id; |
id | 111 | ipc/sem.c | if ((id = findkey (key)) == -1) { /* key not used */ |
id | 118 | ipc/sem.c | sma = semary[id]; |
id | 123 | ipc/sem.c | return (unsigned int) sma->sem_perm.seq * SEMMNI + id; |
id | 126 | ipc/sem.c | static void freeary (int id) |
id | 128 | ipc/sem.c | struct semid_ds *sma = semary[id]; |
id | 134 | ipc/sem.c | if (id == max_semid) |
id | 136 | ipc/sem.c | semary[id] = (struct semid_ds *) IPC_UNUSED; |
id | 155 | ipc/sem.c | int i, id, val = 0; |
id | 205 | ipc/sem.c | id = (unsigned int) sma->sem_perm.seq * SEMMNI + semid; |
id | 211 | ipc/sem.c | return id; |
id | 214 | ipc/sem.c | id = (unsigned int) semid % SEMMNI; |
id | 215 | ipc/sem.c | sma = semary [id]; |
id | 263 | ipc/sem.c | freeary (id); |
id | 289 | ipc/sem.c | if (semary[id] == IPC_UNUSED || semary[id] == IPC_NOID) |
id | 356 | ipc/sem.c | int i, id; |
id | 372 | ipc/sem.c | id = (unsigned int) semid % SEMMNI; |
id | 373 | ipc/sem.c | if ((sma = semary[id]) == IPC_UNUSED || sma == IPC_NOID) |
id | 22 | ipc/shm.c | static void killseg (int id); |
id | 43 | ipc/shm.c | int id; |
id | 45 | ipc/shm.c | for (id = 0; id < SHMMNI; id++) |
id | 46 | ipc/shm.c | shm_segs[id] = (struct shmid_ds *) IPC_UNUSED; |
id | 54 | ipc/shm.c | int id; |
id | 57 | ipc/shm.c | for (id = 0; id <= max_shmid; id++) { |
id | 58 | ipc/shm.c | while ((shp = shm_segs[id]) == IPC_NOID) |
id | 63 | ipc/shm.c | return id; |
id | 75 | ipc/shm.c | int id, i; |
id | 81 | ipc/shm.c | for (id = 0; id < SHMMNI; id++) |
id | 82 | ipc/shm.c | if (shm_segs[id] == IPC_UNUSED) { |
id | 83 | ipc/shm.c | shm_segs[id] = (struct shmid_ds *) IPC_NOID; |
id | 91 | ipc/shm.c | shm_segs[id] = (struct shmid_ds *) IPC_UNUSED; |
id | 99 | ipc/shm.c | shm_segs[id] = (struct shmid_ds *) IPC_UNUSED; |
id | 121 | ipc/shm.c | if (id > max_shmid) |
id | 122 | ipc/shm.c | max_shmid = id; |
id | 123 | ipc/shm.c | shm_segs[id] = shp; |
id | 127 | ipc/shm.c | return (unsigned int) shp->shm_perm.seq * SHMMNI + id; |
id | 133 | ipc/shm.c | int id = 0; |
id | 139 | ipc/shm.c | if ((id = findkey (key)) == -1) { |
id | 146 | ipc/shm.c | shp = shm_segs[id]; |
id | 153 | ipc/shm.c | return (unsigned int) shp->shm_perm.seq * SHMMNI + id; |
id | 160 | ipc/shm.c | static void killseg (int id) |
id | 166 | ipc/shm.c | shp = shm_segs[id]; |
id | 168 | ipc/shm.c | printk ("shm nono: killseg called on unused seg id=%d\n", id); |
id | 173 | ipc/shm.c | shm_segs[id] = (struct shmid_ds *) IPC_UNUSED; |
id | 175 | ipc/shm.c | if (id == max_shmid) |
id | 178 | ipc/shm.c | printk ("shm nono: killseg shp->pages=NULL. id=%d\n", id); |
id | 204 | ipc/shm.c | int id, err; |
id | 264 | ipc/shm.c | id = (unsigned int) shp->shm_perm.seq * SHMMNI + shmid; |
id | 274 | ipc/shm.c | return id; |
id | 277 | ipc/shm.c | shp = shm_segs[id = (unsigned int) shmid % SHMMNI]; |
id | 336 | ipc/shm.c | killseg (id); |
id | 449 | ipc/shm.c | unsigned int id; |
id | 457 | ipc/shm.c | shp = shm_segs[id = (unsigned int) shmid % SHMMNI]; |
id | 494 | ipc/shm.c | if ((shp != shm_segs[id]) || (shp->shm_perm.seq != (unsigned int) shmid / SHMMNI)) { |
id | 499 | ipc/shm.c | shmd->vm_pte = (SHM_SWP_TYPE << 1) | (id << SHM_ID_SHIFT) | |
id | 516 | ipc/shm.c | killseg(id); |
id | 533 | ipc/shm.c | unsigned int id; |
id | 536 | ipc/shm.c | id = (shmd->vm_pte >> SHM_ID_SHIFT) & SHM_ID_MASK; |
id | 537 | ipc/shm.c | shp = shm_segs[id]; |
id | 539 | ipc/shm.c | printk("shm_open: unused id=%d PANIC\n", id); |
id | 559 | ipc/shm.c | int id; |
id | 564 | ipc/shm.c | id = (shmd->vm_pte >> SHM_ID_SHIFT) & SHM_ID_MASK; |
id | 565 | ipc/shm.c | shp = shm_segs[id]; |
id | 571 | ipc/shm.c | printk("shm_close: shm segment (id=%d) attach list inconsistent\n",id); |
id | 584 | ipc/shm.c | killseg (id); |
id | 611 | ipc/shm.c | unsigned int id, idx; |
id | 613 | ipc/shm.c | id = (code >> SHM_ID_SHIFT) & SHM_ID_MASK; |
id | 614 | ipc/shm.c | if (id > max_shmid) { |
id | 615 | ipc/shm.c | printk ("shm_no_page: id=%d too big. proc mem corrupted\n", id); |
id | 618 | ipc/shm.c | shp = shm_segs[id]; |
id | 620 | ipc/shm.c | printk ("shm_no_page: id=%d invalid. Race.\n", id); |
id | 625 | ipc/shm.c | printk ("shm_no_page : too large page index. id=%d\n", id); |
id | 673 | ipc/shm.c | unsigned long id, idx, invalid = 0; |
id | 688 | ipc/shm.c | id = swap_id; |
id | 712 | ipc/shm.c | if ((shmd->vm_pte >> SHM_ID_SHIFT & SHM_ID_MASK) != id) { |
id | 713 | ipc/shm.c | printk ("shm_swap: id=%ld does not match shmd->vm_pte.id=%ld\n", id, shmd->vm_pte >> SHM_ID_SHIFT & SHM_ID_MASK); |
id | 722 | ipc/shm.c | id, shmd->vm_start, idx); |
id | 603 | net/inet/icmp.c | icmphr->un.echo.id = icmph->un.echo.id; |
id | 648 | net/inet/ip.c | if (iph->id== qp->iph->id && iph->saddr == qp->iph->saddr && |
id | 1851 | net/inet/ip.c | iph->id = htons(ip_id_count++); |
id | 402 | net/inet/tcp.c | iph->id = htons(ip_id_count++); |