tag | line | file | source code |
id | 278 | drivers/block/hd.c | struct hd_driveid *id = hd_ident_info[dev]; |
id | 285 | drivers/block/hd.c | if (id != NULL) { |
id | 287 | drivers/block/hd.c | kfree_s (id, 512); |
id | 290 | drivers/block/hd.c | insw(HD_DATA, id, 256); /* get ID info */ |
id | 291 | drivers/block/hd.c | max_mult[dev] = id->max_multsect; |
id | 292 | drivers/block/hd.c | if ((id->field_valid&1) && id->cur_cyls && id->cur_heads && (id->cur_heads <= 16) && id->cur_sectors) { |
id | 300 | drivers/block/hd.c | hd_info[dev].cyl = id->cur_cyls; |
id | 301 | drivers/block/hd.c | hd_info[dev].head = id->cur_heads; |
id | 302 | drivers/block/hd.c | hd_info[dev].sect = id->cur_sectors; |
id | 304 | drivers/block/hd.c | fixstring (id->serial_no, sizeof(id->serial_no)); |
id | 305 | drivers/block/hd.c | fixstring (id->fw_rev, sizeof(id->fw_rev)); |
id | 306 | drivers/block/hd.c | fixstring (id->model, sizeof(id->model)); |
id | 308 | drivers/block/hd.c | dev+'a', id->model, id->cyls*id->heads*id->sectors/2048, |
id | 309 | drivers/block/hd.c | id->buf_size/2, hd_info[dev].cyl, hd_info[dev].head, |
id | 310 | drivers/block/hd.c | hd_info[dev].sect, id->max_multsect); |
id | 316 | drivers/block/hd.c | if (!strncmp(id->model, "QUANTUM", 7)) |
id | 418 | drivers/net/slhc.c | deltaS = ntohs(ip->id) - ntohs(cs->cs_ip.id); |
id | 581 | drivers/net/slhc.c | ip->id = htons (ntohs (ip->id) + x); |
id | 583 | drivers/net/slhc.c | ip->id = htons (ntohs (ip->id) + 1); |
id | 288 | drivers/scsi/aha152x.h | unsigned id:3; /* SCSI-id */ |
id | 299 | drivers/scsi/aha152x.h | #define cf_id fields.id |
id | 545 | drivers/scsi/buslogic.c | ccb[mbo].id, ccb[mbo].lun, mbo); |
id | 751 | drivers/scsi/buslogic.c | ccb[mbo].id = target; |
id | 853 | drivers/scsi/buslogic.c | unsigned char *dma, unsigned char *id, |
id | 894 | drivers/scsi/buslogic.c | *id = inquiry_result[2] & 0x7; |
id | 1001 | drivers/scsi/buslogic.c | unsigned char id; |
id | 1048 | drivers/scsi/buslogic.c | if (getconfig(base, &irq, &dma, &id, &bus_type, &max_sg)) |
id | 1065 | drivers/scsi/buslogic.c | printk(", ID %u\n", id); |
id | 1100 | drivers/scsi/buslogic.c | shpnt->this_id = id; |
id | 157 | drivers/scsi/buslogic.h | unsigned char id; |
id | 251 | drivers/scsi/scsi.c | SDpnt->id = dev; |
id | 574 | drivers/scsi/scsi.c | if(SCpnt->target == device->id && |
id | 660 | drivers/scsi/scsi.c | if(SCpnt->target == device->id && |
id | 679 | drivers/scsi/scsi.c | device->id ,device->lun); |
id | 1777 | drivers/scsi/scsi.c | SCpnt->target = SDpnt->id; |
id | 270 | drivers/scsi/scsi.h | unsigned char id, lun; |
id | 124 | drivers/scsi/scsi_ioctl.c | dev->id, |
id | 215 | drivers/scsi/scsi_ioctl.c | printk("scsi_ioctl : device %d. command = ", dev->id); |
id | 245 | drivers/scsi/scsi_ioctl.c | put_fs_long(dev->id + (dev->lun << 8) + |
id | 314 | drivers/scsi/sd.c | rscsi_disks[DEVICE_NR(SCpnt->request.dev)].device->id, |
id | 1068 | drivers/scsi/sd.c | SDp->host->host_no , SDp->id, SDp->lun); |
id | 262 | drivers/scsi/sr.c | scsi_CDs[DEVICE_NR(SCpnt->request.dev)].device->id, |
id | 658 | 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 | 1716 | drivers/scsi/st.c | SDp->host->host_no , SDp->id, SDp->lun); |
id | 192 | fs/isofs/inode.c | if (strncmp (hdp->id, HS_STANDARD_ID, sizeof hdp->id) == 0) { |
id | 205 | 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 | 88 | include/linux/ip.h | unsigned short 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 = 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 = 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 (int) msg_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 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 | 366 | ipc/msg.c | id = msqid + msq->msg_perm.seq * MSGMNI; |
id | 368 | ipc/msg.c | return id; |
id | 383 | ipc/msg.c | id = msqid % MSGMNI; |
id | 384 | ipc/msg.c | msq = msgque [id]; |
id | 403 | 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 (int) sem_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 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 | 153 | ipc/sem.c | int i, id, val = 0; |
id | 205 | ipc/sem.c | id = semid + sma->sem_perm.seq * SEMMNI; |
id | 207 | ipc/sem.c | return id; |
id | 210 | ipc/sem.c | id = semid % SEMMNI; |
id | 211 | ipc/sem.c | sma = semary [id]; |
id | 252 | ipc/sem.c | freeary (id); |
id | 281 | ipc/sem.c | if (semary[id] == IPC_UNUSED || semary[id] == IPC_NOID) |
id | 344 | ipc/sem.c | int i, id; |
id | 358 | ipc/sem.c | id = semid % SEMMNI; |
id | 359 | ipc/sem.c | if ((sma = semary[id]) == IPC_UNUSED || sma == IPC_NOID) |
id | 21 | ipc/shm.c | static void killseg (int id); |
id | 40 | ipc/shm.c | int id; |
id | 42 | ipc/shm.c | for (id = 0; id < SHMMNI; id++) |
id | 43 | ipc/shm.c | shm_segs[id] = (struct shmid_ds *) IPC_UNUSED; |
id | 51 | ipc/shm.c | int id; |
id | 54 | ipc/shm.c | for (id=0; id <= max_shmid; id++) { |
id | 55 | ipc/shm.c | while ((shp = shm_segs[id]) == IPC_NOID) |
id | 60 | ipc/shm.c | return id; |
id | 72 | ipc/shm.c | int id, i; |
id | 78 | ipc/shm.c | for (id=0; id < SHMMNI; id++) |
id | 79 | ipc/shm.c | if (shm_segs[id] == IPC_UNUSED) { |
id | 80 | ipc/shm.c | shm_segs[id] = (struct shmid_ds *) IPC_NOID; |
id | 88 | ipc/shm.c | shm_segs[id] = (struct shmid_ds *) IPC_UNUSED; |
id | 96 | ipc/shm.c | shm_segs[id] = (struct shmid_ds *) IPC_UNUSED; |
id | 118 | ipc/shm.c | if (id > max_shmid) |
id | 119 | ipc/shm.c | max_shmid = id; |
id | 120 | ipc/shm.c | shm_segs[id] = shp; |
id | 124 | ipc/shm.c | return id + (int)shm_seq*SHMMNI; |
id | 130 | ipc/shm.c | int id = 0; |
id | 136 | ipc/shm.c | if ((id = findkey (key)) == -1) { |
id | 143 | ipc/shm.c | shp = shm_segs[id]; |
id | 150 | ipc/shm.c | return shp->shm_perm.seq*SHMMNI + id; |
id | 157 | ipc/shm.c | static void killseg (int id) |
id | 163 | ipc/shm.c | shp = shm_segs[id]; |
id | 165 | ipc/shm.c | printk ("shm nono: killseg called on unused seg id=%d\n", id); |
id | 171 | ipc/shm.c | shm_segs[id] = (struct shmid_ds *) IPC_UNUSED; |
id | 173 | ipc/shm.c | if (id == max_shmid) |
id | 176 | ipc/shm.c | printk ("shm nono: killseg shp->pages=NULL. id=%d\n", id); |
id | 200 | ipc/shm.c | int id, err; |
id | 260 | ipc/shm.c | id = shmid + shp->shm_perm.seq * SHMMNI; |
id | 262 | ipc/shm.c | return id; |
id | 265 | ipc/shm.c | shp = shm_segs[id = shmid % SHMMNI]; |
id | 316 | ipc/shm.c | killseg (id); |
id | 433 | ipc/shm.c | unsigned int id; |
id | 445 | ipc/shm.c | shp = shm_segs[id = shmid % SHMMNI]; |
id | 486 | ipc/shm.c | if ((shp != shm_segs[id]) || (shp->shm_perm.seq != shmid / SHMMNI)) { |
id | 490 | ipc/shm.c | shmd->shm_sgn = (SHM_SWP_TYPE << 1) | (id << SHM_ID_SHIFT) | |
id | 505 | ipc/shm.c | killseg(id); |
id | 531 | ipc/shm.c | int id; |
id | 533 | ipc/shm.c | id = (shmd->shm_sgn >> SHM_ID_SHIFT) & SHM_ID_MASK; |
id | 534 | ipc/shm.c | shp = shm_segs[id]; |
id | 541 | ipc/shm.c | printk("detach: shm segment (id=%d) attach list inconsistent\n",id); |
id | 549 | ipc/shm.c | killseg (id); /* sleeps */ |
id | 589 | ipc/shm.c | int id; |
id | 613 | ipc/shm.c | id = (shmd->shm_sgn >> SHM_ID_SHIFT) & SHM_ID_MASK; |
id | 614 | ipc/shm.c | shp = shm_segs[id]; |
id | 616 | ipc/shm.c | printk("shm_fork: unused id=%d PANIC\n", id); |
id | 635 | ipc/shm.c | unsigned int id, idx; |
id | 637 | ipc/shm.c | id = (code >> SHM_ID_SHIFT) & SHM_ID_MASK; |
id | 638 | ipc/shm.c | if (id > max_shmid) { |
id | 639 | ipc/shm.c | printk ("shm_no_page: id=%d too big. proc mem corrupted\n", id); |
id | 642 | ipc/shm.c | shp = shm_segs[id]; |
id | 644 | ipc/shm.c | printk ("shm_no_page: id=%d invalid. Race.\n", id); |
id | 649 | ipc/shm.c | printk ("shm_no_page : too large page index. id=%d\n", id); |
id | 697 | ipc/shm.c | unsigned long id, idx, invalid = 0; |
id | 712 | ipc/shm.c | id = swap_id; |
id | 736 | ipc/shm.c | if ((shmd->shm_sgn >> SHM_ID_SHIFT & SHM_ID_MASK) != id) { |
id | 737 | ipc/shm.c | printk ("shm_swap: id=%ld does not match shmd\n", id); |
id | 742 | ipc/shm.c | printk ("shm_swap: too large idx=%ld id=%ld PANIC\n",idx, id); |
id | 748 | ipc/shm.c | id, shmd->start, idx); |
id | 572 | net/inet/icmp.c | icmphr->un.echo.id = icmph->un.echo.id; |
id | 607 | net/inet/ip.c | if (iph->id== qp->iph->id && iph->saddr == qp->iph->saddr && |
id | 1677 | net/inet/ip.c | iph->id = htons(ip_id_count++); |
id | 1837 | net/inet/ip.c | iph->id = htons(ip_id_count++); |
id | 89 | tools/build.c | int i,c,id, sz; |
id | 124 | tools/build.c | if ((id=open(argv[1],O_RDONLY,0))<0) |
id | 126 | tools/build.c | if (read(id,buf,MINIX_HEADER) != MINIX_HEADER) |
id | 140 | tools/build.c | i=read(id,buf,sizeof buf); |
id | 151 | tools/build.c | close (id); |
id | 153 | tools/build.c | if ((id=open(argv[2],O_RDONLY,0))<0) |
id | 155 | tools/build.c | if (read(id,buf,MINIX_HEADER) != MINIX_HEADER) |
id | 169 | tools/build.c | for (i=0 ; (c=read(id,buf,sizeof buf))>0 ; i+=c ) |
id | 174 | tools/build.c | close (id); |
id | 191 | tools/build.c | if ((id=open(argv[3],O_RDONLY,0))<0) |
id | 193 | tools/build.c | if (read(id,buf,GCC_HEADER) != GCC_HEADER) |
id | 197 | tools/build.c | lseek(id, GCC_HEADER, SEEK_SET); |
id | 215 | tools/build.c | if ((n=read(id, buf, l)) != l) { |
id | 226 | tools/build.c | close(id); |
id | 40 | zBoot/xtract.c | int i,c,id, sz; |
id | 50 | zBoot/xtract.c | if ((id=open(argv[1],O_RDONLY,0))<0) |
id | 52 | zBoot/xtract.c | if (read(id,buf,GCC_HEADER) != GCC_HEADER) |
id | 56 | zBoot/xtract.c | lseek(id, GCC_HEADER, SEEK_SET); |
id | 71 | zBoot/xtract.c | if ((n=read(id, buf, l)) !=l) |
id | 85 | zBoot/xtract.c | close(id); |