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 | 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 | 2572 | drivers/block/ide-cd.c | ((drive->id->config & 0x0060) == 0x20); |
id | 2575 | drivers/block/ide-cd.c | if (strcmp (drive->id->model, "CD220E") == 0) /* Creative Labs */ |
id | 2578 | drivers/block/ide-cd.c | else if (strcmp (drive->id->model, "TO-ICSLYAL") == 0 || /* Acer CD525E */ |
id | 2579 | drivers/block/ide-cd.c | strcmp (drive->id->model, "OTI-SCYLLA") == 0) |
id | 2582 | drivers/block/ide-cd.c | else if (strcmp (drive->id->model, "CDA26803I SE") == 0) /* Aztech */ |
id | 404 | drivers/block/ide.c | static int lba_capacity_is_ok (struct hd_driveid *id) |
id | 406 | drivers/block/ide.c | unsigned long lba_sects = id->lba_capacity; |
id | 407 | drivers/block/ide.c | unsigned long chs_sects = id->cyls * id->heads * id->sectors; |
id | 417 | drivers/block/ide.c | id->lba_capacity = lba_sects; /* fix it */ |
id | 429 | drivers/block/ide.c | struct hd_driveid *id = drive->id; |
id | 437 | drivers/block/ide.c | if (id != NULL && (id->capability & 2) && lba_capacity_is_ok(id)) { |
id | 439 | 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 | 1817 | drivers/block/ide.c | if (drive->id == NULL) |
id | 1819 | drivers/block/ide.c | err = verify_area(VERIFY_WRITE, (char *)arg, sizeof(*drive->id)); |
id | 1821 | drivers/block/ide.c | memcpy_tofs((char *)arg, (char *)drive->id, sizeof(*drive->id)); |
id | 1830 | drivers/block/ide.c | if (!drive->id || !(drive->id->capability & 1) || !HWIF(drive)->dmaproc) |
id | 1879 | drivers/block/ide.c | if ((drive->id != NULL) && (arg > drive->id->max_multsect)) |
id | 1968 | drivers/block/ide.c | struct hd_driveid *id; |
id | 1971 | drivers/block/ide.c | id = drive->id = ide_alloc (SECTOR_WORDS*4, 0); |
id | 1972 | drivers/block/ide.c | ide_input_data(drive, id, SECTOR_WORDS); /* read 512 bytes of id info */ |
id | 1978 | drivers/block/ide.c | if ((id->model[0] == 'P' && id->model[1] == 'M') |
id | 1979 | drivers/block/ide.c | || (id->model[0] == 'S' && id->model[1] == 'K')) { |
id | 1980 | drivers/block/ide.c | printk("%s: EATA SCSI HBA %.10s\n", drive->name, id->model); |
id | 1991 | drivers/block/ide.c | if ((id->model[0] == 'N' && id->model[1] == 'E') /* NEC */ |
id | 1992 | drivers/block/ide.c | || (id->model[0] == 'F' && id->model[1] == 'X') /* Mitsumi */ |
id | 1993 | drivers/block/ide.c | || (id->model[0] == 'P' && id->model[1] == 'i'))/* Pioneer */ |
id | 1996 | drivers/block/ide.c | fixstring (id->model, sizeof(id->model), bswap); |
id | 1997 | drivers/block/ide.c | fixstring (id->fw_rev, sizeof(id->fw_rev), bswap); |
id | 1998 | drivers/block/ide.c | fixstring (id->serial_no, sizeof(id->serial_no), bswap); |
id | 2005 | drivers/block/ide.c | byte type = (id->config >> 8) & 0x0f; |
id | 2007 | drivers/block/ide.c | printk("%s: %s, ATAPI, ", drive->name, id->model); |
id | 2023 | drivers/block/ide.c | if (id->config & (1<<7)) { /* removeable disk ? */ |
id | 2024 | drivers/block/ide.c | if (id->model[0] != 'W' || id->model[1] != 'D') |
id | 2032 | drivers/block/ide.c | drive->cyl = drive->bios_cyl = id->cyls; |
id | 2033 | drivers/block/ide.c | drive->head = drive->bios_head = id->heads; |
id | 2034 | drivers/block/ide.c | drive->sect = drive->bios_sect = id->sectors; |
id | 2037 | drivers/block/ide.c | if ((id->field_valid & 1) && id->cur_cyls && id->cur_heads |
id | 2038 | drivers/block/ide.c | && (id->cur_heads <= 16) && id->cur_sectors) |
id | 2050 | drivers/block/ide.c | drive->cyl = id->cur_cyls; |
id | 2051 | drivers/block/ide.c | drive->head = id->cur_heads; |
id | 2052 | drivers/block/ide.c | drive->sect = id->cur_sectors; |
id | 2056 | drivers/block/ide.c | check = (id->cur_capacity0 << 16) | id->cur_capacity1; |
id | 2059 | drivers/block/ide.c | id->cur_capacity0 = (capacity >> 0) & 0xffff; |
id | 2060 | drivers/block/ide.c | id->cur_capacity1 = (capacity >> 16) & 0xffff; |
id | 2064 | drivers/block/ide.c | if ((!drive->head || drive->head > 16) && id->heads && id->heads <= 16) { |
id | 2065 | drivers/block/ide.c | drive->cyl = id->cyls; |
id | 2066 | drivers/block/ide.c | drive->head = id->heads; |
id | 2067 | drivers/block/ide.c | drive->sect = id->sectors; |
id | 2078 | drivers/block/ide.c | drive->name, id->model, current_capacity(drive)/2048L, id->buf_size/2, |
id | 2083 | drivers/block/ide.c | if (id->max_multsect) { |
id | 2085 | drivers/block/ide.c | if (drive->mult_req > id->max_multsect) |
id | 2086 | drivers/block/ide.c | drive->mult_req = id->max_multsect; |
id | 2087 | drivers/block/ide.c | if (drive->mult_req || ((id->multsect_valid & 1) && id->multsect)) |
id | 2242 | drivers/block/ide.c | if (drive->id == NULL) { /* identification failed? */ |
id | 2652 | drivers/block/ide.c | if ((drive = get_info_ptr(i_rdev)) == NULL || drive->id == NULL) |
id | 2655 | drivers/block/ide.c | drive->cyl = drive->bios_cyl = drive->id->cyls; |
id | 2656 | drivers/block/ide.c | drive->head = drive->bios_head = drive->id->heads; |
id | 2657 | drivers/block/ide.c | drive->sect = drive->bios_sect = drive->id->sectors; |
id | 278 | drivers/block/ide.h | struct hd_driveid *id; /* drive model identification info */ |
id | 201 | drivers/block/triton.c | struct hd_driveid *id = drive->id; |
id | 202 | drivers/block/triton.c | if (id && (id->capability & 1)) { |
id | 204 | drivers/block/triton.c | if ((id->field_valid & 2) && (id->dma_mword & 0x404) == 0x404) { |
id | 211 | drivers/block/triton.c | if (!strcmp(*list++,id->model)) { |
id | 311 | drivers/net/eepro.c | unsigned short station_addr[6], id, counter; |
id | 321 | drivers/net/eepro.c | if (((id=inb(ioaddr + ID_REG)) & ID_REG_MASK) == ID_REG_SIG) { |
id | 327 | drivers/net/eepro.c | counter = (id & R_ROBIN_BITS); |
id | 328 | drivers/net/eepro.c | if (((id=inb(ioaddr+ID_REG)) & R_ROBIN_BITS) == |
id | 362 | drivers/net/eepro.c | id = inb(ioaddr + REG3); |
id | 363 | drivers/net/eepro.c | if (id & TPE_BIT) |
id | 138 | drivers/net/hp100.c | u_int id; |
id | 144 | drivers/net/hp100.c | struct hp100_eisa_id *id; |
id | 356 | drivers/net/hp100.c | if ( ( hp100_eisa_ids[ i ].id & 0xf0ffffff ) == ( eisa_id & 0xf0ffffff ) ) |
id | 364 | drivers/net/hp100.c | if ( ( eid -> id & 0x0f000000 ) < ( eisa_id & 0x0f000000 ) ) |
id | 415 | drivers/net/hp100.c | lp -> id = eid; |
id | 452 | drivers/net/hp100.c | dev -> name, lp -> id -> name, ioaddr, dev -> irq ); |
id | 497 | drivers/net/hp100.c | if ( request_irq( dev -> irq, hp100_interrupt, SA_INTERRUPT, lp -> id -> name ) ) |
id | 1030 | drivers/net/hp100.c | if ( lp -> id -> id == 0x02019F022 ) /* HP J27248B doesn't have 100Mb/s interface */ |
id | 433 | drivers/net/slhc.c | deltaS = ntohs(ip->id) - ntohs(cs->cs_ip.id); |
id | 596 | drivers/net/slhc.c | ip->id = htons (ntohs (ip->id) + x); |
id | 598 | drivers/net/slhc.c | ip->id = htons (ntohs (ip->id) + 1); |
id | 292 | drivers/scsi/aha152x.h | unsigned id:3; /* SCSI-id */ |
id | 303 | 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.0 1995/08/02 05:28:42 deang Exp $"; |
id | 596 | drivers/scsi/aic7xxx_asm.c | printf("%s\n", id); |
id | 729 | drivers/scsi/buslogic.c | ccb->id = target; |
id | 831 | drivers/scsi/buslogic.c | unsigned char *dma, unsigned char *id, |
id | 878 | drivers/scsi/buslogic.c | *id = inquiry_result[2] & 0x7; |
id | 940 | drivers/scsi/buslogic.c | unsigned char *id, char *bus_type, |
id | 1008 | drivers/scsi/buslogic.c | if (getconfig(base, irq, dma, id, bus_type, max_sg, bios)) |
id | 1107 | drivers/scsi/buslogic.c | unsigned char id; |
id | 1133 | drivers/scsi/buslogic.c | if (buslogic_query(base, &bios_translation, &irq, &dma, &id, |
id | 1210 | drivers/scsi/buslogic.c | printk(", ID %u\n", id); |
id | 1253 | drivers/scsi/buslogic.c | shpnt->this_id = id; |
id | 170 | drivers/scsi/buslogic.h | unsigned char id; |
id | 282 | drivers/scsi/eata_dma.c | || cmd->scsi_done == NULL || cmd->device->id == 7) |
id | 286 | drivers/scsi/eata_dma.c | x, cmd->device->channel, cmd->device->id, cmd->device->lun, |
id | 318 | drivers/scsi/eata_dma.c | inline int eata_send_immediate(u32 addr, u32 base, u8 cmnd, u8 cmnd2, u8 id, |
id | 327 | drivers/scsi/eata_dma.c | outb(id, base + HA_WSUBCODE); |
id | 663 | drivers/scsi/eata_dma.c | char * get_board_data(u32 base, u32 irq, u32 id) |
id | 692 | drivers/scsi/eata_dma.c | cp->cp_id = id; |
id | 158 | drivers/scsi/eata_dma_proc.c | SDev.id = HBA_ptr->this_id; |
id | 3 | drivers/scsi/eata_dma_proc.h | __u8 id:5, |
id | 352 | drivers/scsi/eata_generic.h | __u8 id; /* drive id */ |
id | 530 | drivers/scsi/eata_pio.c | char * get_pio_board_data(ulong base, uint irq, uint id, ulong cplen, ushort cppadlen) |
id | 545 | drivers/scsi/eata_pio.c | cp.cp_id = id; |
id | 422 | drivers/scsi/scsi.c | SDpnt->id = dev; |
id | 442 | drivers/scsi/scsi.c | SCpnt->target = SDpnt->id; |
id | 856 | drivers/scsi/scsi.c | if(SCpnt->target == device->id && |
id | 864 | drivers/scsi/scsi.c | if(SCpnt->target == device->id) { |
id | 939 | drivers/scsi/scsi.c | SCpnt->target = device->id; |
id | 983 | drivers/scsi/scsi.c | if(SCpnt->target == device->id && |
id | 992 | drivers/scsi/scsi.c | if(SCpnt->target == device->id) { |
id | 1030 | drivers/scsi/scsi.c | "lun %d\n", device->channel, device->id, device->lun); |
id | 1092 | drivers/scsi/scsi.c | SCpnt->target = device->id; |
id | 2317 | drivers/scsi/scsi.c | SCpnt->target = SDpnt->id; |
id | 2572 | drivers/scsi/scsi.c | && scd->id != parameter[2] |
id | 154 | drivers/scsi/scsi.h | unsigned char id, lun, channel; |
id | 149 | drivers/scsi/scsi_ioctl.c | dev->id, |
id | 291 | drivers/scsi/scsi_ioctl.c | printk("scsi_ioctl : device %d. command = ", dev->id); |
id | 324 | drivers/scsi/scsi_ioctl.c | put_user(dev->id |
id | 354 | drivers/scsi/scsi_proc.c | scd->channel, scd->id, scd->lun); |
id | 376 | drivers/scsi/sd.c | rscsi_disks[DEVICE_NR(SCpnt->request.dev)].device->id, |
id | 1249 | drivers/scsi/sd.c | SDp->host->host_no, SDp->channel, SDp->id, SDp->lun); |
id | 285 | drivers/scsi/sr.c | scsi_CDs[DEVICE_NR(SCpnt->request.dev)].device->id, |
id | 930 | drivers/scsi/sr.c | SDp->host->host_no, SDp->channel, SDp->id, SDp->lun); |
id | 80 | drivers/scsi/sr_ioctl.c | scsi_CDs[target].device->id, |
id | 2075 | drivers/scsi/st.c | SDp->host->host_no, SDp->channel, SDp->id, SDp->lun); |
id | 85 | drivers/sound/pss.c | unsigned short id; |
id | 103 | drivers/sound/pss.c | id = INW (REG (PSS_ID)); |
id | 104 | drivers/sound/pss.c | if ((id >> 8) != 'E') |
id | 106 | drivers/sound/pss.c | printk ("No PSS signature detected at 0x%x (0x%x)\n", devc->base, id); |
id | 315 | drivers/sound/pss.c | unsigned short id; |
id | 324 | drivers/sound/pss.c | id = INW (REG (PSS_ID)) & 0x00ff; |
id | 348 | drivers/sound/pss.c | printk (" <ECHO-PSS Rev. %d>", id); |
id | 133 | fs/binfmt_elf.c | #define NEW_AUX_ENT(id, val) \ |
id | 134 | fs/binfmt_elf.c | put_user ((id), dlinfo++); \ |
id | 263 | fs/isofs/inode.c | if (strncmp (hdp->id, HS_STANDARD_ID, sizeof hdp->id) == 0) { |
id | 276 | fs/isofs/inode.c | if (strncmp (vdp->id, ISO_STANDARD_ID, sizeof vdp->id) == 0) { |
id | 120 | include/asm-alpha/hwrpb.h | unsigned long id; /* check: "HWRPB\0\0\0" */ |
id | 194 | 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 | 86 | 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 | 207 | 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 | 459 | ipc/shm.c | unsigned int id; |
id | 467 | ipc/shm.c | shp = shm_segs[id = (unsigned int) shmid % SHMMNI]; |
id | 509 | ipc/shm.c | if ((shp != shm_segs[id]) || (shp->shm_perm.seq != (unsigned int) shmid / SHMMNI)) { |
id | 514 | ipc/shm.c | shmd->vm_pte = SWP_ENTRY(SHM_SWP_TYPE, id); |
id | 530 | ipc/shm.c | killseg(id); |
id | 547 | ipc/shm.c | unsigned int id; |
id | 550 | ipc/shm.c | id = SWP_OFFSET(shmd->vm_pte) & SHM_ID_MASK; |
id | 551 | ipc/shm.c | shp = shm_segs[id]; |
id | 553 | ipc/shm.c | printk("shm_open: unused id=%d PANIC\n", id); |
id | 571 | 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 | 733 | ipc/shm.c | if ((SWP_OFFSET(shmd->vm_pte) & SHM_ID_MASK) != id) { |
id | 735 | ipc/shm.c | id, SWP_OFFSET(shmd->vm_pte) & SHM_ID_MASK); |
id | 744 | ipc/shm.c | id, shmd->vm_start, idx); |
id | 751 | ipc/shm.c | id, shmd->vm_start, idx); |
id | 573 | net/ipv4/icmp.c | icmp_param.icmph.un.echo.id = icmph->un.echo.id; |
id | 423 | net/ipv4/ip.c | if (iph->id== qp->iph->id && iph->saddr == qp->iph->saddr && |
id | 1850 | net/ipv4/ip.c | iph->id = htons(ip_id_count++); |
id | 2455 | net/ipv4/ip.c | unsigned short id; |
id | 2586 | net/ipv4/ip.c | iph->id=htons(ip_id_count++); |
id | 2673 | net/ipv4/ip.c | id = htons(ip_id_count++); |
id | 2750 | net/ipv4/ip.c | iph->id = id; |
id | 173 | net/ipv4/raw.c | iph->id = htons(ip_id_count++); |
id | 673 | net/ipv4/tcp.c | iph->id = htons(ip_id_count++); |
id | 179 | net/netrom/af_netrom.c | static struct sock *nr_find_socket(unsigned char index, unsigned char id, int type) |
id | 188 | net/netrom/af_netrom.c | if (s->nr->my_index == index && s->nr->my_id == id && s->type == type) { |
id | 202 | net/netrom/af_netrom.c | static struct sock *nr_find_peer(unsigned char index, unsigned char id, int type) |
id | 211 | net/netrom/af_netrom.c | if (s->nr->your_index == index && s->nr->your_id == id && s->type == type) { |