tag | line | file | source code |
id | 292 | drivers/block/hd.c | struct hd_driveid *id = hd_ident_info[dev]; |
id | 300 | drivers/block/hd.c | if (id != NULL) { |
id | 302 | drivers/block/hd.c | kfree_s (id, 512); |
id | 305 | drivers/block/hd.c | insw(HD_DATA, id, 256); /* get ID info */ |
id | 306 | drivers/block/hd.c | max_mult[dev] = id->max_multsect; |
id | 307 | drivers/block/hd.c | if ((id->field_valid&1) && id->cur_cyls && id->cur_heads && (id->cur_heads <= 16) && id->cur_sectors) { |
id | 315 | drivers/block/hd.c | hd_info[dev].cyl = id->cur_cyls; |
id | 316 | drivers/block/hd.c | hd_info[dev].head = id->cur_heads; |
id | 317 | drivers/block/hd.c | hd_info[dev].sect = id->cur_sectors; |
id | 319 | drivers/block/hd.c | fixstring (id->serial_no, sizeof(id->serial_no)); |
id | 320 | drivers/block/hd.c | fixstring (id->fw_rev, sizeof(id->fw_rev)); |
id | 321 | drivers/block/hd.c | fixstring (id->model, sizeof(id->model)); |
id | 323 | drivers/block/hd.c | dev+'a', id->model, id->cyls*id->heads*id->sectors/2048, |
id | 324 | drivers/block/hd.c | id->buf_size/2, bios_info[dev].cyl, bios_info[dev].head, |
id | 325 | drivers/block/hd.c | bios_info[dev].sect, id->max_multsect); |
id | 331 | 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 | 289 | drivers/scsi/aha152x.h | unsigned id:3; /* SCSI-id */ |
id | 300 | drivers/scsi/aha152x.h | #define cf_id fields.id |
id | 524 | drivers/scsi/buslogic.c | ccb[mbo].id, ccb[mbo].lun, mbo); |
id | 721 | drivers/scsi/buslogic.c | ccb[mbo].id = target; |
id | 814 | drivers/scsi/buslogic.c | unsigned char *dma, unsigned char *id, |
id | 861 | drivers/scsi/buslogic.c | *id = inquiry_result[2] & 0x7; |
id | 923 | drivers/scsi/buslogic.c | unsigned char *id, char *bus_type, |
id | 991 | drivers/scsi/buslogic.c | if (getconfig(base, irq, dma, id, bus_type, max_sg, bios)) |
id | 1088 | drivers/scsi/buslogic.c | unsigned char id; |
id | 1112 | drivers/scsi/buslogic.c | if (buslogic_query(base, &bios_translation, &irq, &dma, &id, |
id | 1158 | drivers/scsi/buslogic.c | printk(", ID %u\n", id); |
id | 1200 | drivers/scsi/buslogic.c | shpnt->this_id = id; |
id | 174 | drivers/scsi/buslogic.h | unsigned char id; |
id | 253 | drivers/scsi/scsi.c | SDpnt->id = dev; |
id | 583 | drivers/scsi/scsi.c | if(SCpnt->target == device->id && |
id | 670 | drivers/scsi/scsi.c | if(SCpnt->target == device->id && |
id | 689 | drivers/scsi/scsi.c | device->id ,device->lun); |
id | 1818 | drivers/scsi/scsi.c | SCpnt->target = SDpnt->id; |
id | 277 | 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 | 314 | drivers/scsi/sd.c | rscsi_disks[DEVICE_NR(SCpnt->request.dev)].device->id, |
id | 1089 | 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 | 788 | 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 | 1824 | drivers/scsi/st.c | SDp->host->host_no , SDp->id, SDp->lun); |
id | 200 | fs/isofs/inode.c | if (strncmp (hdp->id, HS_STANDARD_ID, sizeof hdp->id) == 0) { |
id | 213 | 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 | 90 | 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 | 254 | ipc/sem.c | freeary (id); |
id | 280 | ipc/sem.c | if (semary[id] == IPC_UNUSED || semary[id] == IPC_NOID) |
id | 347 | ipc/sem.c | int i, id; |
id | 363 | ipc/sem.c | id = (unsigned int) semid % SEMMNI; |
id | 364 | 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 | 602 | net/inet/icmp.c | icmphr->un.echo.id = icmph->un.echo.id; |
id | 624 | net/inet/ip.c | if (iph->id== qp->iph->id && iph->saddr == qp->iph->saddr && |
id | 1768 | net/inet/ip.c | iph->id = htons(ip_id_count++); |
id | 1929 | 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); |