taglinefilesource code
i27arch/alpha/boot/main.cint i;
i31arch/alpha/boot/main.ci = vsprintf(buf, fmt, args);
i33arch/alpha/boot/main.cputs(buf,i);
i34arch/alpha/boot/main.creturn i;
i78arch/alpha/boot/main.cunsigned long i, rev, sum;
i105arch/alpha/boot/main.ci = switch_to_osf_pal(
i111arch/alpha/boot/main.cif (i) {
i112arch/alpha/boot/main.cprintk("failed, code %ld\n", i);
i180arch/alpha/boot/main.clong i;
i196arch/alpha/boot/main.ci = load(dev, START_ADDR, START_SIZE);
i198arch/alpha/boot/main.cif (i != START_SIZE) {
i199arch/alpha/boot/main.cprintk("Failed (%lx)\n", i);
i204arch/alpha/boot/main.cfor (i = 0 ; i < 0x100000000 ; i++)
i42arch/alpha/boot/tools/build.cint fd, i;
i82arch/alpha/boot/tools/build.cfor (i = 0 ; i < 63 ; i++)
i83arch/alpha/boot/tools/build.ctmp += bootblock[i];
i104arch/alpha/boot/tools/build.cfor (i = 0 ; i < fhdr.f_nscns ; i++) {
i105arch/alpha/boot/tools/build.cif (read(fd, i+shdr, sizeof(struct scnhdr)) != sizeof(struct scnhdr))
i107arch/alpha/boot/tools/build.cif (shdr[i].s_paddr != shdr[i].s_vaddr)
i109arch/alpha/boot/tools/build.cif (shdr[i].s_relptr)
i113arch/alpha/boot/tools/build.ci, shdr[i].s_name,
i114arch/alpha/boot/tools/build.cshdr[i].s_vaddr,
i115arch/alpha/boot/tools/build.cshdr[i].s_vaddr + shdr[i].s_size,
i116arch/alpha/boot/tools/build.cshdr[i].s_scnptr);
i121arch/alpha/boot/tools/build.cfor (i = 0 ; i < fhdr.f_nscns ; i++) {
i124arch/alpha/boot/tools/build.cif (!strcmp(shdr[i].s_name, ".comment"))
i126arch/alpha/boot/tools/build.cif (shdr[i].s_vaddr != start)
i128arch/alpha/boot/tools/build.csize = shdr[i].s_size;
i130arch/alpha/boot/tools/build.coffset = shdr[i].s_scnptr;
i146arch/alpha/boot/tools/build.ci, shdr[i].s_name,
i147arch/alpha/boot/tools/build.cshdr[i].s_vaddr,
i148arch/alpha/boot/tools/build.cshdr[i].s_vaddr + shdr[i].s_size,
i149arch/alpha/boot/tools/build.cshdr[i].s_scnptr);
i160arch/alpha/boot/tools/build.cint i = MAXBUF;
i161arch/alpha/boot/tools/build.cif (i > count)
i162arch/alpha/boot/tools/build.ci = count;
i163arch/alpha/boot/tools/build.ci = write(1, buffer, i);
i164arch/alpha/boot/tools/build.cif (i <= 0) {
i168arch/alpha/boot/tools/build.ccount -= i;
i93arch/alpha/kernel/irq.cint i, len = 0;
i96arch/alpha/kernel/irq.cfor (i = 0 ; i < 16 ; i++, action++) {
i100arch/alpha/kernel/irq.ci, kstat.interrupts[i],
i206arch/alpha/kernel/irq.cint i;
i211arch/alpha/kernel/irq.cfor (i = 0; i < 16; i++)
i212arch/alpha/kernel/irq.cif (irq_action[i].handler)
i213arch/alpha/kernel/irq.cprintk("[%s:%d] ", irq_action[i].name, i);
i334arch/alpha/kernel/irq.cunsigned int i, irqs = 0, irqmask;
i337arch/alpha/kernel/irq.cfor (i = 15; i > 0; i--) {
i338arch/alpha/kernel/irq.cif (!irq_action[i].handler) {
i339arch/alpha/kernel/irq.cenable_irq(i);
i340arch/alpha/kernel/irq.cirqs |= (1 << i);
i361arch/alpha/kernel/irq.cunsigned int i, irqmask;
i367arch/alpha/kernel/irq.ci = ffz(~irqs);
i368arch/alpha/kernel/irq.cif (irqs != (1 << i))
i369arch/alpha/kernel/irq.ci = -i;
i370arch/alpha/kernel/irq.creturn i;
i53arch/alpha/kernel/setup.cint i;
i60arch/alpha/kernel/setup.cfor (i = memdesc->numclusters ; i > 0; i--, cluster++) {
i15arch/alpha/kernel/traps.cunsigned long i;
i20arch/alpha/kernel/traps.cfor (i = 0 ; i < 5000000000 ; i++)
i62arch/alpha/mm/init.cint i,free = 0,total = 0,reserved = 0;
i68arch/alpha/mm/init.ci = high_memory >> PAGE_SHIFT;
i69arch/alpha/mm/init.cwhile (i-- > 0) {
i71arch/alpha/mm/init.cif (mem_map[i] & MAP_PAGE_RESERVED)
i73arch/alpha/mm/init.celse if (!mem_map[i])
i76arch/alpha/mm/init.cshared += mem_map[i]-1;
i107arch/alpha/mm/init.cint i;
i118arch/alpha/mm/init.cfor (i = memdesc->numclusters ; i > 0; i--, cluster++) {
i184arch/alpha/mm/init.cint i;
i186arch/alpha/mm/init.ci = high_memory >> PAGE_SHIFT;
i191arch/alpha/mm/init.cwhile (i-- > 0)  {
i192arch/alpha/mm/init.cif (mem_map[i] & MAP_PAGE_RESERVED)
i195arch/alpha/mm/init.cif (!mem_map[i])
i197arch/alpha/mm/init.cval->sharedram += mem_map[i]-1;
i118arch/i386/boot/compressed/inflate.cregister unsigned i;          /* counter, current code */
i137arch/i386/boot/compressed/inflate.cp = b;  i = n;
i140arch/i386/boot/compressed/inflate.c} while (--i);
i158arch/i386/boot/compressed/inflate.cfor (i = BMAX; i; i--)
i159arch/i386/boot/compressed/inflate.cif (c[i])
i161arch/i386/boot/compressed/inflate.cg = i;                        /* maximum code length */
i162arch/i386/boot/compressed/inflate.cif ((unsigned)l > i)
i163arch/i386/boot/compressed/inflate.cl = i;
i169arch/i386/boot/compressed/inflate.cfor (y = 1 << j; j < i; j++, y <<= 1)
i172arch/i386/boot/compressed/inflate.cif ((y -= c[i]) < 0)
i174arch/i386/boot/compressed/inflate.cc[i] += y;
i181arch/i386/boot/compressed/inflate.cwhile (--i) {                 /* note that i == g from above */
i188arch/i386/boot/compressed/inflate.cp = b;  i = 0;
i191arch/i386/boot/compressed/inflate.cv[x[j]++] = i;
i192arch/i386/boot/compressed/inflate.c} while (++i < n);
i197arch/i386/boot/compressed/inflate.cx[0] = i = 0;                 /* first Huffman code is zero */
i251arch/i386/boot/compressed/inflate.cx[h] = i;             /* save pattern for backing up */
i255arch/i386/boot/compressed/inflate.cj = i >> (w - l);     /* (get around Turbo C bug) */
i280arch/i386/boot/compressed/inflate.cfor (j = i >> w; j < z; j += f)
i284arch/i386/boot/compressed/inflate.cfor (j = 1 << (k - 1); i & j; j >>= 1)
i285arch/i386/boot/compressed/inflate.ci ^= j;
i286arch/i386/boot/compressed/inflate.ci ^= j;
i289arch/i386/boot/compressed/inflate.cwhile ((i & ((1 << w) - 1)) != x[h])
i495arch/i386/boot/compressed/inflate.cint i;                /* temporary variable */
i505arch/i386/boot/compressed/inflate.cfor (i = 0; i < 144; i++)
i506arch/i386/boot/compressed/inflate.cl[i] = 8;
i507arch/i386/boot/compressed/inflate.cfor (; i < 256; i++)
i508arch/i386/boot/compressed/inflate.cl[i] = 9;
i509arch/i386/boot/compressed/inflate.cfor (; i < 280; i++)
i510arch/i386/boot/compressed/inflate.cl[i] = 7;
i511arch/i386/boot/compressed/inflate.cfor (; i < 288; i++)          /* make a complete, but wrong code set */
i512arch/i386/boot/compressed/inflate.cl[i] = 8;
i514arch/i386/boot/compressed/inflate.cif ((i = huft_build(l, 288, 257, cplens, cplext, &tl, &bl)) != 0)
i515arch/i386/boot/compressed/inflate.creturn i;
i519arch/i386/boot/compressed/inflate.cfor (i = 0; i < 30; i++)      /* make an incomplete code set */
i520arch/i386/boot/compressed/inflate.cl[i] = 5;
i522arch/i386/boot/compressed/inflate.cif ((i = huft_build(l, 30, 0, cpdist, cpdext, &td, &bd)) > 1)
i527arch/i386/boot/compressed/inflate.creturn i;
i547arch/i386/boot/compressed/inflate.cint i;                /* temporary variables */
i607arch/i386/boot/compressed/inflate.cif ((i = huft_build(ll, 19, 19, NULL, NULL, &tl, &bl)) != 0)
i609arch/i386/boot/compressed/inflate.cif (i == 1)
i611arch/i386/boot/compressed/inflate.creturn i;                   /* incomplete code set */
i619arch/i386/boot/compressed/inflate.ci = l = 0;
i620arch/i386/boot/compressed/inflate.cwhile ((unsigned)i < n)
i627arch/i386/boot/compressed/inflate.cll[i++] = l = j;          /* save last length in l */
i633arch/i386/boot/compressed/inflate.cif ((unsigned)i + j > n)
i636arch/i386/boot/compressed/inflate.cll[i++] = l;
i643arch/i386/boot/compressed/inflate.cif ((unsigned)i + j > n)
i646arch/i386/boot/compressed/inflate.cll[i++] = 0;
i654arch/i386/boot/compressed/inflate.cif ((unsigned)i + j > n)
i657arch/i386/boot/compressed/inflate.cll[i++] = 0;
i677arch/i386/boot/compressed/inflate.cif ((i = huft_build(ll, nl, 257, cplens, cplext, &tl, &bl)) != 0)
i680arch/i386/boot/compressed/inflate.cif (i == 1) {
i684arch/i386/boot/compressed/inflate.creturn i;                   /* incomplete code set */
i688arch/i386/boot/compressed/inflate.cif ((i = huft_build(ll + nl, nd, 0, cpdist, cpdext, &td, &bd)) != 0)
i691arch/i386/boot/compressed/inflate.cif (i == 1) {
i694arch/i386/boot/compressed/inflate.ci = 0;
i700arch/i386/boot/compressed/inflate.creturn i;                   /* incomplete code set */
i121arch/i386/boot/compressed/misc.cint i;
i124arch/i386/boot/compressed/misc.cfor ( i = ( lines - 1 ) * cols * 2; i < lines * cols * 2; i += 2 )
i125arch/i386/boot/compressed/misc.cvidmem[i] = ' ';
i161arch/i386/boot/compressed/misc.cint i;
i164arch/i386/boot/compressed/misc.cfor (i=0;i<n;i++) ss[i] = c;
i170arch/i386/boot/compressed/misc.cint i;
i173arch/i386/boot/compressed/misc.cfor (i=0;i<__n;i++) d[i] = s[i];
i219arch/i386/boot/compressed/misc.cint len, i;
i228arch/i386/boot/compressed/misc.cfor (i=0;i<len;i++) inbuf[insize+i] = input_data[input_ptr+i];
i271arch/i386/boot/compressed/misc.cint i;                /* counter for all possible eight bit values */
i279arch/i386/boot/compressed/misc.cfor (i = 0; i < sizeof(p)/sizeof(int); i++)
i280arch/i386/boot/compressed/misc.ce |= 1L << (31 - p[i]);
i284arch/i386/boot/compressed/misc.cfor (i = 1; i < 256; i++)
i287arch/i386/boot/compressed/misc.cfor (k = i | 256; k != 1; k >>= 1)
i293arch/i386/boot/compressed/misc.ccrc_32_tab[i] = c;
i39arch/i386/boot/compressed/xtract.cint i,c,id, sz;
i89arch/i386/boot/tools/build.cint i,c,id, sz;
i123arch/i386/boot/tools/build.cfor (i=0;i<sizeof buf; i++) buf[i]=0;
i140arch/i386/boot/tools/build.ci=read(id,buf,sizeof buf);
i141arch/i386/boot/tools/build.cfprintf(stderr,"Boot sector %d bytes.\n",i);
i142arch/i386/boot/tools/build.cif (i != 512)
i148arch/i386/boot/tools/build.ci=write(1,buf,512);
i149arch/i386/boot/tools/build.cif (i!=512)
i169arch/i386/boot/tools/build.cfor (i=0 ; (c=read(id,buf,sizeof buf))>0 ; i+=c )
i175arch/i386/boot/tools/build.csetup_sectors = (unsigned char)((i + 511) / 512);
i179arch/i386/boot/tools/build.cfprintf(stderr,"Setup is %d bytes.\n",i);
i182arch/i386/boot/tools/build.cwhile (i < setup_sectors * 512) {
i183arch/i386/boot/tools/build.cc = setup_sectors * 512 - i;
i188arch/i386/boot/tools/build.ci += c;
i140arch/i386/ibcs/binfmt_elf.cint i, k;
i175arch/i386/ibcs/binfmt_elf.cfor(i=0; i<interp_elf_ex->e_phnum; i++, eppnt++)
i271arch/i386/ibcs/binfmt_elf.cint i;
i340arch/i386/ibcs/binfmt_elf.cfor(i=0;i < elf_ex.e_phnum; i++){
i448arch/i386/ibcs/binfmt_elf.cfor(i=0;i < elf_ex.e_phnum; i++){
i575arch/i386/ibcs/binfmt_elf.cint i,j, k;
i616arch/i386/ibcs/binfmt_elf.cfor(i=0; i<elf_ex.e_phnum; i++)
i617arch/i386/ibcs/binfmt_elf.cif((elf_phdata + i)->p_type == PT_LOAD) j++;
i499arch/i386/kernel/bios32.cint       i;
i504arch/i386/kernel/bios32.cfor (i=0;i<PCI_CLASS_NUM-1;i++)
i505arch/i386/kernel/bios32.cif (class==pci_class[i].class_id) break;
i506arch/i386/kernel/bios32.creturn i;
i512arch/i386/kernel/bios32.cint       i;
i517arch/i386/kernel/bios32.cfor (i=0;i<PCI_DEVICE_NUM;i++)
i518arch/i386/kernel/bios32.cif ((device==pci_device[i].device_id)
i519arch/i386/kernel/bios32.c&& (pci_vendor[vendor_num].vendor_id==pci_device[i].vendor_id)) return i;
i526arch/i386/kernel/bios32.cint      i;
i531arch/i386/kernel/bios32.cfor (i=0;i<PCI_VENDOR_NUM;i++)
i532arch/i386/kernel/bios32.cif (vendor==pci_vendor[i].vendor_id) return i;
i542arch/i386/kernel/bios32.cint i;
i547arch/i386/kernel/bios32.cfor (i=0;i<OPTIMISATION_NUM;i++)
i549arch/i386/kernel/bios32.cprintk("    %s : ",optimisation[i].type);
i550arch/i386/kernel/bios32.cif (bridge_mapping[pos+i].address==0) printk("Not supported.");
i553arch/i386/kernel/bios32.cbus, dev_fn, bridge_mapping[pos+i].address, &val);
i554arch/i386/kernel/bios32.cif ((val & bridge_mapping[pos+i].mask)==bridge_mapping[pos+i].value) 
i556arch/i386/kernel/bios32.cprintk("%s.",optimisation[i].on);
i560arch/i386/kernel/bios32.cbus, dev_fn, bridge_mapping[pos+i].address,
i561arch/i386/kernel/bios32.c(val | bridge_mapping[pos+i].mask) -
i562arch/i386/kernel/bios32.cbridge_mapping[pos+i].value);
i563arch/i386/kernel/bios32.cprintk("Changed! now %s.",optimisation[i].off);
i566arch/i386/kernel/bios32.cprintk("%s.",optimisation[i].off);
i570arch/i386/kernel/bios32.cbus, dev_fn, bridge_mapping[pos+i].address,
i571arch/i386/kernel/bios32.c(val & (0xff-bridge_mapping[pos+i].mask)) +
i572arch/i386/kernel/bios32.cbridge_mapping[pos+i].value);
i573arch/i386/kernel/bios32.cprintk("Changed! now %s.",optimisation[i].on);
i739arch/i386/kernel/bios32.cint i, length;
i757arch/i386/kernel/bios32.cfor (i = 0; i < length ; ++i)
i758arch/i386/kernel/bios32.csum += check->chars[i];
i165arch/i386/kernel/irq.cint i, len = 0;
i168arch/i386/kernel/irq.cfor (i = 0 ; i < 16 ; i++, action++) {
i172arch/i386/kernel/irq.ci, kstat.interrupts[i],
i300arch/i386/kernel/irq.cunsigned int i, irqs = 0, irqmask;
i304arch/i386/kernel/irq.cfor (i = 15; i > 0; i--) {
i305arch/i386/kernel/irq.cif (!request_irq(i, no_action, SA_PROBE, "probe")) {
i306arch/i386/kernel/irq.cenable_irq(i);
i307arch/i386/kernel/irq.cirqs |= (1 << i);
i316arch/i386/kernel/irq.cfor (i = 15; i > 0; i--) {
i317arch/i386/kernel/irq.cif (irqs & (1 << i) & irqmask) {
i318arch/i386/kernel/irq.cirqs ^= (1 << i);
i319arch/i386/kernel/irq.cfree_irq(i);
i330arch/i386/kernel/irq.cunsigned int i, irqmask;
i333arch/i386/kernel/irq.cfor (i = 15; i > 0; i--) {
i334arch/i386/kernel/irq.cif (irqs & (1 << i)) {
i335arch/i386/kernel/irq.cfree_irq(i);
i344arch/i386/kernel/irq.ci = ffz(~irqs);
i345arch/i386/kernel/irq.cif (irqs != (irqs & (1 << i)))
i346arch/i386/kernel/irq.ci = -i;
i347arch/i386/kernel/irq.creturn i;
i352arch/i386/kernel/irq.cint i;
i358arch/i386/kernel/irq.cfor (i = 0; i < 16 ; i++)
i359arch/i386/kernel/irq.cset_intr_gate(0x20+i,bad_interrupt[i]);
i42arch/i386/kernel/ldt.cint error, i;
i65arch/i386/kernel/ldt.cfor (i=1 ; i<NR_TASKS ; i++) {
i66arch/i386/kernel/ldt.cif (task[i] == current) {
i70arch/i386/kernel/ldt.cset_ldt_desc(gdt+(i<<1)+FIRST_LDT_ENTRY, current->ldt, LDT_ENTRIES);
i71arch/i386/kernel/ldt.cload_ldt(i);
i47arch/i386/kernel/process.cint i;
i53arch/i386/kernel/process.cfor (i = 0 ; i < 768 ; i++)
i54arch/i386/kernel/process.cpgd_clear(swapper_pg_dir + i);
i74arch/i386/kernel/process.cint i;
i76arch/i386/kernel/process.cfor (i=0; i<0x10000; i++)
i83arch/i386/kernel/process.cint i, j;
i90arch/i386/kernel/process.cfor (i=0; i<100; i++) {
i135arch/i386/kernel/process.cint i;
i140arch/i386/kernel/process.cfor (i=1 ; i<NR_TASKS ; i++) {
i141arch/i386/kernel/process.cif (task[i] == current)  {
i142arch/i386/kernel/process.cset_ldt_desc(gdt+(i<<1)+
i144arch/i386/kernel/process.cload_ldt(i);
i149arch/i386/kernel/process.cfor (i=0 ; i<8 ; i++)
i150arch/i386/kernel/process.ccurrent->debugreg[i] = 0;
i156arch/i386/kernel/process.cint i;
i188arch/i386/kernel/process.cfor (i = 0; i < IO_BITMAP_SIZE+1 ; i++) /* IO bitmap is actually SIZE+1 */
i189arch/i386/kernel/process.cp->tss.io_bitmap[i] = ~0;
i199arch/i386/kernel/process.cint i;
i209arch/i386/kernel/process.cfor (i = 0; i < 8; i++)
i210arch/i386/kernel/process.cdump->u_debugreg[i] = current->debugreg[i];  
i40arch/i386/kernel/ptrace.cint i;
i42arch/i386/kernel/ptrace.cfor (i = 1; i < NR_TASKS; i++) {
i43arch/i386/kernel/ptrace.cif (task[i] != NULL && (task[i]->pid == pid))
i44arch/i386/kernel/ptrace.creturn task[i];
i304arch/i386/kernel/ptrace.cint i;
i447arch/i386/kernel/ptrace.cfor(i=0; i<4; i++)
i448arch/i386/kernel/ptrace.cif ((0x5f54 >> ((data >> (16 + 4*i)) & 0xf)) & 1)
i98arch/i386/kernel/traps.cint i;
i121arch/i386/kernel/traps.cstore_TR(i);
i125arch/i386/kernel/traps.ccurrent->comm, current->pid, 0xffff & i, current->kernel_stack_page);
i127arch/i386/kernel/traps.cfor(i=0; i < kstack_depth_to_print; i++) {
i130arch/i386/kernel/traps.cif (i && ((i % 8) == 0))
i136arch/i386/kernel/traps.ci = 1;
i152arch/i386/kernel/traps.cif (i && ((i % 8) == 0))
i155arch/i386/kernel/traps.ci++;
i159arch/i386/kernel/traps.cfor(i=0;i<20;i++)
i160arch/i386/kernel/traps.cprintk("%02x ",0xff & get_seg_byte(regs->cs,(i+(char *)regs->eip)));
i306arch/i386/kernel/traps.cint i;
i330arch/i386/kernel/traps.cfor (i=18;i<48;i++)
i331arch/i386/kernel/traps.cset_trap_gate(i,&reserved);
i339arch/i386/kernel/traps.cfor(i=1 ; i<NR_TASKS ; i++) {
i77arch/i386/kernel/vm86.cint i;
i86arch/i386/kernel/vm86.cfor (i = 0 ; i < 32 ; i++) {
i291arch/i386/kernel/vm86.cstatic void do_int(struct vm86_regs *regs, int i, unsigned char * ssp, unsigned long sp)
i293arch/i386/kernel/vm86.cunsigned short seg = get_fs_word((void *) ((i<<2)+2));
i296arch/i386/kernel/vm86.cis_revectored(i, &current->tss.vm86_info->int_revectored))
i297arch/i386/kernel/vm86.creturn_to_32bit(regs, VM86_INTx + (i << 8));
i298arch/i386/kernel/vm86.cif (i==0x21 && is_revectored(AH(regs),&current->tss.vm86_info->int21_revectored))
i299arch/i386/kernel/vm86.creturn_to_32bit(regs, VM86_INTx + (i << 8));
i305arch/i386/kernel/vm86.cIP(regs) = get_fs_word((void *) (i<<2));
i87arch/i386/math-emu/errors.cint i;
i99arch/i386/math-emu/errors.cfor ( i = 0; i < MAX_PRINTED_BYTES; i++ )
i110arch/i386/math-emu/errors.cif ( i == MAX_PRINTED_BYTES )
i166arch/i386/math-emu/errors.cfor ( i = 0; i < 8; i++ )
i168arch/i386/math-emu/errors.cFPU_REG *r = &st(i);
i177arch/i386/math-emu/errors.ci, r->sign ? '-' : '+');
i184arch/i386/math-emu/errors.cprintk("st(%d)  %c .%04lx %04lx %04lx %04lx e%+-6ld ", i,
i305arch/i386/math-emu/errors.cint i, int_type;
i342arch/i386/math-emu/errors.cfor (i=0; exception_names[i].type; i++)
i343arch/i386/math-emu/errors.cif ( (exception_names[i].type & n) == exception_names[i].type )
i346arch/i386/math-emu/errors.cif (exception_names[i].type)
i349arch/i386/math-emu/errors.cprintk("FP Exception: %s!\n", exception_names[i].name);
i640arch/i386/math-emu/errors.cvoid stack_underflow_i(int i)
i646arch/i386/math-emu/errors.creg_move(&CONST_QNaN, &(st(i)));
i656arch/i386/math-emu/errors.cvoid stack_underflow_pop(int i)
i662arch/i386/math-emu/errors.creg_move(&CONST_QNaN, &(st(i)));
i123arch/i386/math-emu/fpu_emu.h#define  NOT_EMPTY(i)  (st(i).tag != TW_Empty)
i157arch/i386/math-emu/fpu_entry.cint i;
i158arch/i386/math-emu/fpu_entry.cfor ( i = 0; i < 8; i++ )
i162arch/i386/math-emu/fpu_entry.cregs[i].exp = 0;
i163arch/i386/math-emu/fpu_entry.cregs[i].sigh = 0x80000000;
i7arch/i386/math-emu/fpu_proto.hextern void stack_underflow_i(int i);
i8arch/i386/math-emu/fpu_proto.hextern void stack_underflow_pop(int i);
i1017arch/i386/math-emu/reg_ld_str.cint i, precision_loss;
i1044arch/i386/math-emu/reg_ld_str.cfor ( i = 0; i < 7; i++)
i1045arch/i386/math-emu/reg_ld_str.cput_fs_byte(0, (unsigned char *) d+i); /* These bytes "undefined" */
i1064arch/i386/math-emu/reg_ld_str.cfor ( i = 0; i < 9; i++)
i1069arch/i386/math-emu/reg_ld_str.cput_fs_byte(b,(unsigned char *) d+i);
i1153arch/i386/math-emu/reg_ld_str.cint i;
i1204arch/i386/math-emu/reg_ld_str.cfor ( i = 0; i < 8; i++ )
i1211arch/i386/math-emu/reg_ld_str.cregs[i].tag = TW_Empty;
i1212arch/i386/math-emu/reg_ld_str.celse if ( regs[i].tag == TW_Empty )
i1216arch/i386/math-emu/reg_ld_str.cif ( regs[i].exp == EXP_BIAS - EXTENDED_Ebias )
i1218arch/i386/math-emu/reg_ld_str.cif ( !(regs[i].sigl | regs[i].sigh) )
i1219arch/i386/math-emu/reg_ld_str.cregs[i].tag = TW_Zero;
i1221arch/i386/math-emu/reg_ld_str.cregs[i].tag = TW_Valid;
i1223arch/i386/math-emu/reg_ld_str.celse if ( regs[i].exp == 0x7fff + EXP_BIAS - EXTENDED_Ebias )
i1225arch/i386/math-emu/reg_ld_str.cif ( !((regs[i].sigh & ~0x80000000) | regs[i].sigl) )
i1226arch/i386/math-emu/reg_ld_str.cregs[i].tag = TW_Infinity;
i1228arch/i386/math-emu/reg_ld_str.cregs[i].tag = TW_NaN;
i1231arch/i386/math-emu/reg_ld_str.cregs[i].tag = TW_Valid;
i1243arch/i386/math-emu/reg_ld_str.cint i, stnr;
i1247arch/i386/math-emu/reg_ld_str.cfor ( i = 0; i < 8; i++ )
i1250arch/i386/math-emu/reg_ld_str.cstnr = (i+top) & 7;
i1252arch/i386/math-emu/reg_ld_str.creg_load_extended((long double *)(s+i*10), &regs[stnr]);
i1264arch/i386/math-emu/reg_ld_str.cint i;
i1266arch/i386/math-emu/reg_ld_str.cfor ( i = 7; i >= 0; i-- )
i1268arch/i386/math-emu/reg_ld_str.cswitch ( tag = regs[i].tag )
i1271arch/i386/math-emu/reg_ld_str.cif ( regs[i].exp <= (EXP_BIAS - EXTENDED_Ebias) )
i1361arch/i386/math-emu/reg_ld_str.cint i;
i1367arch/i386/math-emu/reg_ld_str.cfor ( i = 0; i < 8; i++ )
i1368arch/i386/math-emu/reg_ld_str.cwrite_to_extended(&regs[(top + i) & 7], d + 10 * i);
i79arch/i386/mm/init.cint i,free = 0,total = 0,reserved = 0;
i85arch/i386/mm/init.ci = high_memory >> PAGE_SHIFT;
i86arch/i386/mm/init.cwhile (i-- > 0) {
i88arch/i386/mm/init.cif (mem_map[i] & MAP_PAGE_RESERVED)
i90arch/i386/mm/init.celse if (!mem_map[i])
i93arch/i386/mm/init.cshared += mem_map[i]-1;
i230arch/i386/mm/init.cint i;
i232arch/i386/mm/init.ci = high_memory >> PAGE_SHIFT;
i237arch/i386/mm/init.cwhile (i-- > 0)  {
i238arch/i386/mm/init.cif (mem_map[i] & MAP_PAGE_RESERVED)
i241arch/i386/mm/init.cif (!mem_map[i])
i243arch/i386/mm/init.cval->sharedram += mem_map[i]-1;
i114arch/mips/kernel/irq.cint i, len = 0;
i117arch/mips/kernel/irq.cfor (i = 0 ; i < 16 ; i++, action++) {
i121arch/mips/kernel/irq.ci, kstat.interrupts[i],
i233arch/mips/kernel/irq.cunsigned int i, irqs = 0, irqmask;
i237arch/mips/kernel/irq.cfor (i = 15; i > 0; i--) {
i238arch/mips/kernel/irq.cif (!request_irq(i, no_action, SA_PROBE, "probe")) {
i239arch/mips/kernel/irq.cenable_irq(i);
i240arch/mips/kernel/irq.cirqs |= (1 << i);
i249arch/mips/kernel/irq.cfor (i = 15; i > 0; i--) {
i250arch/mips/kernel/irq.cif (irqs & (1 << i) & irqmask) {
i251arch/mips/kernel/irq.cirqs ^= (1 << i);
i252arch/mips/kernel/irq.cfree_irq(i);
i263arch/mips/kernel/irq.cunsigned int i, irqmask;
i266arch/mips/kernel/irq.cfor (i = 15; i > 0; i--) {
i267arch/mips/kernel/irq.cif (irqs & (1 << i)) {
i268arch/mips/kernel/irq.cfree_irq(i);
i277arch/mips/kernel/irq.ci = ffz(~irqs);
i278arch/mips/kernel/irq.cif (irqs != (irqs & (1 << i)))
i279arch/mips/kernel/irq.ci = -i;
i280arch/mips/kernel/irq.creturn i;
i285arch/mips/kernel/irq.cint i;
i291arch/mips/kernel/irq.cfor (i = 0; i < 16 ; i++)
i292arch/mips/kernel/irq.cset_intr_gate(i, bad_interrupt);
i297arch/mips/kernel/irq.cfor (i = 0; i < 32; i++) {
i298arch/mips/kernel/irq.cbh_base[i].routine = NULL;
i299arch/mips/kernel/irq.cbh_base[i].data = NULL;
i38arch/mips/kernel/process.cint i;
i46arch/mips/kernel/process.cfor (i = 0 ; i < 512 ; i++)
i47arch/mips/kernel/process.cpgd_clear(swapper_pg_dir + i);
i133arch/mips/kernel/process.cint i;
i143arch/mips/kernel/process.cfor (i = 0; i < 8; i++)
i144arch/mips/kernel/process.cdump->u_debugreg[i] = current->debugreg[i];  
i38arch/mips/kernel/ptrace.cint i;
i40arch/mips/kernel/ptrace.cfor (i = 1; i < NR_TASKS; i++) {
i41arch/mips/kernel/ptrace.cif (task[i] != NULL && (task[i]->pid == pid))
i42arch/mips/kernel/ptrace.creturn task[i];
i284arch/mips/kernel/ptrace.cint i;
i428arch/mips/kernel/ptrace.cfor(i=0; i<4; i++)
i429arch/mips/kernel/ptrace.cif ((0x5f54 >> ((data >> (16 + 4*i)) & 0xf)) & 1)
i80arch/mips/kernel/traps.cint i;
i131arch/mips/kernel/traps.ccurrent->comm, current->pid, 0xffff & i,
i133arch/mips/kernel/traps.cfor(i=0;i<5;i++)
i136arch/mips/kernel/traps.cfor(i=0; i < kstack_depth_to_print; i++) {
i139arch/mips/kernel/traps.cif (i && ((i % 8) == 0))
i145arch/mips/kernel/traps.ci = 1;
i161arch/mips/kernel/traps.cif (i && ((i % 8) == 0))
i164arch/mips/kernel/traps.ci++;
i169arch/mips/kernel/traps.cfor(i=0;i<5;i++)
i296arch/mips/kernel/traps.cint  i;
i306arch/mips/kernel/traps.cfor (i=0;i<=31;i++)
i307arch/mips/kernel/traps.cset_except_vector(i, handle_reserved);
i108arch/mips/mm/init.cint i,free = 0,total = 0,reserved = 0;
i114arch/mips/mm/init.ci = high_memory >> PAGE_SHIFT;
i115arch/mips/mm/init.cwhile (i-- > 0) {
i117arch/mips/mm/init.cif (mem_map[i] & MAP_PAGE_RESERVED)
i119arch/mips/mm/init.celse if (!mem_map[i])
i122arch/mips/mm/init.cshared += mem_map[i]-1;
i238arch/mips/mm/init.cint i;
i240arch/mips/mm/init.ci = high_memory >> PAGE_SHIFT;
i245arch/mips/mm/init.cwhile (i-- > 0)  {
i246arch/mips/mm/init.cif (mem_map[i] & MAP_PAGE_RESERVED)
i249arch/mips/mm/init.cif (!mem_map[i])
i251arch/mips/mm/init.cval->sharedram += mem_map[i]-1;
i20arch/sparc/kernel/idprom.cint i;
i25arch/sparc/kernel/idprom.cfor(i = 0; i<IDPROM_SIZE; i++)
i156arch/sparc/kernel/irq.cint i, len = 0;
i159arch/sparc/kernel/irq.cfor (i = 0 ; i < 16 ; i++, action++) {
i163arch/sparc/kernel/irq.ci, kstat.interrupts[i],
i203arch/sparc/kernel/irq.cint i;
i209arch/sparc/kernel/irq.cfor (i = 0; i < 16; i++)
i210arch/sparc/kernel/irq.cif (irq_action[i].handler)
i211arch/sparc/kernel/irq.cprintk("[%s:%d] ", irq_action[i].name, i);
i327arch/sparc/kernel/irq.cunsigned int i = 0;
i329arch/sparc/kernel/irq.creturn i;
i127arch/sparc/kernel/probe.cregister int i = 0;
i157arch/sparc/kernel/probe.cfor(i = 0; i<23; i++)
i159arch/sparc/kernel/probe.cif(linux_sparc_chips[i].psr_impl == psr_impl)
i160arch/sparc/kernel/probe.cif(linux_sparc_chips[i].psr_vers == psr_vers)
i162arch/sparc/kernel/probe.csparc_cpu_type = linux_sparc_chips[i].cpu_name;
i167arch/sparc/kernel/probe.cif(i==23)
i175arch/sparc/kernel/probe.cfor(i = 0; i<32; i++)
i177arch/sparc/kernel/probe.cif(linux_sparc_fpu[i].psr_impl == psr_impl)
i178arch/sparc/kernel/probe.cif(linux_sparc_fpu[i].fp_vers == fpu_vers)
i180arch/sparc/kernel/probe.csparc_fpu_type = linux_sparc_fpu[i].fp_name;
i185arch/sparc/kernel/probe.cif(i == 32)
i369arch/sparc/kernel/probe.cregister int nd, i;
i412arch/sparc/kernel/probe.cfor(i=0; sp_banks[i].num_bytes != 0; i++) {
i413arch/sparc/kernel/probe.cprintk("Bank %d:  base 0x%x  bytes %d\n", i,
i414arch/sparc/kernel/probe.c(unsigned int) sp_banks[i].base_addr, 
i415arch/sparc/kernel/probe.c(int) sp_banks[i].num_bytes);
i416arch/sparc/kernel/probe.cend_of_phys_memory = sp_banks[i].base_addr + sp_banks[i].num_bytes;
i55arch/sparc/mm/fault.cregister int i;
i59arch/sparc/mm/fault.ci=0;
i72arch/sparc/mm/fault.ci++;
i76arch/sparc/mm/fault.csp_banks[i].base_addr = (unsigned long) mlist->start_adr;
i77arch/sparc/mm/fault.csp_banks[i].num_bytes = mlist->num_bytes;
i86arch/sparc/mm/fault.ci++;
i87arch/sparc/mm/fault.csp_banks[i].base_addr = 0xdeadbeef;
i88arch/sparc/mm/fault.csp_banks[i].num_bytes = 0;
i103arch/sparc/mm/fault.cregister int segmap_entry, i;
i119arch/sparc/mm/fault.cfor(i = num_contexts; --i > 0;)
i120arch/sparc/mm/fault.c(*romvec->pv_setctxt)(i, (char *) prom_va_begin,
i143arch/sparc/mm/fault.cfor(i = 0x40; --i >= 0; prom_va_begin+=4096)
i69arch/sparc/mm/init.cint i,free = 0,total = 0,reserved = 0;
i75arch/sparc/mm/init.ci = high_memory >> PAGE_SHIFT;
i76arch/sparc/mm/init.cwhile (i-- > 0) {
i78arch/sparc/mm/init.cif (mem_map[i] & MAP_PAGE_RESERVED)
i80arch/sparc/mm/init.celse if (!mem_map[i])
i83arch/sparc/mm/init.cshared += mem_map[i]-1;
i107arch/sparc/mm/init.cunsigned long i, a, b, mask=0;
i143arch/sparc/mm/init.cfor(i=0; i<40960; i+=PAGE_SIZE)
i144arch/sparc/mm/init.cprintk("address=0x%x  vseg=%d  pte=0x%x\n", (unsigned int) i,
i145arch/sparc/mm/init.c(int) get_segmap(i), (unsigned int) get_pte(i));
i157arch/sparc/mm/init.cfor(i=0; sp_banks[i].num_bytes != 0; i++)
i158arch/sparc/mm/init.cif((address >= sp_banks[i].base_addr) && 
i159arch/sparc/mm/init.c(address <= (sp_banks[i].base_addr + sp_banks[i].num_bytes)))
i205arch/sparc/mm/init.cfor(i=0x1a3000; i<(0x1a3000+40960); i+=PAGE_SIZE)
i206arch/sparc/mm/init.cprintk("address=0x%x  vseg=%d  pte=0x%x\n", (unsigned int) i,
i207arch/sparc/mm/init.c(int) get_segmap(i), (unsigned int) get_pte(i));
i218arch/sparc/mm/init.cfor(i=0; i<num_contexts; i++)
i221arch/sparc/mm/init.c(*(romvec->pv_setctxt))(i, (char *) c, a);
i249arch/sparc/mm/init.cfor(i=0; i<8; i++)
i253arch/sparc/mm/init.cswitch_to_context(i);
i264arch/sparc/mm/init.cfor(i=0; i<num_contexts; i++)
i266arch/sparc/mm/init.cswitch_to_context(i);
i267arch/sparc/mm/init.cprintk("%d ", (int) i);
i283arch/sparc/mm/init.cint i = 0;
i293arch/sparc/mm/init.cfor(i = 0; sp_banks[i].num_bytes != 0; i++) {
i294arch/sparc/mm/init.ctmp = sp_banks[i].base_addr;
i295arch/sparc/mm/init.climit = (sp_banks[i].base_addr + sp_banks[i].num_bytes);
i306arch/sparc/mm/init.cif(sp_banks[i+1].num_bytes != 0)
i307arch/sparc/mm/init.cwhile(tmp < sp_banks[i+1].base_addr) {
i346arch/sparc/mm/init.cint i;
i348arch/sparc/mm/init.ci = high_memory >> PAGE_SHIFT;
i353arch/sparc/mm/init.cwhile (i-- > 0)  {
i354arch/sparc/mm/init.cif (mem_map[i] & MAP_PAGE_RESERVED)
i357arch/sparc/mm/init.cif (!mem_map[i])
i359arch/sparc/mm/init.cval->sharedram += mem_map[i]-1;
i390drivers/block/aztcd.cint i;
i392drivers/block/aztcd.ci = inb(STATUS_PORT) & AFL_STATUS;   /* is STEN=0?    ???*/
i393drivers/block/aztcd.cif (!i)
i456drivers/block/aztcd.c{       int i, st;
i472drivers/block/aztcd.c{ if ((i=aztUpdateToc())<0) return i; /* error reading TOC */
i506drivers/block/aztcd.ci = aztPlay(&azt_Play);
i507drivers/block/aztcd.cif (i < 0)
i531drivers/block/aztcd.ci = aztPlay(&azt_Play);
i532drivers/block/aztcd.cif (i < 0)
i566drivers/block/aztcd.ci = aztPlay(&azt_Play);
i567drivers/block/aztcd.cif (i < 0)
i726drivers/block/aztcd.cint i;
i727drivers/block/aztcd.cfor (i = 0; i < AZT_BUF_SIZ && azt_buf_bn[i] != bn; ++i)
i729drivers/block/aztcd.cif (i < AZT_BUF_SIZ) {
i730drivers/block/aztcd.cint offs = (i * 4 + (CURRENT -> sector & 3)) * 512;
i732drivers/block/aztcd.cif (azt_buf_out != i) {
i733drivers/block/aztcd.cazt_buf_out = i;
i734drivers/block/aztcd.cif (azt_buf_bn[i] != bn) {
i1089drivers/block/aztcd.cint i;
i1091drivers/block/aztcd.cfor (i=0; i<2048; i++) {
i1166drivers/block/aztcd.c{ int i;
i1171drivers/block/aztcd.cfor (i = 0; i < AZT_BUF_SIZ; ++i)
i1172drivers/block/aztcd.cazt_buf_bn[i] = -1;
i1543drivers/block/aztcd.c{       int i, px;
i1550drivers/block/aztcd.cfor (i = 0; i < MAX_TRACKS; i++)
i1551drivers/block/aztcd.cToc[i].pointIndex = 0;
i1553drivers/block/aztcd.ci = DiskInfo.last + 3;
i1572drivers/block/aztcd.ci--;
i1575drivers/block/aztcd.cif (i <= 0)
i1583drivers/block/aztcd.cfor (i = 1; i <= DiskInfo.last+1; i++)
i1585drivers/block/aztcd.ci, Toc[i].ctrl_addr, Toc[i].track, Toc[i].pointIndex,
i1586drivers/block/aztcd.cToc[i].trackTime.min, Toc[i].trackTime.sec, Toc[i].trackTime.frame,
i1587drivers/block/aztcd.cToc[i].diskTime.min, Toc[i].diskTime.sec, Toc[i].diskTime.frame);
i1588drivers/block/aztcd.cfor (i = 100; i < 103; i++)
i1590drivers/block/aztcd.ci, Toc[i].ctrl_addr, Toc[i].track, Toc[i].pointIndex,
i1591drivers/block/aztcd.cToc[i].trackTime.min, Toc[i].trackTime.sec, Toc[i].trackTime.frame,
i1592drivers/block/aztcd.cToc[i].diskTime.min, Toc[i].diskTime.sec, Toc[i].diskTime.frame);
i615drivers/block/cdu31a.cint i;
i674drivers/block/cdu31a.cfor (i=0; i<8; i++)
i702drivers/block/cdu31a.cfor (i=0; i<10; i++)
i1090drivers/block/cdu31a.cint i;
i1098drivers/block/cdu31a.cfor(i=0; i<CD_XA_HEAD; i++)
i1137drivers/block/cdu31a.cfor(i=0; i<CD_XA_TAIL; i++)
i1724drivers/block/cdu31a.cint i;
i1729drivers/block/cdu31a.cfor (i = 0; i < num_tracks; i++)
i1731drivers/block/cdu31a.cif (sony_toc->tracks[i].track == track)
i1733drivers/block/cdu31a.creturn i;
i2179drivers/block/cdu31a.cint i;
i2270drivers/block/cdu31a.cfor (i=1; i<7; i++)
i2272drivers/block/cdu31a.cparams[i] = int_to_bcd(params[i]);
i2800drivers/block/cdu31a.cint i;
i2842drivers/block/cdu31a.ci = 0;
i2843drivers/block/cdu31a.cwhile (   (cdu31a_addresses[i].base != 0)
i2846drivers/block/cdu31a.cif (check_region(cdu31a_addresses[i].base, 4)) {
i2847drivers/block/cdu31a.ci++;
i2850drivers/block/cdu31a.cget_drive_configuration(cdu31a_addresses[i].base,
i2856drivers/block/cdu31a.cirq_used = cdu31a_addresses[i].int_num;
i2860drivers/block/cdu31a.ci++;
i379drivers/block/floppy.c#define _WAIT(x,i) CALL(ret=wait_til_done((x),i))
i745drivers/block/floppy.cint i, drive, saved_drive;
i751drivers/block/floppy.cfor(i=0; i< N_DRIVE; i++){
i752drivers/block/floppy.cdrive = (saved_drive + i + 1 ) % N_DRIVE;
i922drivers/block/floppy.cint i = 0, counter, status;
i932drivers/block/floppy.creturn i;
i936drivers/block/floppy.cif (i >= MAX_REPLIES) {
i940drivers/block/floppy.creply_buffer[i++] = inb_p(FD_DATA);
i946drivers/block/floppy.cstatus, fdc, i);
i1198drivers/block/floppy.cint i,ready_date,r, flags,dflags;
i1230drivers/block/floppy.cfor(i=0; i< raw_cmd.cmd_count; i++)
i1231drivers/block/floppy.cr|=output_byte( raw_cmd.cmd[i] );
i1428drivers/block/floppy.cint i;
i1434drivers/block/floppy.cfor(i=0; i<inr; i++)
i1435drivers/block/floppy.cprintk("%d %x\n", i, reply_buffer[i] );
i1444drivers/block/floppy.cfor(i=0; i<inr; i++)
i1445drivers/block/floppy.cprintk("%d %x\n", i, reply_buffer[i] );
i1532drivers/block/floppy.cint i;
i1537drivers/block/floppy.cfor(i=0; i<N_FDC; i++){
i1539drivers/block/floppy.cprintk("dor %d = %x\n", i, fdc_state[i].dor );
i1540drivers/block/floppy.coutb_p(fdc_state[i].address+2, fdc_state[i].dor);
i2589drivers/block/floppy.cint i;
i2591drivers/block/floppy.ci = verify_area(VERIFY_WRITE,param,size);
i2592drivers/block/floppy.cif (i)
i2593drivers/block/floppy.creturn i;
i2628drivers/block/floppy.cint i, drive, count, ret;
i2658drivers/block/floppy.ci = verify_area(VERIFY_READ, raw_cmd.data, count );
i2659drivers/block/floppy.cif (i)
i2660drivers/block/floppy.creturn i;
i2681drivers/block/floppy.cfor( i=0; i< raw_cmd.reply_count; i++)
i2682drivers/block/floppy.craw_cmd.reply[i] = reply_buffer[i];
i2692drivers/block/floppy.ci=fd_copyout( raw_cmd.data, floppy_track_buffer, count);
i2693drivers/block/floppy.cif (i)
i2694drivers/block/floppy.creturn i;
i2718drivers/block/floppy.cint i,device,drive,type,cnt;
i2730drivers/block/floppy.ci=verify_area(VERIFY_WRITE,(void *) param,16);
i2731drivers/block/floppy.cif (i)
i2732drivers/block/floppy.creturn i;
i2780drivers/block/floppy.cCALL(i = raw_cmd_ioctl((void *) param));
i2782drivers/block/floppy.creturn i;
i3214drivers/block/floppy.cint i;
i3216drivers/block/floppy.cfor (i=0; i < ARRAY_SIZE(default_drive_params); i++){
i3218drivers/block/floppy.cdefault_drive_params[i].params.flags |= 0x80;
i3220drivers/block/floppy.cdefault_drive_params[i].params.flags &= ~0x80;
i3227drivers/block/floppy.cint i;
i3229drivers/block/floppy.cfor (i=0; i < ARRAY_SIZE(default_drive_params); i++){
i3231drivers/block/floppy.cdefault_drive_params[i].params.select_delay = 0;
i3232drivers/block/floppy.cdefault_drive_params[i].params.flags |= FD_SILENT_DCL_CLEAR;
i3234drivers/block/floppy.cdefault_drive_params[i].params.select_delay = 2*HZ/100;
i3235drivers/block/floppy.cdefault_drive_params[i].params.flags &= ~FD_SILENT_DCL_CLEAR;
i3309drivers/block/floppy.cint i;
i3313drivers/block/floppy.cfor(i=0; i< ARRAY_SIZE(config_params); i++){
i3314drivers/block/floppy.cif (strcmp(str,config_params[i].name) == 0 ){
i3318drivers/block/floppy.cparam = config_params[i].def_param;
i3319drivers/block/floppy.cconfig_params[i].fn(ints,param);
i3325drivers/block/floppy.cfor(i=0; i< ARRAY_SIZE(config_params); i++)
i3326drivers/block/floppy.cprintk(" %s",config_params[i].name);
i3336drivers/block/floppy.cint i,drive;
i3346drivers/block/floppy.cfor(i=0; i<256; i++)
i3347drivers/block/floppy.cif ( TYPE(i))
i3348drivers/block/floppy.cfloppy_sizes[i] = floppy_type[TYPE(i)].size >> 1;
i3350drivers/block/floppy.cfloppy_sizes[i] = MAX_DISK_SIZE;
i3365drivers/block/floppy.cfor (i = 0 ; i < N_FDC ; i++) {
i3366drivers/block/floppy.cfdc = i;
i3393drivers/block/floppy.cfor (i = 0 ; i < N_FDC ; i++) {
i3394drivers/block/floppy.cfdc = i;
i3434drivers/block/floppy.cint i;
i3444drivers/block/floppy.cfor(i=0; i< N_FDC; i++){
i3446drivers/block/floppy.cfdc = i;
i106drivers/block/genhd.cint i, minor = current_minor;
i134drivers/block/genhd.cfor (i=1 ; i<=4 ; minor++,i++,p++) {
i151drivers/block/genhd.cfor (i = 4 ; i < 16 ; i++, current_minor++) {
i177drivers/block/genhd.cint i;
i185drivers/block/genhd.cfor (i=start ; i < j ; i++)
i186drivers/block/genhd.cdev->sizes[i] = dev->part[i].nr_sects >> (BLOCK_SIZE_BITS - 9);
i191drivers/block/genhd.cint i;
i197drivers/block/genhd.cfor (i = 0 ; i < j; i++)  {
i198drivers/block/genhd.cdev->part[i].start_sect = 0;
i199drivers/block/genhd.cdev->part[i].nr_sects = 0;
i206drivers/block/genhd.cfor (i=0 ; i < j ; i++)
i207drivers/block/genhd.cdev->sizes[i] = dev->part[i].nr_sects >> (BLOCK_SIZE_BITS - 9);
i101drivers/block/hd.cint i;
i107drivers/block/hd.ci = inb_p(0x40);
i108drivers/block/hd.ci |= inb(0x40) << 8;
i110drivers/block/hd.creturn(t - i);
i174drivers/block/hd.cint i = inb_p(HD_STATUS);
i176drivers/block/hd.cif (!OK_STATUS(i)) {
i177drivers/block/hd.cdump_status("check_status", i);
i361drivers/block/hd.cunsigned int i;
i364drivers/block/hd.cfor (i = 0; i < 500000 ; i++) {
i375drivers/block/hd.cint  i;
i378drivers/block/hd.cfor(i = 0; i < 1000; i++) nop();
i380drivers/block/hd.cfor(i = 0; i < 1000; i++) nop();
i389drivers/block/hd.cstatic int i;
i394drivers/block/hd.ci = -1;
i401drivers/block/hd.cif (++i < NR_HD) {
i402drivers/block/hd.cspecial_op[i] = recalibrate[i] = 1;
i403drivers/block/hd.cif (unmask_intr[i]) {
i404drivers/block/hd.cunmask_intr[i] = DEFAULT_UNMASK_INTR;
i405drivers/block/hd.cprintk("hd%c: reset irq-unmasking to %d\n",i+'a',
i408drivers/block/hd.cif (mult_req[i] || mult_count[i]) {
i409drivers/block/hd.cmult_count[i] = 0;
i410drivers/block/hd.cmult_req[i] = DEFAULT_MULT_COUNT;
i411drivers/block/hd.cprintk("hd%c: reset multiple mode to %d\n",i+'a',
i414drivers/block/hd.chd_out(i,hd_info[i].sect,hd_info[i].sect,hd_info[i].head-1,
i415drivers/block/hd.chd_info[i].cyl,WIN_SPECIFY,&reset_hd);
i477drivers/block/hd.cint i, retries = 100000, msect = mult_count[dev], nsect;
i482drivers/block/hd.ci = (unsigned) inb_p(HD_STATUS);
i483drivers/block/hd.cif (i & BUSY_STAT)
i485drivers/block/hd.cif (!OK_STATUS(i))
i487drivers/block/hd.cif (i & DRQ_STAT)
i490drivers/block/hd.cdump_status("read_intr", i);
i505drivers/block/hd.ci = (CURRENT->nr_sectors -= nsect);
i514drivers/block/hd.cif (i > 0) {
i550drivers/block/hd.cint i;
i555drivers/block/hd.cif (OK_STATUS(i=inb_p(HD_STATUS))) {
i556drivers/block/hd.cif (i & DRQ_STAT) {
i564drivers/block/hd.cfor (i = CURRENT->nr_sectors; i > 0;){
i565drivers/block/hd.ci -= CURRENT->current_nr_sectors;
i577drivers/block/hd.cdump_status("multwrite_intr", i);
i584drivers/block/hd.cint i;
i590drivers/block/hd.ci = (unsigned) inb_p(HD_STATUS);
i591drivers/block/hd.cif (i & BUSY_STAT)
i593drivers/block/hd.cif (!OK_STATUS(i))
i595drivers/block/hd.cif ((CURRENT->nr_sectors <= 1) || (i & DRQ_STAT))
i598drivers/block/hd.cdump_status("write_intr", i);
i604drivers/block/hd.ci = --CURRENT->nr_sectors;
i607drivers/block/hd.cif (!i || (CURRENT->bh && !SUBSECTOR(i)))
i609drivers/block/hd.cif (i > 0) {
i955drivers/block/hd.cint drive, i;
i1003drivers/block/hd.ci = NR_HD;
i1004drivers/block/hd.cwhile (i-- > 0) {
i1013drivers/block/hd.chd[i<<6].nr_sects = bios_info[i].head *
i1014drivers/block/hd.cbios_info[i].sect * bios_info[i].cyl;
i1015drivers/block/hd.chd_ident_info[i] = (struct hd_driveid *) kmalloc(512,GFP_KERNEL);
i1016drivers/block/hd.cspecial_op[i] = 1;
i1029drivers/block/hd.cfor(i=0;i<(MAX_HD << 6);i++) hd_blocksizes[i] = 1024;
i1082drivers/block/hd.cint i;
i1101drivers/block/hd.cfor (i=max_p - 1; i >=0 ; i--) {
i1102drivers/block/hd.csync_dev(major | start | i);
i1103drivers/block/hd.cinvalidate_inodes(major | start | i);
i1104drivers/block/hd.cinvalidate_buffers(major | start | i);
i1105drivers/block/hd.cgdev->part[start+i].start_sect = 0;
i1106drivers/block/hd.cgdev->part[start+i].nr_sects = 0;
i1097drivers/block/ide-cd.cint stat, ntracks, i;
i1137drivers/block/ide-cd.cfor (i=0; i<=ntracks; i++)
i1138drivers/block/ide-cd.cbyte_swap_long (&toc->ent[i].lba);
i383drivers/block/ide.cint i;
i389drivers/block/ide.ci = inb_p(0x40);
i390drivers/block/ide.ci |= inb(0x40) << 8;
i392drivers/block/ide.creturn (t - i);
i629drivers/block/ide.cint i = dev->mult_count ? dev->mult_count<<8 : 1<<8;
i630drivers/block/ide.cwhile (i-- > 0)      /* try to flush data */
i651drivers/block/ide.cint i;
i679drivers/block/ide.ci = (rq->nr_sectors -= nsect);
i682drivers/block/ide.cif (i > 0) {
i695drivers/block/ide.cint i;
i708drivers/block/ide.ci = --rq->nr_sectors;
i712drivers/block/ide.cif (i > 0) {
i762drivers/block/ide.cint i;
i776drivers/block/ide.cfor (i = rq->nr_sectors; i > 0;){
i777drivers/block/ide.ci -= rq->current_nr_sectors;
i1307drivers/block/ide.cunsigned int i, major, start, drive = DEVICE_NR(i_rdev);
i1328drivers/block/ide.cfor (i = 0; i < (1<<PARTN_BITS); i++) {
i1329drivers/block/ide.cunsigned int minor = start + i;
i1935drivers/block/ide.cint i, hwif, drive = next_drive++;
i1977drivers/block/ide.cfor (i=0; i++ < ints[0];)
i1978drivers/block/ide.cprintk("%s=%d%c",p[i-1],ints[i],i<ints[0]?',':'\n');
i401drivers/block/ll_rw_blk.cint i;
i423drivers/block/ll_rw_blk.ci = blksize_size[major][MINOR(bh[0]->b_dev)];
i424drivers/block/ll_rw_blk.cif (i)
i425drivers/block/ll_rw_blk.ccorrect_size = i;
i429drivers/block/ll_rw_blk.cfor (i = 0; i < nr; i++) {
i430drivers/block/ll_rw_blk.cif (bh[i] && bh[i]->b_size != correct_size) {
i433drivers/block/ll_rw_blk.ccorrect_size, bh[i]->b_size);
i457drivers/block/ll_rw_blk.cfor (i = 0; i < nr; i++) {
i458drivers/block/ll_rw_blk.cif (bh[i]) {
i459drivers/block/ll_rw_blk.cbh[i]->b_req = 1;
i460drivers/block/ll_rw_blk.cmake_request(major, rw, bh[i]);
i476drivers/block/ll_rw_blk.cfor (i = 0; i < nr; i++) {
i477drivers/block/ll_rw_blk.cif (bh[i])
i478drivers/block/ll_rw_blk.cbh[i]->b_dirt = bh[i]->b_uptodate = 0;
i485drivers/block/ll_rw_blk.cint i;
i507drivers/block/ll_rw_blk.cfor (i=0; i<nb; i++, buf += buffersize)
i514drivers/block/ll_rw_blk.creq->sector = (b[i] * buffersize) >> 9;
i243drivers/block/mcd.cint i, st;
i262drivers/block/mcd.ci = updateToc();
i263drivers/block/mcd.cif (i < 0)
i264drivers/block/mcd.creturn i;  /* error reading TOC */
i279drivers/block/mcd.ci = getMcdStatus(MCD_STATUS_DELAY);
i291drivers/block/mcd.ci = getMcdStatus(MCD_STATUS_DELAY);
i312drivers/block/mcd.ci = mcdPlay(&mcd_Play);
i313drivers/block/mcd.cif (i < 0)
i349drivers/block/mcd.ci = mcdPlay(&mcd_Play);
i350drivers/block/mcd.cif (i < 0)
i363drivers/block/mcd.ci = getMcdStatus(MCD_STATUS_DELAY);
i395drivers/block/mcd.ci = mcdPlay(&mcd_Play);
i396drivers/block/mcd.cif (i < 0)
i504drivers/block/mcd.ci = getMcdStatus(MCD_STATUS_DELAY);
i505drivers/block/mcd.cif (i < 0)
i523drivers/block/mcd.ci = getMcdStatus(MCD_STATUS_DELAY);
i534drivers/block/mcd.ci = getMcdStatus(MCD_STATUS_DELAY);
i553drivers/block/mcd.cint i;
i554drivers/block/mcd.cfor (i = 0; i < MCD_BUF_SIZ && mcd_buf_bn[i] != bn; ++i)
i556drivers/block/mcd.cif (i < MCD_BUF_SIZ) {
i557drivers/block/mcd.cint offs = (i * 4 + (CURRENT -> sector & 3)) * 512;
i559drivers/block/mcd.cif (mcd_buf_out != i) {
i560drivers/block/mcd.cmcd_buf_out = i;
i561drivers/block/mcd.cif (mcd_buf_bn[i] != bn) {
i911drivers/block/mcd.cint i = 4096;
i914drivers/block/mcd.c} while ((inb(MCDPORT(1)) & MFL_STATUSorDATA) == MFL_STATUS && --i);
i917drivers/block/mcd.ci = 4096;
i920drivers/block/mcd.c} while ((inb(MCDPORT(1)) & MFL_STATUSorDATA) == MFL_STATUS && --i);
i1001drivers/block/mcd.cint i;
i1002drivers/block/mcd.cfor (i = 0; i < MCD_BUF_SIZ; ++i)
i1003drivers/block/mcd.cmcd_buf_bn[i] = -1;
i1216drivers/block/mcd.cint i;
i1222drivers/block/mcd.ci = inb(MCDPORT(0)) & 0xFF;
i1223drivers/block/mcd.creturn i;
i1447drivers/block/mcd.cint i, px;
i1452drivers/block/mcd.cfor (i = 0; i < MAX_TRACKS; i++)
i1453drivers/block/mcd.cToc[i].pointIndex = 0;
i1455drivers/block/mcd.ci = DiskInfo.last + 3;
i1489drivers/block/mcd.ci--;
i1492drivers/block/mcd.cif (i <= 0)
i1508drivers/block/mcd.cfor (i = 1; i <= DiskInfo.last; i++)
i1510drivers/block/mcd.ci, Toc[i].ctrl_addr, Toc[i].track, Toc[i].pointIndex,
i1511drivers/block/mcd.cToc[i].trackTime.min, Toc[i].trackTime.sec, Toc[i].trackTime.frame,
i1512drivers/block/mcd.cToc[i].diskTime.min, Toc[i].diskTime.sec, Toc[i].diskTime.frame);
i1513drivers/block/mcd.cfor (i = 100; i < 103; i++)
i1515drivers/block/mcd.ci, Toc[i].ctrl_addr, Toc[i].track, Toc[i].pointIndex,
i1516drivers/block/mcd.cToc[i].trackTime.min, Toc[i].trackTime.sec, Toc[i].trackTime.frame,
i1517drivers/block/mcd.cToc[i].diskTime.min, Toc[i].diskTime.sec, Toc[i].diskTime.frame);
i80drivers/block/ramdisk.cint  i;
i91drivers/block/ramdisk.cfor (i=0; i < length; i++)
i94drivers/block/ramdisk.cfor(i=0;i<2;i++) rd_blocksizes[i] = 1024;
i115drivers/block/ramdisk.cint    i = 1;
i190drivers/block/ramdisk.ci++;
i766drivers/block/sbpcd.cstatic INLINE u_char swap_nibbles(u_char i)
i768drivers/block/sbpcd.creturn ((i<<4)|(i>>4));
i771drivers/block/sbpcd.cstatic INLINE u_char byt2bcd(u_char i)
i773drivers/block/sbpcd.creturn (((i/10)<<4)+i%10);
i784drivers/block/sbpcd.cint i;
i787drivers/block/sbpcd.ci=(msf.c[2] * CD_SECS + msf.c[1]) * CD_FRAMES + msf.c[0] - CD_BLOCK_OFFSET;
i788drivers/block/sbpcd.cif (i<0) return (0);
i789drivers/block/sbpcd.creturn (i);
i797drivers/block/sbpcd.cint i;
i799drivers/block/sbpcd.ci=(msf[0] * CD_SECS + msf[1]) * CD_FRAMES + msf[2] - CD_BLOCK_OFFSET;
i800drivers/block/sbpcd.cif (i<0) return (0);
i801drivers/block/sbpcd.creturn (i);
i826drivers/block/sbpcd.cint i;
i828drivers/block/sbpcd.cfor (i=0;i<10;i++) drvcmd[i]=0;
i832drivers/block/sbpcd.cstatic void mark_timeout(unsigned long i)
i847drivers/block/sbpcd.cint i;
i851drivers/block/sbpcd.cfor (i=maxtim_data;i!=0;i--) inb(CDi_status);
i854drivers/block/sbpcd.cfor (i=maxtim02;i!=0;i--) inb(CDi_status);
i858drivers/block/sbpcd.cfor (i=maxtim_data;i!=0;i--) inb(CDi_status);
i879drivers/block/sbpcd.cint i,j;
i883drivers/block/sbpcd.cfor(timeout = jiffies + 1000, i=maxtim_data; timeout > jiffies; )
i885drivers/block/sbpcd.cfor ( ;i!=0;i--)
i893drivers/block/sbpcd.ci = 1;
i897drivers/block/sbpcd.cfor(i=maxtim16;i!=0;i--)
i905drivers/block/sbpcd.cfor(timeout = jiffies + 1000, i=maxtim_data; timeout > jiffies; )
i907drivers/block/sbpcd.cfor ( ;i!=0;i--)
i915drivers/block/sbpcd.ci = 1;
i924drivers/block/sbpcd.cint i,j, st=0;
i929drivers/block/sbpcd.cfor (i=0, timeout = jiffies + 100; i < response_count; i++) 
i943drivers/block/sbpcd.cinfobuf[i]=inb(CDi_info);
i947drivers/block/sbpcd.cfor (i=0;i<response_count;i++)
i956drivers/block/sbpcd.cDPRINTF((DBG_SEQ,"SBPCD: ResponseInfo: not_result_ready (got %d of %d bytes).\n", i, response_count));
i959drivers/block/sbpcd.cinfobuf[i]=inb(CDi_info);
i963drivers/block/sbpcd.cfor (i=0, timeout = jiffies + 100; i < response_count; i++) 
i977drivers/block/sbpcd.cinfobuf[i]=inb(CDi_info);
i1022drivers/block/sbpcd.cint i,j;
i1035drivers/block/sbpcd.ci=inb(CDi_status);
i1036drivers/block/sbpcd.cif (!(i&s_not_result_ready)) break;
i1051drivers/block/sbpcd.ci=inb(CDi_status);
i1052drivers/block/sbpcd.cif (!(i&s_not_result_ready)) break;
i1065drivers/block/sbpcd.ci=inb(CDi_status);
i1066drivers/block/sbpcd.cif (!(i&s_not_result_ready)) break;
i1081drivers/block/sbpcd.ci=inb(CDi_info);
i1082drivers/block/sbpcd.cDPRINTF((DBG_STA,"SBPCD: ResponseStatus: response %2X.\n", i));
i1083drivers/block/sbpcd.cEvaluateStatus(i);
i1089drivers/block/sbpcd.cint i;
i1096drivers/block/sbpcd.cif (!fam0L_drive) for (i=0;i<6;i++) OUT(CDo_command,0);
i1102drivers/block/sbpcd.cint i;
i1127drivers/block/sbpcd.ci=cmd_out(7);
i1129drivers/block/sbpcd.cDPRINTF((DBG_ERR,"SBPCD: xx_ReadError: cmd_out(82) returns %d (%02X)\n",i,i));
i1130drivers/block/sbpcd.cif (i<0) return (i);
i1131drivers/block/sbpcd.cif (fam0_drive) i=1;
i1132drivers/block/sbpcd.celse i=2;
i1133drivers/block/sbpcd.cDriveStruct[d].error_byte=infobuf[i];
i1134drivers/block/sbpcd.cDPRINTF((DBG_ERR,"SBPCD: xx_ReadError: infobuf[%d] is %d (%02X)\n",i,DriveStruct[d].error_byte,DriveStruct[d].error_byte));
i1135drivers/block/sbpcd.ci=sta2err(infobuf[i]);
i1136drivers/block/sbpcd.creturn (i);
i1141drivers/block/sbpcd.cint i=0;
i1146drivers/block/sbpcd.cfor (i=0;i<len;i++) DPRINTF((DBG_CMD," %02X",drvcmd[i]));
i1150drivers/block/sbpcd.cfor (i=0;i<len;i++) OUT(CDo_command,drvcmd[i]);
i1162drivers/block/sbpcd.celse i=ResponseInfo();
i1163drivers/block/sbpcd.cif (i<0) return (-9);
i1168drivers/block/sbpcd.ci=CDi_stat_loop();
i1169drivers/block/sbpcd.cif ((i<0)||!(i&s_attention)) return (-9);
i1181drivers/block/sbpcd.ci=ResponseStatus();
i1183drivers/block/sbpcd.cif (i<0) return (-9);
i1188drivers/block/sbpcd.cif (flags_cmd_out&f_bit1) if (i&p_success_old) goto LOC_232;
i1198drivers/block/sbpcd.ci=xx_ReadError();
i1200drivers/block/sbpcd.creturn (i);
i1205drivers/block/sbpcd.cint i;
i1242drivers/block/sbpcd.ci=cmd_out(7);
i1243drivers/block/sbpcd.creturn (i);
i1248drivers/block/sbpcd.cint i;
i1271drivers/block/sbpcd.ci=cmd_out(7);
i1273drivers/block/sbpcd.creturn (i);
i1278drivers/block/sbpcd.cint i;
i1300drivers/block/sbpcd.ci=cmd_out(7);
i1301drivers/block/sbpcd.creturn (i);
i1306drivers/block/sbpcd.cint i;
i1335drivers/block/sbpcd.ci=cmd_out(7);
i1336drivers/block/sbpcd.creturn (i);
i1341drivers/block/sbpcd.cint i;
i1438drivers/block/sbpcd.ci=channel1;
i1440drivers/block/sbpcd.cchannel0=i;
i1441drivers/block/sbpcd.ci=volume1;
i1443drivers/block/sbpcd.cvolume0=i;
i1487drivers/block/sbpcd.ci=cmd_out(7);
i1488drivers/block/sbpcd.cif (i>0) return (i);
i1495drivers/block/sbpcd.cint i;
i1500drivers/block/sbpcd.ci=cmd_out(7);
i1501drivers/block/sbpcd.creturn (i);
i1506drivers/block/sbpcd.cint i;
i1516drivers/block/sbpcd.ci=cmd_out(7);
i1522drivers/block/sbpcd.ci=cmd_out(7);
i1528drivers/block/sbpcd.ci=GetStatus();
i1529drivers/block/sbpcd.cif (i>=0) return -1;
i1536drivers/block/sbpcd.cint i, speed;
i1545drivers/block/sbpcd.ci=yy_SetSpeed(speed,0,0);
i1546drivers/block/sbpcd.creturn (i);
i1551drivers/block/sbpcd.cint i;
i1553drivers/block/sbpcd.ci=xy_DriveReset();
i1554drivers/block/sbpcd.cif (i<0) return (-2);
i1557drivers/block/sbpcd.ci=GetStatus();
i1558drivers/block/sbpcd.cif ((i<0)&&(i!=-15)) return (-2); /* i!=-15 is from sta2err */
i1567drivers/block/sbpcd.ci=DiskInfo();
i1568drivers/block/sbpcd.cif (i<0) return (-2);
i1575drivers/block/sbpcd.cint i;
i1602drivers/block/sbpcd.ci=cmd_out(7);
i1603drivers/block/sbpcd.creturn (i);
i1608drivers/block/sbpcd.cint i;
i1633drivers/block/sbpcd.ci=cmd_out(7);
i1635drivers/block/sbpcd.creturn (i);
i1640drivers/block/sbpcd.cint i;
i1666drivers/block/sbpcd.ci=cmd_out(7);
i1668drivers/block/sbpcd.creturn (i);
i1673drivers/block/sbpcd.cint i,j;
i1703drivers/block/sbpcd.ci=cmd_out(7);
i1704drivers/block/sbpcd.cif (i<0) return (i);
i1706drivers/block/sbpcd.cfor (i=0;i<response_count;i++)
i1708drivers/block/sbpcd.cDPRINTF((DBG_SQ," %02X", infobuf[i]));
i1722drivers/block/sbpcd.ci=4;
i1723drivers/block/sbpcd.cif (fam0L_drive) i=5;
i1724drivers/block/sbpcd.cDriveStruct[d].SubQ_run_tot=make32(make16(0,infobuf[i]),make16(infobuf[i+1],infobuf[i+2])); /* msf-bin */
i1725drivers/block/sbpcd.ci=7;
i1726drivers/block/sbpcd.cif (fam0L_drive) i=9;
i1727drivers/block/sbpcd.cDriveStruct[d].SubQ_run_trk=make32(make16(0,infobuf[i]),make16(infobuf[i+1],infobuf[i+2])); /* msf-bin */
i1728drivers/block/sbpcd.cDriveStruct[d].SubQ_whatisthis=infobuf[i+3];
i1735drivers/block/sbpcd.cint i;
i1755drivers/block/sbpcd.ci=cmd_out(7);
i1756drivers/block/sbpcd.cif (i<0) return (i);
i1757drivers/block/sbpcd.ci=0;
i1758drivers/block/sbpcd.cif (fam1_drive) DriveStruct[d].sense_byte=infobuf[i++];
i1760drivers/block/sbpcd.cDriveStruct[d].frame_size=make16(infobuf[i],infobuf[i+1]);
i1763drivers/block/sbpcd.cfor (i=0;i<(fam1_drive?5:2);i++)
i1765drivers/block/sbpcd.cDPRINTF((DBG_XA,"%02X ", infobuf[i]));
i1776drivers/block/sbpcd.cint i;
i1810drivers/block/sbpcd.ci=cmd_out(7);
i1811drivers/block/sbpcd.cif (i<0) return (i);
i1819drivers/block/sbpcd.cint i;
i1849drivers/block/sbpcd.ci=cmd_out(7);
i1850drivers/block/sbpcd.cif (i<0) return (i);
i1931drivers/block/sbpcd.cint i;
i1957drivers/block/sbpcd.ci=cmd_out(7);
i1958drivers/block/sbpcd.cif (i<0) return (i);
i1968drivers/block/sbpcd.cint i;
i1998drivers/block/sbpcd.ci=cmd_out(7);
i1999drivers/block/sbpcd.cif (i<0) return (i);
i2026drivers/block/sbpcd.ci=cmd_out(7);
i2027drivers/block/sbpcd.cif (i<0) return (i);
i2039drivers/block/sbpcd.ci=cmd_out(7);
i2040drivers/block/sbpcd.cif (i<0) return (i);
i2063drivers/block/sbpcd.cint i;
i2091drivers/block/sbpcd.ci=cmd_out(7);
i2092drivers/block/sbpcd.cif (i<0) return (i);
i2093drivers/block/sbpcd.cif (fam2_drive) i=0;
i2097drivers/block/sbpcd.ci=1;
i2099drivers/block/sbpcd.cDriveStruct[d].TocEnt_ctl_adr=swap_nibbles(infobuf[i++]);
i2102drivers/block/sbpcd.cDriveStruct[d].TocEnt_number=infobuf[i++];
i2103drivers/block/sbpcd.cDriveStruct[d].TocEnt_format=infobuf[i];
i2105drivers/block/sbpcd.cif (fam1_drive) i=4;
i2106drivers/block/sbpcd.celse if (fam0L_drive) i=5;
i2107drivers/block/sbpcd.celse if (fam2_drive) i=2;
i2108drivers/block/sbpcd.cDriveStruct[d].TocEnt_address=make32(make16(0,infobuf[i]),
i2109drivers/block/sbpcd.cmake16(infobuf[i+1],infobuf[i+2]));
i2119drivers/block/sbpcd.cint i;
i2129drivers/block/sbpcd.ci=cmd_out(7);
i2130drivers/block/sbpcd.creturn (i);
i2135drivers/block/sbpcd.cint i;
i2139drivers/block/sbpcd.cfor (i=0;i<7;i++)
i2141drivers/block/sbpcd.cif (fam1_drive) DriveStruct[d].UPC_buf[i]=swap_nibbles(*p++);
i2144drivers/block/sbpcd.cDriveStruct[d].UPC_buf[i]=((*p++)<<4)&0xFF;
i2145drivers/block/sbpcd.cDriveStruct[d].UPC_buf[i] |= *p++;
i2158drivers/block/sbpcd.cint i;
i2197drivers/block/sbpcd.ci=cmd_out(7);
i2198drivers/block/sbpcd.cif (i<0) return (i);
i2203drivers/block/sbpcd.ci=xx_ReadPacket();
i2204drivers/block/sbpcd.cif (i<0) return (i);
i2210drivers/block/sbpcd.cfor (i=0;i<(fam1_drive?8:16);i++)
i2213drivers/block/sbpcd.cchecksum |= infobuf[i];
i2215drivers/block/sbpcd.cDPRINTF((DBG_UPC,"%02X ", infobuf[i]));
i2223drivers/block/sbpcd.cif (fam1_drive) i=0;
i2224drivers/block/sbpcd.celse i=2;
i2225drivers/block/sbpcd.cif ((infobuf[i]&0x80)!=0)
i2227drivers/block/sbpcd.cconvert_UPC(&infobuf[i]);
i2233drivers/block/sbpcd.cfor (i=0;i<7;i++)
i2235drivers/block/sbpcd.cDPRINTF((DBG_UPC,"%02X ", DriveStruct[d].UPC_buf[i]));
i2245drivers/block/sbpcd.cint i;
i2257drivers/block/sbpcd.ci=cmd_out(7);
i2258drivers/block/sbpcd.cif (i<0) return (i);
i2277drivers/block/sbpcd.ci=cmd_out(7);
i2278drivers/block/sbpcd.cif (i<0) return (i);
i2298drivers/block/sbpcd.cint i;
i2314drivers/block/sbpcd.ci=cmd_out(7); /* which buffer to use? */
i2315drivers/block/sbpcd.creturn (i);
i2322drivers/block/sbpcd.cint i=0;
i2327drivers/block/sbpcd.cfor (i=0;i<=1000;i++) printk(".");
i2339drivers/block/sbpcd.ci=inb(CDi_status);
i2372drivers/block/sbpcd.cint i;
i2380drivers/block/sbpcd.ci=do_cmd(f_putcmd|f_lopsta|f_getsta|f_ResponseStatus);
i2386drivers/block/sbpcd.ci=do_cmd(f_putcmd);
i2389drivers/block/sbpcd.creturn (i);
i2394drivers/block/sbpcd.cint i;
i2402drivers/block/sbpcd.ci=do_cmd(f_putcmd|f_lopsta|f_getsta|f_ResponseStatus);
i2407drivers/block/sbpcd.ci=do_cmd(f_putcmd);
i2410drivers/block/sbpcd.creturn (i);
i2418drivers/block/sbpcd.cint i;
i2423drivers/block/sbpcd.cfor (i=0;i<12;i++) printk("%02X ",infobuf[i]);
i2425drivers/block/sbpcd.cfor (i=0;i<12;i++) printk("%c",infobuf[i]);
i2431drivers/block/sbpcd.cint i, j;
i2442drivers/block/sbpcd.ci=cmd_out(7);
i2443drivers/block/sbpcd.cif (i<0) DPRINTF((DBG_INI,"SBPCD: CMD2_READERR returns %d (ok anyway).\n",i));
i2446drivers/block/sbpcd.cfor (i=0;i<12;i++) infobuf[i]=0;
i2456drivers/block/sbpcd.ci=cmd_out(7);
i2457drivers/block/sbpcd.cif (i<0) DPRINTF((DBG_INI,"SBPCD: CMD2_READ_VER returns %d\n",i));
i2458drivers/block/sbpcd.cif (i>=0) /* from CD200 */
i2460drivers/block/sbpcd.cfor (i=0, j=0;i<12;i++) j+=infobuf[i];
i2464drivers/block/sbpcd.cfor (i=0;i<12;i++) DPRINTF((DBG_ID,"%02X ",infobuf[i]));
i2465drivers/block/sbpcd.cfor (i=0;i<12;i++) DPRINTF((DBG_ID,"%c",infobuf[i]));
i2468drivers/block/sbpcd.cfor (i=0;i<5;i++) if (infobuf[i]!=family2[i]) break;
i2469drivers/block/sbpcd.cif (i==5)
i2476drivers/block/sbpcd.cDriveStruct[d].drive_model[5]=infobuf[i++];
i2477drivers/block/sbpcd.cDriveStruct[d].drive_model[6]=infobuf[i++];
i2491drivers/block/sbpcd.ci=cmd_out(7);
i2492drivers/block/sbpcd.cif (i<0) DPRINTF((DBG_INI,"SBPCD: CMD0_READERR returns %d (ok anyway).\n",i));
i2495drivers/block/sbpcd.cfor (i=0;i<12;i++) infobuf[i]=0;
i2499drivers/block/sbpcd.ci=cmd_out(7);
i2500drivers/block/sbpcd.cif (i<0) DPRINTF((DBG_INI,"SBPCD: CMD0_READ_VER returns %d\n",i));
i2502drivers/block/sbpcd.cfor (i=0, j=0;i<12;i++) j+=infobuf[i];
i2506drivers/block/sbpcd.cfor (i=0;i<12;i++) DPRINTF((DBG_ID,"%02X ",infobuf[i]));
i2507drivers/block/sbpcd.cfor (i=0;i<12;i++) DPRINTF((DBG_ID,"%c",infobuf[i]));
i2511drivers/block/sbpcd.cfor (i=0;i<4;i++) if (infobuf[i]!=family1[i]) break;
i2512drivers/block/sbpcd.cif (i==4)
i2518drivers/block/sbpcd.cDriveStruct[d].drive_model[4]=infobuf[i++];
i2519drivers/block/sbpcd.cDriveStruct[d].drive_model[5]=infobuf[i++];
i2525drivers/block/sbpcd.cfor (i=0;i<8;i++) if (infobuf[i]!=family0[i]) break;
i2526drivers/block/sbpcd.cif (i==8)
i2540drivers/block/sbpcd.cfor (i=0;i<8;i++) if (infobuf[i]!=familyL[i]) break;
i2541drivers/block/sbpcd.cif (i==8)
i2555drivers/block/sbpcd.cfor (j=0;j<4;j++) DriveStruct[d].firmware_version[j]=infobuf[i+j];
i2558drivers/block/sbpcd.cfor (i=0;i<2;i++)
i2561drivers/block/sbpcd.cif (DriveStruct[d].firmware_version[j]!=lcs_firm[i][j]) break;
i2603drivers/block/sbpcd.cstatic int switch_drive(int i)
i2605drivers/block/sbpcd.cd=i;
i2609drivers/block/sbpcd.cDPRINTF((DBG_DID,"SBPCD: drive %d (ID=%d) activated.\n", i, DriveStruct[d].drv_id));
i2620drivers/block/sbpcd.cint i, j;
i2633drivers/block/sbpcd.ci=check_version();
i2634drivers/block/sbpcd.cif (i<0) DPRINTF((DBG_INI,"SBPCD: check_version returns %d.\n",i));
i2656drivers/block/sbpcd.cint i;
i2657drivers/block/sbpcd.cfor (i=0; i<65500; i++);
i2785drivers/block/sbpcd.cint i;
i2787drivers/block/sbpcd.ci=msf2blk(DriveStruct[d].pos_audio_end)-1;
i2788drivers/block/sbpcd.cif (i<0) return (-1);
i2789drivers/block/sbpcd.ci=xx_Seek(i,0);
i2790drivers/block/sbpcd.creturn (i);
i2795drivers/block/sbpcd.cint i, j;
i2800drivers/block/sbpcd.ci=xx_ReadTocEntry(j);
i2801drivers/block/sbpcd.cif (i<0) return (i);
i2822drivers/block/sbpcd.cint i, j;
i2831drivers/block/sbpcd.ci=SetSpeed();
i2832drivers/block/sbpcd.cif (i<0)
i2834drivers/block/sbpcd.cDPRINTF((DBG_INF,"SBPCD: DiskInfo: SetSpeed returns %d\n", i));
i2837drivers/block/sbpcd.ci=xx_ModeSense();
i2838drivers/block/sbpcd.cif (i<0)
i2840drivers/block/sbpcd.cDPRINTF((DBG_INF,"SBPCD: DiskInfo: xx_ModeSense returns %d\n", i));
i2843drivers/block/sbpcd.ci=xx_ReadCapacity();
i2844drivers/block/sbpcd.cif (i>=0) break;
i2845drivers/block/sbpcd.cDPRINTF((DBG_INF,"SBPCD: DiskInfo: ReadCapacity #%d returns %d\n", j, i));
i2846drivers/block/sbpcd.ci=DriveReset();
i2850drivers/block/sbpcd.ci=xx_ReadTocDescr();
i2851drivers/block/sbpcd.cif (i<0)
i2853drivers/block/sbpcd.cDPRINTF((DBG_INF,"SBPCD: DiskInfo: ReadTocDescr returns %d\n", i));
i2854drivers/block/sbpcd.creturn (i);
i2856drivers/block/sbpcd.ci=ReadToC();
i2857drivers/block/sbpcd.cif (i<0)
i2859drivers/block/sbpcd.cDPRINTF((DBG_INF,"SBPCD: DiskInfo: ReadToC returns %d\n", i));
i2860drivers/block/sbpcd.creturn (i);
i2862drivers/block/sbpcd.ci=yy_CheckMultiSession();
i2863drivers/block/sbpcd.cif (i<0)
i2865drivers/block/sbpcd.cDPRINTF((DBG_INF,"SBPCD: DiskInfo: yy_CheckMultiSession returns %d\n", i));
i2866drivers/block/sbpcd.creturn (i);
i2868drivers/block/sbpcd.ci=xx_ReadTocEntry(DriveStruct[d].n_first_track);
i2869drivers/block/sbpcd.cif (i<0)
i2871drivers/block/sbpcd.cDPRINTF((DBG_INF,"SBPCD: DiskInfo: xx_ReadTocEntry(1) returns %d\n", i));
i2872drivers/block/sbpcd.creturn (i);
i2874drivers/block/sbpcd.ci=xx_ReadUPC();
i2875drivers/block/sbpcd.cif (i<0)
i2877drivers/block/sbpcd.cDPRINTF((DBG_INF,"SBPCD: DiskInfo: xx_ReadUPC returns %d\n", i));
i2878drivers/block/sbpcd.creturn (i);
i2897drivers/block/sbpcd.cint i;
i2901drivers/block/sbpcd.ci=inb(CDi_status);
i2902drivers/block/sbpcd.cif (i&s_attention) GetStatus();
i2915drivers/block/sbpcd.ci=check_allowed1(func,subfunc);
i2916drivers/block/sbpcd.cif (i<0) return (-2);
i2920drivers/block/sbpcd.ci=check_allowed3(func,subfunc);
i2921drivers/block/sbpcd.cif (i<0)
i2937drivers/block/sbpcd.ci=check_allowed1(func,subfunc);
i2938drivers/block/sbpcd.cif (i<0) return (-2);
i2946drivers/block/sbpcd.ci=check_allowed2(func,subfunc);
i2947drivers/block/sbpcd.cif (i<0) return (-2);
i2957drivers/block/sbpcd.ci=DiskInfo();
i2958drivers/block/sbpcd.cif (i<0)
i2965drivers/block/sbpcd.ci=check_allowed1(func,subfunc);
i2966drivers/block/sbpcd.cif (i<0) return (-2);
i2976drivers/block/sbpcd.cint i, n;
i2983drivers/block/sbpcd.ci=msf2blk(pos_audio_start);
i2984drivers/block/sbpcd.cn=msf2blk(pos_audio_end)+1-i;
i2985drivers/block/sbpcd.cdrvcmd[1]=(i>>16)&0x00FF;
i2986drivers/block/sbpcd.cdrvcmd[2]=(i>>8)&0x00FF;
i2987drivers/block/sbpcd.cdrvcmd[3]=i&0x00FF;
i3021drivers/block/sbpcd.ci=cmd_out(7);
i3022drivers/block/sbpcd.creturn (i);
i3080drivers/block/sbpcd.cint i, st;
i3085drivers/block/sbpcd.ci=MINOR(inode->i_rdev);
i3086drivers/block/sbpcd.cif ((i<0) || (i>=NR_SBPCD) || (DriveStruct[i].drv_id==-1))
i3091drivers/block/sbpcd.cswitch_drive(i);
i3098drivers/block/sbpcd.ci=DiskInfo();
i3099drivers/block/sbpcd.cif (i<0) return (-EIO);  /* error reading TOC */
i3102drivers/block/sbpcd.cDPRINTF((DBG_IO2,"SBPCD: ioctl: device %d, request %04X\n",i,cmd));
i3107drivers/block/sbpcd.ci = verify_area(VERIFY_READ, (int *) arg, sizeof(int));
i3108drivers/block/sbpcd.cif (i>=0) i=sbpcd_dbg_ioctl(arg,1);
i3109drivers/block/sbpcd.creturn (i);
i3120drivers/block/sbpcd.cif (famL_drive) i=xx_ReadSubQ();
i3121drivers/block/sbpcd.celse i=xx_Pause_Resume(1);
i3122drivers/block/sbpcd.cif (i<0) return (-EIO);
i3123drivers/block/sbpcd.cif (famL_drive) i=xx_Pause_Resume(1);
i3124drivers/block/sbpcd.celse i=xx_ReadSubQ();
i3125drivers/block/sbpcd.cif (i<0) return (-EIO);
i3130drivers/block/sbpcd.ci=xx_Seek(DriveStruct[d].pos_audio_start,1);
i3131drivers/block/sbpcd.cif (i<0) return (-EIO);
i3144drivers/block/sbpcd.ci=xx_PlayAudio(DriveStruct[d].pos_audio_start,
i3146drivers/block/sbpcd.celse i=xx_Pause_Resume(3);
i3147drivers/block/sbpcd.cif (i<0) return (-EIO);
i3155drivers/block/sbpcd.ci=xx_Pause_Resume(1);
i3156drivers/block/sbpcd.cif (i<0) return (-EIO);
i3157drivers/block/sbpcd.ci=xx_ReadSubQ();
i3158drivers/block/sbpcd.cif (i<0) return (-EIO);
i3160drivers/block/sbpcd.ci=xx_Seek(DriveStruct[d].pos_audio_start,1);
i3174drivers/block/sbpcd.ci=xx_PlayAudio(DriveStruct[d].pos_audio_start,DriveStruct[d].pos_audio_end);
i3175drivers/block/sbpcd.cDPRINTF((DBG_IOC,"SBPCD: ioctl: xx_PlayAudio returns %d\n",i));
i3177drivers/block/sbpcd.cif (i<0) return (-EIO);
i3205drivers/block/sbpcd.ci=xx_PlayAudio(DriveStruct[d].pos_audio_start,DriveStruct[d].pos_audio_end);
i3207drivers/block/sbpcd.cif (i<0) return (-EIO);
i3226drivers/block/sbpcd.ci=tocentry.cdte_track;
i3227drivers/block/sbpcd.cif (i==CDROM_LEADOUT) i=DriveStruct[d].n_last_track+1;
i3228drivers/block/sbpcd.celse if (i<DriveStruct[d].n_first_track||i>DriveStruct[d].n_last_track) return (-EINVAL);
i3229drivers/block/sbpcd.ctocentry.cdte_adr=DriveStruct[d].TocBuffer[i].ctl_adr&0x0F;
i3230drivers/block/sbpcd.ctocentry.cdte_ctrl=(DriveStruct[d].TocBuffer[i].ctl_adr>>4)&0x0F;
i3231drivers/block/sbpcd.ctocentry.cdte_datamode=DriveStruct[d].TocBuffer[i].format;
i3233drivers/block/sbpcd.c{ tocentry.cdte_addr.msf.minute=(DriveStruct[d].TocBuffer[i].address>>16)&0x00FF;
i3234drivers/block/sbpcd.ctocentry.cdte_addr.msf.second=(DriveStruct[d].TocBuffer[i].address>>8)&0x00FF;
i3235drivers/block/sbpcd.ctocentry.cdte_addr.msf.frame=DriveStruct[d].TocBuffer[i].address&0x00FF;
i3238drivers/block/sbpcd.ctocentry.cdte_addr.lba=msf2blk(DriveStruct[d].TocBuffer[i].address);
i3247drivers/block/sbpcd.ci=xx_Pause_Resume(1);
i3260drivers/block/sbpcd.cdo i=yy_LockDoor(0);
i3261drivers/block/sbpcd.cwhile (i!=0);
i3263drivers/block/sbpcd.ci=yy_SpinDown();
i3264drivers/block/sbpcd.cDPRINTF((DBG_IOX,"SBPCD: ioctl: yy_SpinDown returned %d.\n", i));
i3265drivers/block/sbpcd.cif (i<0) return (-EIO);
i3286drivers/block/sbpcd.ci=xx_SetVolume();
i3291drivers/block/sbpcd.cif ((st_spinning)||(!subq_valid)) { i=xx_ReadSubQ();
i3292drivers/block/sbpcd.cif (i<0) return (-EIO);
i3351drivers/block/sbpcd.cint i=0, j=0, frame, block;
i3366drivers/block/sbpcd.ci=verify_area(VERIFY_READ, (void *) arg, sizeof(struct cdrom_read_audio));
i3367drivers/block/sbpcd.cif (i) return (i);
i3370drivers/block/sbpcd.ci=verify_area(VERIFY_WRITE, read_audio.buf,
i3372drivers/block/sbpcd.cif (i) return (i);
i3379drivers/block/sbpcd.ci=yy_SetSpeed(speed_150,0,0);
i3380drivers/block/sbpcd.cif (i) DPRINTF((DBG_AUD,"SBPCD: read_audio: SetSpeed error %d\n", i));
i3432drivers/block/sbpcd.cfor (i=0;i<7;i++) OUT(CDo_command,drvcmd[i]);
i3485drivers/block/sbpcd.ci=DriveReset();                /* ugly fix to prevent a hang */
i3487drivers/block/sbpcd.ci=xx_ReadError();
i3493drivers/block/sbpcd.ci=maxtim_data;
i3496drivers/block/sbpcd.cfor ( ;i!=0;i--)
i3503drivers/block/sbpcd.cif (i != 0 || timeout <= jiffies) break;
i3505drivers/block/sbpcd.ci = 1;
i3507drivers/block/sbpcd.cif (i==0) { DPRINTF((DBG_AUD,"SBPCD: read_audio: STATUS TIMEOUT AFTER READ")); }
i3511drivers/block/sbpcd.ci=DriveReset();  /* ugly fix to prevent a hang */
i3518drivers/block/sbpcd.ci=ResponseStatus();  /* builds status_byte, returns orig. status (old) or faked p_success_old (new) */
i3519drivers/block/sbpcd.cif (i<0) { DPRINTF((DBG_AUD,
i3525drivers/block/sbpcd.cwhile ((fam0L_drive)&&(!st_check)&&(!(i&p_success_old)));
i3528drivers/block/sbpcd.ci=xx_ReadError();
i3529drivers/block/sbpcd.cDPRINTF((DBG_AUD,"SBPCD: read_audio: xx_ReadError was necessary after read: %02X\n",i));
i3609drivers/block/sbpcd.cint i, status_tries, data_tries;
i3622drivers/block/sbpcd.ci = MINOR(CURRENT->dev);
i3623drivers/block/sbpcd.cif ( (i<0) || (i>=NR_SBPCD) || (DriveStruct[i].drv_id==-1))
i3628drivers/block/sbpcd.cswitch_drive(i);
i3646drivers/block/sbpcd.ci=prepare(0,0); /* at moment not really a hassle check, but ... */
i3647drivers/block/sbpcd.cif (i!=0)
i3648drivers/block/sbpcd.cDPRINTF((DBG_INF,"SBPCD: \"prepare\" tells error %d -- ignored\n", i));
i3701drivers/block/sbpcd.cint i;
i3779drivers/block/sbpcd.cfor (i=0;i<7;i++) OUT(CDo_command,drvcmd[i]);
i3791drivers/block/sbpcd.cint i=0, j=0, frame;
i3873drivers/block/sbpcd.ci=DriveReset();                /* ugly fix to prevent a hang */
i3875drivers/block/sbpcd.ci=xx_ReadError();
i3883drivers/block/sbpcd.ci=maxtim_data;
i3886drivers/block/sbpcd.cfor ( ;i!=0;i--)
i3893drivers/block/sbpcd.cif (i != 0 || timeout <= jiffies) break;
i3895drivers/block/sbpcd.ci = 1;
i3897drivers/block/sbpcd.cif (i==0) { DPRINTF((DBG_INF,"SBPCD: STATUS TIMEOUT AFTER READ")); }
i3901drivers/block/sbpcd.ci=DriveReset();  /* ugly fix to prevent a hang */
i3911drivers/block/sbpcd.ci=ResponseStatus();  /* builds status_byte, returns orig. status (old) or faked p_success_old (new) */
i3912drivers/block/sbpcd.cif (i<0) { DPRINTF((DBG_INF,"SBPCD: xx_ReadStatus error after read: %02X\n",
i3917drivers/block/sbpcd.cwhile ((fam0L_drive)&&(!st_check)&&(!(i&p_success_old)));
i3920drivers/block/sbpcd.ci=xx_ReadError();
i3921drivers/block/sbpcd.cDPRINTF((DBG_INF,"SBPCD: xx_ReadError was necessary after read: %02X\n",i));
i3937drivers/block/sbpcd.cint i;
i3939drivers/block/sbpcd.ci = MINOR(ip->i_rdev);
i3940drivers/block/sbpcd.cif ((i<0) || (i>=NR_SBPCD) || (DriveStruct[i].drv_id==-1))
i3948drivers/block/sbpcd.cswitch_drive(i);
i3952drivers/block/sbpcd.ci=ResponseStatus();
i3958drivers/block/sbpcd.ci=ResponseStatus();
i3965drivers/block/sbpcd.ci=ResponseStatus();
i3967drivers/block/sbpcd.cif (i<0)
i3978drivers/block/sbpcd.ci=yy_LockDoor(0);
i3979drivers/block/sbpcd.cwhile (i!=0);
i3993drivers/block/sbpcd.ci=yy_LockDoor(1);
i3994drivers/block/sbpcd.cwhile (i!=0);
i3998drivers/block/sbpcd.ci=DiskInfo();
i4009drivers/block/sbpcd.cint i;
i4011drivers/block/sbpcd.ci = MINOR(ip->i_rdev);
i4012drivers/block/sbpcd.cif ((i<0) || (i>=NR_SBPCD) || (DriveStruct[i].drv_id==-1))
i4017drivers/block/sbpcd.cswitch_drive(i);
i4034drivers/block/sbpcd.ci=yy_LockDoor(0);
i4035drivers/block/sbpcd.cwhile (i!=0);
i4127drivers/block/sbpcd.cint i;
i4133drivers/block/sbpcd.ci=inb(SPEA_REG_1);
i4134drivers/block/sbpcd.cif (i!=0x0F)
i4156drivers/block/sbpcd.ci=(inb(SPEA_REG_2)&0xCF)|n_ports;
i4157drivers/block/sbpcd.cOUT(SPEA_REG_2,i);
i4174drivers/block/sbpcd.cint i=0, j=0;
i4223drivers/block/sbpcd.ci=config_spea();
i4224drivers/block/sbpcd.cif (i<0)
i4230drivers/block/sbpcd.ci=check_drives();
i4232drivers/block/sbpcd.cif (i>=0) break; /* drive found */
i4291drivers/block/sbpcd.ci=ResponseStatus();  /* returns orig. status or p_busy_new */
i4292drivers/block/sbpcd.cif (i<0)
i4293drivers/block/sbpcd.cDPRINTF((DBG_INF,"SBPCD: init: ResponseStatus returns %02X\n",i));
i4298drivers/block/sbpcd.ci=xx_ReadError();
i4299drivers/block/sbpcd.cDPRINTF((DBG_INI,"SBPCD: init: xx_ReadError returns %d\n",i));
i4302drivers/block/sbpcd.cDPRINTF((DBG_INI,"SBPCD: init: first GetStatus: %d\n",i));
i4307drivers/block/sbpcd.cdo { i=GetStatus();
i4308drivers/block/sbpcd.cDPRINTF((DBG_INI,"SBPCD: init: second GetStatus: %02X\n",i));
i4312drivers/block/sbpcd.cif (i<0) break;
i4317drivers/block/sbpcd.ci=SetSpeed();
i4318drivers/block/sbpcd.cif (i>=0) DriveStruct[d].CD_changed=1;
i4436drivers/block/sbpcd.cint i, st;
i4441drivers/block/sbpcd.ci=MINOR(full_dev);
i4442drivers/block/sbpcd.cif ( (i<0) || (i>=NR_SBPCD) || (DriveStruct[i].drv_id==-1) )
i4448drivers/block/sbpcd.cswitch_drive(i);
i535drivers/block/sonycd535.cint i;
i538drivers/block/sonycd535.cfor (i = 0; i < n_cmd; i++)
i539drivers/block/sonycd535.coutb(cmd[i], command_reg);
i561drivers/block/sonycd535.cfor (i = 0; 0 < n_response; n_response--, i++)
i562drivers/block/sonycd535.cif (read_result_reg(response + i) != 0)
i607drivers/block/sonycd535.cint  i;
i624drivers/block/sonycd535.cfor (i = 0; i < 6; i++)
i625drivers/block/sonycd535.ccmd_buff[i + 1] = params[i];
i626drivers/block/sonycd535.cfor (i = 0; i < 7; i++)
i627drivers/block/sonycd535.coutb(cmd_buff[i], command_reg);
i644drivers/block/sonycd535.cfor (i = 0; i < block_size; i++)
i655drivers/block/sonycd535.cif ((i = read_exec_status(status)) != 0)
i656drivers/block/sonycd535.creturn i;
i674drivers/block/sonycd535.cint  i, j, n_tracks, track_no;
i689drivers/block/sonycd535.cfor (i = 0; i < n_tracks; i++) {
i698drivers/block/sonycd535.cmemcpy(toc->tracks + i, track_address_buffer, 5);
i962drivers/block/sonycd535.cint i;
i968drivers/block/sonycd535.cfor (i = 0; i < num_tracks; i++) {
i969drivers/block/sonycd535.cif (sony_toc->tracks[i].track == track) {
i970drivers/block/sonycd535.creturn i;
i1082drivers/block/sonycd535.cint  i, dsc_status;
i1179drivers/block/sonycd535.cfor (i = 0; i < 3; i++) {
i1180drivers/block/sonycd535.ccmd_buff[2 + i] = int_to_bcd(params[i]);
i1181drivers/block/sonycd535.ccmd_buff[7 + i] = int_to_bcd(params[i + 3]);
i1492drivers/block/sonycd535.cint  i;
i1621drivers/block/sonycd535.cfor (i = 0; i < sony_buffer_sectors; i++)
i1622drivers/block/sonycd535.csony_buffer[i] = (Byte *)kmalloc(2048, GFP_KERNEL);
i1676drivers/block/sonycd535.cint i;
i1682drivers/block/sonycd535.cfor (i = 0; i < sony_buffer_sectors; i++)
i1683drivers/block/sonycd535.ckfree_s(sony_buffer[i], 2048);
i135drivers/block/xd.cu_char i,j,found = 0;
i144drivers/block/xd.cfor (i = 0; i < (sizeof(xd_bases) / sizeof(xd_bases[0])) && !found; i++)
i146drivers/block/xd.cif (!memcmp(xd_bases[i] + xd_sigs[j].offset,xd_sigs[j].string,strlen(xd_sigs[j].string))) {
i148drivers/block/xd.c*address = xd_bases[i];
i158drivers/block/xd.cu_char i,controller,*address;
i168drivers/block/xd.cfor (i = 0; i < xd_drives; i++)
i169drivers/block/xd.cprintk("xd_geninit: drive %d geometry - heads = %d, cylinders = %d, sectors = %d\n",i,xd_info[i].heads,xd_info[i].cylinders,xd_info[i].sectors);
i181drivers/block/xd.cfor (i = 0; i < xd_drives; i++) {
i182drivers/block/xd.cxd[i << 6].nr_sects = xd_info[i].heads * xd_info[i].cylinders * xd_info[i].sectors;
i183drivers/block/xd.cxd_valid[i] = 1;
i188drivers/block/xd.cfor(i=0;i<(XD_MAXDRIVES << 6);i++) xd_blocksizes[i] = 1024;
i511drivers/block/xd.cu_char cmdblk[6],i,count = 0;
i513drivers/block/xd.cfor (i = 0; i < XD_MAXDRIVES; i++) {
i514drivers/block/xd.cxd_build(cmdblk,CMD_TESTREADY,i,0,0,0,0,0);
i669drivers/block/xd.cu_char cmdblk[6],i;
i671drivers/block/xd.cfor (i = 0; i < 3; i++) {
i672drivers/block/xd.cwhile (min[i] != max[i] - 1) {
i673drivers/block/xd.ctest[i] = (min[i] + max[i]) / 2;
i676drivers/block/xd.cmin[i] = test[i];
i678drivers/block/xd.cmax[i] = test[i];
i680drivers/block/xd.ctest[i] = min[i];
i123drivers/char/atixlmouse.cint i;
i142drivers/char/atixlmouse.cfor(i = 3; i < count; i++)
i143drivers/char/atixlmouse.cput_fs_byte(0x00, buffer + i);
i149drivers/char/atixlmouse.creturn i; /* i data bytes returned */
i219drivers/char/busmouse.cint i;
i223drivers/char/busmouse.cfor (i = 0; i < 100000; i++)
i314drivers/char/console.cint vc_cons_allocated(unsigned int i)
i316drivers/char/console.creturn (i < MAX_NR_CONSOLES && vc_cons[i].d);
i319drivers/char/console.cint vc_allocate(unsigned int i)    /* return 0 on success */
i321drivers/char/console.cif (i >= MAX_NR_CONSOLES)
i323drivers/char/console.cif (!vc_cons[i].d) {
i327drivers/char/console.cif (i >= MAX_NR_USER_CONSOLES && !suser())
i342drivers/char/console.cvc_cons[i].d = (struct vc_data *) p;
i344drivers/char/console.cvt_cons[i] = (struct vt_struct *) p;
i345drivers/char/console.cvc_scrbuf[i] = (unsigned short *) q;
i346drivers/char/console.cvc_cons[i].d->vc_kmalloced = 1;
i347drivers/char/console.cvc_cons[i].d->vc_screenbuf_size = video_screen_size;
i348drivers/char/console.cvc_init (i, video_num_lines, video_num_columns, 1);
i363drivers/char/console.cunsigned int currcons, i;
i387drivers/char/console.cfor (i = 0; i< currcons; i++)
i388drivers/char/console.cif (newscreens[i])
i389drivers/char/console.ckfree_s(newscreens[i], ss);
i845drivers/char/console.cint i;
i847drivers/char/console.cfor (i=0;i<=npar;i++)
i848drivers/char/console.cswitch (par[i]) {
i927drivers/char/console.cif (par[i] >= 30 && par[i] <= 37)
i928drivers/char/console.ccolor = color_table[par[i]-30]
i930drivers/char/console.celse if (par[i] >= 40 && par[i] <= 47)
i931drivers/char/console.ccolor = (color_table[par[i]-40]<<4)
i1055drivers/char/console.cint i;
i1057drivers/char/console.cfor (i=0; i<=npar; i++)
i1058drivers/char/console.cif (ques) switch(par[i]) {  /* DEC private modes set/reset */
i1103drivers/char/console.c} else switch(par[i]) {    /* ANSI modes set/reset */
i1150drivers/char/console.cunsigned int i = x;
i1154drivers/char/console.cwhile (i++ < video_num_columns) {
i1171drivers/char/console.cunsigned int i = x;
i1174drivers/char/console.cwhile (++i < video_num_columns) {
i2010drivers/char/console.cint  i;
i2015drivers/char/console.cfor ( i = 0 ; i < 12 ; i++ )
i2017drivers/char/console.coutb_p(i, 0x3b4);
i2018drivers/char/console.coutb_p(herc_txt_tbl[i], 0x3b5);
i2154drivers/char/console.cint i;
i2158drivers/char/console.ci = vc_allocate(idx);
i2159drivers/char/console.cif (i)
i2160drivers/char/console.creturn i;
i2198drivers/char/console.cint i;
i2213drivers/char/console.ci = verify_area(set ? VERIFY_READ : VERIFY_WRITE, (void *)arg, cmapsz);
i2214drivers/char/console.cif (i)
i2215drivers/char/console.creturn i;
i2236drivers/char/console.cfor (i=0; i<cmapsz ; i++)
i2237drivers/char/console.c*(charmap+i) = get_fs_byte(arg+i);
i2239drivers/char/console.cfor (i=0; i<cmapsz ; i++)
i2240drivers/char/console.cput_fs_byte(*(charmap+i), arg+i);
i92drivers/char/consolemap.cstatic void set_inverse_transl(int i)
i95drivers/char/consolemap.cunsigned char *p = translations[i];
i96drivers/char/consolemap.cunsigned char *q = inverse_translations[i];
i100drivers/char/consolemap.cq = inverse_translations[i] = ((i == NORM_MAP)
i138drivers/char/consolemap.cint i;
i141drivers/char/consolemap.ci = verify_area(VERIFY_READ, (void *)arg, E_TABSZ);
i142drivers/char/consolemap.cif (i)
i143drivers/char/consolemap.creturn i;
i145drivers/char/consolemap.cfor (i=0; i<E_TABSZ ; i++)
i146drivers/char/consolemap.cp[i] = get_fs_byte(arg+i);
i154drivers/char/consolemap.cint i;
i157drivers/char/consolemap.ci = verify_area(VERIFY_WRITE, (void *)arg, E_TABSZ);
i158drivers/char/consolemap.cif (i)
i159drivers/char/consolemap.creturn i;
i161drivers/char/consolemap.cfor (i=0; i<E_TABSZ ; i++) put_fs_byte(p[i],arg+i);
i197drivers/char/consolemap.cint i;
i214drivers/char/consolemap.cfor (i=0; i<hashsize; i++)
i215drivers/char/consolemap.chashtable[i].unicode = 0xffff;
i221drivers/char/consolemap.cint i, lct;
i229drivers/char/consolemap.ci = u % hashsize;
i231drivers/char/consolemap.cwhile ((hu = hashtable[i].unicode) != 0xffff && hu != u) {
i234drivers/char/consolemap.ci += hashstep;
i235drivers/char/consolemap.cif (i >= hashsize)
i236drivers/char/consolemap.ci -= hashsize;
i240drivers/char/consolemap.chashtable[i].unicode = u;
i241drivers/char/consolemap.chashtable[i].fontpos = get_fs_word(&list->fontpos);
i250drivers/char/consolemap.cint i, ect;
i254drivers/char/consolemap.cfor (i = 0; i<hashsize; i++)
i255drivers/char/consolemap.cif (hashtable[i].unicode != 0xffff) {
i257drivers/char/consolemap.cput_fs_word(hashtable[i].unicode, &list->unicode);
i258drivers/char/consolemap.cput_fs_word(hashtable[i].fontpos, &list->fontpos);
i268drivers/char/consolemap.cint i, h;
i278drivers/char/consolemap.cfor (i = 0; i < hashlevel; i++) {
i451drivers/char/cyclades.cvolatile int  i;
i455drivers/char/cyclades.cfor(i = 0 ; i < 100 ; i++){
i463drivers/char/cyclades.cif ( i == 10 ) {
i587drivers/char/cyclades.cint i,j;
i623drivers/char/cyclades.ci = channel + chip * 4 + cinfo->first_line;
i624drivers/char/cyclades.cinfo = &cy_port[i];
i739drivers/char/cyclades.ci = channel + chip * 4 + cinfo->first_line;
i744drivers/char/cyclades.cif( (i < 0) || (NR_PORTS <= i) ){
i748drivers/char/cyclades.cinfo = &cy_port[i];
i970drivers/char/cyclades.cint i, mask;
i972drivers/char/cyclades.cfor (i = 0, mask = 1; i < 16; i++, mask <<= 1) {
i974drivers/char/cyclades.c&& !request_irq(i, cy_probe, SA_INTERRUPT, "serial probe")) {
i987drivers/char/cyclades.cint i;
i989drivers/char/cyclades.cfor (i = 0; i < 16; i++) {
i990drivers/char/cyclades.cif (irq_lines & (1 << i))
i991drivers/char/cyclades.cfree_irq(i);
i1002drivers/char/cyclades.cint  i, mask;
i1027drivers/char/cyclades.cfor (i = 0, mask = 1; i < 16; i++, mask <<= 1) {
i1028drivers/char/cyclades.cif ((cy_triggered & (1 << i)) &&
i1029drivers/char/cyclades.c(irq_lines & (1 << i))) {
i1297drivers/char/cyclades.cint   i;
i1308drivers/char/cyclades.ci = cflag & CBAUD;
i1318drivers/char/cyclades.cif (i & CBAUDEX) {
i1319drivers/char/cyclades.cif (i == B57600)
i1320drivers/char/cyclades.ci = 16;
i1321drivers/char/cyclades.celse if(i == B115200) 
i1322drivers/char/cyclades.ci = 18;
i1324drivers/char/cyclades.celse if(i == B78600) 
i1325drivers/char/cyclades.ci = 17;
i1331drivers/char/cyclades.cif (i == 15) {
i1333drivers/char/cyclades.ci += 1;
i1335drivers/char/cyclades.ci += 3;
i1337drivers/char/cyclades.cinfo->tbpr = baud_bpr[i]; /* Tx BPR */
i1338drivers/char/cyclades.cinfo->tco = baud_co[i]; /* Tx CO */
i1339drivers/char/cyclades.cinfo->rbpr = baud_bpr[i]; /* Rx BPR */
i1340drivers/char/cyclades.cinfo->rco = baud_co[i]; /* Rx CO */
i1341drivers/char/cyclades.cif (baud_table[i] == 134) {
i1344drivers/char/cyclades.c} else if (baud_table[i]) {
i1345drivers/char/cyclades.cinfo->timeout = (info->xmit_fifo_size*HZ*15/baud_table[i]) + 2;
i1359drivers/char/cyclades.c: baud_cor3[i]); /* receive threshold */
i1448drivers/char/cyclades.cif(i == 0){ /* baud rate is zero, turn off line */
i167drivers/char/keyboard.cint i;
i169drivers/char/keyboard.cfor (i=0; i<0x100000; i++)
i673drivers/char/keyboard.cint i;
i675drivers/char/keyboard.cfor (i = fg_console-1; i != fg_console; i--) {
i676drivers/char/keyboard.cif (i == -1)
i677drivers/char/keyboard.ci = MAX_NR_CONSOLES-1;
i678drivers/char/keyboard.cif (vc_cons_allocated(i))
i681drivers/char/keyboard.cwant_console = i;
i686drivers/char/keyboard.cint i;
i688drivers/char/keyboard.cfor (i = fg_console+1; i != fg_console; i++) {
i689drivers/char/keyboard.cif (i == MAX_NR_CONSOLES)
i690drivers/char/keyboard.ci = 0;
i691drivers/char/keyboard.cif (vc_cons_allocated(i))
i694drivers/char/keyboard.cwant_console = i;
i824drivers/char/keyboard.cint i;
i830drivers/char/keyboard.cfor (i = 0; i < accent_table_size; i++) {
i831drivers/char/keyboard.cif (accent_table[i].diacr == d && accent_table[i].base == ch)
i832drivers/char/keyboard.creturn accent_table[i].result;
i966drivers/char/keyboard.cint i, j, k, sym, val;
i969drivers/char/keyboard.cfor(i=0; i < SIZE(k_down); i++)
i970drivers/char/keyboard.ck_down[i] = 0;
i972drivers/char/keyboard.cfor(i=0; i < SIZE(key_down); i++)
i973drivers/char/keyboard.cif(key_down[i]) {  /* skip this word if not a single bit on */
i974drivers/char/keyboard.ck = i*BITS_PER_LONG;
i1036drivers/char/keyboard.cint i;
i1044drivers/char/keyboard.cfor(i=0; i<0x200000; i++) {
i1167drivers/char/keyboard.cint i;
i1177drivers/char/keyboard.cfor (i = 0 ; i < MAX_NR_CONSOLES ; i++)
i1178drivers/char/keyboard.ckbd_table[i] = kbd0;
i125drivers/char/mem.cunsigned int i = file->f_pos;
i128drivers/char/mem.cwhile (count-- > 0 && i < 65536) {
i129drivers/char/mem.cput_fs_byte(inb(i),tmp);
i130drivers/char/mem.ci++;
i133drivers/char/mem.cfile->f_pos = i;
i139drivers/char/mem.cunsigned int i = file->f_pos;
i142drivers/char/mem.cwhile (count-- > 0 && i < 65536) {
i143drivers/char/mem.coutb(get_fs_byte(tmp),i);
i144drivers/char/mem.ci++;
i147drivers/char/mem.cfile->f_pos = i;
i106drivers/char/msbusmouse.cint i, dx, dy;
i117drivers/char/msbusmouse.cfor (i = 3; i < count; i++)
i118drivers/char/msbusmouse.cput_fs_byte(0x00, buffer + i);
i122drivers/char/msbusmouse.creturn i;  
i149drivers/char/msbusmouse.cint mse_byte, i;
i159drivers/char/msbusmouse.cfor (i = 0; i < 4; i++) {
i533drivers/char/n_tty.cint  i;
i539drivers/char/n_tty.ci = MIN(count, MIN(N_TTY_BUF_SIZE - tty->read_cnt,
i541drivers/char/n_tty.cmemcpy(tty->read_buf + tty->read_head, cp, i);
i542drivers/char/n_tty.ctty->read_head = (tty->read_head + i) & (N_TTY_BUF_SIZE-1);
i543drivers/char/n_tty.ctty->read_cnt += i;
i544drivers/char/n_tty.ccp += i;
i545drivers/char/n_tty.ccount -= i;
i547drivers/char/n_tty.ci = MIN(count, MIN(N_TTY_BUF_SIZE - tty->read_cnt,
i549drivers/char/n_tty.cmemcpy(tty->read_buf + tty->read_head, cp, i);
i550drivers/char/n_tty.ctty->read_head = (tty->read_head + i) & (N_TTY_BUF_SIZE-1);
i551drivers/char/n_tty.ctty->read_cnt += i;
i553drivers/char/n_tty.cfor (i=count, p = cp, f = fp; i; i--, p++) {
i337drivers/char/psaux.cint i = count;
i339drivers/char/psaux.cwhile (i--) {
i359drivers/char/psaux.cint i = count;
i361drivers/char/psaux.cwhile (i--) {
i379drivers/char/psaux.cint i = count;
i395drivers/char/psaux.cwhile (i > 0 && !queue_empty()) {
i398drivers/char/psaux.ci--;
i401drivers/char/psaux.cif (count-i) {
i403drivers/char/psaux.creturn count-i;
i90drivers/char/selection.cint i = verify_area(VERIFY_READ, (char *) arg, 36);
i91drivers/char/selection.cif (i)
i92drivers/char/selection.creturn i;
i117drivers/char/selection.cint i, ps, pe;
i249drivers/char/selection.cfor (i = sel_start; i <= sel_end; i += 2) {
i250drivers/char/selection.c*bp = sel_pos(i);
i253drivers/char/selection.cif (! ((i + 2) % video_size_row)) {
i750drivers/char/serial.cunsigned int  i;
i753drivers/char/serial.cfor (i=1; i < 16; i++) {
i754drivers/char/serial.cinfo = IRQ_ports[i];
i765drivers/char/serial.cif (rs_multiport[i].port1)
i766drivers/char/serial.crs_interrupt_multi(i, NULL);
i768drivers/char/serial.crs_interrupt(i, NULL);
i770drivers/char/serial.crs_interrupt_single(i, NULL);
i805drivers/char/serial.cint      i, mask;
i807drivers/char/serial.cfor (i = 0, mask = 1; i < 16; i++, mask <<= 1) {
i808drivers/char/serial.cif (!(mask & dontgrab) && !request_irq(i, rs_probe, SA_INTERRUPT, "serial probe")) {
i820drivers/char/serial.cint  i;
i822drivers/char/serial.cfor (i = 0; i < 16; i++) {
i823drivers/char/serial.cif (irq_lines & (1 << i))
i824drivers/char/serial.cfree_irq(i);
i1101drivers/char/serial.cint  i;
i1108drivers/char/serial.ci = cflag & CBAUD;
i1109drivers/char/serial.cif (i & CBAUDEX) {
i1110drivers/char/serial.ci &= ~CBAUDEX;
i1111drivers/char/serial.cif (i < 1 || i > 2) 
i1114drivers/char/serial.ci += 15;
i1116drivers/char/serial.cif (i == 15) {
i1118drivers/char/serial.ci += 1;
i1120drivers/char/serial.ci += 2;
i1127drivers/char/serial.c} else if (baud_table[i] == 134) {
i1130drivers/char/serial.c} else if (baud_table[i]) {
i1131drivers/char/serial.cquot = info->baud_base / baud_table[i];
i1132drivers/char/serial.cinfo->timeout = (info->xmit_fifo_size*HZ*15/baud_table[i]) + 2;
i1443drivers/char/serial.cunsigned int    i,change_irq,change_port;
i1478drivers/char/serial.cfor (i = 0 ; i < NR_PORTS; i++)
i1479drivers/char/serial.cif ((info != &rs_table[i]) &&
i1480drivers/char/serial.c(rs_table[i].port == new_serial.port) &&
i1481drivers/char/serial.crs_table[i].type)
i1667drivers/char/serial.cint  i, mask;
i1692drivers/char/serial.cfor (i = 0, mask = 1; i < 16; i++, mask <<= 1) {
i1693drivers/char/serial.cif ((rs_triggered & (1 << i)) &&
i1694drivers/char/serial.c(irq_lines & (1 << i))) {
i1697drivers/char/serial.cprintk("Wild interrupt?  (IRQ %d)\n", i);
i2536drivers/char/serial.cint i;
i2547drivers/char/serial.cfor (i = 0; i < 16; i++) {
i2548drivers/char/serial.cIRQ_ports[i] = 0;
i2549drivers/char/serial.cIRQ_timeout[i] = 0;
i2550drivers/char/serial.cmemset(&rs_multiport[i], 0, sizeof(struct rs_multiport_struct));
i2604drivers/char/serial.cfor (i = 0, info = rs_table; i < NR_PORTS; i++,info++) {
i2606drivers/char/serial.cinfo->line = i;
i2664drivers/char/serial.cint i;
i2670drivers/char/serial.cfor (i = 0; i < NR_PORTS; i++) {
i2671drivers/char/serial.cif (rs_table[i].port == req->port)
i2674drivers/char/serial.cif (i == NR_PORTS) {
i2675drivers/char/serial.cfor (i = 0; i < NR_PORTS; i++)
i2676drivers/char/serial.cif ((rs_table[i].type == PORT_UNKNOWN) &&
i2677drivers/char/serial.c(rs_table[i].count == 0))
i2680drivers/char/serial.cif (i == NR_PORTS) {
i2684drivers/char/serial.cinfo = &rs_table[i];
i2685drivers/char/serial.cif (rs_table[i].count) {
i2688drivers/char/serial.c"device already open\n", i, req->port, req->irq);
i488drivers/char/tpqic02.cint i;
i490drivers/char/tpqic02.cfor (i=1; i<NR_OF_EXC; i++) {
i491drivers/char/tpqic02.cif ((s & exception_list[i].mask)==exception_list[i].code)
i492drivers/char/tpqic02.creturn i;
i667drivers/char/tpqic02.cint i;
i686drivers/char/tpqic02.ci = TAPE_NOTIFY_TIMEOUT;
i691drivers/char/tpqic02.cwhile ((inb_p(QIC02_STAT_PORT) & QIC02_STAT_READY) && (--i>0))
i693drivers/char/tpqic02.cif (i==0) {
i700drivers/char/tpqic02.ci = TAPE_NOTIFY_TIMEOUT;
i702drivers/char/tpqic02.cwhile (((inb_p(QIC02_STAT_PORT) & QIC02_STAT_READY) == 0) && (--i>0))
i704drivers/char/tpqic02.cif (i==0) {
i781drivers/char/tpqic02.cint i, stat;
i783drivers/char/tpqic02.cfor (i=0; i<size; i++) {
i789drivers/char/tpqic02.cstat = notify_cmd(sb[i], ignore_ex);
i947drivers/char/tpqic02.cint stat, i;
i955drivers/char/tpqic02.cfor (i=0; i<sizeof(vus); i++) {
i956drivers/char/tpqic02.cif ( i % 8 == 0 )
i958drivers/char/tpqic02.cprintk(" %2x", vus[i] & 0xff);
i1801drivers/char/tpqic02.cint stat, r, i;
i1850drivers/char/tpqic02.cif ( (i = get_dma_residue(QIC02_TAPE_DMA)) != 0 ) {
i1851drivers/char/tpqic02.cprintk(TPQIC02_NAME ": dma_residue == %x !!!\n", i);
i2563drivers/char/tpqic02.cshort i;
i2625drivers/char/tpqic02.cfor (i=0; i<sizeof(qic02_tape_dynconf); i++) 
i2652drivers/char/tpqic02.cfor (i=0; i<sizeof(qic02_tape_dynconf); i++)
i2684drivers/char/tpqic02.cfor (i=0; i<sizeof(operation); i++)
i2746drivers/char/tpqic02.cfor (i=0; i<sizeof(ioctl_status); i++) 
i2779drivers/char/tpqic02.cfor (i=0; i<sizeof(ioctl_tell); i++) 
i155drivers/char/tty_io.cint i, count = 0;
i157drivers/char/tty_io.cfor (f = first_file, i=0; i<nr_files; i++, f = f->f_next) {
i339drivers/char/tty_io.cint i;
i346drivers/char/tty_io.cfor (filp = first_file, i=0; i<nr_files; i++, filp = filp->f_next) {
i379drivers/char/tty_io.ci = (tty->ldisc.open)(tty);
i380drivers/char/tty_io.cif (i < 0)
i382drivers/char/tty_io.c-i);
i676drivers/char/tty_io.cint i;
i703drivers/char/tty_io.ci = (tty->ldisc.read)(tty,file,(unsigned char *)buf,(unsigned int)count);
i705drivers/char/tty_io.ci = -EIO;
i706drivers/char/tty_io.cif (i > 0)
i708drivers/char/tty_io.creturn i;
i713drivers/char/tty_io.cint i, is_console;
i739drivers/char/tty_io.ci = (tty->ldisc.write)(tty,file,(unsigned char *)buf,(unsigned int)count);
i741drivers/char/tty_io.ci = -EIO;
i742drivers/char/tty_io.cif (i > 0)
i744drivers/char/tty_io.creturn i;
i1261drivers/char/tty_io.cint i, n = 0;
i1263drivers/char/tty_io.ci = verify_area(VERIFY_WRITE, (void *)arg, sizeof(struct tstruct));
i1264drivers/char/tty_io.cif (i)
i1265drivers/char/tty_io.creturn i;
i1271drivers/char/tty_io.cfor (i=0 ; i<sizeof(struct task_struct) ; i++)
i1538drivers/char/tty_io.cint    i;
i1555drivers/char/tty_io.cfor (i=0; i < NR_OPEN; i++) {
i1556drivers/char/tty_io.cfilp = (*p)->files->fd[i];
i78drivers/char/tty_ioctl.cint  i;
i92drivers/char/tty_ioctl.cfor (i=0; i < NCCS; i++)
i93drivers/char/tty_ioctl.ctermios->c_cc[i] = locked->c_cc[i] ?
i94drivers/char/tty_ioctl.cold->c_cc[i] : termios->c_cc[i];
i182drivers/char/tty_ioctl.cint i;
i185drivers/char/tty_ioctl.ci = verify_area(VERIFY_WRITE, termio, sizeof (struct termio));
i186drivers/char/tty_ioctl.cif (i)
i187drivers/char/tty_ioctl.creturn i;
i193drivers/char/tty_ioctl.cfor(i=0 ; i < NCC ; i++)
i194drivers/char/tty_ioctl.ctmp_termio.c_cc[i] = tty->termios->c_cc[i];
i32drivers/char/vt.c#define VT_IS_IN_USE(i)  (console_driver.table[i] && console_driver.table[i]->count)
i33drivers/char/vt.c#define VT_BUSY(i)  (VT_IS_IN_USE(i) || i == fg_console || i == sel_cons)
i138drivers/char/vt.cint i, perm;
i185drivers/char/vt.ci = verify_area(VERIFY_WRITE, (void *) arg, sizeof(unsigned char));
i186drivers/char/vt.cif (!i)
i188drivers/char/vt.creturn i;
i239drivers/char/vt.ci = verify_area(VERIFY_WRITE, (void *) arg, sizeof(unsigned long));
i240drivers/char/vt.cif (!i)
i242drivers/char/vt.creturn i;
i278drivers/char/vt.ci = verify_area(VERIFY_WRITE, (void *) arg, sizeof(unsigned long));
i279drivers/char/vt.cif (!i) {
i286drivers/char/vt.creturn i;
i304drivers/char/vt.ci = verify_area(VERIFY_WRITE, (void *) arg, sizeof(unsigned long));
i305drivers/char/vt.cif (!i) {
i310drivers/char/vt.creturn i;
i318drivers/char/vt.ci = verify_area(VERIFY_WRITE, (void *)a, sizeof(struct kbkeycode));
i319drivers/char/vt.cif (i)
i320drivers/char/vt.creturn i;
i336drivers/char/vt.ci = verify_area(VERIFY_READ, (void *)a, sizeof(struct kbkeycode));
i337drivers/char/vt.cif (i)
i338drivers/char/vt.creturn i;
i350drivers/char/vt.ci = verify_area(VERIFY_WRITE, (void *)a, sizeof(struct kbentry));
i351drivers/char/vt.cif (i)
i352drivers/char/vt.creturn i;
i353drivers/char/vt.cif ((i = get_fs_byte((char *) &a->kb_index)) >= NR_KEYS)
i359drivers/char/vt.cval = U(key_map[i]);
i363drivers/char/vt.cval = (i ? K_HOLE : K_NOSUCHMAP);
i377drivers/char/vt.ci = verify_area(VERIFY_READ, (void *)a, sizeof(struct kbentry));
i378drivers/char/vt.cif (i)
i379drivers/char/vt.creturn i;
i380drivers/char/vt.cif ((i = get_fs_byte((char *) &a->kb_index)) >= NR_KEYS)
i385drivers/char/vt.cif (!i && v == K_NOSUCHMAP) {
i406drivers/char/vt.cif (!i)
i425drivers/char/vt.cov = U(key_map[i]);
i434drivers/char/vt.ckey_map[i] = U(v);
i447drivers/char/vt.ci = verify_area(VERIFY_WRITE, (void *)a, sizeof(struct kbsentry));
i448drivers/char/vt.cif (i)
i449drivers/char/vt.creturn i;
i450drivers/char/vt.cif ((i = get_fs_byte(&a->kb_func)) >= MAX_NR_FUNC || i < 0)
i455drivers/char/vt.cp = func_table[i];
i474drivers/char/vt.ci = verify_area(VERIFY_READ, (void *)a, sizeof(struct kbsentry));
i475drivers/char/vt.cif (i)
i476drivers/char/vt.creturn i;
i477drivers/char/vt.cif ((i = get_fs_byte(&a->kb_func)) >= MAX_NR_FUNC)
i479drivers/char/vt.cq = func_table[i];
i482drivers/char/vt.cfor (j = i+1; j < MAX_NR_FUNC && !func_table[j]; j++) ;
i503drivers/char/vt.cfunc_table[i] = fj;
i514drivers/char/vt.cfunc_table[i] = fj;
i533drivers/char/vt.cfor (p = a->kb_string, q = func_table[i]; ; p++, q++)
i543drivers/char/vt.ci = verify_area(VERIFY_WRITE, (void *) a, sizeof(struct kbdiacrs));
i544drivers/char/vt.cif (i)
i545drivers/char/vt.creturn i;
i559drivers/char/vt.ci = verify_area(VERIFY_READ, (void *) a, sizeof(struct kbdiacrs));
i560drivers/char/vt.cif (i)
i561drivers/char/vt.creturn i;
i573drivers/char/vt.ci = verify_area(VERIFY_WRITE, (void *) arg, sizeof(unsigned char));
i574drivers/char/vt.cif (i)
i575drivers/char/vt.creturn i;
i593drivers/char/vt.ci = verify_area(VERIFY_WRITE, (void *) arg, sizeof(unsigned char));
i594drivers/char/vt.cif (i)
i595drivers/char/vt.creturn i;
i634drivers/char/vt.ci = verify_area(VERIFY_WRITE, (void *)vtmode, sizeof(struct vt_mode));
i635drivers/char/vt.cif (i)
i636drivers/char/vt.creturn i;
i655drivers/char/vt.ci = verify_area(VERIFY_WRITE, (void *)arg, sizeof(struct vt_mode));
i656drivers/char/vt.cif (i)
i657drivers/char/vt.creturn i;
i676drivers/char/vt.ci = verify_area(VERIFY_WRITE,(void *)vtstat, sizeof(struct vt_stat));
i677drivers/char/vt.cif (i)
i678drivers/char/vt.creturn i;
i681drivers/char/vt.cfor (i = 0, mask = 2; i < MAX_NR_CONSOLES && mask; ++i, mask <<= 1)
i682drivers/char/vt.cif (VT_IS_IN_USE(i))
i692drivers/char/vt.ci = verify_area(VERIFY_WRITE, (void *) arg, sizeof(long));
i693drivers/char/vt.cif (i)
i694drivers/char/vt.creturn i;
i695drivers/char/vt.cfor (i = 0; i < MAX_NR_CONSOLES; ++i)
i696drivers/char/vt.cif (! VT_IS_IN_USE(i))
i698drivers/char/vt.cput_fs_long(i < MAX_NR_CONSOLES ? (i+1) : -1,
i713drivers/char/vt.ci = vc_allocate(arg);
i714drivers/char/vt.cif (i)
i715drivers/char/vt.creturn i;
i771drivers/char/vt.ci = vc_allocate(newvt);
i772drivers/char/vt.cif (i)
i773drivers/char/vt.creturn i;
i800drivers/char/vt.cfor (i=1; i<MAX_NR_CONSOLES; i++)
i801drivers/char/vt.cif (! VT_BUSY(i))
i802drivers/char/vt.cvc_disallocate(i);
i819drivers/char/vt.ci = verify_area(VERIFY_READ, (void *)vtsizes, sizeof(struct vt_sizes));
i820drivers/char/vt.cif (i)
i821drivers/char/vt.creturn i;
i853drivers/char/vt.ci = verify_area(VERIFY_READ, (void *)arg, sizeof(struct unimapinit));
i854drivers/char/vt.cif (i)
i855drivers/char/vt.creturn i;
i868drivers/char/vt.ci = verify_area(VERIFY_READ, (void *)arg, sizeof(struct unimapdesc));
i869drivers/char/vt.cif (i == 0) {
i873drivers/char/vt.ci = verify_area(VERIFY_READ, (void *) list,
i876drivers/char/vt.cif (i)
i877drivers/char/vt.creturn i;
i886drivers/char/vt.ci = verify_area(VERIFY_WRITE, (void *)arg, sizeof(struct unimapdesc));
i887drivers/char/vt.cif (i == 0) {
i892drivers/char/vt.ci = verify_area(VERIFY_WRITE, (void *) list,
i895drivers/char/vt.cif (i)
i896drivers/char/vt.creturn i;
i193drivers/net/3c501.cint i;
i201drivers/net/3c501.cfor (i = 0; netcard_portlist[i]; i++) {
i202drivers/net/3c501.cint ioaddr = netcard_portlist[i];
i222drivers/net/3c501.cint i;
i225drivers/net/3c501.cfor (i = 0; i < 6; i++) {
i226drivers/net/3c501.coutw(i, ioaddr + EL1_DATAPTR);
i227drivers/net/3c501.cstation_addr[i] = inb(ioaddr + EL1_SAPROM);
i593drivers/net/3c501.cint i;
i594drivers/net/3c501.cfor (i = 0; i < 6; i++)  /* Set the station address. */
i595drivers/net/3c501.coutb(dev->dev_addr[i], ioaddr + i);
i92drivers/net/3c503.cint i;
i95drivers/net/3c503.cfor(i = 7; i >= 0; i--, base_bits >>= 1)
i100drivers/net/3c503.cif (check_region(netcard_portlist[i], EL2_IO_EXTENT))
i102drivers/net/3c503.cif (el2_probe1(dev, netcard_portlist[i]) == 0)
i118drivers/net/3c503.cint i;
i126drivers/net/3c503.cfor (i = 0; netcard_portlist[i]; i++) {
i127drivers/net/3c503.cint ioaddr = netcard_portlist[i];
i144drivers/net/3c503.cint i, iobase_reg, membase_reg, saved_406;
i189drivers/net/3c503.cfor (i = 0; i < 6; i++)
i190drivers/net/3c503.cprintk(" %2.2x", dev->dev_addr[i] = inb(ioaddr + i));
i222drivers/net/3c503.cfor (i = 1; i < EL2_MEMSIZE/sizeof(mem_base[0]); i++) {
i223drivers/net/3c503.cmem_base[i] = memtest_value;
i225drivers/net/3c503.c|| mem_base[i] != memtest_value) {
i231drivers/net/3c503.cmem_base[i] = 0;
i378drivers/net/3c503.cint i;        /* Buffer index */
i403drivers/net/3c503.cfor(i = 0; i < count; i++) {
i404drivers/net/3c503.cif (i % 8 == 0)
i406drivers/net/3c503.cif (++boguscount > (i<<3) + 32) {
i408drivers/net/3c503.cdev->name, i, count, boguscount);
i411drivers/net/3c503.coutb(buf[i], E33G_FIFOH);
i423drivers/net/3c503.cunsigned int i;
i447drivers/net/3c503.cfor(i = 0; i < count; i++) {
i448drivers/net/3c503.cif (i % 8 == 0)
i450drivers/net/3c503.cif (++boguscount > (i<<3) + 32) {
i452drivers/net/3c503.cdev->name, i, count, boguscount);
i456drivers/net/3c503.cbuf[i] = inb_p(E33G_FIFOH);
i291drivers/net/3c505.cint i;
i320drivers/net/3c505.cfor (i = 0; cont && (i < pcb->length); i++) {
i321drivers/net/3c505.cOUTB(pcb->data.raw[i], (adapter->io_addr)+PORT_COMMAND);
i333drivers/net/3c505.ci = GET_ASF();
i334drivers/net/3c505.cif ((i == ASF_PCB_ACK) ||
i335drivers/net/3c505.c(i == ASF_PCB_NAK))
i342drivers/net/3c505.cif (i == ASF_PCB_ACK) {
i345drivers/net/3c505.c} else if (i == ASF_PCB_NAK) {
i381drivers/net/3c505.cint i;
i414drivers/net/3c505.ci = 0;
i419drivers/net/3c505.cpcb->data.raw[i++] = INB(adapter->io_addr+PORT_COMMAND);
i420drivers/net/3c505.cif (i > MAX_PCB_DATA)
i421drivers/net/3c505.cprintk(invalid_pcb_msg, i, filename, __LINE__);
i428drivers/net/3c505.ctotal_length = pcb->data.raw[--i];
i547drivers/net/3c505.cregister int i;
i586drivers/net/3c505.cfor (i = 0; i < (rlen/2); i++) {
i615drivers/net/3c505.cfor (i = 0; i < (rlen/2); i++) { 
i623drivers/net/3c505.cfilename,__LINE__, i, rlen/2);  
i972drivers/net/3c505.cint i;
i1006drivers/net/3c505.cfor (i = 0; i < (nlen/2);i++) {
i1012drivers/net/3c505.cfilename,__LINE__, i, nlen/2);
i1225drivers/net/3c505.cint i;
i1235drivers/net/3c505.cfor (i=0;i<num_addrs;i++)
i1236drivers/net/3c505.cmemcpy(adapter->tx_pcb.data.multicast[i], addrs+6*i,6);
i1293drivers/net/3c505.cint i;
i1294drivers/net/3c505.cfor (i = 0; i < DEV_NUMBUFFS; i++)
i1295drivers/net/3c505.cdev->buffs[i] = NULL;
i1339drivers/net/3c505.cint i;
i1340drivers/net/3c505.cfor (i = 0; i < dev->addr_len; i++) 
i1341drivers/net/3c505.cdev->broadcast[i] = 0xff;
i1463drivers/net/3c505.cint            i;
i1527drivers/net/3c505.cfor (i = 0; i < 6; i++) 
i1528drivers/net/3c505.cdev->dev_addr[i] = adapter.rx_pcb.data.eth_addr[i];
i309drivers/net/3c507.cint i;
i316drivers/net/3c507.cfor (i = 0; netcard_portlist[i]; i++) {
i317drivers/net/3c507.cint ioaddr = netcard_portlist[i];
i330drivers/net/3c507.cint i, irq, irqval;
i336drivers/net/3c507.cfor(i = 0; i < 255; i++) {
i377drivers/net/3c507.cfor (i = 0; i < 6; i++) {
i378drivers/net/3c507.cdev->dev_addr[i] = inb(ioaddr + i);
i379drivers/net/3c507.cprintk(" %02x", dev->dev_addr[i]);
i118drivers/net/3c509.cshort lrs_state = 0xff, i;
i140drivers/net/3c509.cfor (i = 0; i < 3; i++)
i141drivers/net/3c509.cphys_addr[i] = htons(read_eeprom(ioaddr, i));
i154drivers/net/3c509.cfor (i = 0; i < 8; i++)
i155drivers/net/3c509.cif ((mca_adaptor_id(i) | 1) == 0x627c) {
i156drivers/net/3c509.cioaddr = mca_pos_base_addr(i);
i159drivers/net/3c509.cfor (i = 0; i < 3; i++)
i160drivers/net/3c509.cphys_addr[i] = htons(read_eeprom(ioaddr, i));
i176drivers/net/3c509.cfor(i = 0; i < 255; i++) {
i195drivers/net/3c509.cfor (i = 0; i < 3; i++) {
i196drivers/net/3c509.cphys_addr[i] = htons(id_read_eeprom(i));
i236drivers/net/3c509.cfor (i = 0; i < 6; i++)
i237drivers/net/3c509.cprintk(" %2.2x", dev->dev_addr[i]);
i303drivers/net/3c509.cint i;
i329drivers/net/3c509.cfor (i = 0; i < 6; i++)
i330drivers/net/3c509.coutb(dev->dev_addr[i], ioaddr + i);
i344drivers/net/3c509.cfor (i = 0; i < 9; i++)
i345drivers/net/3c509.cinb(ioaddr + i);
i449drivers/net/3c509.cint i = 4;
i451drivers/net/3c509.cwhile (--i > 0  &&  (tx_status = inb(ioaddr + TX_STATUS)) > 0) {
i467drivers/net/3c509.cint i = 0;
i500drivers/net/3c509.cif (++i > 10) {
i611drivers/net/8390.cint i;
i638drivers/net/8390.cfor(i = 0; i < 6; i++) {
i639drivers/net/8390.coutb_p(dev->dev_addr[i], e8390_base + EN1_PHYS + i);
i643drivers/net/8390.cfor(i = 0; i < 8; i++)
i644drivers/net/8390.coutb_p(0xff, e8390_base + EN1_MULT + i);
i97drivers/net/ac3200.cint i;
i102drivers/net/ac3200.cfor(i = 0; i < 6; i++)
i103drivers/net/ac3200.cprintk(" %02x", inb(ioaddr + AC_SA_PROM + i));
i118drivers/net/ac3200.cfor (i = 0; i < 4; i++)
i125drivers/net/ac3200.cfor(i = 0; i < ETHER_ADDR_LEN; i++)
i126drivers/net/ac3200.cdev->dev_addr[i] = inb(ioaddr + AC_SA_PROM + i);
i150drivers/net/ac3200.cfor (i = 0; i < 7; i++)
i151drivers/net/ac3200.cif (addrmap[i] == dev->mem_start)
i153drivers/net/ac3200.cif (i >= 7)
i154drivers/net/ac3200.ci = 0;
i155drivers/net/ac3200.coutb((inb(ioaddr + AC_CONFIG) & ~7) | i, ioaddr + AC_CONFIG);
i203drivers/net/apricot.cint i;
i210drivers/net/apricot.cfor (i = 0; i < num; i++)
i219drivers/net/apricot.cif (i == 0)
i231drivers/net/apricot.cif (i != 0)
i234drivers/net/apricot.creturn (i);
i540drivers/net/apricot.cint i;
i550drivers/net/apricot.ci = init_rx_bufs(dev, RX_RING_SIZE);
i552drivers/net/apricot.cif ((i = init_rx_bufs(dev, RX_RING_SIZE)) < RX_RING_SIZE)
i553drivers/net/apricot.cprintk("%s: only able to allocate %d receive buffers\n", dev->name, i);
i555drivers/net/apricot.cif (i < 4)
i671drivers/net/apricot.cint i;
i674drivers/net/apricot.cfor (i = 0; i < 6; i++)
i675drivers/net/apricot.cprintk(" %2.2X", (unsigned char)add[i]);
i679drivers/net/apricot.cfor (i = 0; i < 6; i++)
i680drivers/net/apricot.cprintk(" %2.2X", (unsigned char)add[i+6]);
i687drivers/net/apricot.cint i;
i699drivers/net/apricot.cfor (i = 0; i < 8; i++)
i701drivers/net/apricot.ceth_addr[i] = inb(ioaddr+8+i);
i702drivers/net/apricot.cchecksum += eth_addr[i];
i723drivers/net/apricot.cfor (i = 0; i < 6; i++)
i724drivers/net/apricot.cprintk(" %2.2X", dev->dev_addr[i] = eth_addr[i]);
i144drivers/net/at1700.cint i;
i152drivers/net/at1700.cfor (i = 0; at1700_probe_list[i]; i++) {
i153drivers/net/at1700.cint ioaddr = at1700_probe_list[i];
i175drivers/net/at1700.cunsigned int i, irq;
i218drivers/net/at1700.cfor(i = 0; i < 3; i++) {
i219drivers/net/at1700.cunsigned short eeprom_val = read_eeprom(ioaddr, 4+i);
i221drivers/net/at1700.c((unsigned short *)dev->dev_addr)[i] = ntohs(eeprom_val);
i240drivers/net/at1700.cfor (i = 0; i < 6; i++)
i241drivers/net/at1700.coutb(dev->dev_addr[i], ioaddr + 8 + i);
i245drivers/net/at1700.cfor (i = 0; i < 8; i++)
i246drivers/net/at1700.coutb(0x00, ioaddr + 8 + i);
i281drivers/net/at1700.cint i;
i291drivers/net/at1700.cfor (i = 9; i >= 0; i--) {
i292drivers/net/at1700.cshort dataval = (read_cmd & (1 << i)) ? EE_DATA_WRITE : 0;
i301drivers/net/at1700.cfor (i = 16; i > 0; i--) {
i324drivers/net/at1700.cint i;
i330drivers/net/at1700.cfor (i = 0; i < 6; i++)
i331drivers/net/at1700.coutb(dev->dev_addr[i], ioaddr + 8 + i);
i335drivers/net/at1700.cfor (i = 0; i < 8; i++)
i336drivers/net/at1700.coutb(0x00, ioaddr + 8 + i);
i555drivers/net/at1700.cint i;
i556drivers/net/at1700.cfor (i = 0; i < 20; i++) {
i565drivers/net/at1700.cdev->name, inb(ioaddr + RX_MODE), i);
i263drivers/net/atp.cint i;
i272drivers/net/atp.cfor (i = 0; i < 3; i++)
i273drivers/net/atp.c((unsigned short *)dev->dev_addr)[i] =
i274drivers/net/atp.cntohs(eeprom_op(ioaddr, EE_READ(sa_offset + i)));
i344drivers/net/atp.cint i;
i348drivers/net/atp.cfor (i = 0; i < 6; i++)
i349drivers/net/atp.cwrite_reg_byte(ioaddr, PAR0 + i, dev->dev_addr[i]);
i583drivers/net/atp.cint i;
i584drivers/net/atp.cfor (i = 0; i < 6; i++)
i585drivers/net/atp.cwrite_reg_byte(ioaddr, PAR0 + i, dev->dev_addr[i]);
i613drivers/net/atp.cint i;
i618drivers/net/atp.cfor (i = 0; i < 6; i++)
i620drivers/net/atp.cif (read_cmd_byte(ioaddr, PAR0 + i) != atp_timed_dev->dev_addr[i])
i623drivers/net/atp.cwrite_reg_byte(ioaddr, PAR0 + i, atp_timed_dev->dev_addr[i]);
i624drivers/net/atp.cif (i == 2)
i626drivers/net/atp.celse if (i == 3)
i628drivers/net/atp.celse if (i == 4)
i634drivers/net/atp.cwrite_reg_byte(ioaddr, PAR0 + i, atp_timed_dev->dev_addr[i]);
i63drivers/net/auto_irq.cint i, mask;
i68drivers/net/auto_irq.cfor (i = 0; i < 16; i++) {
i69drivers/net/auto_irq.cif (test_bit(i, &irqs_busy) == 0
i70drivers/net/auto_irq.c&& request_irq(i, autoirq_probe, SA_INTERRUPT, "irq probe") == 0)
i71drivers/net/auto_irq.cset_bit(i, (void *)&irq_handled);  /* irq_handled |= 1 << i;*/
i82drivers/net/auto_irq.cfor (i = 0, mask = 0x01; i < 16; i++, mask <<= 1) {
i86drivers/net/auto_irq.cprintk(" Spurious interrupt on IRQ %d\n", i);
i88drivers/net/auto_irq.cfree_irq(i);
i96drivers/net/auto_irq.cint i;
i107drivers/net/auto_irq.cfor (i = 0; i < 16; i++) {
i108drivers/net/auto_irq.cif (test_bit(i, (void *)&irq_handled))
i109drivers/net/auto_irq.cfree_irq(i);
i380drivers/net/de4x5.clong i;\
i381drivers/net/de4x5.ci=inl(DE4X5_BMR);\
i382drivers/net/de4x5.coutl(i | BMR_SWR, DE4X5_BMR);\
i383drivers/net/de4x5.coutl(i, DE4X5_BMR);\
i384drivers/net/de4x5.cfor (i=0;i<5;i++) inl(DE4X5_BMR);\
i425drivers/net/de4x5.cint tmpbus, i, j, status=0;
i459drivers/net/de4x5.cfor (i = 0; i < ETH_ALEN - 1; i++) {       /* get the ethernet addr. */
i460drivers/net/de4x5.cprintk("%2.2x:", dev->dev_addr[i]);
i462drivers/net/de4x5.cprintk("%2.2x,\n", dev->dev_addr[i]);
i493drivers/net/de4x5.cfor (i=0; i<NUM_RX_DESC; i++) {
i494drivers/net/de4x5.clp->rx_ring[i].status = 0;
i495drivers/net/de4x5.clp->rx_ring[i].des1 = RX_BUFF_SZ;
i496drivers/net/de4x5.clp->rx_ring[i].buf = tmp + i * RX_BUFF_SZ;
i497drivers/net/de4x5.clp->rx_ring[i].next = NULL;
i529drivers/net/de4x5.cfor (dev->irq=0,i=0; i<sizeof(de4x5_irq) && !dev->irq; i++) {
i530drivers/net/de4x5.cif (irqnum == de4x5_irq[i]) {
i606drivers/net/de4x5.cint i, status = 0;
i628drivers/net/de4x5.cfor (i=0;i<6;i++){
i629drivers/net/de4x5.cprintk("%2.2x:",(short)dev->dev_addr[i]);
i635drivers/net/de4x5.cfor (i=0;i<lp->rxRingSize-1;i++){
i636drivers/net/de4x5.cif (i < 3) {
i637drivers/net/de4x5.cprintk("0x%8.8lx  ",(long)&lp->rx_ring[i].status);
i640drivers/net/de4x5.cprintk("...0x%8.8lx\n",(long)&lp->rx_ring[i].status);
i642drivers/net/de4x5.cfor (i=0;i<lp->txRingSize-1;i++){
i643drivers/net/de4x5.cif (i < 3) {
i644drivers/net/de4x5.cprintk("0x%8.8lx  ", (long)&lp->tx_ring[i].status);
i647drivers/net/de4x5.cprintk("...0x%8.8lx\n", (long)&lp->tx_ring[i].status);
i649drivers/net/de4x5.cfor (i=0;i<lp->rxRingSize-1;i++){
i650drivers/net/de4x5.cif (i < 3) {
i651drivers/net/de4x5.cprintk("0x%8.8lx  ",(long)lp->rx_ring[i].buf);
i654drivers/net/de4x5.cprintk("...0x%8.8lx\n",(long)lp->rx_ring[i].buf);
i656drivers/net/de4x5.cfor (i=0;i<lp->txRingSize-1;i++){
i657drivers/net/de4x5.cif (i < 3) {
i658drivers/net/de4x5.cprintk("0x%8.8lx  ", (long)lp->tx_ring[i].buf);
i661drivers/net/de4x5.cprintk("...0x%8.8lx\n", (long)lp->tx_ring[i].buf);
i714drivers/net/de4x5.cu_long i, j, bmr, omr;
i741drivers/net/de4x5.cfor (i = 0; i < lp->rxRingSize; i++) {
i742drivers/net/de4x5.clp->rx_ring[i].status = R_OWN;
i746drivers/net/de4x5.cfor (i = 0; i < lp->txRingSize; i++) {
i747drivers/net/de4x5.clp->tx_ring[i].status = 0;
i769drivers/net/de4x5.cfor (j=0, i=0;i<100 && j==0;i++) {
i774drivers/net/de4x5.cif (i == 100) {
i940drivers/net/de4x5.cint i, entry;
i984drivers/net/de4x5.cfor (i=1; i<DE4X5_PKT_STAT_SZ-1; i++) {
i985drivers/net/de4x5.cif (pkt_len < i*DE4X5_PKT_BIN_SZ) {
i986drivers/net/de4x5.clp->pktStats.bins[i]++;
i987drivers/net/de4x5.ci = DE4X5_PKT_STAT_SZ;
i1178drivers/net/de4x5.cint i;
i1183drivers/net/de4x5.cfor (i=0; i<(HASH_TABLE_LEN >> 4); i++) {
i1192drivers/net/de4x5.cfor (i=0;i<num_addrs;i++) {              /* for each address in the list */
i1227drivers/net/de4x5.cint i, maxSlots;
i1239drivers/net/de4x5.ci = 1;
i1243drivers/net/de4x5.ci = (ioaddr >> 12);
i1244drivers/net/de4x5.cmaxSlots = i + 1;
i1247drivers/net/de4x5.cfor (status = -ENODEV; i<maxSlots && dev!=NULL; i++, iobase+=EISA_SLOT_INC) {
i1462drivers/net/de4x5.cu_long i, omr, sisr, linkBad;
i1472drivers/net/de4x5.cfor (linkBad=1,i=0;i<t_3s && linkBad;i++) {
i1511drivers/net/de4x5.cfor (linkBad=1,i=0;i<t_3s && linkBad;i++) {
i1545drivers/net/de4x5.cfor (linkBad=1,i=0;i<t_3s && linkBad;i++) {
i1581drivers/net/de4x5.cint i, j;
i1584drivers/net/de4x5.cfor (i=0; i<ETH_ALEN; i++) {             /* Use this source address */
i1585drivers/net/de4x5.c*buf++ = dev->dev_addr[i];
i1587drivers/net/de4x5.cfor (i=0; i<ETH_ALEN; i++) {             /* Use this destination address */
i1588drivers/net/de4x5.c*buf++ = dev->dev_addr[i];
i1595drivers/net/de4x5.cfor (i=len-4; i<len; i++) {              /* CRC */
i1596drivers/net/de4x5.cbuf[i] = 0;
i1624drivers/net/de4x5.cu_long i, start, now, quant=(DELAY_QUANT*1000)/TIMER_TICK+1;
i1626drivers/net/de4x5.cfor (i=0; i<usec/DELAY_QUANT; i++) {
i1645drivers/net/de4x5.cu_long i;
i1647drivers/net/de4x5.cfor (i=0; i<msec; i++) {
i1660drivers/net/de4x5.cunsigned long i;
i1678drivers/net/de4x5.cfor (i=0;*signatures[i] != '\0' && *name == '\0';i++) {
i1679drivers/net/de4x5.cif (strstr(ManCode, signatures[i]) != NULL) {
i1709drivers/net/de4x5.clong i, j, tmp;
i1718drivers/net/de4x5.cfor (i=0,j=0;j<sigLength && i<PROBE_LENGTH+sigLength-1;i++) {
i1746drivers/net/de4x5.clong i, k, tmp;
i1751drivers/net/de4x5.cfor (i=0,k=0,j=0;j<3;j++) {
i1758drivers/net/de4x5.cdev->dev_addr[i++] = (u_char) tmp;
i1761drivers/net/de4x5.cdev->dev_addr[i++] = (u_char) tmp;
i1764drivers/net/de4x5.cdev->dev_addr[i++] = (u_char) tmp;
i1766drivers/net/de4x5.cdev->dev_addr[i++] = (u_char) tmp;
i1796drivers/net/de4x5.cint i, j, iobase = dev->base_addr, status = 0;
i1806drivers/net/de4x5.cfor (i=0; i<ETH_ALEN; i++) {
i1807drivers/net/de4x5.ctmp.addr[i] = dev->dev_addr[i];
i1820drivers/net/de4x5.cfor (i=0; i<ETH_ALEN; i++) {
i1821drivers/net/de4x5.cdev->dev_addr[i] = tmp.addr[i];
i1830drivers/net/de4x5.cfor (pa=lp->setup_frame+offset, i=0; i<ETH_ALEN; i++) {
i1831drivers/net/de4x5.c*(pa + i) = dev->dev_addr[i];
i1832drivers/net/de4x5.cif (i & 0x01) pa += 2;
i1956drivers/net/de4x5.cfor (i=0; i<ETH_ALEN; i++) {
i1957drivers/net/de4x5.ctmp.addr[j++] = dev->dev_addr[i];
i1963drivers/net/de4x5.cfor (i=0;i<lp->rxRingSize-1;i++){
i1964drivers/net/de4x5.cif (i < 3) {
i1965drivers/net/de4x5.ctmp.lval[j>>2] = (long)&lp->rx_ring[i].status; j+=4;
i1968drivers/net/de4x5.ctmp.lval[j>>2] = (long)&lp->rx_ring[i].status; j+=4;
i1969drivers/net/de4x5.cfor (i=0;i<lp->txRingSize-1;i++){
i1970drivers/net/de4x5.cif (i < 3) {
i1971drivers/net/de4x5.ctmp.lval[j>>2] = (long)&lp->tx_ring[i].status; j+=4;
i1974drivers/net/de4x5.ctmp.lval[j>>2] = (long)&lp->tx_ring[i].status; j+=4;
i1976drivers/net/de4x5.cfor (i=0;i<lp->rxRingSize-1;i++){
i1977drivers/net/de4x5.cif (i < 3) {
i1978drivers/net/de4x5.ctmp.lval[j>>2] = (long)lp->rx_ring[i].buf; j+=4;
i1981drivers/net/de4x5.ctmp.lval[j>>2] = (long)lp->rx_ring[i].buf; j+=4;
i1982drivers/net/de4x5.cfor (i=0;i<lp->txRingSize-1;i++){
i1983drivers/net/de4x5.cif (i < 3) {
i1984drivers/net/de4x5.ctmp.lval[j>>2] = (long)lp->tx_ring[i].buf; j+=4;
i1987drivers/net/de4x5.ctmp.lval[j>>2] = (long)lp->tx_ring[i].buf; j+=4;
i1989drivers/net/de4x5.cfor (i=0;i<lp->rxRingSize;i++){
i1990drivers/net/de4x5.ctmp.lval[j>>2] = lp->rx_ring[i].status; j+=4;
i1992drivers/net/de4x5.cfor (i=0;i<lp->txRingSize;i++){
i1993drivers/net/de4x5.ctmp.lval[j>>2] = lp->tx_ring[i].status; j+=4;
i588drivers/net/de600.cint    i;
i627drivers/net/de600.cfor (i = size; i > 0; --i, ++buffer)
i644drivers/net/de600.cint  i;
i671drivers/net/de600.cfor (i = 0; i < ETH_ALEN; i++) {
i672drivers/net/de600.cdev->dev_addr[i] = de600_read_byte(READ_DATA, dev);
i673drivers/net/de600.cdev->broadcast[i] = 0xff;
i698drivers/net/de600.cfor (i = 1; i < ETH_ALEN; i++)
i699drivers/net/de600.cprintk(":%02X",dev->dev_addr[i]);
i722drivers/net/de600.cint  i;
i768drivers/net/de600.cfor (i = 0; i < ETH_ALEN; i++)
i769drivers/net/de600.cde600_put_byte(dev->dev_addr[i]);
i717drivers/net/de620.cint i;
i742drivers/net/de620.cfor (i = 0; i < 6; ++i) { /* W_PARn = 0xaa + n */
i743drivers/net/de620.cde620_set_register(W_PAR0 + i, dev->dev_addr[i]);
i768drivers/net/de620.cif (((i = de620_get_register(R_STS)) & CHECK_MASK) != CHECK_OK) {
i773drivers/net/de620.c"! (%02x)\n", i);
i806drivers/net/de620.cint i;
i838drivers/net/de620.cfor (i = 1; i < ETH_ALEN; i++) {
i839drivers/net/de620.cprintk(":%2.2X", dev->dev_addr[i] = nic_data.NodeID[i]);
i840drivers/net/de620.cdev->broadcast[i] = 0xff;
i416drivers/net/depca.cint i,j, status=0;
i440drivers/net/depca.cfor (j = 0, i = 0; mem_base[i] && (j == 0);i++) {
i441drivers/net/depca.cif (((mem_chkd >> i) & 0x01) == 0) { /* has the memory been checked? */
i442drivers/net/depca.cname = DepcaSignature(mem_base[i]);/* check for a DEPCA here */
i443drivers/net/depca.cmem_chkd |= (0x01 << i);           /* mark location checked */
i446drivers/net/depca.c--i;
i452drivers/net/depca.cmem_start = mem_base[i];
i478drivers/net/depca.cfor (i = 0; i < ETH_ALEN - 1; i++) { /* get the ethernet address */
i479drivers/net/depca.cprintk("%2.2x:", dev->dev_addr[i] = inb(DEPCA_PROM + j));
i481drivers/net/depca.cprintk("%2.2x", dev->dev_addr[i] = inb(DEPCA_PROM + j));
i483drivers/net/depca.cfor (;i<32;i++) {                /* leave ROM counter in known state */
i537drivers/net/depca.cfor (i=0;j>1;i++) {
i545drivers/net/depca.cj = 1 << i;
i604drivers/net/depca.cfor (i=0, j = lp->ringSize; j>1; i++) {
i607drivers/net/depca.clp->rlen = (unsigned long)(i << 29);
i682drivers/net/depca.cint i,nicsr,ioaddr = dev->base_addr;
i716drivers/net/depca.cfor (i=0;i<lp->ringSize;i++){
i717drivers/net/depca.cprintk("\t0x%8.8lx  0x%8.8lx\n",(long)&lp->rx_ring[i].base,
i718drivers/net/depca.c(long)&lp->tx_ring[i].base);
i721drivers/net/depca.cfor (i=0;i<lp->ringSize;i++){
i722drivers/net/depca.cprintk("\t0x%8.8lx  0x%8.8lx\n",(long)lp->rx_ring[i].base,
i723drivers/net/depca.c(long)lp->tx_ring[i].base);
i728drivers/net/depca.cfor (i=0;i<6;i++){
i729drivers/net/depca.cprintk("%2.2x:",(short)lp->init_block.phys_addr[i]);
i732drivers/net/depca.cfor (i=0;i<4;i++){
i733drivers/net/depca.cprintk("%2.2x",(short)lp->init_block.filter[i]);
i778drivers/net/depca.cunsigned long i;
i785drivers/net/depca.cfor (i = 0; i < lp->ringSize; i++) {
i786drivers/net/depca.clp->rx_ring[i].base = (lp->dma_buffs + i*PKT_BUF_SZ) | R_OWN;
i787drivers/net/depca.clp->rx_ring[i].buf_length = -PKT_BUF_SZ;
i788drivers/net/depca.clp->tx_ring[i].base = (lp->dma_buffs + (i+lp->ringSize) * PKT_BUF_SZ) &
i793drivers/net/depca.cfor (i = 0; i < ETH_ALEN; i++) {
i794drivers/net/depca.clp->init_block.phys_addr[i] = dev->dev_addr[i];
i796drivers/net/depca.cfor (i = 0; i < 4; i++) {
i797drivers/net/depca.clp->init_block.filter[i] = 0x0000;
i1205drivers/net/depca.cint i, status=0;
i1211drivers/net/depca.cfor (i=0;(i<100) && !(inw(DEPCA_DATA) & IDON); i++); 
i1213drivers/net/depca.cif (i!=100) {
i1218drivers/net/depca.cdev->name, i, (long) &lp->init_block, inw(DEPCA_DATA));
i1223drivers/net/depca.cdev->name, i, (long) &lp->init_block, inw(DEPCA_DATA));
i1281drivers/net/depca.cshort int i;
i1284drivers/net/depca.cfor (i=0;i<num_addrs;i++) {                /* for each address in the list */
i1285drivers/net/depca.cif (((char) *(addrs+ETH_ALEN*i) & 0x01) == 1) {/* is multicast address? */ 
i1289drivers/net/depca.cbit = (((char)* (addrs+ETH_ALEN*i+octet)) >> j) & 0x01;
i1346drivers/net/depca.cint i, ioaddr = DEPCA_EISA_IO_PORTS;
i1350drivers/net/depca.cfor (status = -ENODEV, i=1; i<MAX_EISA_SLOTS; i++, ioaddr+=0x1000) {
i1421drivers/net/depca.cunsigned long i,j,k;
i1426drivers/net/depca.cfor (i=0;i<16;i++) {                  /* copy the first 16 bytes of ROM to */
i1427drivers/net/depca.ctmpstr[i] = *(unsigned char *)(mem_addr+0xc000+i); /* a temporary string */
i1429drivers/net/depca.ctmpstr[i]='\0';
i1432drivers/net/depca.cfor (i=0;*signatures[i]!='\0' && *thisName=='\0';i++) {
i1433drivers/net/depca.cfor (j=0,k=0;j<16 && k<strlen(signatures[i]);j++) {
i1434drivers/net/depca.cif (signatures[i][k] == tmpstr[j]) {              /* track signature */
i1440drivers/net/depca.cif (k == strlen(signatures[i])) {
i1441drivers/net/depca.cstrcpy(thisName,signatures[i]);
i1474drivers/net/depca.cint i, j, nicsr, status = 0;
i1489drivers/net/depca.cfor (i=0,j=0;j<sigLength && i<PROBE_LENGTH+sigLength-1;i++) {
i1514drivers/net/depca.cunsigned long i;
i1523drivers/net/depca.cfor (i=0; i<4; i++) {
i1524drivers/net/depca.cEisa.Id[i] = inb(iobase + i);
i1534drivers/net/depca.cfor (status = -ENXIO, i=0;*signatures[i] != '\0' && status;i++) {
i1535drivers/net/depca.cif (strstr(ManCode, signatures[i]) != NULL) {
i133drivers/net/e2100.cint i, status;
i153drivers/net/e2100.cfor (i = 0; i < 6; i++)
i154drivers/net/e2100.cstation_addr[i] = inb(ioaddr + E21_SAPROM + i);
i160drivers/net/e2100.cfor (i = 0; i < 6; i++)
i161drivers/net/e2100.cprintk(" %02X", station_addr[i]);
i164drivers/net/e2100.cint irqlist[] = {15,11,10,12,5,9,3,4}, i;
i165drivers/net/e2100.cfor (i = 0; i < 8; i++)
i166drivers/net/e2100.cif (request_irq (irqlist[i], NULL, 0, "bogus") != -EBUSY) {
i167drivers/net/e2100.cdev->irq = irqlist[i];
i170drivers/net/e2100.cif (i >= 8) {
i196drivers/net/e2100.cfor(i = 0; i < 6; i++)
i197drivers/net/e2100.cif (station_addr[i] != inb(ioaddr + E21_SAPROM + 8 + i)) {
i326drivers/net/eexpress.cint i;
i328drivers/net/eexpress.cfor (i = 16; i > 0; i--)
i332drivers/net/eexpress.cfor (i = 4; i > 0; i--) {
i348drivers/net/eexpress.cint i;
i369drivers/net/eexpress.cfor (i = 0; i < 6; i++) {
i370drivers/net/eexpress.cdev->dev_addr[i] = ((unsigned char*)station_addr)[5-i];
i371drivers/net/eexpress.cprintk(" %02x", dev->dev_addr[i]);
i611drivers/net/eexpress.cint i;
i614drivers/net/eexpress.cfor (i = 0; i < 0x20; i += 2)
i719drivers/net/eexpress.cint i;
i728drivers/net/eexpress.cfor (i = 8; i >= 0; i--) {
i729drivers/net/eexpress.cshort outval = (read_cmd & (1 << i)) ? ctrl_val | EE_DATA_WRITE
i739drivers/net/eexpress.cfor (i = 16; i > 0; i--) {
i335drivers/net/ewrk3.cint i;\
i337drivers/net/ewrk3.cfor (i=0;i<5000;i++) inb(EWRK3_CSR);\
i400drivers/net/ewrk3.cint i, status=0;
i425drivers/net/ewrk3.cfor (chksum=0, i=0; i<EEPROM_MAX; i+=2) {
i431drivers/net/ewrk3.ctmp.val = (short)Read_EEPROM(iobase, (i>>1));
i432drivers/net/ewrk3.ceeprom_image[i] = tmp.c[0];
i433drivers/net/ewrk3.ceeprom_image[i+1] = tmp.c[1];
i435drivers/net/ewrk3.cchksum += eeprom_image[i] + eeprom_image[i+1];
i472drivers/net/ewrk3.cfor (i = 0;i < ETH_ALEN - 1;i++) { /* get the ethernet address */
i473drivers/net/ewrk3.cprintk("%2.2x:", dev->dev_addr[i] = 
i474drivers/net/ewrk3.ceeprom_image[EEPROM_PADDR0 + i]);
i475drivers/net/ewrk3.coutb(eeprom_image[EEPROM_PADDR0 + i], EWRK3_PAR0 + i);
i477drivers/net/ewrk3.cprintk("%2.2x,\n",dev->dev_addr[i] = eeprom_image[EEPROM_PADDR0 + i]);
i478drivers/net/ewrk3.coutb(eeprom_image[EEPROM_PADDR0 + i], EWRK3_PAR0 + i);
i481drivers/net/ewrk3.cfor (i = 0; i < ETH_ALEN - 1; i++) { /* get the ethernet addr. */
i482drivers/net/ewrk3.cprintk("%2.2x:", dev->dev_addr[i] = inb(EWRK3_APROM));
i483drivers/net/ewrk3.coutb(dev->dev_addr[i], EWRK3_PAR0 + i);
i485drivers/net/ewrk3.cprintk("%2.2x,\n", dev->dev_addr[i] = inb(EWRK3_APROM));
i486drivers/net/ewrk3.coutb(dev->dev_addr[i], EWRK3_PAR0 + i);
i651drivers/net/ewrk3.cint i, iobase = dev->base_addr;
i676drivers/net/ewrk3.cfor (i=0;i<6;i++){
i677drivers/net/ewrk3.cprintk("%2.2x:",(short)dev->dev_addr[i]);
i847drivers/net/ewrk3.cint i;
i854drivers/net/ewrk3.cfor (i=0; i<skb->len; i++) {
i977drivers/net/ewrk3.cint i, iobase = dev->base_addr;
i1046drivers/net/ewrk3.cfor (i=0; i<skb->len; i++) {
i1063drivers/net/ewrk3.cfor (i=1; i<EWRK3_PKT_STAT_SZ-1; i++) {
i1064drivers/net/ewrk3.cif (pkt_len < i*EWRK3_PKT_BIN_SZ) {
i1065drivers/net/ewrk3.clp->pktStats.bins[i]++;
i1066drivers/net/ewrk3.ci = EWRK3_PKT_STAT_SZ;
i1252drivers/net/ewrk3.cint i, iobase = dev->base_addr;
i1268drivers/net/ewrk3.cfor (i=0; i<(HASH_TABLE_LEN >> 3); i++) {
i1273drivers/net/ewrk3.ci++;
i1279drivers/net/ewrk3.cfor (i=0; i<(HASH_TABLE_LEN >> 4) - 1; i++) {
i1282drivers/net/ewrk3.coutb(0x80, EWRK3_DATA); i++;           /* insert the broadcast bit */
i1283drivers/net/ewrk3.cfor (; i<(HASH_TABLE_LEN >> 3); i++) {
i1292drivers/net/ewrk3.cfor (i=0;i<num_addrs;i++) {              /* for each address in the list */
i1334drivers/net/ewrk3.cint i, iobase, status;
i1337drivers/net/ewrk3.cfor (status = -ENODEV, iobase = EWRK3_IO_BASE,i = 0; 
i1338drivers/net/ewrk3.ci < 24;
i1339drivers/net/ewrk3.ciobase += EWRK3_IOP_INC, i++) {
i1377drivers/net/ewrk3.cint i, iobase = EWRK3_EISA_IO_PORTS;
i1381drivers/net/ewrk3.cfor (status = -ENODEV, i=1; i<MAX_EISA_SLOTS; i++, iobase+=EISA_SLOT_INC) {
i1390drivers/net/ewrk3.cmem_chkd |= (0x01 << (i + 24));
i1459drivers/net/ewrk3.cint i;
i1463drivers/net/ewrk3.cfor (i=0;i<5000;i++) inb(EWRK3_CSR);  /* wait 1msec */
i1473drivers/net/ewrk3.cint i;
i1476drivers/net/ewrk3.cfor (i=0;i<5000;i++) inb(EWRK3_CSR);  /* wait 1msec */
i1480drivers/net/ewrk3.cfor (i=0;i<75000;i++) inb(EWRK3_CSR); /* wait 15msec */
i1482drivers/net/ewrk3.cfor (i=0;i<5000;i++) inb(EWRK3_CSR);  /* wait 1msec */
i1492drivers/net/ewrk3.cunsigned long i,j,k;
i1496drivers/net/ewrk3.cfor (i=0;*signatures[i] != '\0' && *name == '\0';i++) {
i1497drivers/net/ewrk3.cfor (j=EEPROM_PNAME7,k=0;j<=EEPROM_PNAME0 && k<strlen(signatures[i]);j++) {
i1498drivers/net/ewrk3.cif (signatures[i][k] == eeprom_image[j]) {          /* track signature */
i1504drivers/net/ewrk3.cif (k == strlen(signatures[i])) {
i1525drivers/net/ewrk3.cint i, j, status = 0;
i1532drivers/net/ewrk3.cfor (i=0,j=0;devSig[i] != '\0' && !status;i+=2,j++) {
i1533drivers/net/ewrk3.cif ((devSig[i]=asc2hex(devSig[i]))>=0) {
i1534drivers/net/ewrk3.cdevSig[i]<<=4;
i1535drivers/net/ewrk3.cif((devSig[i+1]=asc2hex(devSig[i+1]))>=0){
i1536drivers/net/ewrk3.cdevSig[j]=devSig[i]+devSig[i+1];
i1557drivers/net/ewrk3.cfor (i=0,j=0;j<sigLength && i<PROBE_LENGTH+sigLength-1;i++) {
i1613drivers/net/ewrk3.cint i, j, iobase = dev->base_addr, status = 0;
i1622drivers/net/ewrk3.cfor (i=0; i<ETH_ALEN; i++) {
i1623drivers/net/ewrk3.ctmp.addr[i] = dev->dev_addr[i];
i1636drivers/net/ewrk3.cfor (i=0; i<ETH_ALEN; i++) {
i1637drivers/net/ewrk3.cdev->dev_addr[i] = tmp.addr[i];
i1638drivers/net/ewrk3.coutb(tmp.addr[i], EWRK3_PAR0 + i);
i1678drivers/net/ewrk3.cfor (i=0; i<(HASH_TABLE_LEN >> 3); i++) {
i1679drivers/net/ewrk3.ctmp.addr[i] = inb(EWRK3_DATA);
i1753drivers/net/ewrk3.cfor (i=0; i<(EEPROM_MAX>>1); i++) {
i1754drivers/net/ewrk3.ctmp.val[i] = (short)Read_EEPROM(iobase, i);
i1756drivers/net/ewrk3.ci = EEPROM_MAX;
i1757drivers/net/ewrk3.ctmp.addr[i++] = inb(EWRK3_CMR);            /* Config/Management Reg. */
i1759drivers/net/ewrk3.ctmp.addr[i++] = inb(EWRK3_PAR0 + j);
i1771drivers/net/ewrk3.cfor (i=0; i<(EEPROM_MAX>>1); i++) {
i1772drivers/net/ewrk3.cWrite_EEPROM(tmp.val[i], iobase, i);
i122drivers/net/hp-plus.cint i;
i130drivers/net/hp-plus.cfor (i = 0; hpplus_portlist[i]; i++) {
i131drivers/net/hp-plus.cint ioaddr = hpplus_portlist[i];
i145drivers/net/hp-plus.cint i;
i163drivers/net/hp-plus.cfor(i = 0; i < ETHER_ADDR_LEN; i++) {
i164drivers/net/hp-plus.cunsigned char inval = inb(ioaddr + 8 + i);
i165drivers/net/hp-plus.cdev->dev_addr[i] = inval;
i80drivers/net/hp.cint i;
i88drivers/net/hp.cfor (i = 0; hppclan_portlist[i]; i++) {
i89drivers/net/hp.cint ioaddr = hppclan_portlist[i];
i102drivers/net/hp.cint i, board_id, wordmode;
i132drivers/net/hp.cfor(i = 0; i < ETHER_ADDR_LEN; i++)
i133drivers/net/hp.cprintk(" %2.2x", dev->dev_addr[i] = inb(ioaddr + i));
i316drivers/net/lance.cint i, reset_val, lance_version;
i380drivers/net/lance.cfor (i = 0; i < 6; i++)
i381drivers/net/lance.cprintk(" %2.2x", dev->dev_addr[i] = inb(ioaddr + i));
i405drivers/net/lance.cfor (i = 0; i < 6; i++)
i406drivers/net/lance.clp->init_block.phys_addr[i] = dev->dev_addr[i];
i492drivers/net/lance.cfor (i = 0; i < 4; i++) {
i493drivers/net/lance.cint dma = dmas[i];
i519drivers/net/lance.cif (i == 4) {      /* Failure: bail. */
i551drivers/net/lance.cint i;
i603drivers/net/lance.ci = 0;
i604drivers/net/lance.cwhile (i++ < 100)
i615drivers/net/lance.cdev->name, i, (int) &lp->init_block, inw(ioaddr+LANCE_DATA));
i625drivers/net/lance.cint i;
i631drivers/net/lance.cfor (i = 0; i < RX_RING_SIZE; i++) {
i632drivers/net/lance.clp->rx_ring[i].base = (lp->rx_buffs + i*PKT_BUF_SZ) | 0x80000000;
i633drivers/net/lance.clp->rx_ring[i].buf_length = -PKT_BUF_SZ;
i637drivers/net/lance.cfor (i = 0; i < TX_RING_SIZE; i++) {
i638drivers/net/lance.clp->tx_ring[i].base = 0;
i642drivers/net/lance.cfor (i = 0; i < 6; i++)
i643drivers/net/lance.clp->init_block.phys_addr[i] = dev->dev_addr[i];
i669drivers/net/lance.cint i;
i673drivers/net/lance.cfor (i = 0 ; i < RX_RING_SIZE; i++)
i674drivers/net/lance.cprintk("%s %08x %04x %04x", i & 0x3 ? "" : "\n ",
i675drivers/net/lance.clp->rx_ring[i].base, -lp->rx_ring[i].buf_length,
i676drivers/net/lance.clp->rx_ring[i].msg_length);
i677drivers/net/lance.cfor (i = 0 ; i < TX_RING_SIZE; i++)
i678drivers/net/lance.cprintk("%s %08x %04x %04x", i & 0x3 ? "" : "\n ",
i679drivers/net/lance.clp->tx_ring[i].base, -lp->tx_ring[i].length,
i680drivers/net/lance.clp->tx_ring[i].misc);
i896drivers/net/lance.cint i;
i922drivers/net/lance.cfor (i=0; i < RX_RING_SIZE; i++)
i923drivers/net/lance.cif (lp->rx_ring[(entry+i) & RX_RING_MOD_MASK].base < 0)
i926drivers/net/lance.cif (i > RX_RING_SIZE -2) {
i1025drivers/net/lance.cint i;
i1028drivers/net/lance.cfor (i = 0; i < 4; i++) {
i1029drivers/net/lance.coutw(8 + i, ioaddr+LANCE_ADDR);
i1030drivers/net/lance.coutw(multicast_table[i], ioaddr+LANCE_DATA);
i99drivers/net/loopback.cint i;
i136drivers/net/loopback.cfor (i = 0; i < DEV_NUMBUFFS; i++)
i137drivers/net/loopback.cskb_queue_head_init(&dev->buffs[i]);
i101drivers/net/ne.cint i;
i109drivers/net/ne.cfor (i = 0; netcard_portlist[i]; i++) {
i110drivers/net/ne.cint ioaddr = netcard_portlist[i];
i123drivers/net/ne.cint i;
i170drivers/net/ne.cfor (i = 0; i < sizeof(program_seq)/sizeof(program_seq[0]); i++)
i171drivers/net/ne.coutb_p(program_seq[i].value, ioaddr + program_seq[i].offset);
i173drivers/net/ne.cfor(i = 0; i < 32 /*sizeof(SA_prom)*/; i+=2) {
i174drivers/net/ne.cSA_prom[i] = inb(ioaddr + NE_DATAPORT);
i175drivers/net/ne.cSA_prom[i+1] = inb(ioaddr + NE_DATAPORT);
i176drivers/net/ne.cif (SA_prom[i] != SA_prom[i+1])
i186drivers/net/ne.cfor (i = 0; i < 16; i++)
i187drivers/net/ne.cSA_prom[i] = SA_prom[i+i];
i195drivers/net/ne.cfor(i = 0; i < ETHER_ADDR_LEN; i++) {
i196drivers/net/ne.cdev->dev_addr[i] = SA_prom[i];
i197drivers/net/ne.cprintk(" %2.2x", SA_prom[i]);
i213drivers/net/ne.cfor (i = 0; bad_clone_list[i].name8; i++) {
i214drivers/net/ne.cif (SA_prom[0] == bad_clone_list[i].SAprefix[0] &&
i215drivers/net/ne.cSA_prom[1] == bad_clone_list[i].SAprefix[1] &&
i216drivers/net/ne.cSA_prom[2] == bad_clone_list[i].SAprefix[2]) {
i218drivers/net/ne.cname = bad_clone_list[i].name16;
i220drivers/net/ne.cname = bad_clone_list[i].name8;
i225drivers/net/ne.cif (bad_clone_list[i].name8 == NULL) {
i265drivers/net/ne.cfor(i = 0; i < ETHER_ADDR_LEN; i++)
i266drivers/net/ne.cdev->dev_addr[i] = SA_prom[i];
i95drivers/net/net_init.cint i;
i104drivers/net/net_init.cfor (i = 0; i < MAX_ETH_CARDS; ++i)
i105drivers/net/net_init.cif (ethdev_index[i] == NULL) {
i106drivers/net/net_init.csprintf(pname, "eth%d", i);
i140drivers/net/net_init.cfor (i = 0; i < MAX_ETH_CARDS; ++i)
i141drivers/net/net_init.cif (ethdev_index[i] == NULL) {
i142drivers/net/net_init.csprintf(dev->name, "eth%d", i);
i143drivers/net/net_init.cethdev_index[i] = dev;
i163drivers/net/net_init.cint i;
i166drivers/net/net_init.cfor (i = 0; i < DEV_NUMBUFFS; i++)
i167drivers/net/net_init.cskb_queue_head_init(&dev->buffs[i]);
i171drivers/net/net_init.ci = simple_strtoul(dev->name + 3, NULL, 0);
i172drivers/net/net_init.cif (ethdev_index[i] == NULL) {
i173drivers/net/net_init.cethdev_index[i] = dev;
i175drivers/net/net_init.celse if (dev != ethdev_index[i]) {
i190drivers/net/net_init.cfor (i = 0; i < ETH_ALEN; i++) {
i191drivers/net/net_init.cdev->broadcast[i]=0xff;
i224drivers/net/net_init.cint i=MAX_ETH_CARDS;
i232drivers/net/net_init.cfor (i = 0; i < MAX_ETH_CARDS; ++i)
i233drivers/net/net_init.cif (ethdev_index[i] == NULL) {
i234drivers/net/net_init.csprintf(dev->name, "eth%d", i);
i236drivers/net/net_init.cethdev_index[i] = dev;
i242drivers/net/net_init.cif (i < MAX_ETH_CARDS) ethdev_index[i] = NULL;
i265drivers/net/net_init.cint i;
i297drivers/net/net_init.cfor (i = 0; i < MAX_ETH_CARDS; ++i) {
i298drivers/net/net_init.cif (ethdev_index[i] == dev) {
i299drivers/net/net_init.cethdev_index[i] = NULL;
i130drivers/net/ni52.c#define DELAY(x) {int i=jiffies; \
i132drivers/net/ni52.cwhile(i+(x)>jiffies); \
i141drivers/net/ni52.c#define WAIT_4_SCB_CMD() { int i; \
i142drivers/net/ni52.cfor(i=0;i<1024;i++) { \
i145drivers/net/ni52.cif(i == 1023) { \
i252drivers/net/ni52.cint i;
i263drivers/net/ni52.cfor(i=0;i<2;i++)
i265drivers/net/ni52.cp->iscp = (struct iscp_struct *) iscp_addrs[i];
i351drivers/net/ni52.cint i,size;
i353drivers/net/ni52.cfor(i=0;i<ETH_ALEN;i++)
i354drivers/net/ni52.cdev->dev_addr[i] = inb(dev->base_addr+i);
i384drivers/net/ni52.cfor(i=0;;i++)
i386drivers/net/ni52.cif(!memaddrs[i]) {
i390drivers/net/ni52.cdev->mem_start = memaddrs[i];
i454drivers/net/ni52.cint i,result=0;
i573drivers/net/ni52.cfor(i=0;i<2;i++)
i575drivers/net/ni52.cp->nop_cmds[i] = (struct nop_cmd_struct *)ptr;
i576drivers/net/ni52.cp->nop_cmds[i]->cmd_cmd    = CMD_NOP;
i577drivers/net/ni52.cp->nop_cmds[i]->cmd_status = 0;
i578drivers/net/ni52.cp->nop_cmds[i]->cmd_link   = make16((p->nop_cmds[i]));
i584drivers/net/ni52.cfor(i=0;i<NUM_XMIT_BUFFS;i++)
i586drivers/net/ni52.cp->nop_cmds[i] = (struct nop_cmd_struct *)ptr;
i587drivers/net/ni52.cp->nop_cmds[i]->cmd_cmd    = CMD_NOP;
i588drivers/net/ni52.cp->nop_cmds[i]->cmd_status = 0;
i589drivers/net/ni52.cp->nop_cmds[i]->cmd_link   = make16((p->nop_cmds[i]));
i591drivers/net/ni52.cp->xmit_cmds[i] = (struct transmit_cmd_struct *)ptr; /*transmit cmd/buff 0*/
i621drivers/net/ni52.cfor(i=0;i<num_addrs;i++)
i622drivers/net/ni52.cmemcpy((char *) mc_cmd->mc_list[i],((char (*)[6]) addrs)[i],6);
i638drivers/net/ni52.cfor(i=0;i<NUM_XMIT_BUFFS;i++)
i640drivers/net/ni52.cp->xmit_cbuffs[i] = (char *)ptr; /* char-buffs */
i642drivers/net/ni52.cp->xmit_buffs[i] = (struct tbd_struct *)ptr; /* TBD */
i649drivers/net/ni52.cmemset((char *)(p->xmit_cmds[i]) ,0, sizeof(struct transmit_cmd_struct));
i650drivers/net/ni52.cmemset((char *)(p->xmit_buffs[i]),0, sizeof(struct tbd_struct));
i651drivers/net/ni52.cp->xmit_cmds[i]->cmd_status = STAT_COMPL;
i652drivers/net/ni52.cp->xmit_cmds[i]->cmd_cmd = CMD_XMIT | CMD_INT;
i653drivers/net/ni52.cp->xmit_cmds[i]->tbd_offset = make16((p->xmit_buffs[i]));
i654drivers/net/ni52.cp->xmit_buffs[i]->next = 0xffff;
i655drivers/net/ni52.cp->xmit_buffs[i]->buffer = make24((p->xmit_cbuffs[i]));
i689drivers/net/ni52.cint i;
i695drivers/net/ni52.cfor(i = 0; i < p->num_recv_buffs; i++)
i696drivers/net/ni52.crfd[i].next = make16(rfd + (i+1) % p->num_recv_buffs);
i707drivers/net/ni52.cfor(i=0;i<p->num_recv_buffs;i++)
i709drivers/net/ni52.crbd[i].next = make16((rbd + (i+1) % p->num_recv_buffs));
i710drivers/net/ni52.crbd[i].size = RECV_BUFF_SIZE;
i711drivers/net/ni52.crbd[i].buffer = make24(ptr);
i929drivers/net/ni52.cint len,i;
i995drivers/net/ni52.cfor(i=0;i<16;i++)
i1003drivers/net/ni52.cif(!i)
i1010drivers/net/ni52.cif(i==15)
i208drivers/net/ni65.cint i;
i212drivers/net/ni65.cfor(i=0;i<6;i++)
i213drivers/net/ni65.cstation_addr[i] = dev->dev_addr[i] = inb(PORT+L_EBASE+i);
i275drivers/net/ni65.cfor(i=0;i<TMDNUM;i++)
i277drivers/net/ni65.cif( (p->tmdbufs[i] = kmalloc(T_BUF_SIZE,GFP_ATOMIC)) == NULL) {
i281drivers/net/ni65.cif( (unsigned long) (p->tmdbufs[i]+T_BUF_SIZE) & 0xff000000) {
i288drivers/net/ni65.cfor(i=0;i<RMDNUM;i++)
i290drivers/net/ni65.cif( (p->recv_skb[i] = (struct sk_buff *) alloc_skb(R_BUF_SIZE,GFP_ATOMIC)) == NULL) {
i294drivers/net/ni65.cif( (unsigned long) (p->recv_skb[i]->data + R_BUF_SIZE) & 0xff000000) {
i309drivers/net/ni65.cint i,j;
i336drivers/net/ni65.cfor(i=0;i<TMDNUM;i++)
i338drivers/net/ni65.ctmdp = p->tmdhead + i;
i340drivers/net/ni65.ctmdp->u.buffer = (unsigned long) p->tmdbufs[i];     
i346drivers/net/ni65.cfor(i=0;i<RMDNUM;i++)
i348drivers/net/ni65.crmdp = p->rmdhead + i;
i349drivers/net/ni65.crmdp->u.buffer = (unsigned long) p->recv_skb[i]->data;
i355drivers/net/ni65.cfor(i=0;i<6;i++)
i357drivers/net/ni65.cp->ib.eaddr[i] = dev->dev_addr[i];
i360drivers/net/ni65.cfor(i=0;i<8;i++) 
i361drivers/net/ni65.cp->ib.filter[i] = 0;
i377drivers/net/ni65.cfor(i=0;i<5;i++)
i382drivers/net/ni65.cif(i == 5) 
i850drivers/net/plip.cint i;
i861drivers/net/plip.cfor (i=0; i < ETH_ALEN - sizeof(unsigned long); i++)
i862drivers/net/plip.ceth->h_dest[i] = 0xfc;
i863drivers/net/plip.cmemcpy(&(eth->h_dest[i]), &dst, sizeof(unsigned long));
i924drivers/net/plip.cint i;
i952drivers/net/plip.cfor (i=0; i < ETH_ALEN - sizeof(unsigned long); i++)
i953drivers/net/plip.cdev->dev_addr[i] = 0xfc;
i954drivers/net/plip.cmemcpy(&(dev->dev_addr[i]), &dev->pa_addr, sizeof(unsigned long));
i215drivers/net/ppp.cint i;
i255drivers/net/ppp.cif ((i = tty_register_ldisc(N_PPP, &ppp_ldisc)) == 0)
i258drivers/net/ppp.cprintk(KERN_ERR "error registering line discipline: %d\n", i);
i291drivers/net/ppp.cfor (i = 0; i < DEV_NUMBUFFS; i++)
i292drivers/net/ppp.cskb_queue_head_init(&dev->buffs[i]);  /* = NULL if NET02D */
i799drivers/net/ppp.ci, count;
i805drivers/net/ppp.ci     = tail;
i808drivers/net/ppp.cwhile (i != head) {
i809drivers/net/ppp.cbuffer [count] = tty->read_q.buf[i];
i814drivers/net/ppp.ci = (i + 1) & (TTY_BUF_SIZE - 1);
i870drivers/net/ppp.cint i;
i872drivers/net/ppp.cfor (i = 0; i < n; i++, c++) {
i1230drivers/net/ppp.cint len, i;
i1280drivers/net/ppp.ci = len;
i1281drivers/net/ppp.cwhile (i-- > 0) {
i1330drivers/net/ppp.cint i;
i1376drivers/net/ppp.ci = nr;
i1377drivers/net/ppp.cwhile (i-- > 0)
i1402drivers/net/ppp.cppp_ioctl(struct tty_struct *tty, struct file *file, unsigned int i,
i1420drivers/net/ppp.cswitch (i) {
i1601drivers/net/ppp.cerror = n_tty_ioctl(tty, file, i, l);
i1611drivers/net/ppp.ci,
i1903drivers/net/ppp.cint i;
i1904drivers/net/ppp.cfor (i = 0; i < PPP_NRUNIT; i++)
i1905drivers/net/ppp.cif (ppp_ctrl[i].inuse && (ppp_ctrl[i].tty == tty)) return &ppp_ctrl[i];
i1915drivers/net/ppp.cint i;
i1916drivers/net/ppp.cfor (i = 0; i < PPP_NRUNIT; i++)
i1917drivers/net/ppp.cif (!set_bit(0, &ppp_ctrl[i].inuse)) return &ppp_ctrl[i];
i1973drivers/net/ppp.cint i;
i1975drivers/net/ppp.cfor (i = 0; i < ppp->rcount - 2; i++, c++)
i2068drivers/net/ppp.cint i;
i2070drivers/net/ppp.cfor (i = 0; i < PPP_NRUNIT; i++)  {
i2071drivers/net/ppp.cif ((err = register_netdev(&dev_ppp[i])))  {
i2084drivers/net/ppp.cint i;
i2090drivers/net/ppp.cfor (i = 0; i < PPP_NRUNIT; i++)  {
i2091drivers/net/ppp.cunregister_netdev(&dev_ppp[i]);
i2093drivers/net/ppp.cif ((i = tty_register_ldisc(N_PPP, NULL)))  {
i2094drivers/net/ppp.cprintk("PPP: can't unregister line discipline (err = %d)\n", i);
i638drivers/net/sk_g16.cint i,j;                /* Counters */
i758drivers/net/sk_g16.cfor (i = 0, j = 0; i < ETH_ALEN; i++, j+=2)
i760drivers/net/sk_g16.cdev->dev_addr[i] = board->rom[j];          
i817drivers/net/sk_g16.cfor (i = 0; i < TMDNUM; i++)
i819drivers/net/sk_g16.cp->tmdbufs[i] = &(p->ram)->tmdbuf[i];
i822drivers/net/sk_g16.cfor (i = 0; i < RMDNUM; i++)
i824drivers/net/sk_g16.cp->rmdbufs[i] = &(p->ram)->rmdbuf[i]; 
i864drivers/net/sk_g16.cint i = 0;
i877drivers/net/sk_g16.ci = 0;
i890drivers/net/sk_g16.cirqval = request_irq(irqtab[i], &SK_interrupt, 0, "sk_g16");
i891drivers/net/sk_g16.ci++;
i892drivers/net/sk_g16.c} while (irqval && irqtab[i]);
i900drivers/net/sk_g16.cdev->irq = irqtab[--i]; 
i902drivers/net/sk_g16.coutb(i<<2, SK_POS4);           /* Set Card on probed IRQ */
i924drivers/net/sk_g16.cint i = 0;
i936drivers/net/sk_g16.ccase 3: i = 0;
i938drivers/net/sk_g16.ccase 5: i = 1;
i940drivers/net/sk_g16.ccase 2: i = 2;
i942drivers/net/sk_g16.ccase 11:i = 3;
i952drivers/net/sk_g16.coutb(i<<2, SK_POS4);           /* Set IRQ on card */
i961drivers/net/sk_g16.cif (!(i = SK_lance_init(dev, 0)))  /* LANCE init OK? */
i1029drivers/net/sk_g16.cint i;
i1044drivers/net/sk_g16.cfor (i = 0; i < TMDNUM; i++)     /* Init all TMD's */
i1046drivers/net/sk_g16.ctmdp = p->tmdhead + i; 
i1048drivers/net/sk_g16.ctmdp->u.buffer = (unsigned long) p->tmdbufs[i]; /* assign buffer */
i1059drivers/net/sk_g16.cfor (i = 0; i < RMDNUM; i++)     /* Init all RMD's */
i1061drivers/net/sk_g16.crmdp = p->rmdhead + i;
i1064drivers/net/sk_g16.crmdp->u.buffer = (unsigned long) p->rmdbufs[i]; /* assign buffer */
i1083drivers/net/sk_g16.cfor (i = 0; i < ETH_ALEN; i++)   /* Set physical address */
i1085drivers/net/sk_g16.c(p->ram)->ib.paddr[i] = dev->dev_addr[i]; 
i1088drivers/net/sk_g16.cfor (i = 0; i < 8; i++)          /* Set multicast, logical address */
i1090drivers/net/sk_g16.c(p->ram)->ib.laddr[i] = 0;   /* We do not use logical addressing */
i1141drivers/net/sk_g16.cfor (i = 0; (i < 100) && !(SK_rread_reg() & CSR0_IDON); i++) 
i1144drivers/net/sk_g16.cif (i >= 100) /* Something is wrong ! */
i1159drivers/net/sk_g16.cPRINTK(("## %s: init done after %d ticks\n", SK_NAME, i));
i1781drivers/net/sk_g16.cint i,j;
i1790drivers/net/sk_g16.cfor (i = 0; (rom_location[i] != 0) && (rom_found == 0); i++)
i1793drivers/net/sk_g16.cPRINTK(("##   Trying ROM location %#08x", rom_location[i]));
i1798drivers/net/sk_g16.ctest_byte = (unsigned char *) (rom_location[i]+j);
i1812drivers/net/sk_g16.cSK_NAME, rom_location[(i-1)]));
i1814drivers/net/sk_g16.creturn (rom_location[--i]);
i1852drivers/net/sk_g16.cint i;
i1855drivers/net/sk_g16.cfor (i = 0; i < 10 ; i++) /* Delay min 5ms */
i2083drivers/net/sk_g16.cint i;    
i2096drivers/net/sk_g16.cfor(i = 0; i < TMDNUM; i++)
i2098drivers/net/sk_g16.cif (!(i % 3)) /* Every third line do a newline */
i2102drivers/net/sk_g16.cprintk("tmdbufs%d: %#08x ", (i+1), (int) p->tmdbufs[i]);
i2106drivers/net/sk_g16.cfor(i = 0; i < RMDNUM; i++)
i2108drivers/net/sk_g16.cif (!(i % 3)) /* Every third line do a newline */
i2112drivers/net/sk_g16.cprintk("rmdbufs%d: %#08x ", (i+1), (int) p->rmdbufs[i]);
i127drivers/net/skeleton.cint i;
i135drivers/net/skeleton.cfor (i = 0; netcard_portlist[i]; i++) {
i136drivers/net/skeleton.cint ioaddr = netcard_portlist[i];
i154drivers/net/skeleton.cint i;
i178drivers/net/skeleton.cfor (i = 0; i < 6; i++)
i179drivers/net/skeleton.cprintk(" %2.2x", dev->dev_addr[i] = inb(ioaddr + i));
i233drivers/net/skeleton.cfor (i = 7; i > 0; i--)
i235drivers/net/skeleton.cdev->dma = i;
i238drivers/net/skeleton.cif (i <= 0) {
i96drivers/net/slhc.cregister short i;
i147drivers/net/slhc.cfor(i = comp->tslot_limit; i > 0; --i){
i148drivers/net/slhc.cts[i].cs_this = i;
i149drivers/net/slhc.cts[i].next = &(ts[i - 1]);
i548drivers/net/slhc.cregister short i;
i549drivers/net/slhc.ci = ntohs(ip->tot_len) - hdrlen;
i550drivers/net/slhc.cthp->ack_seq = htonl( ntohl(thp->ack_seq) + i);
i551drivers/net/slhc.cthp->seq = htonl( ntohl(thp->seq) + i);
i104drivers/net/slip.cint i;
i106drivers/net/slip.cfor (i = 0; i < SL_NRUNIT; i++) {
i107drivers/net/slip.csl = &sl_ctrl[i];
i869drivers/net/slip.cint i;
i885drivers/net/slip.cfor (i = 0; i < len; ++i) {
i886drivers/net/slip.cv = (v << 8) | s[i];
i1055drivers/net/slip.cint i;
i1092drivers/net/slip.cif ((i = tty_register_ldisc(N_SLIP, &sl_ldisc)) != 0)  {
i1093drivers/net/slip.cprintk("SLIP: can't register line discipline (err = %d)\n", i);
i1128drivers/net/slip.cfor (i = 0; i < DEV_NUMBUFFS; i++)  {
i1129drivers/net/slip.cskb_queue_head_init(&dev->buffs[i]);
i1175drivers/net/slip.cint i;
i1177drivers/net/slip.cfor (i = 0; i < SL_NRUNIT; i++)  {
i1178drivers/net/slip.cif ((err = register_netdev(&dev_slip[i])))  {
i1191drivers/net/slip.cint i;
i1197drivers/net/slip.cfor (i = 0; i < SL_NRUNIT; i++)  {
i1198drivers/net/slip.cunregister_netdev(&dev_slip[i]);
i1200drivers/net/slip.cif ((i = tty_register_ldisc(N_SLIP, NULL)))  {
i1201drivers/net/slip.cprintk("SLIP: can't unregister line discipline (err = %d)\n", i);
i90drivers/net/smc-ultra.cint i;
i98drivers/net/smc-ultra.cfor (i = 0; ultra_portlist[i]; i++) {
i99drivers/net/smc-ultra.cint ioaddr = ultra_portlist[i];
i112drivers/net/smc-ultra.cint i;
i129drivers/net/smc-ultra.cfor (i = 0; i < 8; i++)
i130drivers/net/smc-ultra.cchecksum += inb(ioaddr + 8 + i);
i141drivers/net/smc-ultra.cfor (i = 0; i < 6; i++)
i142drivers/net/smc-ultra.cprintk(" %2.2X", dev->dev_addr[i] = inb(ioaddr + 8 + i));
i208drivers/net/tulip.cint i;
i229drivers/net/tulip.cfor (i = 0; i < 6; i++) {
i234drivers/net/tulip.cprintk(" %2.2x", dev->dev_addr[i] = value);
i299drivers/net/tulip.cint *setup_frm = tp->setup_frame, i;
i306drivers/net/tulip.cfor (i = 1; i < 16; i++) {
i352drivers/net/tulip.cint i;
i358drivers/net/tulip.cfor (i = 0; i < RX_RING_SIZE; i++) {
i359drivers/net/tulip.ctp->rx_ring[i].status = 0x80000000;  /* Owned by Tulip chip */
i360drivers/net/tulip.ctp->rx_ring[i].length = PKT_BUF_SZ;
i361drivers/net/tulip.ctp->rx_ring[i].buffer1 = (char *)(tp->rx_buffs + i*PKT_BUF_SZ);
i362drivers/net/tulip.ctp->rx_ring[i].buffer2 = (char *)&tp->rx_ring[i+1];
i365drivers/net/tulip.ctp->rx_ring[i-1].length = PKT_BUF_SZ | 0x02000000;
i366drivers/net/tulip.ctp->rx_ring[i-1].buffer2 = (char *)&tp->rx_ring[0];
i370drivers/net/tulip.cfor (i = 0; i < TX_RING_SIZE; i++) {
i371drivers/net/tulip.ctp->tx_ring[i].status = 0x00000000;
i385drivers/net/tulip.cint i;
i392drivers/net/tulip.cfor (i = 0; i < RX_RING_SIZE; i++)
i393drivers/net/tulip.cprintk(" %8.8x", (unsigned int)tp->rx_ring[i].status);
i395drivers/net/tulip.cfor (i = 0; i < TX_RING_SIZE; i++)
i396drivers/net/tulip.cprintk(" %8.8x", (unsigned int)tp->tx_ring[i].status);
i578drivers/net/tulip.cint i;
i608drivers/net/tulip.cfor (i=0; i < RX_RING_SIZE; i++)
i609drivers/net/tulip.cif (lp->rx_ring[(entry+i) % RX_RING_SIZE].status < 0)
i612drivers/net/tulip.cif (i > RX_RING_SIZE -2) {
i693drivers/net/tulip.cint i;
i699drivers/net/tulip.cfor(i = 0; i < num_addrs; i++) {
i710drivers/net/tulip.c} while (++i < 16);
i719drivers/net/tulip.cint i;
i723drivers/net/tulip.cfor (i = 0; i < 6; i++)
i724drivers/net/tulip.cprintk(" %2.2x", dev->dev_addr[i] = ((unsigned char *)addr)[i]);
i425drivers/net/wavelan.cint    i;
i440drivers/net/wavelan.cfor (i = 1000; i > 0; i--)
i449drivers/net/wavelan.cif (i <= 0)
i465drivers/net/wavelan.cint    i;
i475drivers/net/wavelan.cfor (i = 64; i > 0; i--)
i484drivers/net/wavelan.cif (i <= 0 || !(cb.ac_status & AC_SFLD_OK))
i507drivers/net/wavelan.cint    i;
i527drivers/net/wavelan.cfor (i = 0; i < I82586_MEMZ; i += sizeof(zeroes))
i528drivers/net/wavelan.cobram_write(ioaddr, i, &zeroes[0], sizeof(zeroes));
i557drivers/net/wavelan.cfor (i = 1000; i > 0; i--)
i567drivers/net/wavelan.cif (i <= 0)
i570drivers/net/wavelan.cfor (i = 15; i > 0; i--)
i580drivers/net/wavelan.cif (i <= 0)
i710drivers/net/wavelan.cint      i;
i746drivers/net/wavelan.cfor (i = 0; i < nels(iobase); i++)
i748drivers/net/wavelan.cif (check_region(iobase[i], sizeof(ha_t)))
i751drivers/net/wavelan.cif (wavelan_probe1(dev, iobase[i]) == 0)
i764drivers/net/wavelan.cint    i;
i815drivers/net/wavelan.cfor (i = 0; i < WAVELAN_ADDR_SIZE; i++)
i816drivers/net/wavelan.cprintk("%s%02x", (i == 0) ? " " : ":", dev->dev_addr[i]);
i936drivers/net/wavelan.cint    i;
i947drivers/net/wavelan.cfor (i = 0, rx = lp->rx_head; i < NRXBLOCKS; i++, rx = rx_next)
i949drivers/net/wavelan.crx_next = (i == NRXBLOCKS - 1) ? lp->rx_head : rx + RXBLOCKZ;
i952drivers/net/wavelan.cfd.fd_command = (i == NRXBLOCKS - 1) ? FD_COMMAND_EL : 0;
i974drivers/net/wavelan.cfor (i = 1000; i > 0; i--)
i983drivers/net/wavelan.cif (i <= 0)
i998drivers/net/wavelan.cint    i;
i1011drivers/net/wavelan.ci = 0, txblock = OFFSET_CU;
i1012drivers/net/wavelan.ci < NTXBLOCKS;
i1013drivers/net/wavelan.ci++, txblock += TXBLOCKZ
i1055drivers/net/wavelan.cfor (i = 1000; i > 0; i--)
i1064drivers/net/wavelan.cif (i <= 0)
i1300drivers/net/wavelan.cint  i;
i1302drivers/net/wavelan.cfor (i = 0; i < WAVELAN_ADDR_SIZE; i++)
i1304drivers/net/wavelan.cif (a0[i] != a1[i])
i1305drivers/net/wavelan.creturn a0[i] - a1[i];
i1417drivers/net/wavelan.cint      i;
i1434drivers/net/wavelan.cfor (i = 0; i < WAVELAN_ADDR_SIZE; i++)
i1435drivers/net/wavelan.cprintk("%s%02x", (i == 0) ? "" : ":", addr[i]);
i1445drivers/net/wavelan.cint    i;
i1449drivers/net/wavelan.cfor (i = 0; i < WAVELAN_ADDR_SIZE; i++)
i1450drivers/net/wavelan.cprintk("%s%02x", (i == 0) ? "" : ":", fd.fd_dest[i]);
i1454drivers/net/wavelan.cfor (i = 0; i < WAVELAN_ADDR_SIZE; i++)
i1455drivers/net/wavelan.cprintk("%s%02x", (i == 0) ? "" : ":", fd.fd_src[i]);
i1462drivers/net/wavelan.cfor (i = 0; i < WAVELAN_ADDR_SIZE; i++)
i1463drivers/net/wavelan.cprintk("%s%02x", (i == 0) ? "" : ":", addr[i]);
i1468drivers/net/wavelan.cfor (i = 0; i < WAVELAN_ADDR_SIZE; i++)
i1469drivers/net/wavelan.cprintk("%s%02x", (i == 0) ? "" : ":", addr[i]);
i1492drivers/net/wavelan.cint  i;
i1500drivers/net/wavelan.cfor (i = 0; i < maxi; i++)
i1504drivers/net/wavelan.cc = skb->data[i];
i1506drivers/net/wavelan.cprintk(" %c", skb->data[i]);
i1508drivers/net/wavelan.cprintk("%02x", skb->data[i]);
i2030drivers/net/wavelan.cwavelan_cu_show_one(device *dev, net_local *lp, int i, unsigned short p)
i2037drivers/net/wavelan.cprintk("%d: 0x%x:", i, p);
i2259drivers/net/wavelan.cunsigned int  i;
i2267drivers/net/wavelan.cfor (i = 0, p = lp->tx_first_in_use; i < NTXBLOCKS; i++)
i2269drivers/net/wavelan.cwavelan_cu_show_one(dev, lp, i, p);
i80drivers/net/wd.cint i;
i88drivers/net/wd.cfor (i = 0; wd_portlist[i]; i++) {
i89drivers/net/wd.cint ioaddr = wd_portlist[i];
i102drivers/net/wd.cint i;
i108drivers/net/wd.cfor (i = 0; i < 8; i++)
i109drivers/net/wd.cchecksum += inb(ioaddr + 8 + i);
i119drivers/net/wd.cfor (i = 0; i < 6; i++)
i120drivers/net/wd.cprintk(" %2.2X", dev->dev_addr[i] = inb(ioaddr + 8 + i));
i146drivers/net/wd.cfor (i = 0; i < 6; i++)
i147drivers/net/wd.cif (inb(ioaddr+i) != inb(ioaddr+8+i))
i149drivers/net/wd.cif (i >= 6) {
i204drivers/net/znet.cint i;
i225drivers/net/znet.cfor (i = 0; i < 6; i++)
i226drivers/net/znet.cprintk(" %2.2x", dev->dev_addr[i] = netinfo->netid[i]);
i426drivers/scsi/53c7,8xx.cint i, j, ccf;
i546drivers/scsi/53c7,8xx.ccase DMODE_BL_2: i = 2; break;
i547drivers/scsi/53c7,8xx.ccase DMODE_BL_4: i = 4; break;
i548drivers/scsi/53c7,8xx.ccase DMODE_BL_8: i = 8; break;
i549drivers/scsi/53c7,8xx.ccase DMODE_BL_16: i = 16; break;
i551drivers/scsi/53c7,8xx.cprintk ("scsi%d ; burst length %d\n", host->host_no, i);
i594drivers/scsi/53c7,8xx.cfor (i = 0; i < 8; ++i) {
i596drivers/scsi/53c7,8xx.chostdata->busy[i][j] = 0;
i603drivers/scsi/53c7,8xx.chostdata->sync[i].select_indirect |= (i << 16); 
i605drivers/scsi/53c7,8xx.chostdata->sync[i].script[0] = (DCMD_TYPE_TCI|DCMD_TCI_OP_RETURN) << 24 | 
i614drivers/scsi/53c7,8xx.chostdata->sync[i].select_indirect |= (hostdata->saved_scntl3) << 24;
i819drivers/scsi/53c7,8xx.cint i;
i894drivers/scsi/53c7,8xx.cfor (i = 0; i < NPCI_CHIP_IDS; ++i) {
i895drivers/scsi/53c7,8xx.cif (device_id == pci_chip_ids[i].pci_device_id) {
i896drivers/scsi/53c7,8xx.cmax_revision = pci_chip_ids[i].max_revision;
i897drivers/scsi/53c7,8xx.cmin_revision = pci_chip_ids[i].min_revision;
i898drivers/scsi/53c7,8xx.cexpected_chip = pci_chip_ids[i].chip;
i900drivers/scsi/53c7,8xx.cif (chip == pci_chip_ids[i].chip)
i901drivers/scsi/53c7,8xx.cexpected_id = pci_chip_ids[i].pci_device_id;
i936drivers/scsi/53c7,8xx.cint i;
i966drivers/scsi/53c7,8xx.cfor (i = 0; i < NPCI_CHIP_IDS; ++i) 
i969drivers/scsi/53c7,8xx.cpci_chip_ids[i].pci_device_id, pci_index, &pci_bus, 
i971drivers/scsi/53c7,8xx.c!pci_init (tpnt, BOARD_GENERIC, pci_chip_ids[i].chip, 
i997drivers/scsi/53c7,8xx.cint i, ncr_to_memory, memory_to_ncr, ncr_to_ncr;
i1008drivers/scsi/53c7,8xx.cfor (i = 0; i < PATCHES; ++i) 
i1009drivers/scsi/53c7,8xx.chostdata->script[LABELPATCHES[i]] += 
i1148drivers/scsi/53c7,8xx.cint old_level, failed, i;
i1255drivers/scsi/53c7,8xx.cfor (i = 0; i < 3; ++i) {
i1264drivers/scsi/53c7,8xx.cdsa[0] = (0x33 << 24) | (i << 16)  ;
i1281drivers/scsi/53c7,8xx.chost->host_no, i, data + 8);
i1289drivers/scsi/53c7,8xx.chost->host_no, i);
i1303drivers/scsi/53c7,8xx.chost->host_no, i);
i1329drivers/scsi/53c7,8xx.cint i;
i1369drivers/scsi/53c7,8xx.cint i;
i1372drivers/scsi/53c7,8xx.cfor (i = 0; i < 2; ++i) {
i1373drivers/scsi/53c7,8xx.cfor (search = (char *) (i ? hostdata->issue_dsa_head : 
i1374drivers/scsi/53c7,8xx.chostdata->reconnect_dsa_head), prev = (char **) (i ? 
i1548drivers/scsi/53c7,8xx.cint desire, divisor, i, limit;
i1563drivers/scsi/53c7,8xx.cfor (i = 0; (i < limit) && (divisor < syncs[i + 1].div); ++i);
i1566drivers/scsi/53c7,8xx.csyncs[i].div / 10, syncs[i].div % 10);
i1571drivers/scsi/53c7,8xx.c~SCNTL3_800_SCF_MASK) | (syncs[i].scf << SCNTL3_800_SCF_SHIFT)) : 0;
i1572drivers/scsi/53c7,8xx.csxfer = (msg[4] << SXFER_MO_SHIFT) | ((syncs[i].tp) << SXFER_TP_SHIFT);
i2057drivers/scsi/53c7,8xx.c{DT_help, "?", 0} , TOKEN(h,0), TOKEN(i,0), TOKEN(mp,2), 
i2080drivers/scsi/53c7,8xx.cint i, j, error, len;
i2100drivers/scsi/53c7,8xx.cfor (i = 0; i < NDT; ++i) {
i2101drivers/scsi/53c7,8xx.clen = strlen (debugger_tokens[i].name);
i2102drivers/scsi/53c7,8xx.cif (!strncmp(input_buf, debugger_tokens[i].name, len)) 
i2106drivers/scsi/53c7,8xx.cif (i == NDT) 
i2109drivers/scsi/53c7,8xx.cfor (ptr = input_buf + len, j = 0; j < debugger_tokens[i].nargs && *ptr;) {
i2119drivers/scsi/53c7,8xx.cif (j != debugger_tokens[i].nargs)
i2268drivers/scsi/53c7,8xx.ci,      /* Counter */
i2503drivers/scsi/53c7,8xx.cfor (i = 0; cmd->use_sg ? (i < cmd->use_sg) : !i; cmd_datain += 4, 
i2504drivers/scsi/53c7,8xx.ccmd_dataout += 4, ++i) {
i2506drivers/scsi/53c7,8xx.c((struct scatterlist *)cmd->buffer)[i].address :
i2509drivers/scsi/53c7,8xx.c((struct scatterlist *)cmd->buffer)[i].length :
i3775drivers/scsi/53c7,8xx.cint i, len;
i3784drivers/scsi/53c7,8xx.cfor (i = dsa[hostdata->dsa_msgout / sizeof(long)],
i3785drivers/scsi/53c7,8xx.cptr = (char *) dsa[hostdata->dsa_msgout / sizeof(long) + 1]; i > 0;
i3786drivers/scsi/53c7,8xx.cptr += len, i -= len) {
i1297drivers/scsi/53c7,8xx.hfor (i = 0; i < (sizeof (A_##symbol##_used) / sizeof     \
i1298drivers/scsi/53c7,8xx.h(unsigned long)); ++i) {          \
i1299drivers/scsi/53c7,8xx.h(script)[A_##symbol##_used[i] - (offset)] += (value);  \
i1302drivers/scsi/53c7,8xx.hhost->host_no, #symbol, i, A_##symbol##_used[i] -   \
i1303drivers/scsi/53c7,8xx.h(offset), #script, (script)[A_##symbol##_used[i] -   \
i1308drivers/scsi/53c7,8xx.hfor (i = 0; i < (sizeof (A_##symbol##_used) / sizeof     \
i1309drivers/scsi/53c7,8xx.h(unsigned long)); ++i)          \
i1310drivers/scsi/53c7,8xx.h(script)[A_##symbol##_used[i] - (offset)] =      \
i1311drivers/scsi/53c7,8xx.h((script)[A_##symbol##_used[i] - (offset)] &     \
i348drivers/scsi/NCR5380.cunsigned char status, data, basr, mr, icr, i;
i357drivers/scsi/NCR5380.cfor (i = 0; signals[i].mask ; ++i) 
i358drivers/scsi/NCR5380.cif (status & signals[i].mask)
i359drivers/scsi/NCR5380.cprintk(" %s", signals[i].name);
i360drivers/scsi/NCR5380.cfor (i = 0; basrs[i].mask ; ++i) 
i361drivers/scsi/NCR5380.cif (basr & basrs[i].mask)
i362drivers/scsi/NCR5380.cprintk(" %s", basrs[i].name);
i363drivers/scsi/NCR5380.cfor (i = 0; icrs[i].mask; ++i) 
i364drivers/scsi/NCR5380.cif (icr & icrs[i].mask)
i365drivers/scsi/NCR5380.cprintk(" %s", icrs[i].name);
i366drivers/scsi/NCR5380.cfor (i = 0; mrs[i].mask; ++i) 
i367drivers/scsi/NCR5380.cif (mr & mrs[i].mask)
i368drivers/scsi/NCR5380.cprintk(" %s", mrs[i].name);
i391drivers/scsi/NCR5380.cint i;
i399drivers/scsi/NCR5380.cfor (i = 0; (phases[i].value != PHASE_UNKNOWN) && 
i400drivers/scsi/NCR5380.c(phases[i].value != (status & PHASE_MASK)); ++i); 
i401drivers/scsi/NCR5380.cprintk("scsi%d : phase %s\n", instance->host_no, phases[i].name);
i612drivers/scsi/NCR5380.cint trying_irqs, i, mask;
i615drivers/scsi/NCR5380.cfor (trying_irqs = i = 0, mask = 1; i < 16; ++i, mask <<= 1) 
i616drivers/scsi/NCR5380.cif ((mask & possible) &&  (request_irq(i, &probe_intr, SA_INTERRUPT, "NCR-probe") 
i644drivers/scsi/NCR5380.cfor (i = 0, mask = 1; i < 16; ++i, mask <<= 1)
i646drivers/scsi/NCR5380.cfree_irq(i);
i764drivers/scsi/NCR5380.cint i;
i782drivers/scsi/NCR5380.cfor (i = hostdata->id_mask; i <= 0x80; i <<= 1)
i783drivers/scsi/NCR5380.cif (i > hostdata->id_mask)
i784drivers/scsi/NCR5380.chostdata->id_higher_mask |= i;
i785drivers/scsi/NCR5380.cfor (i = 0; i < 8; ++i)
i786drivers/scsi/NCR5380.chostdata->busy[i] = 0;
i531drivers/scsi/aha152x.cint i;
i537drivers/scsi/aha152x.cfor(i=0; i<16; i++)
i538drivers/scsi/aha152x.cSETPORT( STACK, i );
i541drivers/scsi/aha152x.cfor(i=0; i<16 && GETPORT(STACK)==i; i++)
i544drivers/scsi/aha152x.creturn(i==16);
i549drivers/scsi/aha152x.cint                 i, ok;
i583drivers/scsi/aha152x.cfor( i=0; i<PORT_COUNT && (port_base != ports[i]); i++)
i586drivers/scsi/aha152x.cif(i==PORT_COUNT)
i598drivers/scsi/aha152x.ci=0;
i599drivers/scsi/aha152x.cwhile(irqs[i] && (interrupt_level!=irqs[i]))
i600drivers/scsi/aha152x.ci++;
i601drivers/scsi/aha152x.cif(!irqs[i])
i632drivers/scsi/aha152x.cfor( i=0; i < ADDRESS_COUNT && !ok; i++)
i634drivers/scsi/aha152x.cok=!memcmp((void *) addresses[i]+signatures[j].sig_offset,
i648drivers/scsi/aha152x.cfor( i=0; i<PORT_COUNT && !aha152x_porttest(ports[i]); i++)
i651drivers/scsi/aha152x.cif(i==PORT_COUNT)
i657drivers/scsi/aha152x.cport_base=ports[i];
i1216drivers/scsi/aha152x.cint identify_msg, target, i;
i1243drivers/scsi/aha152x.ci = GETPORT(SELID) & ~(1 << this_host);
i1245drivers/scsi/aha152x.cif(i)
i1246drivers/scsi/aha152x.cfor( ; (i & 1)==0; target++, i>>=1)
i1264drivers/scsi/aha152x.cif((i=getphase())!=P_MSGI)
i1266drivers/scsi/aha152x.cprintk("target doesn't enter MSGI to identify (phase=%02x)\n", i);
i1711drivers/scsi/aha152x.cint           i, code;
i1721drivers/scsi/aha152x.ci=GETPORT(SCSIBUS);
i1725drivers/scsi/aha152x.cprintk("length (%d), code ( ", i);
i1778drivers/scsi/aha152x.cwhile( --i && (make_acklow(), getphase()==P_MSGI))
i1952drivers/scsi/aha152x.cint           i;
i1958drivers/scsi/aha152x.cfor( i=0; i<2*data_count; i++)
i285drivers/scsi/aha1542.cint i;
i304drivers/scsi/aha1542.ci = jiffies + 2;
i305drivers/scsi/aha1542.cwhile (i>jiffies); /* Wait a little bit for things to settle down. */
i482drivers/scsi/aha1542.cint i;
i486drivers/scsi/aha1542.cfor (i = 0; i < 12; i++)
i487drivers/scsi/aha1542.cprintk("%02x ", ccb[mbo].cdb[ccb[mbo].cdblen+i]);
i520drivers/scsi/aha1542.cDEB(int i);
i542drivers/scsi/aha1542.ci = xscsi2int(cmd+2);
i544drivers/scsi/aha1542.ci = scsi2int(cmd+2);
i546drivers/scsi/aha1542.ci = -1;
i548drivers/scsi/aha1542.cprintk("aha1542_queuecommand: dev %d cmd %02x pos %d len %d ", target, *cmd, i, bufflen);
i550drivers/scsi/aha1542.cprintk("aha1542_command: dev %d cmd %02x pos %d len %d ", target, *cmd, i, bufflen);
i553drivers/scsi/aha1542.cfor (i = 0; i < SCpnt->cmd_len; i++) printk("%02x ", cmd[i]);
i606drivers/scsi/aha1542.cint i;
i612drivers/scsi/aha1542.cfor(i=0; i<SCpnt->use_sg; i++) {
i613drivers/scsi/aha1542.cif(sgpnt[i].length == 0 || SCpnt->use_sg > 16 || 
i614drivers/scsi/aha1542.c(((int)sgpnt[i].address) & 1) || (sgpnt[i].length & 1)){
i616drivers/scsi/aha1542.cprintk("Bad segment list supplied to aha1542.c (%d, %d)\n",SCpnt->use_sg,i);
i617drivers/scsi/aha1542.cfor(i=0;i<SCpnt->use_sg;i++){
i618drivers/scsi/aha1542.cprintk("%d: %x %x %d\n",i,(unsigned int) sgpnt[i].address, (unsigned int) sgpnt[i].alt_address,
i619drivers/scsi/aha1542.csgpnt[i].length);
i622drivers/scsi/aha1542.cptr = (unsigned char *) &cptr[i];
i623drivers/scsi/aha1542.cfor(i=0;i<18;i++) printk("%02x ", ptr[i]);
i626drivers/scsi/aha1542.cany2scsi(cptr[i].dataptr, sgpnt[i].address);
i627drivers/scsi/aha1542.cif(((unsigned  int) sgpnt[i].address) & 0xff000000) goto baddma;
i628drivers/scsi/aha1542.cany2scsi(cptr[i].datalen, sgpnt[i].length);
i635drivers/scsi/aha1542.cfor(i=0;i<18;i++) printk("%02x ", ptr[i]);
i650drivers/scsi/aha1542.c{ int i;
i652drivers/scsi/aha1542.cfor (i = 0; i < sizeof(ccb[mbo])-10; i++)
i653drivers/scsi/aha1542.cprintk("%02x ", ((unchar *)&ccb[mbo])[i]);
i691drivers/scsi/aha1542.cint i;
i700drivers/scsi/aha1542.cfor(i=0; i<AHA1542_MAILBOXES; i++){
i701drivers/scsi/aha1542.cmb[i].status = mb[AHA1542_MAILBOXES+i].status = 0;
i702drivers/scsi/aha1542.cany2scsi(mb[i].ccbptr, &ccb[i]);
i719drivers/scsi/aha1542.cint i;
i720drivers/scsi/aha1542.ci = inb(STATUS(base_io));
i721drivers/scsi/aha1542.cif (i & DF) {
i722drivers/scsi/aha1542.ci = inb(DATA(base_io));
i819drivers/scsi/aha1542.cint i;
i820drivers/scsi/aha1542.ci = inb(STATUS(base_io));
i821drivers/scsi/aha1542.cif (i & DF) {
i822drivers/scsi/aha1542.ci = inb(DATA(base_io));
i1029drivers/scsi/aha1542.cint i;
i1031drivers/scsi/aha1542.cfor (i = 0; i < sizeof(buf); ++i) buf[i] = 0x87;
i1032drivers/scsi/aha1542.cfor (i = 0; i < 2; ++i)
i1033drivers/scsi/aha1542.cif (!aha1542_command(i, cmd, buf, sizeof(buf))) {
i1035drivers/scsi/aha1542.ci, xscsi2int(buf+4), xscsi2int(buf));
i1041drivers/scsi/aha1542.cfor (i = 0; i < 4; ++i)
i1048drivers/scsi/aha1542.cxany2scsi(cmd+2, i);
i1069drivers/scsi/aha1542.cint i;
i1075drivers/scsi/aha1542.cfor(i=0; i< AHA1542_MAILBOXES; i++)
i1076drivers/scsi/aha1542.cif(HOSTDATA(shost)->SCint[i] && 
i1077drivers/scsi/aha1542.c!(HOSTDATA(shost)->SCint[i]->device->soft_reset))
i1080drivers/scsi/aha1542.cHOSTDATA(shost)->mb[i].status = 1; /* Indicate ready to restart... */
i1103drivers/scsi/aha1542.cint mbi, mbo, i;
i1132drivers/scsi/aha1542.cfor(i=0; i< AHA1542_MAILBOXES; i++)
i1133drivers/scsi/aha1542.cif(HOSTDATA(SCpnt->host)->SCint[i])
i1135drivers/scsi/aha1542.cif(HOSTDATA(SCpnt->host)->SCint[i] == SCpnt) {
i1137drivers/scsi/aha1542.cif (HOSTDATA(SCpnt->host)->mb[i].status) {
i1171drivers/scsi/aha1542.cint i;
i1180drivers/scsi/aha1542.cfor(i=0; i< AHA1542_MAILBOXES; i++)
i1181drivers/scsi/aha1542.cif(HOSTDATA(SCpnt->host)->SCint[i] == SCpnt)
i1183drivers/scsi/aha1542.cHOSTDATA(SCpnt->host)->ccb[i].op = 0x81;  /* BUS DEVICE RESET */
i1197drivers/scsi/aha1542.cfor(i=0; i< AHA1542_MAILBOXES; i++)
i1198drivers/scsi/aha1542.cif(HOSTDATA(SCpnt->host)->SCint[i] &&
i1199drivers/scsi/aha1542.cHOSTDATA(SCpnt->host)->SCint[i]->target == SCpnt->target)
i1202drivers/scsi/aha1542.cSCtmp = HOSTDATA(SCpnt->host)->SCint[i];
i1208drivers/scsi/aha1542.cHOSTDATA(SCpnt->host)->SCint[i] = NULL;
i1209drivers/scsi/aha1542.cHOSTDATA(SCpnt->host)->mb[i].status = 0;
i254drivers/scsi/aha1740.cDEB(int i);
i270drivers/scsi/aha1740.ci = xscsi2int(cmd+2);
i272drivers/scsi/aha1740.ci = scsi2int(cmd+2);
i274drivers/scsi/aha1740.ci = -1;
i275drivers/scsi/aha1740.cprintk("aha1740_queuecommand: dev %d cmd %02x pos %d len %d ", target, *cmd, i, bufflen);
i277drivers/scsi/aha1740.cfor (i = 0; i < SCpnt->cmd_len; i++) printk("%02x ", cmd[i]);
i321drivers/scsi/aha1740.cint i;
i330drivers/scsi/aha1740.cfor(i=0; i<SCpnt->use_sg; i++)
i332drivers/scsi/aha1740.ccptr[i].dataptr = (long) sgpnt[i].address;
i333drivers/scsi/aha1740.ccptr[i].datalen = sgpnt[i].length;
i340drivers/scsi/aha1740.cfor(i=0;i<24;i++) printk("%02x ", ptr[i]);
i360drivers/scsi/aha1740.cint i;
i362drivers/scsi/aha1740.cfor (i = 0; i < sizeof(ecb[ecbno])-10; i++)
i363drivers/scsi/aha1740.cprintk("%02x ", ((unchar *)&ecb[ecbno])[i]);
i318drivers/scsi/aha274x.cint i;
i330drivers/scsi/aha274x.cfor (i = 0; options[i].name; i++)
i331drivers/scsi/aha274x.cif (!strcmp(options[i].name, p))
i332drivers/scsi/aha274x.c*(options[i].flag) = !0;
i362drivers/scsi/aha274x.cint i, segments;
i370drivers/scsi/aha274x.cfor (i = length = 0;
i371drivers/scsi/aha274x.ci < cmd->use_sg && i < segments;
i372drivers/scsi/aha274x.ci++)
i374drivers/scsi/aha274x.clength += sg[i].length;
i385drivers/scsi/aha274x.cint i;
i389drivers/scsi/aha274x.cfor (i = 0; i < cmd->use_sg; i++)
i390drivers/scsi/aha274x.cif ((unsigned)sg[i].length > 0xffff)
i400drivers/scsi/aha274x.cint i;
i404drivers/scsi/aha274x.cfor (i = 0; i < aha274x_synctab_max-1; i++) {
i406drivers/scsi/aha274x.cif (transfer == aha274x_synctab[i].period) {
i407drivers/scsi/aha274x.c*rate = (aha274x_synctab[i].rate << 4) | (offset & 0xf);
i411drivers/scsi/aha274x.cif (transfer > aha274x_synctab[i].period &&
i412drivers/scsi/aha274x.ctransfer < aha274x_synctab[i+1].period)
i414drivers/scsi/aha274x.c*rate = (aha274x_synctab[i+1].rate << 4) |
i740drivers/scsi/aha274x.cint i;
i753drivers/scsi/aha274x.cfor (i = 0; i < sizeof(buf); i++) {
i758drivers/scsi/aha274x.coutb(0x80 + i, s_base);
i759drivers/scsi/aha274x.cbuf[i] = inb(s_base + i);
i762drivers/scsi/aha274x.cfor (i = 0; i < sizeof(S)/sizeof(S[0]); i++) {
i763drivers/scsi/aha274x.cif (!memcmp(buf, S[i].signature, S[i].n)) {
i768drivers/scsi/aha274x.creturn(S[i].type);
i862drivers/scsi/aha274x.cint i, irq, scsi_id;
i942drivers/scsi/aha274x.cfor (i = 0; i < AHA274X_MAXSCB; i++)
i943drivers/scsi/aha274x.cp->SCB_array[i] = NULL;
i1267drivers/scsi/aha274x.cint i, scb, found, queued;
i1292drivers/scsi/aha274x.cfor (i = found = 0; i < queued; i++) {
i1293drivers/scsi/aha274x.cscbsave[i] = inb(O_QINFIFO(p->base));
i1295drivers/scsi/aha274x.cif (scbsave[i] == scb) {
i1297drivers/scsi/aha274x.ci -= 1;
i1302drivers/scsi/aha274x.cfor (i = 0; i < queued; i++)
i1303drivers/scsi/aha274x.coutb(scbsave[i], O_QINFIFO(p->base));
i1388drivers/scsi/aha274x.cint i;
i1446drivers/scsi/aha274x.cfor (i = 0; i < AHA274X_MAXSCB; i++) {
i1447drivers/scsi/aha274x.cif (cmd == p->SCB_array[i]) {
i1448drivers/scsi/aha274x.creset = (Scsi_Cmnd *)p->SCB_array[i];
i1449drivers/scsi/aha274x.cp->SCB_array[i] = NULL;
i147drivers/scsi/aic7770.cint i;
i165drivers/scsi/aic7770.cfor (i = 0; i < p->npatch; i++) {
i166drivers/scsi/aic7770.cM[p->patch[i]][0] &= ~1;
i167drivers/scsi/aic7770.cM[p->patch[i]][0] |= ((p->value >> 8) & 1);
i168drivers/scsi/aic7770.cM[p->patch[i]][1] = p->value & 0xff;
i171drivers/scsi/aic7770.cfprintf(stderr, " 0x%x", p->patch[i]);
i186drivers/scsi/aic7770.cint i;
i188drivers/scsi/aic7770.cfor (i = 0; i < LC; i++)
i190drivers/scsi/aic7770.cM[i][3],
i191drivers/scsi/aic7770.cM[i][2],
i192drivers/scsi/aic7770.cM[i][1],
i193drivers/scsi/aic7770.cM[i][0]);
i198drivers/scsi/aic7770.cint i;
i203drivers/scsi/aic7770.ci = 0;
i217drivers/scsi/aic7770.cif (i < MAXTOKEN-1)
i218drivers/scsi/aic7770.ca[i++] = p;
i221drivers/scsi/aic7770.cif (i) {
i222drivers/scsi/aic7770.c*n = i;
i303drivers/scsi/aic7770.cint i;
i323drivers/scsi/aic7770.cfor (i = 0; i < sizeof(jmptab)/sizeof(jmptab[0]); i++)
i324drivers/scsi/aic7770.cif (jmptab[i].what == want &&
i325drivers/scsi/aic7770.c!strcmp(jmptab[i].name, a[spec]))
i327drivers/scsi/aic7770.creturn(jmptab[i].value);
i431drivers/scsi/aic7770.cint i;
i444drivers/scsi/aic7770.cfor (i = 0; instr[i].name; i++) {
i450drivers/scsi/aic7770.cif (!strcmp(instr[i].name, *a) && instr[i].n == n)
i453drivers/scsi/aic7770.cif (!instr[i].name)
i456drivers/scsi/aic7770.cI_op  = eval_operand(a, instr[i].op);
i457drivers/scsi/aic7770.cI_src  = eval_sdi(a, instr[i].src);
i458drivers/scsi/aic7770.cI_imm  = eval_sdi(a, instr[i].imm);
i459drivers/scsi/aic7770.cI_dest  = eval_sdi(a, instr[i].dest);
i460drivers/scsi/aic7770.cI_addr  = eval_addr(a, instr[i].addr);
i462drivers/scsi/aic7770.cswitch (instr[i].fmt) {
i236drivers/scsi/buslogic.cint s = inb(STATUS(base)), i = inb(INTERRUPT(base));
i238drivers/scsi/buslogic.cbuslogic_printk("status=%02X intrflags=%02X\n", s, i);
i574drivers/scsi/buslogic.csize_t i;
i577drivers/scsi/buslogic.cfor (i = 0; i < sizeof sctmp->sense_buffer; i++)
i578drivers/scsi/buslogic.cprintk(" %02X", sctmp->sense_buffer[i]);
i635drivers/scsi/buslogic.cint i;
i639drivers/scsi/buslogic.ci = *(int *)(cmd + 2);
i641drivers/scsi/buslogic.ci = -1;
i643drivers/scsi/buslogic.ctarget, *cmd, i, bufflen);
i646drivers/scsi/buslogic.cfor (i = 0; i < scpnt->cmd_len; i++)
i647drivers/scsi/buslogic.cprintk(" %02X", cmd[i]);
i715drivers/scsi/buslogic.csize_t i;
i732drivers/scsi/buslogic.cfor (i = 0; i < scpnt->use_sg; i++) {
i733drivers/scsi/buslogic.cCHECK_DMA_ADDR(shpnt->unchecked_isa_dma, sgpnt[i].address,
i735drivers/scsi/buslogic.ccptr[i].dataptr = sgpnt[i].address;
i736drivers/scsi/buslogic.ccptr[i].datalen = sgpnt[i].length;
i746drivers/scsi/buslogic.cfor (i = 0; i < 18; i++)
i747drivers/scsi/buslogic.cprintk(" %02X", ptr[i]);
i768drivers/scsi/buslogic.csize_t i;
i771drivers/scsi/buslogic.cfor (i = 0; i < sizeof ccb[mbo] - 10; i++)
i772drivers/scsi/buslogic.cprintk(" %02X", ((unsigned char *)&ccb[mbo])[i]);
i829drivers/scsi/buslogic.csize_t i;
i838drivers/scsi/buslogic.cfor (i = 0; i < BUSLOGIC_MAILBOXES; i++) {
i839drivers/scsi/buslogic.cmb[i].status = mb[BUSLOGIC_MAILBOXES + i].status = MBX_NOT_IN_USE;
i840drivers/scsi/buslogic.cmb[i].ccbptr = &ccb[i];
i867drivers/scsi/buslogic.cint i;
i873drivers/scsi/buslogic.ci = inb(STATUS(base));
i874drivers/scsi/buslogic.cif (i & DIRRDY)
i875drivers/scsi/buslogic.ci = inb(DATA_IN(base));
i977drivers/scsi/buslogic.cunsigned int i;
i1005drivers/scsi/buslogic.ci = jiffies + 2;
i1006drivers/scsi/buslogic.cwhile (i > jiffies);
i1309drivers/scsi/buslogic.csize_t i;
i1314drivers/scsi/buslogic.cfor (i = 0; i < sizeof buf; i++)
i1315drivers/scsi/buslogic.cbuf[i] = 0x87;
i1316drivers/scsi/buslogic.cfor (i = 0; i < 2; i++)
i1317drivers/scsi/buslogic.cif (!buslogic_command(i, cmd, buf, sizeof buf)) {
i1319drivers/scsi/buslogic.ci, *(int *)(buf + 4), *(int *)buf);
i1325drivers/scsi/buslogic.cfor (i = 0; i < 4; i++) {
i1330drivers/scsi/buslogic.cxany2scsi(cmd + 2, i);
i1352drivers/scsi/buslogic.cunsigned int i;
i1358drivers/scsi/buslogic.cfor (i = 0; i < BUSLOGIC_MAILBOXES; i++)
i1359drivers/scsi/buslogic.cif (HOSTDATA(shpnt)->sc[i]
i1360drivers/scsi/buslogic.c&& !HOSTDATA(shpnt)->sc[i]->device->soft_reset) {
i1362drivers/scsi/buslogic.cHOSTDATA(shpnt)->mb[i].status
i1388drivers/scsi/buslogic.cunsigned int i;
i1422drivers/scsi/buslogic.cfor (i = 0; i < BUSLOGIC_MAILBOXES; i++)
i1423drivers/scsi/buslogic.cif (HOSTDATA(scpnt->host)->sc[i]) {
i1424drivers/scsi/buslogic.cif (HOSTDATA(scpnt->host)->sc[i] == scpnt) {
i1427drivers/scsi/buslogic.cif (HOSTDATA(scpnt->host)->mb[i].status != MBX_NOT_IN_USE) {
i1466drivers/scsi/buslogic.cunsigned int i;
i1477drivers/scsi/buslogic.cfor (i = 0; i < BUSLOGIC_MAILBOXES; i++)
i1478drivers/scsi/buslogic.cif (HOSTDATA(scpnt->host)->sc[i] == scpnt) {
i1479drivers/scsi/buslogic.cHOSTDATA(scpnt->host)->ccbs[i].op = CCB_OP_BUS_RESET;
i1496drivers/scsi/buslogic.cfor (i = 0; i < BUSLOGIC_MAILBOXES; i++)
i1497drivers/scsi/buslogic.cif (HOSTDATA(scpnt->host)->sc[i]
i1498drivers/scsi/buslogic.c&& HOSTDATA(scpnt->host)->sc[i]->target == scpnt->target) {
i1499drivers/scsi/buslogic.cScsi_Cmnd *sctmp = HOSTDATA(scpnt->host)->sc[i];
i1508drivers/scsi/buslogic.cHOSTDATA(scpnt->host)->sc[i] = NULL;
i1509drivers/scsi/buslogic.cHOSTDATA(scpnt->host)->mb[i].status = MBX_NOT_IN_USE;
i1568drivers/scsi/buslogic.csize_t i;
i1579drivers/scsi/buslogic.cfor (i = 0; i < ARRAY_SIZE(valid_bases); i++)
i1580drivers/scsi/buslogic.cif (valid_bases[i] == ints[1]) {
i1585drivers/scsi/buslogic.cbuslogic_printk("invalid base 0x%X specified.\n", ints[i]);
i102drivers/scsi/constants.cint i,s;
i104drivers/scsi/constants.cfor ( i = 1, s = COMMAND_SIZE(command[0]); i < s; ++i) 
i105drivers/scsi/constants.cprintk("%02x ", command[i]);
i366drivers/scsi/constants.cint i, s;
i411drivers/scsi/constants.cfor(i=0; additional[i].text; i++)
i412drivers/scsi/constants.cif(additional[i].code1 == sense_buffer[12] &&
i413drivers/scsi/constants.cadditional[i].code2 == sense_buffer[13])
i414drivers/scsi/constants.cprintk("Additional sense indicates %s\n", additional[i].text);
i416drivers/scsi/constants.cfor(i=0; additional2[i].text; i++)
i417drivers/scsi/constants.cif(additional2[i].code1 == sense_buffer[12] &&
i418drivers/scsi/constants.cadditional2[i].code2_min >= sense_buffer[13]  &&
i419drivers/scsi/constants.cadditional2[i].code2_max <= sense_buffer[13]) {
i421drivers/scsi/constants.cprintk(additional2[i].text, sense_buffer[13]);
i443drivers/scsi/constants.cfor (i = 0; i < s; ++i) 
i444drivers/scsi/constants.cprintk("0x%02x ", sense_buffer[i]);
i478drivers/scsi/constants.cint len = 0, i;
i499drivers/scsi/constants.cfor (i = 2; i < len; ++i) 
i500drivers/scsi/constants.cprintk("%02x ", msg[i]);
i503drivers/scsi/constants.cfor (i = 0; i < len; ++i)
i504drivers/scsi/constants.cprintk("%02x ", msg[i]);
i576drivers/scsi/eata.cunsigned int i, j, k, flags;
i595drivers/scsi/eata.ci = HD(j)->last_cp_used + 1;
i597drivers/scsi/eata.cfor (k = 0; k < sh[j]->can_queue; k++, i++) {
i599drivers/scsi/eata.cif (i >= sh[j]->can_queue) i = 0;
i601drivers/scsi/eata.cif (HD(j)->cp_stat[i] == FREE) {
i602drivers/scsi/eata.cHD(j)->last_cp_used = i;
i624drivers/scsi/eata.ccpp = &HD(j)->cp[i];
i629drivers/scsi/eata.cspp = &HD(j)->sp[i];
i637drivers/scsi/eata.ccpp->index = i;
i641drivers/scsi/eata.cBN(j), i, SCpnt->target, SCpnt->pid);
i681drivers/scsi/eata.cHD(j)->cp_stat[i] = IN_USE;
i687drivers/scsi/eata.cunsigned int i, j, flags;
i699drivers/scsi/eata.ci = *(unsigned int *)SCarg->host_scribble;
i701drivers/scsi/eata.cBN(j), i, SCarg->target, SCarg->pid);
i703drivers/scsi/eata.cif (i >= sh[j]->can_queue)
i712drivers/scsi/eata.cif (HD(j)->cp_stat[i] == FREE) {
i713drivers/scsi/eata.cprintk("%s: abort, mbox %d is free.\n", BN(j), i);
i718drivers/scsi/eata.cif (HD(j)->cp_stat[i] == IN_USE) {
i719drivers/scsi/eata.cprintk("%s: abort, mbox %d is in use.\n", BN(j), i);
i721drivers/scsi/eata.cif (SCarg != HD(j)->cp[i].SCpnt)
i723drivers/scsi/eata.cBN(j), i, SCarg, HD(j)->cp[i].SCpnt);
i729drivers/scsi/eata.cif (HD(j)->cp_stat[i] == IN_RESET) {
i730drivers/scsi/eata.cprintk("%s: abort, mbox %d is in reset.\n", BN(j), i);
i735drivers/scsi/eata.cif (HD(j)->cp_stat[i] == LOCKED) {
i736drivers/scsi/eata.cprintk("%s: abort, mbox %d is locked.\n", BN(j), i);
i741drivers/scsi/eata.cpanic("%s: abort, mbox %d, invalid cp_stat.\n", BN(j), i);
i745drivers/scsi/eata.cunsigned int i, j, flags, time, k, limit = 0;
i774drivers/scsi/eata.cfor (i = 0; i < sh[j]->can_queue; i++) {
i776drivers/scsi/eata.cif (HD(j)->cp_stat[i] == FREE) continue;
i778drivers/scsi/eata.cif (HD(j)->cp_stat[i] == LOCKED) {
i779drivers/scsi/eata.cHD(j)->cp_stat[i] = FREE;
i780drivers/scsi/eata.cprintk("%s: reset, locked mbox %d forced free.\n", BN(j), i);
i784drivers/scsi/eata.cSCpnt = HD(j)->cp[i].SCpnt;
i785drivers/scsi/eata.cHD(j)->cp_stat[i] = IN_RESET;
i787drivers/scsi/eata.cBN(j), i, SCpnt->pid);
i790drivers/scsi/eata.cpanic("%s: reset, mbox %d, SCpnt == NULL.\n", BN(j), i);
i793drivers/scsi/eata.cpanic("%s: reset, mbox %d, garbled SCpnt.\n", BN(j), i);
i795drivers/scsi/eata.cif (*(unsigned int *)SCpnt->host_scribble != i) 
i796drivers/scsi/eata.cpanic("%s: reset, mbox %d, index mismatch.\n", BN(j), i);
i799drivers/scsi/eata.cpanic("%s: reset, mbox %d, SCpnt->scsi_done == NULL.\n", BN(j), i);
i823drivers/scsi/eata.cfor (i = 0; i < sh[j]->can_queue; i++) {
i826drivers/scsi/eata.cif (HD(j)->cp_stat[i] != IN_RESET) continue;
i828drivers/scsi/eata.cSCpnt = HD(j)->cp[i].SCpnt;
i833drivers/scsi/eata.cHD(j)->cp_stat[i] = LOCKED;
i836drivers/scsi/eata.cBN(j), i, SCpnt->pid);
i858drivers/scsi/eata.cunsigned int i, j, k, flags, status, tstatus, loops, total_loops = 0;
i893drivers/scsi/eata.cfor (i = 0; i < sh[j]->can_queue; i++) {
i894drivers/scsi/eata.cspp = &HD(j)->sp[i];
i901drivers/scsi/eata.cif (HD(j)->cp_stat[i] == IGNORE) {
i902drivers/scsi/eata.cHD(j)->cp_stat[i] = FREE;
i905drivers/scsi/eata.celse if (HD(j)->cp_stat[i] == LOCKED) {
i906drivers/scsi/eata.cHD(j)->cp_stat[i] = FREE;
i908drivers/scsi/eata.cBN(j), i, HD(j)->iocount);
i911drivers/scsi/eata.celse if (HD(j)->cp_stat[i] == FREE) {
i913drivers/scsi/eata.cBN(j), i, HD(j)->iocount);
i916drivers/scsi/eata.celse if (HD(j)->cp_stat[i] == IN_RESET)
i917drivers/scsi/eata.cprintk("%s: ihdlr, mbox %d is in reset.\n", BN(j), i);
i918drivers/scsi/eata.celse if (HD(j)->cp_stat[i] != IN_USE) 
i919drivers/scsi/eata.cpanic("%s: ihdlr, mbox %d, invalid cp_stat.\n", BN(j), i);
i921drivers/scsi/eata.cHD(j)->cp_stat[i] = FREE;
i922drivers/scsi/eata.ccpp = &HD(j)->cp[i];
i926drivers/scsi/eata.cpanic("%s: ihdlr, mbox %d, SCpnt == NULL.\n", BN(j), i);
i930drivers/scsi/eata.cBN(j), i, SCpnt, cpp->SCpnt);
i934drivers/scsi/eata.cBN(j), i, SCpnt->pid, SCpnt);
i936drivers/scsi/eata.cif (*(unsigned int *)SCpnt->host_scribble != i) 
i938drivers/scsi/eata.c" irq %d.\n", BN(j), i, SCpnt->pid, 
i1033drivers/scsi/eata.cBN(j), i, spp->adapter_status, spp->target_status,
i128drivers/scsi/eata_dma.cuint i, result;
i214drivers/scsi/eata_dma.cfor (i = 0; i < MAXTARGET; i++)
i215drivers/scsi/eata_dma.cHD(cmd)->t_state[i] = RESET;
i277drivers/scsi/eata_dma.cuint i, x, y;
i361drivers/scsi/eata_dma.cfor(i = 0; i < cmd->use_sg; i++, sl++){
i362drivers/scsi/eata_dma.ccp->sg_list[i].data = htonl((ulong) sl->address);
i363drivers/scsi/eata_dma.ccp->sg_list[i].len = htonl((ulong) sl->length);
i698drivers/scsi/eata_dma.cuint i;
i769drivers/scsi/eata_dma.cfor (i = 0; i <= gc->MAX_CHAN; i++) {
i806drivers/scsi/eata_dma.csh->this_id = gc->scsi_id[3 - i];
i824drivers/scsi/eata_dma.chd->channel = i;
i846drivers/scsi/eata_dma.cif((hd->primary == TRUE) && (i == 0) && HARDCODED){                  
i878drivers/scsi/eata_dma.cint i;
i884drivers/scsi/eata_dma.cfor (i = 0; i < MAXEISA; i++) {
i885drivers/scsi/eata_dma.cif (EISAbases[i] == TRUE) {  /* Still a possibility ?          */
i887drivers/scsi/eata_dma.cbase = (void *)0x1c88 + (i * 0x1000);
i906drivers/scsi/eata_dma.cEISAbases[i] = 0;
i912drivers/scsi/eata_dma.cEISAbases[i] = 0;  
i951drivers/scsi/eata_dma.cuint error, i, x;
i954drivers/scsi/eata_dma.cfor (i = 0; i <= MAXPCI; ++i, ++pci_index) {
i1040drivers/scsi/eata_dma.cint i;
i1054drivers/scsi/eata_dma.cfor (i = 0; i < MAXEISA; i++) {
i1060drivers/scsi/eata_dma.cfor (i = 0; i <= MAXISA; i++) {
i1066drivers/scsi/eata_dma.cfor (i = 0; i <= MAXIRQ; i++)
i1067drivers/scsi/eata_dma.cif (reg_IRQ[i])
i1068drivers/scsi/eata_dma.crequest_irq(i, eata_int_handler, SA_INTERRUPT, "EATA-DMA");
i1074drivers/scsi/eata_dma.cfor (i = 1; i <= registered_HBAs; i++) {
i159drivers/scsi/eata_dma.h#define DELAY(x) { int i; i = jiffies + x; while (jiffies < i); }
i160drivers/scsi/eata_dma.h#define DEL2(x)  { ulong i; for (i = 0; i < 0xffff*x; i++); }
i519drivers/scsi/fdomain.cint i;
i522drivers/scsi/fdomain.cfor (i = 0; i < 255; i++) {
i523drivers/scsi/fdomain.coutb( i, port_base + Write_Loopback );
i525drivers/scsi/fdomain.cif (i != result)
i533drivers/scsi/fdomain.cint              i, j;
i551drivers/scsi/fdomain.cfor (i = 0; !bios_base && i < ADDRESS_COUNT; i++) {
i553drivers/scsi/fdomain.cprintk( " %x(%x),", (unsigned)addresses[i], (unsigned)bios_base );
i556drivers/scsi/fdomain.cif (!memcmp( ((char *)addresses[i] + signatures[j].sig_offset),
i562drivers/scsi/fdomain.cbios_base  = addresses[i];
i595drivers/scsi/fdomain.cfor (flag = 0, i = 0; !flag && i < PORT_COUNT; i++) {
i596drivers/scsi/fdomain.cif (port_base == ports[i])
i626drivers/scsi/fdomain.cfor (i = 0; !flag && i < PORT_COUNT; i++) {
i627drivers/scsi/fdomain.cport_base = ports[i];
i651drivers/scsi/fdomain.cfor (i = 0xff00; !flag && i > 0xf000; i -= 8) {
i652drivers/scsi/fdomain.cport_base = i;
i749drivers/scsi/fdomain.cfor (i = 0; i < 8; i++) {
i750drivers/scsi/fdomain.cSCinit.target = i;
i751drivers/scsi/fdomain.cif (i == tpnt->this_id)  /* Skip host adapter */
i759drivers/scsi/fdomain.cprintk( "     SCSI ID %d: ", i );
i1558drivers/scsi/fdomain.c} *i;
i1607drivers/scsi/fdomain.ci = (struct drive_info *)( (char *)bios_base + 0x1f33 + drive * 25 );
i1609drivers/scsi/fdomain.ci = (struct drive_info *)( (char *)bios_base + 0x1f31 + drive * 25 );
i1611drivers/scsi/fdomain.cinfo_array[0] = i->heads;
i1612drivers/scsi/fdomain.cinfo_array[1] = i->sectors;
i1613drivers/scsi/fdomain.cinfo_array[2] = i->cylinders;
i1617drivers/scsi/fdomain.ci = (struct drive_info *)( (char *)bios_base + 0x1f71 + drive * 10 );
i1618drivers/scsi/fdomain.cinfo_array[0] = i->heads + 1;
i1619drivers/scsi/fdomain.cinfo_array[1] = i->sectors;
i1620drivers/scsi/fdomain.cinfo_array[2] = i->cylinders;
i299drivers/scsi/hosts.cint i, pcount;
i307drivers/scsi/hosts.cfor (tpnt = &builtin_scsi_hosts[0], i = 0; i < MAX_SCSI_HOSTS; ++i, tpnt++)
i306drivers/scsi/hosts.hextern void scsi_unregister(struct Scsi_Host * i);
i130drivers/scsi/in2000.cint  i;
i141drivers/scsi/in2000.cfor(i=0; i < 3; i++)
i142drivers/scsi/in2000.cif(*(bios_tab[i]+0x04) == 0x41564f4e ||
i143drivers/scsi/in2000.c*(bios_tab[i]+0xc) == 0x61776c41) {
i145drivers/scsi/in2000.ctmp, (unsigned int)bios_tab[i]);
i418drivers/scsi/in2000.cint i;
i434drivers/scsi/in2000.ci = xscsi2int((cmd+1));
i436drivers/scsi/in2000.ci = scsi2int((cmd+1));
i438drivers/scsi/in2000.ci = -1;
i441drivers/scsi/in2000.cprintk("in2000qcmd: pos %d len %d ", i, bufflen);
i443drivers/scsi/in2000.cfor (i = 0; i < SCpnt->cmd_len; i++) printk("%02x ", cmd[i]);
i312drivers/scsi/pas16.cint i;
i319drivers/scsi/pas16.cfor (i = 0; i < NO_BASES; ++i)
i320drivers/scsi/pas16.cif (bases[i].io_port == (unsigned short) ints[1]) {
i321drivers/scsi/pas16.cbases[i].noauto = 1;
i481drivers/scsi/pas16.cregister i = len;
i485drivers/scsi/pas16.cinsb( reg, d, i );
i513drivers/scsi/pas16.cregister i = len;
i517drivers/scsi/pas16.coutsb( reg, s, i );
i156drivers/scsi/qlogic.c#define rtrc(i) {inb(0x3da);outb(0x31,0x3c0);outb((i),0x3c0);}
i158drivers/scsi/qlogic.c#define rtrc(i) {}
i264drivers/scsi/qlogic.cint  i,k;
i265drivers/scsi/qlogic.ci = jiffies + WATCHDOG;
i266drivers/scsi/qlogic.cwhile ( i > jiffies && !qabort && !((k = inb(qbase + 4)) & 0xe0));
i267drivers/scsi/qlogic.cif (i <= jiffies)
i284drivers/scsi/qlogic.cunsigned int      i;
i318drivers/scsi/qlogic.cfor (i = 0; i < cmd->cmd_len; i++)
i319drivers/scsi/qlogic.coutb(cmd->cmnd[i], qbase + 2);
i328drivers/scsi/qlogic.cunsigned int  i, j, k;
i339drivers/scsi/qlogic.ci = inb(qbase + 5);
i340drivers/scsi/qlogic.cif (i == 0x20) {
i343drivers/scsi/qlogic.ci |= inb(qbase + 5);  /* the 0x10 bit can be set after the 0x08 */
i344drivers/scsi/qlogic.cif (i != 0x18) {
i345drivers/scsi/qlogic.cprintk("Ql:Bad Interrupt status:%02x\n", i);
i355drivers/scsi/qlogic.cprintk("Ql:Bad sequence for command %d, int %02X, cmdleft = %d\n", j, i, inb( qbase+7 ) & 0x1f );
i408drivers/scsi/qlogic.ci = inb(qbase + 5);          /* get chip irq stat */
i413drivers/scsi/qlogic.cif (!((i == 8 && j == 2) || (i == 0x10 && j == 1))) {
i414drivers/scsi/qlogic.cprintk("Ql:Error during status phase, int=%02X, %d bytes recd\n", i, j);
i422drivers/scsi/qlogic.ci = inb(qbase + 5);  /* should be bus service */
i423drivers/scsi/qlogic.cwhile (!qabort && ((i & 0x20) != 0x20))
i424drivers/scsi/qlogic.ci |= inb(qbase + 5);
i441drivers/scsi/qlogic.cint  i;
i442drivers/scsi/qlogic.ci = 16;
i443drivers/scsi/qlogic.cwhile (i-- && inb(qbase + 5)); /* maybe also ql_zap() */
i522drivers/scsi/qlogic.cint  i, j;      /* these are only used by IRQ detect */
i571drivers/scsi/qlogic.ci = 0xffff;
i579drivers/scsi/qlogic.ci &= ~(inb(0x20) | (inb(0xa0) << 8));  /* find IRQ off */
i581drivers/scsi/qlogic.ci &= inb(0x20) | (inb(0xa0) << 8);  /* find IRQ on */
i585drivers/scsi/qlogic.cwhile (i)          /* find on bit */
i586drivers/scsi/qlogic.ci >>= 1, qlirq++;  /* should check for exactly 1 on */
i183drivers/scsi/scsi.cint i = 0;
i185drivers/scsi/scsi.cfor(i=0; 1; i++){
i186drivers/scsi/scsi.cif(blacklist[i].vendor == NULL) return 0;
i189drivers/scsi/scsi.cif(memcmp(blacklist[i].vendor, pnt,
i190drivers/scsi/scsi.cstrlen(blacklist[i].vendor))) continue;
i193drivers/scsi/scsi.cif(memcmp(blacklist[i].model, pnt,
i194drivers/scsi/scsi.cstrlen(blacklist[i].model))) continue;
i984drivers/scsi/scsi.cint i;
i989drivers/scsi/scsi.cfor (i = 0; i < 10; ++i)
i990drivers/scsi/scsi.cprintk ("%02x  ", ((unsigned char *) cmnd)[i]);
i1842drivers/scsi/scsi.cint i, j;
i1851drivers/scsi/scsi.cfor(i=0;i < (dma_sectors >> (MALLOC_PAGEBITS - 9)); i++)
i1853drivers/scsi/scsi.cif ((dma_malloc_freelist[i] & (mask << j)) == 0){
i1854drivers/scsi/scsi.cdma_malloc_freelist[i] |= (mask << j);
i1858drivers/scsi/scsi.cprintk("SMalloc: %d %x ",len, dma_malloc_pages[i] + (j << 9));
i1860drivers/scsi/scsi.creturn (void *) ((unsigned long) dma_malloc_pages[i] + (j << 9));
i1976drivers/scsi/scsi.cint i;
i2075drivers/scsi/scsi.cfor(i=0; i< dma_sectors >> 3; i++)
i2076drivers/scsi/scsi.cdma_malloc_pages[i] = (unsigned char *)
i2106drivers/scsi/scsi.cint i;
i2109drivers/scsi/scsi.cfor (i = 8; i < 16; i++)
i2111drivers/scsi/scsi.cif (data[i] >= 0x20 && i < data[4] + 5)
i2112drivers/scsi/scsi.cprintk("%c", data[i]);
i2118drivers/scsi/scsi.cfor (i = 16; i < 32; i++)
i2120drivers/scsi/scsi.cif (data[i] >= 0x20 && i < data[4] + 5)
i2121drivers/scsi/scsi.cprintk("%c", data[i]);
i2127drivers/scsi/scsi.cfor (i = 32; i < 36; i++)
i2129drivers/scsi/scsi.cif (data[i] >= 0x20 && i < data[4] + 5)
i2130drivers/scsi/scsi.cprintk("%c", data[i]);
i2137drivers/scsi/scsi.ci = data[0] & 0x1f;
i2140drivers/scsi/scsi.ci < MAX_SCSI_DEVICE_CODE ? scsi_device_types[i] : "Unknown          " );
i2161drivers/scsi/scsi.cint j, i;
i2275drivers/scsi/scsi.cfor(i=dma_sectors >> 3; i< new_dma_sectors >> 3; i++)
i2276drivers/scsi/scsi.cnew_dma_malloc_pages[i] = (unsigned char *)
i2490drivers/scsi/scsi.cint i;
i2494drivers/scsi/scsi.ci = 0;
i2500drivers/scsi/scsi.ci++, SCpnt->host->host_no,
i2521drivers/scsi/scsi.cfor(i=0; i<MAX_BLKDEV; i++)
i2522drivers/scsi/scsi.cif(blk_dev[i].current_request)
i2525drivers/scsi/scsi.cprintk("%d: ", i);
i2526drivers/scsi/scsi.creq = blk_dev[i].current_request;
i111drivers/scsi/scsi_debug.cint i;
i120drivers/scsi/scsi_debug.cfor(i=0; i<SCpnt->use_sg; i++) {
i121drivers/scsi/scsi_debug.clpnt = (int *) sgpnt[i].alt_address;
i122drivers/scsi/scsi_debug.cprintk(":%x %x %d\n",sgpnt[i].alt_address, sgpnt[i].address, sgpnt[i].length);
i132drivers/scsi/scsi_debug.cfor (i=0;i<sizeof(Scsi_Cmnd)/4+1; i++) {
i133drivers/scsi/scsi_debug.cif ((i & 7) == 0) printk("\n");
i139drivers/scsi/scsi_debug.cfor (i=0;i<sizeof(Scsi_Cmnd)/4+1; i++) {
i140drivers/scsi/scsi_debug.cif ((i & 7) == 0) printk("\n");
i146drivers/scsi/scsi_debug.cfor (i=0;i<sizeof(Scsi_Cmnd)/4+1; i++) {
i147drivers/scsi/scsi_debug.cif ((i & 7) == 0) printk("\n");
i168drivers/scsi/scsi_debug.cint i;
i186drivers/scsi/scsi_debug.c{ int i;
i188drivers/scsi/scsi_debug.cfor(i=0;i<12;i++) printk("%d ",sense_buffer[i]);
i303drivers/scsi/scsi_debug.c{ int i;
i305drivers/scsi/scsi_debug.cfor(i=0;i<12;i++) printk("%d ",sense_buffer[i]);
i378drivers/scsi/scsi_debug.cfor(i=0;i<SCSI_DEBUG_MAILBOXES; i++){
i379drivers/scsi/scsi_debug.cif (SCint[i] == 0) break;
i382drivers/scsi/scsi_debug.cif (i >= SCSI_DEBUG_MAILBOXES || SCint[i] != 0) 
i385drivers/scsi/scsi_debug.cSCint[i] = SCpnt;
i389drivers/scsi/scsi_debug.cif (do_done[i])
i392drivers/scsi/scsi_debug.cdo_done[i] = done;
i401drivers/scsi/scsi_debug.ctimeout[i] = jiffies+DISK_SPEED;
i405drivers/scsi/scsi_debug.ctimer_table[SCSI_DEBUG_TIMER].expires = timeout[i];
i413drivers/scsi/scsi_debug.cprintk("Sending command (%d %x %d %d)...", i, done, timeout[i],jiffies);
i444drivers/scsi/scsi_debug.cint i, pending;
i457drivers/scsi/scsi_debug.cfor(i=0;i<SCSI_DEBUG_MAILBOXES; i++) {
i458drivers/scsi/scsi_debug.cif (SCint[i] == 0) continue;
i460drivers/scsi/scsi_debug.cif (timeout[i] == 0) continue;
i461drivers/scsi/scsi_debug.cif (timeout[i] <= jiffies) break;
i467drivers/scsi/scsi_debug.cif(i == SCSI_DEBUG_MAILBOXES){
i470drivers/scsi/scsi_debug.cfor(i=0;i<SCSI_DEBUG_MAILBOXES; i++) {
i471drivers/scsi/scsi_debug.cif (SCint[i] == 0) continue;
i472drivers/scsi/scsi_debug.cif (timeout[i] == 0) continue;
i473drivers/scsi/scsi_debug.cif (timeout[i] <= jiffies) {restore_flags(flags); goto repeat;};
i474drivers/scsi/scsi_debug.cif (timeout[i] > jiffies) {
i475drivers/scsi/scsi_debug.cif (pending > timeout[i]) pending = timeout[i];
i489drivers/scsi/scsi_debug.cif(i < SCSI_DEBUG_MAILBOXES){
i490drivers/scsi/scsi_debug.ctimeout[i] = 0;
i491drivers/scsi/scsi_debug.cmy_done = do_done[i];
i492drivers/scsi/scsi_debug.cdo_done[i] = NULL;
i493drivers/scsi/scsi_debug.cto = timeout[i];
i494drivers/scsi/scsi_debug.ctimeout[i] = 0;
i495drivers/scsi/scsi_debug.cSCtmp = (Scsi_Cmnd *) SCint[i];
i496drivers/scsi/scsi_debug.cSCint[i] = NULL;
i506drivers/scsi/scsi_debug.cprintk("...done %d %x %d %d\n",i , my_done, to, jiffies);
i507drivers/scsi/scsi_debug.cprintk("In intr_handle: %d %x %x\n",i, SCtmp, my_done);
i562drivers/scsi/scsi_debug.cint i;
i567drivers/scsi/scsi_debug.cfor(i=0;i<SCSI_DEBUG_MAILBOXES; i++) {
i568drivers/scsi/scsi_debug.cif (SCint[i] == NULL) continue;
i569drivers/scsi/scsi_debug.cSCint[i]->result = DID_ABORT << 16;
i570drivers/scsi/scsi_debug.cmy_done = do_done[i];
i571drivers/scsi/scsi_debug.cmy_done(SCint[i]);
i574drivers/scsi/scsi_debug.cSCint[i] = NULL;
i575drivers/scsi/scsi_debug.cdo_done[i] = NULL;
i576drivers/scsi/scsi_debug.ctimeout[i] = 0;
i221drivers/scsi/scsi_ioctl.cint i;
i223drivers/scsi/scsi_ioctl.cfor (i = 0; i < 12; ++i)
i224drivers/scsi/scsi_ioctl.cprintk("%02x ", cmd[i]);
i226drivers/scsi/scsi_ioctl.cfor (i = 0; i < 20; ++i)
i227drivers/scsi/scsi_ioctl.cprintk("%02x ", buf[i]);
i79drivers/scsi/scsicam.cint i, largest_cyl;
i86drivers/scsi/scsicam.c(0x1BE + bh->b_data), i = 0; i < 4; ++i, ++p) {
i91drivers/scsi/scsicam.ci);
i164drivers/scsi/sd.cint i;
i166drivers/scsi/sd.cfor (i = 0; i < sd_template.dev_max; ++i)
i167drivers/scsi/sd.cif(rscsi_disks[i].device) 
i168drivers/scsi/sd.csd[i << 4].nr_sects = rscsi_disks[i].capacity;
i204drivers/scsi/sd.cint i;
i206drivers/scsi/sd.cfor(i=0; i<SCpnt->use_sg; i++) {
i208drivers/scsi/sd.cprintk(":%x %x %d\n",sgpnt[i].alt_address, sgpnt[i].address, sgpnt[i].length);
i210drivers/scsi/sd.cif (sgpnt[i].alt_address) {
i212drivers/scsi/sd.cmemcpy(sgpnt[i].alt_address, sgpnt[i].address, sgpnt[i].length);
i213drivers/scsi/sd.cscsi_free(sgpnt[i].address, sgpnt[i].length);
i260drivers/scsi/sd.cint i;
i262drivers/scsi/sd.cfor(i=0; i<SCpnt->use_sg; i++) {
i267drivers/scsi/sd.cif (sgpnt[i].alt_address) {
i268drivers/scsi/sd.cscsi_free(sgpnt[i].address, sgpnt[i].length);
i852drivers/scsi/sd.cstatic int sd_init_onedisk(int i)
i864drivers/scsi/sd.cSCpnt = allocate_device(NULL, rscsi_disks[i].device, 1);
i873drivers/scsi/sd.ccmd[1] = (rscsi_disks[i].device->lun << 5) & 0xe0;
i891drivers/scsi/sd.cif(the_result && !rscsi_disks[i].device->removable && 
i895drivers/scsi/sd.cprintk( "sd%c: Spinning up disk...", 'a' + i );
i897drivers/scsi/sd.ccmd[1] = (rscsi_disks[i].device->lun << 5) & 0xe0;
i933drivers/scsi/sd.ccmd[1] = (rscsi_disks[i].device->lun << 5) & 0xe0;
i985drivers/scsi/sd.c'a' + i, 'a' + i,
i992drivers/scsi/sd.cprintk("sd%c : extended sense code = %1x \n", 'a' + i, SCpnt->sense_buffer[2] & 0xf);
i994drivers/scsi/sd.cprintk("sd%c : sense not available. \n", 'a' + i);
i996drivers/scsi/sd.cprintk("sd%c : block size assumed to be 512 bytes, disk size 1GB.  \n", 'a' + i);
i997drivers/scsi/sd.crscsi_disks[i].capacity = 0x1fffff;
i998drivers/scsi/sd.crscsi_disks[i].sector_size = 512;
i1002drivers/scsi/sd.cif(rscsi_disks[i].device->removable && 
i1004drivers/scsi/sd.crscsi_disks[i].device->changed = 1;
i1009drivers/scsi/sd.crscsi_disks[i].capacity = (buffer[0] << 24) |
i1014drivers/scsi/sd.crscsi_disks[i].sector_size = (buffer[4] << 24) |
i1017drivers/scsi/sd.cif (rscsi_disks[i].sector_size != 512 &&
i1018drivers/scsi/sd.crscsi_disks[i].sector_size != 1024 &&
i1019drivers/scsi/sd.crscsi_disks[i].sector_size != 256)
i1022drivers/scsi/sd.c'a' + i, rscsi_disks[i].sector_size);
i1023drivers/scsi/sd.cif(rscsi_disks[i].device->removable){
i1024drivers/scsi/sd.crscsi_disks[i].capacity = 0;
i1027drivers/scsi/sd.crscsi_disks[i].device = NULL;
i1029drivers/scsi/sd.creturn i;
i1039drivers/scsi/sd.cint hard_sector = rscsi_disks[i].sector_size;
i1041drivers/scsi/sd.cfor (m=i<<4; m<((i+1)<<4); m++){
i1045drivers/scsi/sd.c,hard_sector,i+'a');
i1047drivers/scsi/sd.cif(rscsi_disks[i].sector_size == 1024)
i1048drivers/scsi/sd.crscsi_disks[i].capacity <<= 1;  /* Change this into 512 byte sectors */
i1049drivers/scsi/sd.cif(rscsi_disks[i].sector_size == 256)
i1050drivers/scsi/sd.crscsi_disks[i].capacity >>= 1;  /* Change this into 512 byte sectors */
i1053drivers/scsi/sd.crscsi_disks[i].ten = 1;
i1054drivers/scsi/sd.crscsi_disks[i].remap = 1;
i1056drivers/scsi/sd.creturn i;
i1067drivers/scsi/sd.cint i;
i1099drivers/scsi/sd.cfor(i=0;i<(sd_template.dev_max << 4);i++){
i1100drivers/scsi/sd.csd_blocksizes[i] = 1024;
i1101drivers/scsi/sd.csd_hardsizes[i] = 512;
i1119drivers/scsi/sd.cint i;
i1126drivers/scsi/sd.cfor (i = 0; i < sd_template.dev_max; ++i)
i1127drivers/scsi/sd.cif (!rscsi_disks[i].capacity && 
i1128drivers/scsi/sd.crscsi_disks[i].device)
i1130drivers/scsi/sd.ci = sd_init_onedisk(i);
i1132drivers/scsi/sd.c&& !rscsi_disks[i].has_part_table) {
i1133drivers/scsi/sd.csd_sizes[i << 4] = rscsi_disks[i].capacity;
i1134drivers/scsi/sd.crevalidate_scsidisk(i << 4, 0);
i1136drivers/scsi/sd.crscsi_disks[i].has_part_table = 1;
i1164drivers/scsi/sd.cint i;
i1173drivers/scsi/sd.cfor(dpnt = rscsi_disks, i=0; i<sd_template.dev_max; i++, dpnt++) 
i1176drivers/scsi/sd.cif(i >= sd_template.dev_max) panic ("scsi_devices corrupt (sd)");
i1179drivers/scsi/sd.crscsi_disks[i].device = SDp;
i1180drivers/scsi/sd.crscsi_disks[i].has_part_table = 0;
i1205drivers/scsi/sd.cint i;
i1224drivers/scsi/sd.cfor (i=max_p - 1; i >=0 ; i--) {
i1225drivers/scsi/sd.csync_dev(major | start | i);
i1226drivers/scsi/sd.cinvalidate_inodes(major | start | i);
i1227drivers/scsi/sd.cinvalidate_buffers(major | start | i);
i1228drivers/scsi/sd.cgdev->part[start+i].start_sect = 0;
i1229drivers/scsi/sd.cgdev->part[start+i].nr_sects = 0;
i1251drivers/scsi/sd.cint i;
i1256drivers/scsi/sd.cfor(dpnt = rscsi_disks, i=0; i<sd_template.dev_max; i++, dpnt++) 
i1261drivers/scsi/sd.cstart = i << sd_gendisk.minor_shift;
i1264drivers/scsi/sd.cfor (i=max_p - 1; i >=0 ; i--) {
i1265drivers/scsi/sd.csync_dev(major | start | i);
i1266drivers/scsi/sd.cinvalidate_inodes(major | start | i);
i1267drivers/scsi/sd.cinvalidate_buffers(major | start | i);
i1268drivers/scsi/sd.csd_gendisk.part[start+i].start_sect = 0;
i1269drivers/scsi/sd.csd_gendisk.part[start+i].nr_sects = 0;
i1270drivers/scsi/sd.csd_sizes[start+i] = 0;
i279drivers/scsi/seagate.cint i,j;
i323drivers/scsi/seagate.cfor (i = 0; i < (sizeof (seagate_bases) / sizeof (char  * )); ++i)
i325drivers/scsi/seagate.cif (!memcmp ((void *) (seagate_bases[i] +
i328drivers/scsi/seagate.cbase_address = (void *) seagate_bases[i];
i599drivers/scsi/seagate.cint i;
i899drivers/scsi/seagate.cint i;
i902drivers/scsi/seagate.cfor (i = 0; i < nobuffs; ++i)
i904drivers/scsi/seagate.chostno, i, buffer[i].address, buffer[i].length);
i1468drivers/scsi/seagate.cfor (i = 0; i < 20; ++i) 
i1469drivers/scsi/seagate.cprintk ("%02x  ", ((unsigned char *) data)[i]);  /* WDE mod */
i173drivers/scsi/sg.cint i;
i175drivers/scsi/sg.cif ((i=verify_area(VERIFY_WRITE,buf,count)))
i176drivers/scsi/sg.creturn i;
i232drivers/scsi/sg.cint bsize,size,amt,i;
i237drivers/scsi/sg.cif ((i=verify_area(VERIFY_READ,buf,count)))
i238drivers/scsi/sg.creturn i;
i383drivers/scsi/sg.cint i;
i391drivers/scsi/sg.cfor(gpnt = scsi_generics, i=0; i<sg_template.dev_max; i++, gpnt++) 
i394drivers/scsi/sg.cif(i >= sg_template.dev_max) panic ("scsi_devices corrupt (sg)");
i396drivers/scsi/sg.cscsi_generics[i].device=SDp;
i397drivers/scsi/sg.cscsi_generics[i].users=0;
i398drivers/scsi/sg.cscsi_generics[i].generic_wait=NULL;
i399drivers/scsi/sg.cscsi_generics[i].read_wait=NULL;
i400drivers/scsi/sg.cscsi_generics[i].write_wait=NULL;
i401drivers/scsi/sg.cscsi_generics[i].buff=NULL;
i402drivers/scsi/sg.cscsi_generics[i].exclude=0;
i403drivers/scsi/sg.cscsi_generics[i].pending=0;
i404drivers/scsi/sg.cscsi_generics[i].timeout=SG_DEFAULT_TIMEOUT;
i414drivers/scsi/sg.cint i;
i416drivers/scsi/sg.cfor(gpnt = scsi_generics, i=0; i<sg_template.dev_max; i++, gpnt++) 
i177drivers/scsi/sr.cint i;
i179drivers/scsi/sr.cfor(i=0; i<SCpnt->use_sg; i++) {
i180drivers/scsi/sr.cif (sgpnt[i].alt_address) {
i181drivers/scsi/sr.cif (sgpnt[i].alt_address != sgpnt[i].address) {
i182drivers/scsi/sr.cmemcpy(sgpnt[i].alt_address, sgpnt[i].address, sgpnt[i].length);
i184drivers/scsi/sr.cscsi_free(sgpnt[i].address, sgpnt[i].length);
i216drivers/scsi/sr.cint i;
i218drivers/scsi/sr.cfor(i=0; i<SCpnt->use_sg; i++) {
i219drivers/scsi/sr.cif (sgpnt[i].alt_address) {
i220drivers/scsi/sr.cscsi_free(sgpnt[i].address, sgpnt[i].length);
i827drivers/scsi/sr.cint i;
i831drivers/scsi/sr.cfor(i=0; i<12; i++) printk("%2.2x ", cmd[i]);
i868drivers/scsi/sr.cint i;
i878drivers/scsi/sr.cfor(cpnt = scsi_CDs, i=0; i<sr_template.dev_max; i++, cpnt++) 
i881drivers/scsi/sr.cif(i >= sr_template.dev_max) panic ("scsi_devices corrupt (sr)");
i884drivers/scsi/sr.cscsi_CDs[i].device = SDp;
i904drivers/scsi/sr.cstatic void get_sectorsize(int i){
i911drivers/scsi/sr.cSCpnt = allocate_device(NULL, scsi_CDs[i].device, 1);
i916drivers/scsi/sr.ccmd[1] = (scsi_CDs[i].device->lun << 5) & 0xe0;
i949drivers/scsi/sr.cscsi_CDs[i].capacity = 0x1fffff;
i950drivers/scsi/sr.cscsi_CDs[i].sector_size = 2048;  /* A guess, just in case */
i951drivers/scsi/sr.cscsi_CDs[i].needs_sector_size = 1;
i953drivers/scsi/sr.cscsi_CDs[i].capacity = (buffer[0] << 24) |
i955drivers/scsi/sr.cscsi_CDs[i].sector_size = (buffer[4] << 24) |
i957drivers/scsi/sr.cif(scsi_CDs[i].sector_size == 0) scsi_CDs[i].sector_size = 2048;
i958drivers/scsi/sr.cif(scsi_CDs[i].sector_size != 2048 && 
i959drivers/scsi/sr.cscsi_CDs[i].sector_size != 512) {
i961drivers/scsi/sr.ci, scsi_CDs[i].sector_size);
i962drivers/scsi/sr.cscsi_CDs[i].capacity = 0;
i963drivers/scsi/sr.cscsi_CDs[i].needs_sector_size = 1;
i965drivers/scsi/sr.cif(scsi_CDs[i].sector_size == 2048)
i966drivers/scsi/sr.cscsi_CDs[i].capacity *= 4;
i967drivers/scsi/sr.cscsi_CDs[i].needs_sector_size = 0;
i968drivers/scsi/sr.csr_sizes[i] = scsi_CDs[i].capacity;
i975drivers/scsi/sr.cint i;
i999drivers/scsi/sr.cfor(i=0;i<sr_template.dev_max;i++) sr_blocksizes[i] = 2048;
i1006drivers/scsi/sr.cint i;
i1011drivers/scsi/sr.cfor (i = 0; i < sr_template.nr_dev; ++i)
i1015drivers/scsi/sr.cif (scsi_CDs[i].capacity) continue;
i1016drivers/scsi/sr.cscsi_CDs[i].capacity = 0x1fffff;
i1017drivers/scsi/sr.cscsi_CDs[i].sector_size = 2048;  /* A guess, just in case */
i1018drivers/scsi/sr.cscsi_CDs[i].needs_sector_size = 1;
i1021drivers/scsi/sr.cget_sectorsize(i);
i1022drivers/scsi/sr.cprintk("Scd sectorsize = %d bytes.\n", scsi_CDs[i].sector_size);
i1024drivers/scsi/sr.cscsi_CDs[i].use = 1;
i1025drivers/scsi/sr.cscsi_CDs[i].ten = 1;
i1026drivers/scsi/sr.cscsi_CDs[i].remap = 1;
i1027drivers/scsi/sr.csr_sizes[i] = scsi_CDs[i].capacity;
i1045drivers/scsi/sr.cint i, major;
i1049drivers/scsi/sr.cfor(cpnt = scsi_CDs, i=0; i<sr_template.dev_max; i++, cpnt++) 
i1055drivers/scsi/sr.cinvalidate_inodes(major | i);
i1056drivers/scsi/sr.cinvalidate_buffers(major | i);
i1067drivers/scsi/sr.csr_sizes[i] = 0;
i409drivers/scsi/st.cint i;
i424drivers/scsi/st.cfor (i=0; i < st_nbr_buffers; i++)
i425drivers/scsi/st.cif (!st_buffers[i]->in_use)
i427drivers/scsi/st.cif (i >= st_nbr_buffers) {
i431drivers/scsi/st.cSTp->buffer = st_buffers[i];
i1673drivers/scsi/st.cint i, cmd, result;
i1695drivers/scsi/st.ci = verify_area(VERIFY_WRITE, (void *)arg, sizeof(mtc));
i1696drivers/scsi/st.cif (i)
i1697drivers/scsi/st.creturn i;
i1701drivers/scsi/st.ci = flush_buffer(inode, file, mtc.mt_op == MTSEEK ||
i1704drivers/scsi/st.cif (i < 0)
i1705drivers/scsi/st.creturn i;
i1721drivers/scsi/st.ci = verify_area(VERIFY_WRITE, (void *)arg, sizeof(struct mtget));
i1722drivers/scsi/st.cif (i)
i1723drivers/scsi/st.creturn i;
i1780drivers/scsi/st.ci = flush_buffer(inode, file, 0);
i1781drivers/scsi/st.cif (i < 0)
i1782drivers/scsi/st.creturn i;
i1784drivers/scsi/st.ci = verify_area(VERIFY_WRITE, (void *)arg, sizeof(struct mtpos));
i1785drivers/scsi/st.cif (i)
i1786drivers/scsi/st.creturn i;
i1875drivers/scsi/st.cint i;
i1885drivers/scsi/st.cfor(tpnt = scsi_tapes, i=0; i<st_template.dev_max; i++, tpnt++) 
i1888drivers/scsi/st.cif(i >= st_template.dev_max) panic ("scsi_devices corrupt (st)");
i1890drivers/scsi/st.cscsi_tapes[i].device = SDp;
i1892drivers/scsi/st.cscsi_tapes[i].mt_status->mt_type = MT_ISSCSI1;
i1894drivers/scsi/st.cscsi_tapes[i].mt_status->mt_type = MT_ISSCSI2;
i1914drivers/scsi/st.cint i;
i1939drivers/scsi/st.cfor (i=0; i < st_template.dev_max; ++i) {
i1940drivers/scsi/st.cSTp = &(scsi_tapes[i]);
i1961drivers/scsi/st.cmemset((void *) scsi_tapes[i].mt_status, 0, sizeof(struct mtget));
i1975drivers/scsi/st.cfor (i=0; i < st_nbr_buffers; i++) {
i1976drivers/scsi/st.cst_buffers[i] = (ST_buffer *) scsi_init_malloc(sizeof(ST_buffer) - 
i1981drivers/scsi/st.cst_buffers[i]->in_use = 0;
i1982drivers/scsi/st.cst_buffers[i]->writing = 0;
i1990drivers/scsi/st.cint i;
i1992drivers/scsi/st.cfor(tpnt = scsi_tapes, i=0; i<st_template.dev_max; i++, tpnt++) 
i165drivers/scsi/t128.cint i;
i172drivers/scsi/t128.cfor (i = 0; i < NO_BASES; ++i)
i173drivers/scsi/t128.cif (bases[i].address == (unsigned char *) ints[1]) {
i174drivers/scsi/t128.cbases[i].noauto = 1;
i318drivers/scsi/t128.cregister i = len;
i322drivers/scsi/t128.cfor (; i; --i) {
i326drivers/scsi/t128.cfor (; i; --i) {
i362drivers/scsi/t128.cregister i = len;
i365drivers/scsi/t128.cfor (; i; --i) {
i369drivers/scsi/t128.cfor (; i; --i) {
i527drivers/scsi/u14-34f.cunsigned int i, j, k, flags;
i539drivers/scsi/u14-34f.ci = HD(j)->last_cp_used + 1;
i541drivers/scsi/u14-34f.cfor (k = 0; k < sh[j]->can_queue; k++, i++) {
i543drivers/scsi/u14-34f.cif (i >= sh[j]->can_queue) i = 0;
i545drivers/scsi/u14-34f.cif (HD(j)->cp_stat[i] == FREE) {
i546drivers/scsi/u14-34f.cHD(j)->last_cp_used = i;
i568drivers/scsi/u14-34f.ccpp = &HD(j)->cp[i];
i572drivers/scsi/u14-34f.ccpp->index = i;
i576drivers/scsi/u14-34f.cBN(j), i, SCpnt->target, SCpnt->pid);
i614drivers/scsi/u14-34f.cHD(j)->cp_stat[i] = IN_USE;
i620drivers/scsi/u14-34f.cunsigned int i, j, flags;
i632drivers/scsi/u14-34f.ci = *(unsigned int *)SCarg->host_scribble;
i634drivers/scsi/u14-34f.cBN(j), i, SCarg->target, SCarg->pid);
i636drivers/scsi/u14-34f.cif (i >= sh[j]->can_queue)
i645drivers/scsi/u14-34f.cif (HD(j)->cp_stat[i] == FREE) {
i646drivers/scsi/u14-34f.cprintk("%s: abort, mbox %d is free.\n", BN(j), i);
i651drivers/scsi/u14-34f.cif (HD(j)->cp_stat[i] == IN_USE) {
i652drivers/scsi/u14-34f.cprintk("%s: abort, mbox %d is in use.\n", BN(j), i);
i654drivers/scsi/u14-34f.cif (SCarg != HD(j)->cp[i].SCpnt)
i656drivers/scsi/u14-34f.cBN(j), i, SCarg, HD(j)->cp[i].SCpnt);
i662drivers/scsi/u14-34f.cif (HD(j)->cp_stat[i] == IN_RESET) {
i663drivers/scsi/u14-34f.cprintk("%s: abort, mbox %d is in reset.\n", BN(j), i);
i668drivers/scsi/u14-34f.cif (HD(j)->cp_stat[i] == LOCKED) {
i669drivers/scsi/u14-34f.cprintk("%s: abort, mbox %d is locked.\n", BN(j), i);
i674drivers/scsi/u14-34f.cpanic("%s: abort, mbox %d, invalid cp_stat.\n", BN(j), i);
i678drivers/scsi/u14-34f.cunsigned int i, j, flags, time, k, limit = 0;
i707drivers/scsi/u14-34f.cfor (i = 0; i < sh[j]->can_queue; i++) {
i709drivers/scsi/u14-34f.cif (HD(j)->cp_stat[i] == FREE) continue;
i711drivers/scsi/u14-34f.cif (HD(j)->cp_stat[i] == LOCKED) {
i712drivers/scsi/u14-34f.cHD(j)->cp_stat[i] = FREE;
i713drivers/scsi/u14-34f.cprintk("%s: reset, locked mbox %d forced free.\n", BN(j), i);
i717drivers/scsi/u14-34f.cSCpnt = HD(j)->cp[i].SCpnt;
i718drivers/scsi/u14-34f.cHD(j)->cp_stat[i] = IN_RESET;
i720drivers/scsi/u14-34f.cBN(j), i, SCpnt->pid);
i723drivers/scsi/u14-34f.cpanic("%s: reset, mbox %d, SCpnt == NULL.\n", BN(j), i);
i726drivers/scsi/u14-34f.cpanic("%s: reset, mbox %d, garbled SCpnt.\n", BN(j), i);
i728drivers/scsi/u14-34f.cif (*(unsigned int *)SCpnt->host_scribble != i) 
i729drivers/scsi/u14-34f.cpanic("%s: reset, mbox %d, index mismatch.\n", BN(j), i);
i732drivers/scsi/u14-34f.cpanic("%s: reset, mbox %d, SCpnt->scsi_done == NULL.\n", BN(j), i);
i757drivers/scsi/u14-34f.cfor (i = 0; i < sh[j]->can_queue; i++) {
i760drivers/scsi/u14-34f.cif (HD(j)->cp_stat[i] != IN_RESET) continue;
i762drivers/scsi/u14-34f.cSCpnt = HD(j)->cp[i].SCpnt;
i767drivers/scsi/u14-34f.cHD(j)->cp_stat[i] = LOCKED;
i770drivers/scsi/u14-34f.cBN(j), i, SCpnt->pid);
i802drivers/scsi/u14-34f.cunsigned int i, j, k, flags, status, tstatus, loops, total_loops = 0;
i837drivers/scsi/u14-34f.ci = spp - HD(j)->cp;
i839drivers/scsi/u14-34f.cif (i >= sh[j]->can_queue)
i842drivers/scsi/u14-34f.cif (HD(j)->cp_stat[i] == IGNORE) {
i843drivers/scsi/u14-34f.cHD(j)->cp_stat[i] = FREE;
i846drivers/scsi/u14-34f.celse if (HD(j)->cp_stat[i] == LOCKED) {
i847drivers/scsi/u14-34f.cHD(j)->cp_stat[i] = FREE;
i849drivers/scsi/u14-34f.cBN(j), i, HD(j)->iocount);
i852drivers/scsi/u14-34f.celse if (HD(j)->cp_stat[i] == FREE) {
i854drivers/scsi/u14-34f.cBN(j), i, HD(j)->iocount);
i857drivers/scsi/u14-34f.celse if (HD(j)->cp_stat[i] == IN_RESET)
i858drivers/scsi/u14-34f.cprintk("%s: ihdlr, mbox %d is in reset.\n", BN(j), i);
i859drivers/scsi/u14-34f.celse if (HD(j)->cp_stat[i] != IN_USE) 
i860drivers/scsi/u14-34f.cpanic("%s: ihdlr, mbox %d, invalid cp_stat.\n", BN(j), i);
i862drivers/scsi/u14-34f.cHD(j)->cp_stat[i] = FREE;
i866drivers/scsi/u14-34f.cpanic("%s: ihdlr, mbox %d, SCpnt == NULL.\n", BN(j), i);
i870drivers/scsi/u14-34f.cBN(j), i, SCpnt->pid, SCpnt);
i872drivers/scsi/u14-34f.cif (*(unsigned int *)SCpnt->host_scribble != i) 
i874drivers/scsi/u14-34f.c" irq %d.\n", BN(j), i, SCpnt->pid, 
i970drivers/scsi/u14-34f.cBN(j), i, spp->adapter_status, spp->target_status,
i325drivers/scsi/ultrastor.cregister int i;
i330drivers/scsi/ultrastor.cfor (i = 0; i < ULTRASTOR_MAX_CMDS; i++)
i332drivers/scsi/ultrastor.cfmt[20 + i*2] = ' ';
i333drivers/scsi/ultrastor.cif (! (config->mscp_free & (1 << i)))
i334drivers/scsi/ultrastor.cfmt[21 + i*2] = '0' + config->mscp[i].target_id;
i336drivers/scsi/ultrastor.cfmt[21 + i*2] = '-';
i347drivers/scsi/ultrastor.csize_t i;
i377drivers/scsi/ultrastor.cfor (i = 0; i < ARRAY_SIZE(ultrastor_ports_14f); i++) {
i378drivers/scsi/ultrastor.cif(check_region(ultrastor_ports_14f[i], 0x0c)) continue;
i379drivers/scsi/ultrastor.cconfig.port_address = ultrastor_ports_14f[i];
i421drivers/scsi/ultrastor.cif (i == ARRAY_SIZE(ultrastor_ports_14f)) {
i520drivers/scsi/ultrastor.cregister int i;
i528drivers/scsi/ultrastor.cfor (i = 1; i < 15; i++)
i531drivers/scsi/ultrastor.cunsigned short addr = (i << 12) | ULTRASTOR_24F_PORT;
i539drivers/scsi/ultrastor.cconfig.slot = i;
i543drivers/scsi/ultrastor.cprintk("U24F: found disabled card in slot %u\n", i);
i548drivers/scsi/ultrastor.cprintk("U24F: found card in slot %u\n", i);
i649drivers/scsi/ultrastor.cint i, max;
i653drivers/scsi/ultrastor.cfor (i = 0; i < max; i++) {
i654drivers/scsi/ultrastor.cmscp->sglist[i].address = (unsigned int)sl[i].address;
i655drivers/scsi/ultrastor.cmscp->sglist[i].num_bytes = sl[i].length;
i656drivers/scsi/ultrastor.ctransfer_length += sl[i].length;
i844drivers/scsi/ultrastor.cint i;
i849drivers/scsi/ultrastor.cfor (i = 0; i < 16; i++)
i851drivers/scsi/ultrastor.cunsigned char p = inb(port0 + i);
i852drivers/scsi/ultrastor.cout[28 + i * 3] = "0123456789abcdef"[p >> 4];
i853drivers/scsi/ultrastor.cout[29 + i * 3] = "0123456789abcdef"[p & 15];
i854drivers/scsi/ultrastor.cout[30 + i * 3] = ' ';
i856drivers/scsi/ultrastor.cout[28 + i * 3] = '\n';
i857drivers/scsi/ultrastor.cout[29 + i * 3] = 0;
i946drivers/scsi/ultrastor.cregister int i;
i974drivers/scsi/ultrastor.cfor (i = 0; i < ULTRASTOR_MAX_CMDS; i++)
i976drivers/scsi/ultrastor.cif (! (config.mscp_free & (1 << i)) &&
i977drivers/scsi/ultrastor.cconfig.mscp[i].done && config.mscp[i].SCint)
i979drivers/scsi/ultrastor.cconfig.mscp[i].SCint->result = DID_RESET << 16;
i980drivers/scsi/ultrastor.cconfig.mscp[i].done(config.mscp[i].SCint);
i981drivers/scsi/ultrastor.cconfig.mscp[i].done = 0;
i983drivers/scsi/ultrastor.cconfig.mscp[i].SCint = 0;
i490drivers/scsi/wd7000.cint i;
i507drivers/scsi/wd7000.cresult.i = 0;  /* clears unused bytes */
i511drivers/scsi/wd7000.creturn result.i;
i602drivers/scsi/wd7000.cint i;
i634drivers/scsi/wd7000.cfor (i = 0; i < needed; i++)  { p = scbfree;  scbfree = p->next; }
i662drivers/scsi/wd7000.cint i;
i670drivers/scsi/wd7000.cfor (i = 0;  i < MAX_SCBS-1;  i++)  {
i671drivers/scsi/wd7000.cscbs[i].next = &(scbs[i+1]);  scbs[i].SCpnt = NULL;
i685drivers/scsi/wd7000.cregister int i, ogmb;
i697drivers/scsi/wd7000.cfor (i = 0; i < OGMB_CNT; i++) {
i714drivers/scsi/wd7000.cif (i >= OGMB_CNT) {
i911drivers/scsi/wd7000.cunsigned i;
i925drivers/scsi/wd7000.cfor (i = 0;  i < SCpnt->use_sg;  i++)  {
i926drivers/scsi/wd7000.cany2scsi(sgb[i].ptr, (int) sg[i].address);
i927drivers/scsi/wd7000.cany2scsi(sgb[i].len, sg[i].length);
i1095drivers/scsi/wd7000.cint i,j, present = 0;
i1105drivers/scsi/wd7000.cfor (i = 0; i < NUM_CONFIGS; i++)  {
i290drivers/sound/ad1848.cint             i, n, selected = -1;
i299drivers/sound/ad1848.cfor (i = 1 /*really*/ ; selected == -1 && i < n; i++)
i300drivers/sound/ad1848.cif (speed_table[i].speed == arg)
i301drivers/sound/ad1848.cselected = i;
i302drivers/sound/ad1848.celse if (speed_table[i].speed > arg)
i306drivers/sound/ad1848.cdiff1 = arg - speed_table[i - 1].speed;
i307drivers/sound/ad1848.cdiff2 = speed_table[i].speed - arg;
i310drivers/sound/ad1848.cselected = i - 1;
i312drivers/sound/ad1848.cselected = i;
i387drivers/sound/ad1848.cint             i, n = sizeof (format2bits) / sizeof (struct format_tbl);
i394drivers/sound/ad1848.cfor (i = 0; i < n; i++)
i395drivers/sound/ad1848.cif (format2bits[i].format == arg)
i397drivers/sound/ad1848.cif ((devc->format_bits = format2bits[i].bits) == 0)
i666drivers/sound/ad1848.cint             i;
i750drivers/sound/ad1848.cfor (i = 0; i < 16; i++)
i751drivers/sound/ad1848.cif ((tmp1 = ad_read (devc, i)) != (tmp2 = ad_read (devc, i + 16)))
i753drivers/sound/ad1848.cDDB (printk ("ad_detect_F(%d/%x/%x)\n", i, tmp1, tmp2));
i817drivers/sound/ad1848.cint             i, my_dev;
i835drivers/sound/ad1848.cfor (i = 0; i < 16; i++)
i836drivers/sound/ad1848.cad_write (devc, i, init_values[i]);
i144drivers/sound/audio.cunsigned long   i;
i146drivers/sound/audio.cfor (i = 0; i < n; ++i)
i147drivers/sound/audio.cbuff[i] = table[buff[i]];
i259drivers/sound/configure.cint             i, num, def_size, full_driver = 1;
i296drivers/sound/configure.cfor (i = 0; i <= OPT_LAST; i++)
i297drivers/sound/configure.cif (can_select_option (i))
i299drivers/sound/configure.cif (!(selected_options & B (i)))  /*
i302drivers/sound/configure.cif (!hw_table[i].verify)
i304drivers/sound/configure.cif (hw_table[i].alias)
i305drivers/sound/configure.cselected_options |= B (hw_table[i].alias);
i307drivers/sound/configure.cselected_options |= B (i);
i311drivers/sound/configure.cint             def_answ = hw_table[i].default_answ;
i315drivers/sound/configure.cquestions[i]);
i317drivers/sound/configure.cif (hw_table[i].alias)
i318drivers/sound/configure.cselected_options |= B (hw_table[i].alias);
i320drivers/sound/configure.cselected_options |= B (i);
i358drivers/sound/configure.cint             i = 0;
i371drivers/sound/configure.cif (i != 0 && (i % 10) == 0)
i374drivers/sound/configure.ci++;
i377drivers/sound/configure.c"#define pss_synthLen %d\n", i);
i412drivers/sound/configure.cfor (i = 0; i <= OPT_LAST; i++)
i413drivers/sound/configure.cif (!hw_table[i].alias)
i414drivers/sound/configure.cif (selected_options & B (i))
i415drivers/sound/configure.cprintf ("#undef  EXCLUDE_%s\n", hw_table[i].macro);
i417drivers/sound/configure.cprintf ("#define EXCLUDE_%s\n", hw_table[i].macro);
i38drivers/sound/dev_table.cint             i, n = sizeof (sound_drivers) / sizeof (struct driver_info);
i40drivers/sound/dev_table.cfor (i = 0; i < (n - 1); i++)
i41drivers/sound/dev_table.cif (sound_drivers[i].card_type == type)
i42drivers/sound/dev_table.creturn i;
i52drivers/sound/dev_table.cint             i, n = sizeof (snd_installed_cards) / sizeof (struct card_info);
i55drivers/sound/dev_table.cfor (i = 0; i < (n - 1); i++)
i56drivers/sound/dev_table.cif (snd_installed_cards[i].enabled)
i57drivers/sound/dev_table.cif ((drv = snd_find_driver (snd_installed_cards[i].card_type)) == -1)
i58drivers/sound/dev_table.csnd_installed_cards[i].enabled = 0;  /*
i61drivers/sound/dev_table.celse if (sound_drivers[drv].probe (&snd_installed_cards[i].config))
i65drivers/sound/dev_table.csnd_installed_cards[i].card_type);
i68drivers/sound/dev_table.cmem_start = sound_drivers[drv].attach (mem_start, &snd_installed_cards[i].config);
i71drivers/sound/dev_table.csnd_installed_cards[i].config.io_base,
i72drivers/sound/dev_table.csnd_installed_cards[i].config.irq,
i73drivers/sound/dev_table.csnd_installed_cards[i].config.dma);
i77drivers/sound/dev_table.csnd_installed_cards[i].enabled = 0;  /*
i86drivers/sound/dev_table.cint             i, n = sizeof (snd_installed_cards) / sizeof (struct card_info);
i91drivers/sound/dev_table.cfor (i = 0; i < (n - 1); i++)
i92drivers/sound/dev_table.cif (snd_installed_cards[i].enabled)
i93drivers/sound/dev_table.cif (snd_installed_cards[i].card_type == unit)
i97drivers/sound/dev_table.csnd_installed_cards[i].config.io_base = hw_config->io_base;
i98drivers/sound/dev_table.csnd_installed_cards[i].config.irq = hw_config->irq;
i99drivers/sound/dev_table.csnd_installed_cards[i].config.dma = hw_config->dma;
i100drivers/sound/dev_table.cif ((drv = snd_find_driver (snd_installed_cards[i].card_type)) == -1)
i101drivers/sound/dev_table.csnd_installed_cards[i].enabled = 0;  /*
i107drivers/sound/dev_table.csnd_installed_cards[i].enabled = 0;  /*
i119drivers/sound/dev_table.cint             i, n = sizeof (snd_installed_cards) / sizeof (struct card_info);
i128drivers/sound/dev_table.cfor (i = 0; i < (n - 1); i++)
i129drivers/sound/dev_table.cif (snd_installed_cards[i].card_type == unit)
i133drivers/sound/dev_table.csnd_installed_cards[i].config.io_base = hw_config->io_base;
i134drivers/sound/dev_table.csnd_installed_cards[i].config.irq = hw_config->irq;
i135drivers/sound/dev_table.csnd_installed_cards[i].config.dma = hw_config->dma;
i137drivers/sound/dev_table.cif ((drv = snd_find_driver (snd_installed_cards[i].card_type)) == -1)
i138drivers/sound/dev_table.csnd_installed_cards[i].enabled = 0;  /*
i159drivers/sound/dev_table.cint             i, n = sizeof (snd_installed_cards) / sizeof (struct card_info);
i165drivers/sound/dev_table.cfor (i = 0; i < n; i++)
i166drivers/sound/dev_table.csnd_installed_cards[i].enabled = 0;
i174drivers/sound/dev_table.cfor (i = 1; i <= ints[0]; i++)
i179drivers/sound/dev_table.cval = (unsigned int) ints[i];
i219drivers/sound/dev_table.cint             i, n = sizeof (snd_installed_cards) / sizeof (struct card_info);
i57drivers/sound/dmabuf.cunsigned        i, p, n;
i122drivers/sound/dmabuf.cfor (i = 0; i < dmap->raw_count &&
i124drivers/sound/dmabuf.cn < MAX_SUB_BUFFERS; i++)
i132drivers/sound/dmabuf.cdmap->buf[n] = dmap->raw_buf[i] + p;
i133drivers/sound/dmabuf.cdmap->buf_phys[n] = dmap->raw_buf_phys[i] + p;
i142drivers/sound/dmabuf.cfor (i = 0; i < dmap->nbufs; i++)
i144drivers/sound/dmabuf.cdmap->counts[i] = 0;
i32drivers/sound/gus_vol.cint             i, m, n, x;
i81drivers/sound/gus_vol.ci = 7;
i84drivers/sound/gus_vol.cwhile (i > 0 && n < (1 << i))
i85drivers/sound/gus_vol.ci--;
i91drivers/sound/gus_vol.ci++;
i97drivers/sound/gus_vol.cm = x - (1 << i);
i104drivers/sound/gus_vol.cif (i > 8)
i105drivers/sound/gus_vol.cm >>= i - 8;
i106drivers/sound/gus_vol.celse if (i < 8)
i107drivers/sound/gus_vol.cm <<= 8 - i;
i110drivers/sound/gus_vol.creturn ((i << 8) + m);
i178drivers/sound/gus_wave.cint             i;
i180drivers/sound/gus_wave.cfor (i = 0; i <= MAX_SAMPLE; i++)
i181drivers/sound/gus_wave.csample_ptrs[i] = -1;
i182drivers/sound/gus_wave.cfor (i = 0; i < 32; i++)
i183drivers/sound/gus_wave.csample_map[i] = -1;
i184drivers/sound/gus_wave.cfor (i = 0; i < 32; i++)
i185drivers/sound/gus_wave.cpatch_map[i] = -1;
i193drivers/sound/gus_wave.cfor (i = 0; i < MAX_PATCH; i++)
i194drivers/sound/gus_wave.cpatch_table[i] = -1;
i200drivers/sound/gus_wave.cint             i;
i202drivers/sound/gus_wave.cfor (i = 0; i < 7; i++)
i646drivers/sound/gus_wave.cint             i;
i653drivers/sound/gus_wave.cfor (i = 0; i < 32; i++)
i655drivers/sound/gus_wave.cgus_voice_init (i);  /* Turn voice off */
i656drivers/sound/gus_wave.cgus_voice_init2 (i);
i791drivers/sound/gus_wave.cunsigned long   i;
i811drivers/sound/gus_wave.cfor (i = 1L; i < 1024L; i++)
i818drivers/sound/gus_wave.cloc = i << 10;
i834drivers/sound/gus_wave.cgus_mem_size = i << 10;
i1252drivers/sound/gus_wave.cint             i;
i1254drivers/sound/gus_wave.cfor (i = 0; i < 6; i++)
i1256drivers/sound/gus_wave.cvoices[voice].env_rate[i] = samples[sample].env_rate[i];
i1257drivers/sound/gus_wave.cvoices[voice].env_offset[i] = samples[sample].env_offset[i];
i1430drivers/sound/gus_wave.cint             i;
i1432drivers/sound/gus_wave.cfor (i = 0; i < 32; i++)
i1434drivers/sound/gus_wave.cgus_voice_init (i);
i1435drivers/sound/gus_wave.cgus_voice_init2 (i);
i1626drivers/sound/gus_wave.clong            i;
i1629drivers/sound/gus_wave.cfor (i = 0; i < blk_size; i++)
i1631drivers/sound/gus_wave.cGET_BYTE_FROM_USER (data, addr, sizeof_patch + i);
i1634drivers/sound/gus_wave.cif (!(patch.mode & WAVE_16_BITS) || (i & 0x01))
i1636drivers/sound/gus_wave.cgus_poke (target + i, data);
i2299drivers/sound/gus_wave.cint             i;
i2316drivers/sound/gus_wave.cfor (i = 0; i < pcm_nblk; i++)
i2317drivers/sound/gus_wave.cpcm_datasize[i] = 0;
i2346drivers/sound/gus_wave.cint             i;
i2353drivers/sound/gus_wave.cfor (i = 0; i < len; i++)
i2366drivers/sound/gus_wave.cint             i;
i2374drivers/sound/gus_wave.cfor (i = 0; i < len; i++)
i2423drivers/sound/gus_wave.cint             i, n;
i2440drivers/sound/gus_wave.cfor (i = 0; i < MAX_PATCH; i++)
i2442drivers/sound/gus_wave.cint             ptr = patch_table[i];
i2444drivers/sound/gus_wave.crec->data.data8[i] = 0;
i2448drivers/sound/gus_wave.crec->data.data8[i]++;
i2606drivers/sound/gus_wave.cint             i, p;
i2613drivers/sound/gus_wave.cfor (i = 0; i < alloc->max_voice; i++)
i2627drivers/sound/gus_wave.cfor (i = 0; i < alloc->max_voice; i++)
i233drivers/sound/ics2101.cint             i;
i246drivers/sound/ics2101.cfor (i = 0; i < ICS_MIXDEVS; i++)
i247drivers/sound/ics2101.cleft_fix[i] = 1;
i248drivers/sound/ics2101.cfor (i = 0; i < ICS_MIXDEVS; i++)
i249drivers/sound/ics2101.cright_fix[i] = 2;
i303drivers/sound/midi_synth.cint             i;
i343drivers/sound/midi_synth.cfor (i = 0; i < left && !PROCESS_ABORTING (sysex_sleeper, sysex_sleep_flag); i++)
i347drivers/sound/midi_synth.cGET_BYTE_FROM_USER (data, addr, sizeof (struct sysex_info) + i);
i356drivers/sound/midi_synth.cif (i == 0)
i282drivers/sound/midibuf.cint             c, n, i;
i315drivers/sound/midibuf.cfor (i = 0; i < n; i++)
i610drivers/sound/mpu401.cint             i, timeout, ok;
i661drivers/sound/mpu401.cfor (i = 0; i < cmd->nr_args; i++)
i665drivers/sound/mpu401.cif (!mpu401_out (dev, cmd->data[i]))
i677drivers/sound/mpu401.cfor (i = 0; i < cmd->nr_returns; i++)
i683drivers/sound/mpu401.ccmd->data[i] = read_data (devc->base);
i690drivers/sound/mpu401.cprintk ("MPU: No response(%d) to command (0x%x)\n", i, (int) cmd->cmd);
i975drivers/sound/mpu401.cint             i;
i981drivers/sound/mpu401.cfor (i = 0; i < 16; i++)
i982drivers/sound/mpu401.cirq2dev[i] = -1;
i1004drivers/sound/mpu401.cfor (i = 0; i < 32; i++)
i1005drivers/sound/mpu401.cdevc->controls[i] = 0x2000;
i109drivers/sound/opl3.cint             i;
i116drivers/sound/opl3.cfor (i = 0; i < 3; i++)
i117drivers/sound/opl3.cphysical_voices[i].voice_mode = 4;
i118drivers/sound/opl3.cfor (i = 3; i < 6; i++)
i119drivers/sound/opl3.cphysical_voices[i].voice_mode = 0;
i121drivers/sound/opl3.cfor (i = 9; i < 12; i++)
i122drivers/sound/opl3.cphysical_voices[i].voice_mode = 4;
i123drivers/sound/opl3.cfor (i = 12; i < 15; i++)
i124drivers/sound/opl3.cphysical_voices[i].voice_mode = 0;
i126drivers/sound/opl3.cfor (i = 0; i < 12; i++)
i127drivers/sound/opl3.clogical_voices[i] = voices_4op[i];
i193drivers/sound/opl3.cint             i;
i242drivers/sound/opl3.cfor (i = 0; i < 50; i++)
i279drivers/sound/opl3.cfor (i = 0; i < 9; i++)
i280drivers/sound/opl3.copl3_command (ioaddr, KEYON_BLOCK + i, 0);  /*
i785drivers/sound/opl3.cint             i;
i800drivers/sound/opl3.cfor (i = 0; i < 2; i++)
i815drivers/sound/opl3.cfor (i = 0; i < 2; i++)
i822drivers/sound/opl3.cint             i;
i824drivers/sound/opl3.cfor (i = 0; i < nr_voices; i++)
i826drivers/sound/opl3.copl3_command (physical_voices[logical_voices[i]].ioaddr,
i827drivers/sound/opl3.cKSL_LEVEL + physical_voices[logical_voices[i]].op[0], 0xff);
i829drivers/sound/opl3.copl3_command (physical_voices[logical_voices[i]].ioaddr,
i830drivers/sound/opl3.cKSL_LEVEL + physical_voices[logical_voices[i]].op[1], 0xff);
i832drivers/sound/opl3.cif (physical_voices[logical_voices[i]].voice_mode == 4)
i834drivers/sound/opl3.copl3_command (physical_voices[logical_voices[i]].ioaddr,
i835drivers/sound/opl3.cKSL_LEVEL + physical_voices[logical_voices[i]].op[2], 0xff);
i837drivers/sound/opl3.copl3_command (physical_voices[logical_voices[i]].ioaddr,
i838drivers/sound/opl3.cKSL_LEVEL + physical_voices[logical_voices[i]].op[3], 0xff);
i841drivers/sound/opl3.copl3_kill_note (dev, i, 0, 64);
i848drivers/sound/opl3.cfor (i = 0; i < 18; i++)
i849drivers/sound/opl3.clogical_voices[i] = i;
i851drivers/sound/opl3.cfor (i = 0; i < 18; i++)
i852drivers/sound/opl3.cphysical_voices[i].voice_mode = 2;
i1079drivers/sound/opl3.cint             i, p, avail_voices;
i1116drivers/sound/opl3.cfor (i = 0; i < avail_voices; i++)
i1160drivers/sound/opl3.cint             i;
i1187drivers/sound/opl3.cfor (i = 0; i < 18; i++)
i1188drivers/sound/opl3.cif (physical_voices[i].ioaddr == USE_LEFT)
i1189drivers/sound/opl3.cphysical_voices[i].ioaddr = left_address;
i1191drivers/sound/opl3.cphysical_voices[i].ioaddr = right_address;
i1214drivers/sound/opl3.cfor (i = 0; i < 18; i++)
i1215drivers/sound/opl3.cphysical_voices[i].ioaddr = left_address;
i1219drivers/sound/opl3.cfor (i = 0; i < SBFM_MAXINSTR; i++)
i1220drivers/sound/opl3.cinstrmap[i].channel = -1;
i274drivers/sound/pas2_midi.cint             i, incount;
i289drivers/sound/pas2_midi.cfor (i = 0; i < incount; i++)
i156drivers/sound/pas2_mixer.cint             left, right, devmask, changed, i, mixer = 0;
i245drivers/sound/pas2_mixer.ci = 0;
i248drivers/sound/pas2_mixer.ci = (level / 20) - 1;
i254drivers/sound/pas2_mixer.cif (i)
i255drivers/sound/pas2_mixer.ci = (i + 1) * 20;
i256drivers/sound/pas2_mixer.creturn i;
i275drivers/sound/pas2_mixer.cfor (i = 0; i < SOUND_MIXER_NRDEVICES; i++)
i276drivers/sound/pas2_mixer.cif (changed & (1 << i))
i278drivers/sound/pas2_mixer.cpas_mixer_set (i, levels[i]);
i124drivers/sound/pss.cint             i, limit;
i135drivers/sound/pss.cfor (i = 0; i < 5000000 && GET_TIME () < limit; i++)
i170drivers/sound/pss.cint             i;
i230drivers/sound/pss.cfor (i = 0; i < 5; i++)
i629drivers/sound/pss.cunsigned long   i, limit = GET_TIME () + 10;
i633drivers/sound/pss.cfor (i = 0; i < 32768 && GET_TIME () < limit; i++)
i645drivers/sound/pss.cint             i, limit, val, count;
i654drivers/sound/pss.cfor (i = 0; i < 32768 && GET_TIME () < limit; i++)
i696drivers/sound/pss.cfor (i = 0; i < 32768 && GET_TIME () < limit; i++)
i702drivers/sound/pss.cfor (i = 0; i < 32768 && GET_TIME () < limit; i++)
i710drivers/sound/pss.cfor (i = 0; i < 32000; i++)
i716drivers/sound/pss.cif (i == 32000)
i105drivers/sound/sb16_dsp.cint             i = 1 << 16;
i107drivers/sound/sb16_dsp.cwhile (--i & (!INB (DSP_STATUS) & 0x80));
i108drivers/sound/sb16_dsp.cif (!i)
i104drivers/sound/sb_dsp.cint             i;
i119drivers/sound/sb_dsp.cfor (i = 0; i < 500000 && GET_TIME () < limit; i++)
i762drivers/sound/sb_dsp.cint             i;
i770drivers/sound/sb_dsp.cfor (i = 1000; i; i--)
i251drivers/sound/sb_mixer.cint             devmask, i;
i312drivers/sound/sb_mixer.cfor (i = 0; i < SOUND_MIXER_NRDEVICES; i++)
i313drivers/sound/sb_mixer.cif ((1 << i) & devmask)
i315drivers/sound/sb_mixer.cregimageL |= sb16_recmasks_L[i];
i316drivers/sound/sb_mixer.cregimageR |= sb16_recmasks_R[i];
i385drivers/sound/sb_mixer.cint             i;
i387drivers/sound/sb_mixer.cfor (i = 0; i < SOUND_MIXER_NRDEVICES; i++)
i388drivers/sound/sb_mixer.csb_mixer_set (i, levels[i]);
i443drivers/sound/sequencer.cint             i;
i447drivers/sound/sequencer.cfor (i = 0; i < synth_devs[dev]->alloc.max_voice; i++)
i448drivers/sound/sequencer.cif (synth_devs[dev]->alloc.map[i] == key)
i449drivers/sound/sequencer.creturn i;
i887drivers/sound/sequencer.cint             i;
i889drivers/sound/sequencer.cfor (i = 0; i < 128; i++)
i890drivers/sound/sequencer.ccontroller[i] = ctrl_def_values[i];
i927drivers/sound/sequencer.cint             retval, mode, i;
i983drivers/sound/sequencer.cint             i, best;
i986drivers/sound/sequencer.cfor (i = 0; i < num_sound_timers; i++)
i987drivers/sound/sequencer.cif (sound_timer_devs[i]->priority > best)
i989drivers/sound/sequencer.ctmr_no = i;
i990drivers/sound/sequencer.cbest = sound_timer_devs[i]->priority;
i1022drivers/sound/sequencer.cfor (i = 0; i < max_mididev; i++)
i1024drivers/sound/sequencer.cmidi_opened[i] = 0;
i1025drivers/sound/sequencer.cmidi_written[i] = 0;
i1031drivers/sound/sequencer.cfor (i = 0; i < max_synthdev; i++)  /*
i1034drivers/sound/sequencer.cif ((tmp = synth_devs[i]->open (i, mode)) < 0)
i1036drivers/sound/sequencer.cprintk ("Sequencer: Warning! Cannot open synth device #%d (%d)\n", i, tmp);
i1037drivers/sound/sequencer.cif (synth_devs[i]->midi_dev)
i1038drivers/sound/sequencer.cprintk ("(Maps to midi dev #%d\n", synth_devs[i]->midi_dev);
i1042drivers/sound/sequencer.csynth_open_mask |= (1 << i);
i1043drivers/sound/sequencer.cif (synth_devs[i]->midi_dev)  /*
i1046drivers/sound/sequencer.cmidi_opened[synth_devs[i]->midi_dev] = 1;
i1057drivers/sound/sequencer.cfor (i = 0; i < max_mididev; i++)
i1058drivers/sound/sequencer.cif (!midi_opened[i])
i1060drivers/sound/sequencer.cif ((retval = midi_devs[i]->open (i, mode,
i1062drivers/sound/sequencer.cmidi_opened[i] = 1;
i1076drivers/sound/sequencer.cfor (i = 0; i < num_synths; i++)
i1077drivers/sound/sequencer.cif (pmgr_present[i])
i1078drivers/sound/sequencer.cpmgr_inform (i, PM_E_OPENED, 0, 0, 0, 0);
i1086drivers/sound/sequencer.cint             i, n;
i1098drivers/sound/sequencer.cfor (i = 0; i < max_mididev; i++)
i1099drivers/sound/sequencer.cif (midi_opened[i] && midi_written[i])
i1100drivers/sound/sequencer.cif (midi_devs[i]->buffer_status != NULL)
i1101drivers/sound/sequencer.cif (midi_devs[i]->buffer_status (i))
i1117drivers/sound/sequencer.cint             i;
i1154drivers/sound/sequencer.cfor (i = 0; i < max_synthdev; i++)
i1155drivers/sound/sequencer.cif (synth_open_mask & (1 << i))  /*
i1158drivers/sound/sequencer.cif (synth_devs[i])
i1160drivers/sound/sequencer.csynth_devs[i]->close (i);
i1162drivers/sound/sequencer.cif (synth_devs[i]->midi_dev)
i1163drivers/sound/sequencer.cmidi_opened[synth_devs[i]->midi_dev] = 0;
i1166drivers/sound/sequencer.cfor (i = 0; i < num_synths; i++)
i1167drivers/sound/sequencer.cif (pmgr_present[i])
i1168drivers/sound/sequencer.cpmgr_inform (i, PM_E_CLOSED, 0, 0, 0, 0);
i1170drivers/sound/sequencer.cfor (i = 0; i < max_mididev; i++)
i1171drivers/sound/sequencer.cif (midi_opened[i])
i1172drivers/sound/sequencer.cmidi_devs[i]->close (i);
i1234drivers/sound/sequencer.cint             i;
i1246drivers/sound/sequencer.cfor (i = 0; i < max_synthdev; i++)
i1247drivers/sound/sequencer.cif (synth_open_mask & (1 << i))
i1248drivers/sound/sequencer.cif (synth_devs[i])
i1249drivers/sound/sequencer.csynth_devs[i]->reset (i);
i1253drivers/sound/sequencer.cfor (i = 0; i < max_synthdev; i++)
i1254drivers/sound/sequencer.cif (synth_open_mask & (1 << i))
i1255drivers/sound/sequencer.cif (synth_devs[i])
i1257drivers/sound/sequencer.csynth_devs[i]->controller (i, chn, 0xfe, 0);  /* All notes off */
i1261drivers/sound/sequencer.cfor (i = 0; i < max_mididev; i++)
i1262drivers/sound/sequencer.cif (midi_written[i])  /*
i1271drivers/sound/sequencer.cmidi_outc (i, 0xfe);
i1275drivers/sound/sequencer.cmidi_outc (i,
i1280drivers/sound/sequencer.cmidi_outc (i, 0x7b);  /*
i1283drivers/sound/sequencer.cmidi_outc (i, 0);  /*
i1288drivers/sound/sequencer.cmidi_devs[i]->close (i);
i1290drivers/sound/sequencer.cmidi_written[i] = 0;
i1291drivers/sound/sequencer.cmidi_opened[i] = 0;
i114drivers/sound/sound_switch.cint             i;
i131drivers/sound/sound_switch.cfor (i = 0; i < (num_sound_drivers - 1); i++)
i135drivers/sound/sound_switch.cif (!put_status_int (sound_drivers[i].card_type, 10))
i139drivers/sound/sound_switch.cif (!put_status (sound_drivers[i].name))
i149drivers/sound/sound_switch.cfor (i = 0; i < (num_sound_cards - 1); i++)
i153drivers/sound/sound_switch.cif (!snd_installed_cards[i].enabled)
i162drivers/sound/sound_switch.cif ((drv = snd_find_driver (snd_installed_cards[i].card_type)) != -1)
i168drivers/sound/sound_switch.cif (!put_status_int (snd_installed_cards[i].config.io_base, 16))
i172drivers/sound/sound_switch.cif (!put_status_int (snd_installed_cards[i].config.irq, 10))
i176drivers/sound/sound_switch.cif (!put_status_int (snd_installed_cards[i].config.dma, 10))
i179drivers/sound/sound_switch.cif (!snd_installed_cards[i].enabled)
i190drivers/sound/sound_switch.cfor (i = 0; i < num_audiodevs; i++)
i192drivers/sound/sound_switch.cif (!put_status_int (i, 10))
i196drivers/sound/sound_switch.cif (!put_status (audio_devs[i]->name))
i205drivers/sound/sound_switch.cfor (i = 0; i < num_synths; i++)
i207drivers/sound/sound_switch.cif (!put_status_int (i, 10))
i211drivers/sound/sound_switch.cif (!put_status (synth_devs[i]->info->name))
i220drivers/sound/sound_switch.cfor (i = 0; i < num_midis; i++)
i222drivers/sound/sound_switch.cif (!put_status_int (i, 10))
i226drivers/sound/sound_switch.cif (!put_status (midi_devs[i]->info.name))
i235drivers/sound/sound_switch.cfor (i = 0; i < num_sound_timers; i++)
i237drivers/sound/sound_switch.cif (!put_status_int (i, 10))
i241drivers/sound/sound_switch.cif (!put_status (sound_timer_devs[i]->info.name))
i53drivers/sound/sound_timer.cint             i;
i57drivers/sound/sound_timer.cfor (i = 0; i < 2; i++)
i62drivers/sound/sound_timer.cfor (i = 0; i < 2; i++)
i218drivers/sound/soundcard.cint             i;
i220drivers/sound/soundcard.cfor (i = 0; i < 16; i++)
i292drivers/sound/soundcard.cint             i, dev;
i339drivers/sound/soundcard.cfor (i = MAP_NR (start_addr); i <= MAP_NR (end_addr); i++)
i341drivers/sound/soundcard.cif (mem_map[i])
i344drivers/sound/soundcard.cmem_map[i] = MAP_PAGE_RESERVED;
i174fs/binfmt_elf.cint i, k;
i209fs/binfmt_elf.cfor(i=0; i<interp_elf_ex->e_phnum; i++, eppnt++)
i308fs/binfmt_elf.cint i;
i385fs/binfmt_elf.cfor(i=0;i < elf_ex.e_phnum; i++){
i503fs/binfmt_elf.cfor(i=0;i < elf_ex.e_phnum; i++){
i646fs/binfmt_elf.cint i,j, k;
i693fs/binfmt_elf.cfor(i=0; i<elf_ex.e_phnum; i++)
i694fs/binfmt_elf.cif((elf_phdata + i)->p_type == PT_LOAD) j++;
i25fs/block_dev.cint blocksize, blocksize_bits, i, j, buffercount,write_error;
i47fs/block_dev.ci = blocksize;
i49fs/block_dev.cwhile(i != 1) {
i51fs/block_dev.ci >>= 1;
i77fs/block_dev.cfor(i=0; i<blocks_per_cluster; i++) cluster_list[i] = block+i;
i97fs/block_dev.cfor(i=1; i<blocks; i++){
i98fs/block_dev.cif(((i+block) % blocks_per_cluster) == 0) {
i99fs/block_dev.cfor(j=0; j<blocks_per_cluster; j++) cluster_list[j] = block+i+j;
i102fs/block_dev.cbhlist[i] = getblk (dev, block+i, blocksize);
i103fs/block_dev.cif(!bhlist[i]){
i104fs/block_dev.cwhile(i >= 0) brelse(bhlist[i--]);
i109fs/block_dev.cfor(i=1; i<blocks; i++) brelse(bhlist[i]);
i134fs/block_dev.cfor(i=0; i<buffercount; i++){
i135fs/block_dev.cwait_on_buffer(bufferlist[i]);
i136fs/block_dev.cif (!bufferlist[i]->b_uptodate)
i138fs/block_dev.cbrelse(bufferlist[i]);
i147fs/block_dev.cfor(i=0; i<buffercount; i++){
i148fs/block_dev.cwait_on_buffer(bufferlist[i]);
i149fs/block_dev.cif (!bufferlist[i]->b_uptodate)
i151fs/block_dev.cbrelse(bufferlist[i]);
i165fs/block_dev.cint blocksize_bits, i;
i183fs/block_dev.ci = blocksize;
i185fs/block_dev.cwhile (i != 1) {
i187fs/block_dev.ci >>= 1;
i242fs/block_dev.cfor(i=0; i<blocks_per_cluster; i++) cluster_list[i] = block+i;
i139fs/buffer.cint i, retry, pass = 0, err = 0;
i158fs/buffer.cfor (i = nr_buffers_type[nlist]*2 ; i-- > 0 ; bh = next) {
i256fs/buffer.cint i;
i262fs/buffer.cfor (i = nr_buffers_type[nlist]*2 ; --i > 0 ; bh = bh->b_next_free) {
i453fs/buffer.cint i, nlist;
i478fs/buffer.cfor (i = nr_buffers_type[nlist]*2 ; --i > 0 ; bh = bhnext) {
i505fs/buffer.cint i;
i546fs/buffer.cfor(i=0; i<NR_LIST; i++){
i547fs/buffer.cif(i == BUF_DIRTY || i == BUF_SHARED || 
i548fs/buffer.cnr_buffers_type[i] == 0) {
i549fs/buffer.ccandidate[i] = NULL;
i550fs/buffer.cbuffers[i] = 0;
i553fs/buffer.cbuffers[i] = nr_buffers_type[i];
i554fs/buffer.cfor (bh = lru_list[i]; buffers[i] > 0; bh = tmp, buffers[i]--)
i556fs/buffer.cif(buffers[i] < 0) panic("Here is the problem");
i573fs/buffer.cif(bh->b_lock && (i == BUF_LOCKED || i == BUF_LOCKED1)) {
i574fs/buffer.cbuffers[i] = 0;
i581fs/buffer.cif(!buffers[i]) candidate[i] = NULL; /* Nothing on this list */
i582fs/buffer.celse candidate[i] = bh;
i583fs/buffer.cif(candidate[i] && candidate[i]->b_count) panic("Here is the problem");
i592fs/buffer.cfor(i=0; i<NR_LIST; i++){
i593fs/buffer.cif(!candidate[i]) continue;
i594fs/buffer.cif(candidate[i]->b_lru_time < best_time){
i595fs/buffer.cbest_time = candidate[i]->b_lru_time;
i596fs/buffer.cwinner = i;
i602fs/buffer.ci = winner;
i603fs/buffer.cbh = candidate[i];
i604fs/buffer.ccandidate[i] = bh->b_next_free;
i605fs/buffer.cif(candidate[i] == bh) candidate[i] = NULL;  /* Got last one */
i617fs/buffer.cbuffers[i]--;
i618fs/buffer.cif(buffers[i] < 0) panic("Here is the problem");
i620fs/buffer.cif(buffers[i] == 0) candidate[i] = NULL;
i624fs/buffer.cif(candidate[i] && buffers[i] > 0){
i625fs/buffer.cif(buffers[i] <= 0) panic("Here is another problem");
i626fs/buffer.cfor (bh = candidate[i]; buffers[i] > 0; bh = tmp, buffers[i]--) {
i627fs/buffer.cif(buffers[i] < 0) panic("Here is the problem");
i644fs/buffer.cif(bh->b_lock && (i == BUF_LOCKED || i == BUF_LOCKED1)) {
i645fs/buffer.cbuffers[i] = 0;
i652fs/buffer.cif(!buffers[i]) candidate[i] = NULL; /* Nothing here */
i653fs/buffer.celse candidate[i] = bh;
i654fs/buffer.cif(candidate[i] && candidate[i]->b_count) 
i834fs/buffer.cint i, j;
i856fs/buffer.cfor(i=1; i<blocks; i++) {
i857fs/buffer.cbh = getblk(dev,block+i,bufsize);
i868fs/buffer.cfor(i=1; i<j; i++)
i869fs/buffer.cbrelse(bhlist[i]);
i896fs/buffer.cint i;
i905fs/buffer.cfor (nr_buffer_heads+=i=PAGE_SIZE/sizeof*bh ; i>0; i--) {
i966fs/buffer.cint i;
i970fs/buffer.cfor (i = 0 ; i < nrbuf ; i++) {
i971fs/buffer.cif (bh[i] && !bh[i]->b_uptodate)
i972fs/buffer.cbhr[bhnum++] = bh[i];
i976fs/buffer.cfor (i = 0 ; i < nrbuf ; i++) {
i977fs/buffer.cif (bh[i]) {
i978fs/buffer.cwait_on_buffer(bh[i]);
i1136fs/buffer.cint i, j;
i1144fs/buffer.cfor (i=0, j=0; j<PAGE_SIZE ; i++, j+= size) {
i1145fs/buffer.cbh[i] = NULL;
i1146fs/buffer.cif (b[i])
i1147fs/buffer.cbh[i] = getblk(dev, b[i], size);
i1149fs/buffer.cread_buffers(bh,i);
i1151fs/buffer.cfor (i=0, j=0; j<PAGE_SIZE ; i++, j += size, where += size) {
i1152fs/buffer.cif (bh[i]) {
i1153fs/buffer.cif (bh[i]->b_uptodate)
i1154fs/buffer.cmemcpy((void *) where, bh[i]->b_data, size);
i1155fs/buffer.cbrelse(bh[i]);
i1336fs/buffer.cint i, isize, isize1;
i1349fs/buffer.cfor (i=0 ; !i || bh != free_list[isize]; bh = bh->b_next_free, i++) {
i1366fs/buffer.ci = 2*nr_buffers_type[nlist] >> priority;
i1367fs/buffer.cfor ( ; i-- > 0 ; bh = bh->b_next_free) {
i1500fs/buffer.cint i;
i1510fs/buffer.cfor (i=0 ; !i || bh != free_list[isize] ; bh = bh->b_next_free, i++) {
i1581fs/buffer.cint i, offset;
i1583fs/buffer.cfor (i = 0, offset = 0 ; offset < PAGE_SIZE ; i++, offset += size) {
i1584fs/buffer.cif(i && b[i]-1 != b[i-1]) return 0;  /* No need to cluster */
i1585fs/buffer.cif(find_buffer(dev, b[i], size)) return 0;
i1617fs/buffer.cint i;
i1635fs/buffer.cfor (i = 0 ; i < MAP_NR(high_memory) ; i++)
i1636fs/buffer.cbuffer_pages[i] = NULL;
i1638fs/buffer.cfor (i = 0 ; i < nr_hash ; i++)
i1639fs/buffer.chash_table[i] = NULL;
i1685fs/buffer.cint i, isize;
i1706fs/buffer.cfor (i = nr_buffers_type[nlist]; i-- > 0; bh = next) {
i1711fs/buffer.cprintk("Dirty list empty %d\n", i);
i1760fs/buffer.cint i, error;
i1774fs/buffer.ci = (func-2) >> 1;
i1775fs/buffer.cif (i < 0 || i >= N_PARAM)
i1781fs/buffer.cput_fs_long(bdf_prm.data[i], data);
i1784fs/buffer.cif (data < bdflush_min[i] || data > bdflush_max[i])
i1786fs/buffer.cbdf_prm.data[i] = data;
i1812fs/buffer.cfor (i = nr_buffers_type[nlist]; i-- > 0 && ndirty < bdf_prm.b_un.ndirty; 
i1818fs/buffer.cprintk("Dirty list empty %d\n", i);
i215fs/dcache.cint i;
i249fs/dcache.cfor (i = 0 ; i < DCACHE_HASH_QUEUES ; i++)
i250fs/dcache.chash_table[i].next = hash_table[i].next =
i251fs/dcache.c(struct dir_cache_entry *) &hash_table[i];
i33fs/devices.cint i;
i37fs/devices.cfor (i = 0; i < MAX_CHRDEV ; i++) {
i38fs/devices.cif (chrdevs[i].fops) {
i39fs/devices.clen += sprintf(page+len, "%2d %s\n", i, chrdevs[i].name);
i43fs/devices.cfor (i = 0; i < MAX_BLKDEV ; i++) {
i44fs/devices.cif (blkdevs[i].fops) {
i45fs/devices.clen += sprintf(page+len, "%2d %s\n", i, blkdevs[i].name);
i144fs/devices.cint i;
i147fs/devices.ci = MAJOR(dev);
i148fs/devices.cif (i >= MAX_BLKDEV || (fops = blkdevs[i].fops) == NULL)
i157fs/devices.cfor (i=0 ; i<NR_SUPER ; i++)
i158fs/devices.cif (super_blocks[i].s_dev == dev)
i159fs/devices.cput_super(super_blocks[i].s_dev);
i173fs/devices.cint i;
i175fs/devices.ci = MAJOR(inode->i_rdev);
i176fs/devices.cif (i >= MAX_BLKDEV || !blkdevs[i].fops)
i178fs/devices.cfilp->f_op = blkdevs[i].fops;
i224fs/devices.cint i;
i226fs/devices.ci = MAJOR(inode->i_rdev);
i227fs/devices.cif (i >= MAX_CHRDEV || !chrdevs[i].fops)
i229fs/devices.cfilp->f_op = chrdevs[i].fops;
i353fs/exec.cint error, i = 0;
i361fs/exec.ci++;
i367fs/exec.creturn i;
i440fs/exec.cint i;
i447fs/exec.cfor (i=MAX_ARG_PAGES-1 ; i>=0 ; i--) {
i449fs/exec.cif (page[i]) {
i451fs/exec.cput_dirty_page(current,page[i],data_base);
i508fs/exec.cint i;
i514fs/exec.cfor (i=0; (ch = *(name++)) != '\0';) {
i516fs/exec.ci = 0;
i518fs/exec.cif (i < 15)
i519fs/exec.ccurrent->comm[i++] = ch;
i521fs/exec.ccurrent->comm[i] = '\0';
i532fs/exec.cfor (i=0 ; i<32 ; i++) {
i533fs/exec.ccurrent->sigaction[i].sa_mask = 0;
i534fs/exec.ccurrent->sigaction[i].sa_flags = 0;
i535fs/exec.cif (current->sigaction[i].sa_handler != SIG_IGN)
i536fs/exec.ccurrent->sigaction[i].sa_handler = NULL;
i538fs/exec.cfor (i=0 ; i<NR_OPEN ; i++)
i539fs/exec.cif (FD_ISSET(i,&current->files->close_on_exec))
i540fs/exec.csys_close(i);
i556fs/exec.cint i;
i561fs/exec.cfor (i=0 ; i<MAX_ARG_PAGES ; i++)  /* clear page-table */
i562fs/exec.cbprm.page[i] = 0;
i585fs/exec.ci = bprm.inode->i_mode;
i586fs/exec.cif (IS_NOSUID(bprm.inode) && (((i & S_ISUID) && bprm.inode->i_uid != current->
i587fs/exec.ceuid) || ((i & S_ISGID) && !in_group_p(bprm.inode->i_gid))) && !suser()) {
i596fs/exec.cbprm.e_uid = (i & S_ISUID) ? bprm.inode->i_uid : current->euid;
i597fs/exec.cbprm.e_gid = (i & S_ISGID) ? bprm.inode->i_gid : current->egid;
i716fs/exec.cfor (i=0 ; i<MAX_ARG_PAGES ; i++)
i717fs/exec.cfree_page(bprm.page[i]);
i70fs/ext/dir.cunsigned int i;
i89fs/ext/dir.cfor (i = 0; i < 1024 && i < offset; ) {
i90fs/ext/dir.cde = (struct ext_dir_entry *) (bh->b_data + i);
i93fs/ext/dir.ci += de->rec_len;
i95fs/ext/dir.coffset = i;
i112fs/ext/dir.cfor (i = 0; i < de->name_len; i++)
i113fs/ext/dir.cif ((c = de->name[i]) != 0)
i114fs/ext/dir.cput_fs_byte(c,i+dirent->d_name);
i117fs/ext/dir.cif (i) {
i119fs/ext/dir.cput_fs_byte(0,i+dirent->d_name);
i120fs/ext/dir.cput_fs_word(i,&dirent->d_reclen);
i121fs/ext/dir.cret = ROUND_UP(NAME_OFFSET(dirent)+i+1);
i85fs/ext/fsync.cint i;
i88fs/ext/fsync.cfor (i = 0; i < 9; i++) {
i89fs/ext/fsync.crc = sync_block (inode, inode->u.ext_i.i_data + i, wait);
i100fs/ext/fsync.cint i;
i108fs/ext/fsync.cfor (i = 0; i < addr_per_block; i++) {
i110fs/ext/fsync.c((unsigned long *) ind_bh->b_data) + i,
i124fs/ext/fsync.cint i;
i132fs/ext/fsync.cfor (i = 0; i < addr_per_block; i++) {
i134fs/ext/fsync.c((unsigned long *) dind_bh->b_data) + i,
i148fs/ext/fsync.cint i;
i156fs/ext/fsync.cfor (i = 0; i < addr_per_block; i++) {
i158fs/ext/fsync.c((unsigned long *) tind_bh->b_data) + i,
i179fs/ext/inode.cint i;
i193fs/ext/inode.ci = inode_bmap(inode,9);
i194fs/ext/inode.cif (!i)
i196fs/ext/inode.creturn block_bmap(bread(inode->i_dev,i,BLOCK_SIZE),block);
i200fs/ext/inode.ci = inode_bmap(inode,10);
i201fs/ext/inode.cif (!i)
i203fs/ext/inode.ci = block_bmap(bread(inode->i_dev,i,BLOCK_SIZE),block>>8);
i204fs/ext/inode.cif (!i)
i206fs/ext/inode.creturn block_bmap(bread(inode->i_dev,i,BLOCK_SIZE),block & 255);
i209fs/ext/inode.ci = inode_bmap(inode,11);
i210fs/ext/inode.cif (!i)
i212fs/ext/inode.ci = block_bmap(bread(inode->i_dev,i,BLOCK_SIZE),block>>16);
i213fs/ext/inode.cif (!i)
i215fs/ext/inode.ci = block_bmap(bread(inode->i_dev,i,BLOCK_SIZE),(block>>8) & 255);
i216fs/ext/inode.cif (!i)
i218fs/ext/inode.creturn block_bmap(bread(inode->i_dev,i,BLOCK_SIZE),block & 255);
i190fs/ext/namei.cint i;
i290fs/ext/namei.cfor (i=0; i < namelen ; i++)
i291fs/ext/namei.cde->name[i] = name[i];
i626fs/ext/namei.cint i;
i643fs/ext/namei.ci = 0;
i644fs/ext/namei.cwhile (i < 1023 && (c = *(symname++)))
i645fs/ext/namei.cname_block->b_data[i++] = c;
i646fs/ext/namei.cname_block->b_data[i] = 0;
i649fs/ext/namei.cinode->i_size = i;
i88fs/ext/symlink.cint i;
i101fs/ext/symlink.ci = 0;
i102fs/ext/symlink.cwhile (i<buflen && (c = bh->b_data[i])) {
i103fs/ext/symlink.ci++;
i107fs/ext/symlink.creturn i;
i34fs/ext/truncate.cint i, tmp;
i41fs/ext/truncate.cfor (i = DIRECT_BLOCK ; i < 9 ; i++) {
i42fs/ext/truncate.cp = inode->u.ext_i.i_data+i;
i46fs/ext/truncate.cif (i < DIRECT_BLOCK) {
i65fs/ext/truncate.cint i, tmp;
i85fs/ext/truncate.cfor (i = INDIRECT_BLOCK ; i < 256 ; i++) {
i86fs/ext/truncate.cif (i < 0)
i87fs/ext/truncate.ci = 0;
i88fs/ext/truncate.cif (i < INDIRECT_BLOCK)
i90fs/ext/truncate.cind = i+(unsigned long *) ind_bh->b_data;
i95fs/ext/truncate.cif (i < INDIRECT_BLOCK) {
i110fs/ext/truncate.cfor (i = 0; i < 256; i++)
i113fs/ext/truncate.cif (i >= 256)
i128fs/ext/truncate.cint i,tmp;
i147fs/ext/truncate.cfor (i = DINDIRECT_BLOCK ; i < 256 ; i ++) {
i148fs/ext/truncate.cif (i < 0)
i149fs/ext/truncate.ci = 0;
i150fs/ext/truncate.cif (i < DINDIRECT_BLOCK)
i152fs/ext/truncate.cdind = i+(unsigned long *) dind_bh->b_data;
i156fs/ext/truncate.cretry |= trunc_indirect(inode,offset+(i<<8),dind);
i160fs/ext/truncate.cfor (i = 0; i < 256; i++)
i163fs/ext/truncate.cif (i >= 256)
i178fs/ext/truncate.cint i,tmp;
i197fs/ext/truncate.cfor (i = TINDIRECT_BLOCK ; i < 256 ; i ++) {
i198fs/ext/truncate.cif (i < 0)
i199fs/ext/truncate.ci = 0;
i200fs/ext/truncate.cif (i < TINDIRECT_BLOCK)
i202fs/ext/truncate.ctind = i+(unsigned long *) tind_bh->b_data;
i203fs/ext/truncate.cretry |= trunc_dindirect(inode,9+256+256*256+(i<<16),tind);
i207fs/ext/truncate.cfor (i = 0; i < 256; i++)
i210fs/ext/truncate.cif (i >= 256)
i97fs/ext2/balloc.cint i, j;
i121fs/ext2/balloc.cfor (i = 0; i < sb->u.ext2_sb.s_loaded_block_bitmaps &&
i122fs/ext2/balloc.csb->u.ext2_sb.s_block_bitmap_number[i] != block_group; i++)
i124fs/ext2/balloc.cif (i < sb->u.ext2_sb.s_loaded_block_bitmaps &&
i125fs/ext2/balloc.csb->u.ext2_sb.s_block_bitmap_number[i] == block_group) {
i126fs/ext2/balloc.cblock_bitmap_number = sb->u.ext2_sb.s_block_bitmap_number[i];
i127fs/ext2/balloc.cblock_bitmap = sb->u.ext2_sb.s_block_bitmap[i];
i128fs/ext2/balloc.cfor (j = i; j > 0; j--) {
i174fs/ext2/balloc.cunsigned long i;
i220fs/ext2/balloc.cfor (i = 0; i < count; i++) {
i221fs/ext2/balloc.cif (!clear_bit (bit + i, bh->b_data))
i258fs/ext2/balloc.cint i, j, k, tmp;
i289fs/ext2/balloc.ci = (goal - es->s_first_data_block) / EXT2_BLOCKS_PER_GROUP(sb);
i290fs/ext2/balloc.cgdp = get_group_desc (sb, i, &bh2);
i297fs/ext2/balloc.cbitmap_nr = load_block_bitmap (sb, i);
i300fs/ext2/balloc.cext2_debug ("goal is at %d:%d.\n", i, j);
i357fs/ext2/balloc.cext2_debug ("Bit not found in block group %d.\n", i);
i364fs/ext2/balloc.ci++;
i365fs/ext2/balloc.cif (i >= sb->u.ext2_sb.s_groups_count)
i366fs/ext2/balloc.ci = 0;
i367fs/ext2/balloc.cgdp = get_group_desc (sb, i, &bh2);
i375fs/ext2/balloc.cbitmap_nr = load_block_bitmap (sb, i);
i386fs/ext2/balloc.c"Free blocks count corrupted for block group %d", i);
i401fs/ext2/balloc.cext2_debug ("using block group %d(%d)\n", i, gdp->bg_free_blocks_count);
i403fs/ext2/balloc.ctmp = j + i * EXT2_BLOCKS_PER_GROUP(sb) + es->s_first_data_block;
i452fs/ext2/balloc.c"block_group = %d, block=%d", i, j);
i485fs/ext2/balloc.cint i;
i492fs/ext2/balloc.cfor (i = 0; i < sb->u.ext2_sb.s_groups_count; i++) {
i493fs/ext2/balloc.cgdp = get_group_desc (sb, i, NULL);
i495fs/ext2/balloc.cbitmap_nr = load_block_bitmap (sb, i);
i499fs/ext2/balloc.ci, gdp->bg_free_blocks_count, x);
i527fs/ext2/balloc.cint i, j;
i536fs/ext2/balloc.cfor (i = 0; i < sb->u.ext2_sb.s_groups_count; i++) {
i537fs/ext2/balloc.cgdp = get_group_desc (sb, i, NULL);
i539fs/ext2/balloc.cbitmap_nr = load_block_bitmap (sb, i);
i544fs/ext2/balloc.c"Superblock in group %d is marked free", i);
i550fs/ext2/balloc.c"%d is marked free", j, i);
i555fs/ext2/balloc.ci);
i560fs/ext2/balloc.ci);
i566fs/ext2/balloc.c"group %d is marked free", j, i);
i572fs/ext2/balloc.c"stored = %d, counted = %lu", i,
i16fs/ext2/bitmap.cunsigned int i;
i21fs/ext2/bitmap.cfor (i = 0; i < numchars; i++)
i22fs/ext2/bitmap.csum += nibblemap[map->b_data[i] & 0xf] +
i23fs/ext2/bitmap.cnibblemap[(map->b_data[i] >> 4) & 0xf];
i104fs/ext2/dir.cint i, num, stored, dlen;
i130fs/ext2/dir.cfor (i = 16 >> (EXT2_BLOCK_SIZE_BITS(sb) - 9), num = 0;
i131fs/ext2/dir.ci > 0; i--) {
i140fs/ext2/dir.cfor (i = 0; i < num; i++)
i141fs/ext2/dir.cbrelse (bha[i]);
i151fs/ext2/dir.cfor (i = 0; i < sb->s_blocksize && i < offset; ) {
i153fs/ext2/dir.c(bh->b_data + i);
i162fs/ext2/dir.ci += de->rec_len;
i164fs/ext2/dir.coffset = i;
i201fs/ext2/dir.ci = de->name_len;
i202fs/ext2/dir.cmemcpy_tofs (dirent->d_name, de->name, i);
i204fs/ext2/dir.cput_fs_byte (0, dirent->d_name + i);
i205fs/ext2/dir.cput_fs_word (i, &dirent->d_reclen);
i241fs/ext2/file.cint i,buffercount,write_error;
i314fs/ext2/file.cfor(i=0; i<buffercount; i++){
i315fs/ext2/file.cwait_on_buffer(bufferlist[i]);
i316fs/ext2/file.cif (!bufferlist[i]->b_uptodate)
i318fs/ext2/file.cbrelse(bufferlist[i]);
i327fs/ext2/file.cfor(i=0; i<buffercount; i++){
i328fs/ext2/file.cwait_on_buffer(bufferlist[i]);
i329fs/ext2/file.cif (!bufferlist[i]->b_uptodate)
i331fs/ext2/file.cbrelse(bufferlist[i]);
i84fs/ext2/fsync.cint i;
i87fs/ext2/fsync.cfor (i = 0; i < EXT2_NDIR_BLOCKS; i++) {
i88fs/ext2/fsync.crc = sync_block (inode, inode->u.ext2_i.i_data + i, wait);
i99fs/ext2/fsync.cint i;
i107fs/ext2/fsync.cfor (i = 0; i < addr_per_block; i++) {
i109fs/ext2/fsync.c((u32 *) ind_bh->b_data) + i,
i122fs/ext2/fsync.cint i;
i130fs/ext2/fsync.cfor (i = 0; i < addr_per_block; i++) {
i132fs/ext2/fsync.c((u32 *) dind_bh->b_data) + i,
i145fs/ext2/fsync.cint i;
i153fs/ext2/fsync.cfor (i = 0; i < addr_per_block; i++) {
i155fs/ext2/fsync.c((u32 *) tind_bh->b_data) + i,
i96fs/ext2/ialloc.cint i, j;
i121fs/ext2/ialloc.cfor (i = 0; i < sb->u.ext2_sb.s_loaded_inode_bitmaps &&
i122fs/ext2/ialloc.csb->u.ext2_sb.s_inode_bitmap_number[i] != block_group;
i123fs/ext2/ialloc.ci++)
i125fs/ext2/ialloc.cif (i < sb->u.ext2_sb.s_loaded_inode_bitmaps &&
i126fs/ext2/ialloc.csb->u.ext2_sb.s_inode_bitmap_number[i] == block_group) {
i127fs/ext2/ialloc.cinode_bitmap_number = sb->u.ext2_sb.s_inode_bitmap_number[i];
i128fs/ext2/ialloc.cinode_bitmap = sb->u.ext2_sb.s_inode_bitmap[i];
i129fs/ext2/ialloc.cfor (j = i; j > 0; j--) {
i310fs/ext2/ialloc.cint i, j, avefreei;
i325fs/ext2/ialloc.cgdp = NULL; i=0;
i351fs/ext2/ialloc.ci = j;
i363fs/ext2/ialloc.ci = dir->u.ext2_i.i_block_group;
i364fs/ext2/ialloc.ctmp = get_group_desc (sb, i, &bh2);
i374fs/ext2/ialloc.ci += j;
i375fs/ext2/ialloc.cif (i >= sb->u.ext2_sb.s_groups_count)
i376fs/ext2/ialloc.ci -= sb->u.ext2_sb.s_groups_count;
i377fs/ext2/ialloc.ctmp = get_group_desc (sb, i, &bh2);
i388fs/ext2/ialloc.ci = dir->u.ext2_i.i_block_group + 1;
i390fs/ext2/ialloc.cif (++i >= sb->u.ext2_sb.s_groups_count)
i391fs/ext2/ialloc.ci = 0;
i392fs/ext2/ialloc.ctmp = get_group_desc (sb, i, &bh2);
i406fs/ext2/ialloc.cbitmap_nr = load_inode_bitmap (sb, i);
i425fs/ext2/ialloc.ci);
i432fs/ext2/ialloc.cj += i * EXT2_INODES_PER_GROUP(sb) + 1;
i436fs/ext2/ialloc.c"block_group = %d,inode=%d", i, j);
i476fs/ext2/ialloc.cinode->u.ext2_i.i_block_group = i;
i496fs/ext2/ialloc.cint i;
i503fs/ext2/ialloc.cfor (i = 0; i < sb->u.ext2_sb.s_groups_count; i++) {
i504fs/ext2/ialloc.cgdp = get_group_desc (sb, i, NULL);
i506fs/ext2/ialloc.cbitmap_nr = load_inode_bitmap (sb, i);
i510fs/ext2/ialloc.ci, gdp->bg_free_inodes_count, x);
i528fs/ext2/ialloc.cint i;
i535fs/ext2/ialloc.cfor (i = 0; i < sb->u.ext2_sb.s_groups_count; i++) {
i536fs/ext2/ialloc.cgdp = get_group_desc (sb, i, NULL);
i538fs/ext2/ialloc.cbitmap_nr = load_inode_bitmap (sb, i);
i544fs/ext2/ialloc.c"stored = %d, counted = %lu", i,
i65fs/ext2/inode.cint i = inode->u.ext2_i.i_prealloc_count;
i69fs/ext2/inode.ci);
i129fs/ext2/inode.cint i;
i146fs/ext2/inode.ci = inode_bmap (inode, EXT2_IND_BLOCK);
i147fs/ext2/inode.cif (!i)
i149fs/ext2/inode.creturn block_bmap (bread (inode->i_dev, i,
i154fs/ext2/inode.ci = inode_bmap (inode, EXT2_DIND_BLOCK);
i155fs/ext2/inode.cif (!i)
i157fs/ext2/inode.ci = block_bmap (bread (inode->i_dev, i,
i160fs/ext2/inode.cif (!i)
i162fs/ext2/inode.creturn block_bmap (bread (inode->i_dev, i,
i167fs/ext2/inode.ci = inode_bmap (inode, EXT2_TIND_BLOCK);
i168fs/ext2/inode.cif (!i)
i170fs/ext2/inode.ci = block_bmap (bread (inode->i_dev, i, inode->i_sb->s_blocksize),
i172fs/ext2/inode.cif (!i)
i174fs/ext2/inode.ci = block_bmap (bread (inode->i_dev, i, inode->i_sb->s_blocksize),
i176fs/ext2/inode.cif (!i)
i178fs/ext2/inode.creturn block_bmap (bread (inode->i_dev, i, inode->i_sb->s_blocksize),
i331fs/ext2/inode.cint i;
i340fs/ext2/inode.cfor(i=0; i< (PAGE_SIZE / inode->i_sb->s_blocksize); i++) {
i341fs/ext2/inode.cp = (u32 *) bh->b_data + nr + i;
i347fs/ext2/inode.cif(i==0) firstblock = *p;
i348fs/ext2/inode.celse if(*p != firstblock + i) goto out;
i75fs/ext2/namei.cint block, toread, i, err;
i133fs/ext2/namei.cfor (i = 0; i < NAMEI_RA_SIZE; ++i) {
i134fs/ext2/namei.cif (bh_use[i] != bh)
i135fs/ext2/namei.cbrelse (bh_use[i]);
i157fs/ext2/namei.cfor (i = 0; i < NAMEI_RA_SIZE; ++i)
i158fs/ext2/namei.cbrelse (bh_use[i]);
i342fs/ext2/namei.cint i;
i344fs/ext2/namei.ci = 0;
i347fs/ext2/namei.cwhile (i < bh->b_size) {
i349fs/ext2/namei.cde, bh, i))
i357fs/ext2/namei.ci += de->rec_len;
i748fs/ext2/namei.cint i, err;
i780fs/ext2/namei.ci = 0;
i781fs/ext2/namei.cwhile (i < inode->i_sb->s_blocksize - 1 && (c = *(symname++)))
i782fs/ext2/namei.clink[i++] = c;
i783fs/ext2/namei.clink[i] = 0;
i788fs/ext2/namei.cinode->i_size = i;
i94fs/ext2/super.cint i;
i103fs/ext2/super.cfor (i = 0; i < db_count; i++)
i104fs/ext2/super.cif (sb->u.ext2_sb.s_group_desc[i])
i105fs/ext2/super.cbrelse (sb->u.ext2_sb.s_group_desc[i]);
i108fs/ext2/super.cfor (i = 0; i < EXT2_MAX_GROUP_LOADED; i++)
i109fs/ext2/super.cif (sb->u.ext2_sb.s_inode_bitmap[i])
i110fs/ext2/super.cbrelse (sb->u.ext2_sb.s_inode_bitmap[i]);
i111fs/ext2/super.cfor (i = 0; i < EXT2_MAX_GROUP_LOADED; i++)
i112fs/ext2/super.cif (sb->u.ext2_sb.s_block_bitmap[i])
i113fs/ext2/super.cbrelse (sb->u.ext2_sb.s_block_bitmap[i]);
i140fs/ext2/super.cint i;
i155fs/ext2/super.cfor (i = 0; i < groups_count; i++) {
i156fs/ext2/super.cgdp[i].bg_block_bitmap = old_group_desc[i].bg_block_bitmap;
i157fs/ext2/super.cgdp[i].bg_inode_bitmap = old_group_desc[i].bg_inode_bitmap;
i158fs/ext2/super.cgdp[i].bg_inode_table = old_group_desc[i].bg_inode_table;
i159fs/ext2/super.cgdp[i].bg_free_blocks_count = old_group_desc[i].bg_free_blocks_count;
i160fs/ext2/super.cgdp[i].bg_free_inodes_count = old_group_desc[i].bg_free_inodes_count;
i346fs/ext2/super.cint i;
i353fs/ext2/super.cfor (i = 0; i < sb->u.ext2_sb.s_groups_count; i++)
i355fs/ext2/super.cif ((i % EXT2_DESC_PER_BLOCK(sb)) == 0)
i363fs/ext2/super.ci, (unsigned long) gdp->bg_block_bitmap);
i372fs/ext2/super.ci, (unsigned long) gdp->bg_inode_bitmap);
i382fs/ext2/super.ci, (unsigned long) gdp->bg_inode_table);
i402fs/ext2/super.cint i, j;
i570fs/ext2/super.cfor (i = 0; i < db_count; i++) {
i571fs/ext2/super.csb->u.ext2_sb.s_group_desc[i] = bread (dev, logic_sb_block + i + 1,
i573fs/ext2/super.cif (!sb->u.ext2_sb.s_group_desc[i]) {
i576fs/ext2/super.cfor (j = 0; j < i; j++)
i596fs/ext2/super.cfor (i = 0; i < EXT2_MAX_GROUP_LOADED; i++) {
i597fs/ext2/super.csb->u.ext2_sb.s_inode_bitmap_number[i] = 0;
i598fs/ext2/super.csb->u.ext2_sb.s_inode_bitmap[i] = NULL;
i599fs/ext2/super.csb->u.ext2_sb.s_block_bitmap_number[i] = 0;
i600fs/ext2/super.csb->u.ext2_sb.s_block_bitmap[i] = NULL;
i613fs/ext2/super.cfor (i = 0; i < db_count; i++)
i614fs/ext2/super.cif (sb->u.ext2_sb.s_group_desc[i])
i615fs/ext2/super.cbrelse (sb->u.ext2_sb.s_group_desc[i]);
i624fs/ext2/super.cfor (i = 0; i < db_count; i++)
i625fs/ext2/super.cmark_buffer_dirty(sb->u.ext2_sb.s_group_desc[i], 1);
i99fs/ext2/symlink.cint i, err;
i118fs/ext2/symlink.ci = 0;
i119fs/ext2/symlink.cwhile (i < buflen && (c = link[i])) {
i120fs/ext2/symlink.ci++;
i126fs/ext2/symlink.creturn i;
i49fs/ext2/truncate.cint i, tmp;
i60fs/ext2/truncate.cfor (i = direct_block ; i < EXT2_NDIR_BLOCKS ; i++) {
i61fs/ext2/truncate.cp = inode->u.ext2_i.i_data + i;
i71fs/ext2/truncate.cif (i < direct_block) {
i107fs/ext2/truncate.cint i, tmp;
i132fs/ext2/truncate.cfor (i = indirect_block ; i < addr_per_block ; i++) {
i133fs/ext2/truncate.cif (i < 0)
i134fs/ext2/truncate.ci = 0;
i135fs/ext2/truncate.cif (i < indirect_block)
i137fs/ext2/truncate.cind = i + (u32 *) ind_bh->b_data;
i147fs/ext2/truncate.cif (i < indirect_block) {
i180fs/ext2/truncate.cfor (i = 0; i < addr_per_block; i++)
i183fs/ext2/truncate.cif (i >= addr_per_block)
i204fs/ext2/truncate.cint i, tmp;
i226fs/ext2/truncate.cfor (i = dindirect_block ; i < addr_per_block ; i++) {
i227fs/ext2/truncate.cif (i < 0)
i228fs/ext2/truncate.ci = 0;
i229fs/ext2/truncate.cif (i < dindirect_block)
i231fs/ext2/truncate.cdind = i + (u32 *) dind_bh->b_data;
i235fs/ext2/truncate.cretry |= trunc_indirect (inode, offset + (i * addr_per_block),
i240fs/ext2/truncate.cfor (i = 0; i < addr_per_block; i++)
i243fs/ext2/truncate.cif (i >= addr_per_block)
i263fs/ext2/truncate.cint i, tmp;
i287fs/ext2/truncate.cfor (i = tindirect_block ; i < addr_per_block ; i++) {
i288fs/ext2/truncate.cif (i < 0)
i289fs/ext2/truncate.ci = 0;
i290fs/ext2/truncate.cif (i < tindirect_block)
i292fs/ext2/truncate.ctind = i + (u32 *) tind_bh->b_data;
i294fs/ext2/truncate.caddr_per_block + (i + 1) * addr_per_block * addr_per_block,
i299fs/ext2/truncate.cfor (i = 0; i < addr_per_block; i++)
i302fs/ext2/truncate.cif (i >= addr_per_block)
i46fs/file_table.cint i;
i53fs/file_table.cnr_files+=i= PAGE_SIZE/sizeof(struct file);
i56fs/file_table.cfile->f_next = file->f_prev = first_file = file++, i--;
i58fs/file_table.cfor (; i ; i--)
i70fs/file_table.cint i;
i76fs/file_table.cfor (f = first_file, i=0; i < nr_files; i++, f = f->f_next)
i846fs/hpfs/hpfs_fs.cunsigned i, count;
i854fs/hpfs/hpfs_fs.cfor (i = 0; i < 8 * 2048; i++)
i855fs/hpfs/hpfs_fs.ccount += (test_bit(i, bits) != 0);
i1038fs/hpfs/hpfs_fs.cint i;
i1048fs/hpfs/hpfs_fs.cfor (i = 0; i < b->n_used_nodes; i++) {
i1049fs/hpfs/hpfs_fs.cunsigned t = file_secno - n[i].file_secno;
i1050fs/hpfs/hpfs_fs.cif (t < n[i].length) {
i1051fs/hpfs/hpfs_fs.cinode->i_hpfs_file_sec = n[i].file_secno;
i1052fs/hpfs/hpfs_fs.cinode->i_hpfs_disk_sec = n[i].disk_secno;
i1053fs/hpfs/hpfs_fs.cinode->i_hpfs_n_secs = n[i].length;
i1054fs/hpfs/hpfs_fs.creturn n[i].disk_secno + t;
i1066fs/hpfs/hpfs_fs.cfor (i = 0; i < b->n_used_nodes; i++) {
i1067fs/hpfs/hpfs_fs.cif (file_secno < n[i].file_secno) {
i1069fs/hpfs/hpfs_fs.canode_secno ano = n[i].down;
i1542fs/hpfs/hpfs_fs.cint i;
i1549fs/hpfs/hpfs_fs.cfor (i = 1; de < de_end; i++, de = de_next_de(de)) {
i1550fs/hpfs/hpfs_fs.cif (i == n)
i24fs/inode.cstatic inline int const hashfn(dev_t dev, unsigned int i)
i26fs/inode.creturn (dev ^ i) % NR_IHASH;
i29fs/inode.cstatic inline struct inode_hash_entry * const hash(dev_t dev, int i)
i31fs/inode.creturn hash_table + hashfn(dev, i);
i92fs/inode.cint i;
i97fs/inode.ci=PAGE_SIZE / sizeof(struct inode);
i98fs/inode.cnr_inodes += i;
i99fs/inode.cnr_free_inodes += i;
i102fs/inode.cinode->i_next = inode->i_prev = first_inode = inode++, i--;
i104fs/inode.cfor ( ; i ; i-- )
i165fs/inode.cint i;
i168fs/inode.cfor (i = nr_inodes ; i > 0 ; i--) {
i183fs/inode.cint i;
i186fs/inode.cfor (i=0 ; i < nr_inodes ; i++, inode = inode->i_next) {
i199fs/inode.cint i;
i202fs/inode.cfor (file = first_file, i=0; i<nr_files; i++, file=file->f_next) {
i342fs/inode.cint i;
i345fs/inode.cfor(i = nr_inodes ; i > 0 ; i--) {
i360fs/inode.cint i;
i364fs/inode.cfor(i = 0; i < nr_inodes*2; i++, inode = inode->i_next) {
i421fs/inode.cint i;
i428fs/inode.cfor (i = 0; i<nr_inodes; inode = inode->i_next, i++) {
i72fs/isofs/dir.cunsigned int block,offset,i, j;
i151fs/isofs/dir.ci = 1;
i163fs/isofs/dir.ci = 2;
i200fs/isofs/dir.ci = dlen;
i210fs/isofs/dir.ci = dlen;
i217fs/isofs/dir.cfor (i = 0; i < dlen && i < NAME_MAX; i++) {
i218fs/isofs/dir.cif (!(c = dpnt1[i])) break;
i220fs/isofs/dir.cif (c == '.' && i == dlen-3 && de->name[i+1] == ';' && de->name[i+2] == '1')
i222fs/isofs/dir.cif (c == ';' && i == dlen-2 && de->name[i+1] == '1') 
i225fs/isofs/dir.cdpnt[i] = c;
i228fs/isofs/dir.cfor(j=0; j<i; j++)
i235fs/isofs/dir.cdcache_add(inode, dpnt, i, inode_number);
i238fs/isofs/dir.cprintk("Nchar: %d\n",i);
i247fs/isofs/dir.cif (i) {
i249fs/isofs/dir.cput_fs_byte(0,i+dirent->d_name);
i250fs/isofs/dir.cput_fs_word(i,&dirent->d_reclen);
i252fs/isofs/dir.creturn ROUND_UP(NAME_OFFSET(dirent) + i + 1);
i101fs/isofs/file.cint result, i;
i109fs/isofs/file.cfor(i=0;i<(inode->i_size < ISOFS_BUFFER_SIZE(inode) ? inode->i_size : ISOFS_BUFFER_SIZE(inode));
i110fs/isofs/file.ci++,pnt++){
i161fs/isofs/inode.cint i;
i173fs/isofs/inode.ci=get_blkfops(MAJOR(dev))->ioctl(&inode_fake,
i179fs/isofs/inode.cprintk("isofs.inode: CDROMMULTISESSION: rc=%d\n",i);
i180fs/isofs/inode.cif (i==0)
i186fs/isofs/inode.cif ((i==0)&&(ms_info.xa_flag)) vol_desc_start=ms_info.addr.lba;
i232fs/isofs/inode.cint i = opt.blocksize;
i233fs/isofs/inode.cwhile (i != 1){
i235fs/isofs/inode.ci >>=1;
i426fs/isofs/inode.cint i;
i475fs/isofs/inode.cfor(i=0; i< raw_inode->name_len[0]; i++)
i476fs/isofs/inode.cif(raw_inode->name[i]=='.' || raw_inode->name[i]==';')
i478fs/isofs/inode.cif(i == raw_inode->name_len[0] || raw_inode->name[i] == ';') 
i70fs/isofs/namei.cunsigned int block, i, f_pos, offset, inode_number;
i165fs/isofs/namei.cfor (i = 0; i < dlen; i++) {
i166fs/isofs/namei.cc = dpnt[i];
i168fs/isofs/namei.cif (c == ';' && i == dlen-2 && dpnt[i+1] == '1') {
i173fs/isofs/namei.cde->name[i] = c;
i87fs/isofs/symlink.cint i;
i102fs/isofs/symlink.ci = 0;
i104fs/isofs/symlink.cwhile (i<buflen && (c = pnt[i])) {
i105fs/isofs/symlink.ci++;
i109fs/isofs/symlink.creturn i;
i80fs/isofs/util.cint i;
i82fs/isofs/util.cfor (i = 0; i < 4; i++) {
i83fs/isofs/util.cif (p[i] != p[7-i]) {
i99fs/isofs/util.cint crtime, days, i;
i117fs/isofs/util.cfor (i = 1; i < month; i++)
i118fs/isofs/util.cdays += monlen[i-1];
i26fs/minix/bitmap.cunsigned i, j, end, sum = 0;
i29fs/minix/bitmap.cfor (i=0; (i<numblocks) && numbits; i++) {
i30fs/minix/bitmap.cif (!(bh=map[i])) 
i85fs/minix/bitmap.cint i,j;
i93fs/minix/bitmap.cfor (i=0 ; i<8 ; i++)
i94fs/minix/bitmap.cif ((bh=sb->u.minix_sb.s_zmap[i]) != NULL)
i97fs/minix/bitmap.cif (i>=8 || !bh || j>=8192)
i104fs/minix/bitmap.cj += i*8192 + sb->u.minix_sb.s_firstdatazone-1;
i168fs/minix/bitmap.cint i,j;
i176fs/minix/bitmap.cfor (i=0 ; i<8 ; i++)
i177fs/minix/bitmap.cif ((bh = inode->i_sb->u.minix_sb.s_imap[i]) != NULL)
i190fs/minix/bitmap.cj += i*8192;
i67fs/minix/dir.cunsigned int offset,i,ret;
i94fs/minix/dir.cfor (i = 0; i < info->s_namelen; i++)
i95fs/minix/dir.cif ((c = de->name[i]) != 0)
i96fs/minix/dir.cput_fs_byte(c,i+dirent->d_name);
i99fs/minix/dir.cif (i) {
i101fs/minix/dir.cput_fs_byte(0,i+dirent->d_name);
i102fs/minix/dir.cput_fs_word(i,&dirent->d_reclen);
i105fs/minix/dir.cret = ROUND_UP(NAME_OFFSET(dirent)+i+1);
i87fs/minix/fsync.cint i;
i90fs/minix/fsync.cfor (i = 0; i < 7; i++) {
i91fs/minix/fsync.crc = sync_block (inode, inode->u.minix_i.i_data + i, wait);
i102fs/minix/fsync.cint i;
i110fs/minix/fsync.cfor (i = 0; i < addr_per_block; i++) {
i112fs/minix/fsync.c((unsigned short *) ind_bh->b_data) + i,
i126fs/minix/fsync.cint i;
i134fs/minix/fsync.cfor (i = 0; i < addr_per_block; i++) {
i136fs/minix/fsync.c((unsigned short *) dind_bh->b_data) + i,
i60fs/minix/inode.cint i;
i68fs/minix/inode.cfor(i = 0 ; i < MINIX_I_MAP_SLOTS ; i++)
i69fs/minix/inode.cbrelse(sb->u.minix_sb.s_imap[i]);
i70fs/minix/inode.cfor(i = 0 ; i < MINIX_Z_MAP_SLOTS ; i++)
i71fs/minix/inode.cbrelse(sb->u.minix_sb.s_zmap[i]);
i129fs/minix/inode.cint i,dev=s->s_dev,block;
i172fs/minix/inode.cfor (i=0;i < MINIX_I_MAP_SLOTS;i++)
i173fs/minix/inode.cs->u.minix_sb.s_imap[i] = NULL;
i174fs/minix/inode.cfor (i=0;i < MINIX_Z_MAP_SLOTS;i++)
i175fs/minix/inode.cs->u.minix_sb.s_zmap[i] = NULL;
i177fs/minix/inode.cfor (i=0 ; i < s->u.minix_sb.s_imap_blocks ; i++)
i178fs/minix/inode.cif ((s->u.minix_sb.s_imap[i]=bread(dev,block,BLOCK_SIZE)) != NULL)
i182fs/minix/inode.cfor (i=0 ; i < s->u.minix_sb.s_zmap_blocks ; i++)
i183fs/minix/inode.cif ((s->u.minix_sb.s_zmap[i]=bread(dev,block,BLOCK_SIZE)) != NULL)
i188fs/minix/inode.cfor(i=0;i<MINIX_I_MAP_SLOTS;i++)
i189fs/minix/inode.cbrelse(s->u.minix_sb.s_imap[i]);
i190fs/minix/inode.cfor(i=0;i<MINIX_Z_MAP_SLOTS;i++)
i191fs/minix/inode.cbrelse(s->u.minix_sb.s_zmap[i]);
i260fs/minix/inode.cint i;
i274fs/minix/inode.ci = inode_bmap(inode,7);
i275fs/minix/inode.cif (!i)
i277fs/minix/inode.creturn block_bmap(bread(inode->i_dev,i,BLOCK_SIZE),block);
i280fs/minix/inode.ci = inode_bmap(inode,8);
i281fs/minix/inode.cif (!i)
i283fs/minix/inode.ci = block_bmap(bread(inode->i_dev,i,BLOCK_SIZE),block>>9);
i284fs/minix/inode.cif (!i)
i286fs/minix/inode.creturn block_bmap(bread(inode->i_dev,i,BLOCK_SIZE),block & 511);
i154fs/minix/namei.cint i;
i197fs/minix/namei.cfor (i = 0; i < info->s_namelen ; i++)
i198fs/minix/namei.cde->name[i] = (i < namelen) ? name[i] : 0;
i549fs/minix/namei.cint i;
i566fs/minix/namei.ci = 0;
i567fs/minix/namei.cwhile (i < 1023 && (c=*(symname++)))
i568fs/minix/namei.cname_block->b_data[i++] = c;
i569fs/minix/namei.cname_block->b_data[i] = 0;
i572fs/minix/namei.cinode->i_size = i;
i583fs/minix/namei.ci = minix_add_entry(dir, name, len, &bh, &de);
i584fs/minix/namei.cif (i) {
i589fs/minix/namei.creturn i;
i86fs/minix/symlink.cint i;
i99fs/minix/symlink.ci = 0;
i100fs/minix/symlink.cwhile (i<buflen && (c = bh->b_data[i])) {
i101fs/minix/symlink.ci++;
i105fs/minix/symlink.creturn i;
i34fs/minix/truncate.cint i, tmp;
i39fs/minix/truncate.cfor (i = DIRECT_BLOCK ; i < 7 ; i++) {
i40fs/minix/truncate.cp = i + inode->u.minix_i.i_data;
i44fs/minix/truncate.cif (i < DIRECT_BLOCK) {
i64fs/minix/truncate.cint i, tmp;
i83fs/minix/truncate.cfor (i = INDIRECT_BLOCK ; i < 512 ; i++) {
i84fs/minix/truncate.cif (i < 0)
i85fs/minix/truncate.ci = 0;
i86fs/minix/truncate.cif (i < INDIRECT_BLOCK)
i88fs/minix/truncate.cind = i+(unsigned short *) ind_bh->b_data;
i93fs/minix/truncate.cif (i < INDIRECT_BLOCK) {
i108fs/minix/truncate.cfor (i = 0; i < 512; i++)
i111fs/minix/truncate.cif (i >= 512)
i125fs/minix/truncate.cint i, tmp;
i144fs/minix/truncate.cfor (i = DINDIRECT_BLOCK ; i < 512 ; i ++) {
i145fs/minix/truncate.cif (i < 0)
i146fs/minix/truncate.ci = 0;
i147fs/minix/truncate.cif (i < DINDIRECT_BLOCK)
i149fs/minix/truncate.cdind = i+(unsigned short *) dind_bh->b_data;
i150fs/minix/truncate.cretry |= trunc_indirect(inode,7+512+(i<<9),dind);
i154fs/minix/truncate.cfor (i = 0; i < 512; i++)
i157fs/minix/truncate.cif (i >= 512)
i141fs/msdos/buffer.cint i;
i142fs/msdos/buffer.cfor (i=0; i<nbreq; i++){
i143fs/msdos/buffer.ctmp[i] = bh[i]->b_next;
i72fs/msdos/dir.cint ino,i,i2,last;
i83fs/msdos/dir.cfor (i = 0; *walk; walk++)
i84fs/msdos/dir.cput_fs_byte(*walk,dirent->d_name+i++);
i86fs/msdos/dir.cput_fs_byte(0,dirent->d_name+i);
i87fs/msdos/dir.cput_fs_word(i,&dirent->d_reclen);
i88fs/msdos/dir.creturn ROUND_UP(NAME_OFFSET(dirent) + i + 1);
i97fs/msdos/dir.cfor (i = last = 0; i < 8; i++) {
i98fs/msdos/dir.cif (!(c = de->name[i])) break;
i101fs/msdos/dir.clast = i+1;
i102fs/msdos/dir.cptname[i] = c;
i104fs/msdos/dir.ci = last;
i105fs/msdos/dir.cptname[i] = '.';
i106fs/msdos/dir.ci++;
i111fs/msdos/dir.clast = i+1;
i112fs/msdos/dir.cptname[i] = c;
i113fs/msdos/dir.ci++;
i115fs/msdos/dir.cif ((i = last) != 0) {
i120fs/msdos/dir.cbufname[i] = '\0';
i122fs/msdos/dir.cmemcpy_tofs(dirent->d_name,bufname,i+1);
i123fs/msdos/dir.cput_fs_word(i,&dirent->d_reclen);
i126fs/msdos/dir.cPRINTK (("readdir retourne %d\n",i));
i127fs/msdos/dir.creturn ROUND_UP(NAME_OFFSET(dirent) + i + 1);
i131fs/msdos/file.cint i;
i132fs/msdos/file.cfor (i=0; i<nb; i++){
i147fs/msdos/file.cfor (i=pre->nblist; i<MSDOS_PREFETCH; i++) pre->bhlist[i] = NULL;
i162fs/msdos/file.cint i;
i257fs/msdos/file.cfor (i=0; i<pre.nblist; i++) brelse (pre.bhlist[i]);
i56fs/namei.cint i, error;
i60fs/namei.ci = get_max_filename((unsigned long) filename);
i61fs/namei.cif (i < 0)
i62fs/namei.creturn i;
i64fs/namei.cif (!i) {
i66fs/namei.ci = PAGE_SIZE;
i74fs/namei.cwhile (--i) {
i102fs/nfs/dir.cint i;
i113fs/nfs/dir.ci = sizeof (struct nfs_entry)*NFS_READDIR_CACHE_SIZE;
i114fs/nfs/dir.cc_entry = (struct nfs_entry *) kmalloc(i, GFP_KERNEL);
i115fs/nfs/dir.cfor (i = 0; i < NFS_READDIR_CACHE_SIZE; i++) {
i116fs/nfs/dir.cc_entry[i].name = (char *) kmalloc(NFS_MAXNAMLEN + 1,
i125fs/nfs/dir.cfor (i = 0; i < c_size; i++) {
i126fs/nfs/dir.cif (filp->f_pos == c_entry[i].cookie) {
i127fs/nfs/dir.cif (i == c_size - 1) {
i128fs/nfs/dir.cif (c_entry[i].eof)
i132fs/nfs/dir.centry = c_entry + i + 1;
i158fs/nfs/dir.ci = strlen(entry->name);
i159fs/nfs/dir.cmemcpy_tofs(dirent->d_name, entry->name, i + 1);
i161fs/nfs/dir.cput_fs_word(i, &dirent->d_reclen);
i163fs/nfs/dir.creturn ROUND_UP(NAME_OFFSET(dirent)+i+1);
i194fs/nfs/dir.cint i;
i196fs/nfs/dir.cfor (i = 0; i < NFS_LOOKUP_CACHE_SIZE; i++) {
i197fs/nfs/dir.centry = nfs_lookup_cache + i;
i260fs/nfs/dir.cint i;
i272fs/nfs/dir.cfor (i = 0; i < NFS_LOOKUP_CACHE_SIZE; i++) {
i273fs/nfs/dir.centry = nfs_lookup_cache + i;
i285fs/nfs/dir.cint i;
i287fs/nfs/dir.cfor (i = 0; i < NFS_LOOKUP_CACHE_SIZE; i++) {
i288fs/nfs/dir.centry = nfs_lookup_cache + i;
i101fs/nfs/file.cint result, hunk, i, n, fs;
i122fs/nfs/file.cfor (i = 0; i < READ_CACHE_SIZE; i++)
i123fs/nfs/file.cif ((cache[i].inode_num == inode->i_ino)
i124fs/nfs/file.c&& (cache[i].file_pos <= pos)
i125fs/nfs/file.c&& (cache[i].file_pos + cache[i].len >= pos + count)
i126fs/nfs/file.c&& (abs(jiffies - cache[i].time) <= EXPIRE_CACHE))
i128fs/nfs/file.cif (i < READ_CACHE_SIZE) {
i129fs/nfs/file.c++cache[i].in_use;
i132fs/nfs/file.cmemcpy_tofs(buf, cache[i].buf + pos - cache[i].file_pos, count);
i133fs/nfs/file.c--cache[i].in_use;
i139fs/nfs/file.cfor (i = 0; i < count - n; i += n) {
i149fs/nfs/file.creturn i + result;
i164fs/nfs/file.chunk = count - i;
i170fs/nfs/file.creturn i + hunk;
i190fs/nfs/file.creturn i + hunk;
i196fs/nfs/file.cint result, hunk, i, n, pos;
i213fs/nfs/file.cfor (i = 0; i < READ_CACHE_SIZE; i++)
i214fs/nfs/file.cif(cache[i].inode_num == inode->i_ino)
i215fs/nfs/file.ccache[i].time -= EXPIRE_CACHE;
i222fs/nfs/file.cfor (i = 0; i < count; i += n) {
i223fs/nfs/file.chunk = count - i;
i233fs/nfs/file.ci += hunk;
i239fs/nfs/file.creturn i;
i40fs/nfs/mmap.cint i;
i54fs/nfs/mmap.cfor (i = 0; i < (PAGE_SIZE - clear); i += n) {
i57fs/nfs/mmap.chunk = PAGE_SIZE - i;
i61fs/nfs/mmap.cpos, hunk, (char *) (page + i), &fattr, 0);
i66fs/nfs/mmap.ci += result;
i83fs/nfs/proc.cint *i;
i85fs/nfs/proc.cwhile (!(i = (int *)kmalloc(size+NFS_SLACK_SPACE,GFP_NFS))) {
i88fs/nfs/proc.creturn i;
i735fs/nfs/proc.cint i;
i755fs/nfs/proc.cfor (i = 0; i < count && *p++; i++) {
i764fs/nfs/proc.ceof = (i == count && !*p++ && *p++)
i765fs/nfs/proc.c|| (i < count && *p++);
i766fs/nfs/proc.cif (eof && i)
i768fs/nfs/proc.cPRINTK("NFS reply readdir %d %s\n", i,
i770fs/nfs/proc.cstatus = i;
i828fs/nfs/proc.cint i;
i849fs/nfs/proc.cfor (i = 0; i < 16 && i < NGROUPS && current->groups[i] != NOGROUP; i++)
i850fs/nfs/proc.c*p++ = htonl(current->groups[i]);
i851fs/nfs/proc.c*p2 = htonl(i);
i926fs/nfs/proc.cint i;
i928fs/nfs/proc.cfor (i = 0; nfs_errtbl[i].stat != -1; i++) {
i929fs/nfs/proc.cif (nfs_errtbl[i].stat == stat)
i930fs/nfs/proc.creturn nfs_errtbl[i].errno;
i933fs/nfs/proc.creturn nfs_errtbl[i].errno;
i384fs/pipe.cint i,j;
i397fs/pipe.cfor(i=0;j<2 && i<NR_OPEN && i<current->rlim[RLIMIT_NOFILE].rlim_cur;i++)
i398fs/pipe.cif (!current->files->fd[i]) {
i399fs/pipe.ccurrent->files->fd[ fd[j]=i ] = f[j];
i153fs/proc/array.cint i=prof_len;
i155fs/proc/array.cwhile (i--)
i156fs/proc/array.cprof_buffer[i]=0UL;
i188fs/proc/array.cint i, len;
i191fs/proc/array.cfor (i = 0 ; i < 16 ; i++)
i192fs/proc/array.csum += kstat.interrupts[i];
i212fs/proc/array.cfor (i = 0 ; i < 16 ; i++)
i213fs/proc/array.clen += sprintf(buffer + len, " %u", kstat.interrupts[i]);
i257fs/proc/array.cstruct sysinfo i;
i259fs/proc/array.csi_meminfo(&i);
i260fs/proc/array.csi_swapinfo(&i);
i264fs/proc/array.ci.totalram, i.totalram-i.freeram, i.freeram, i.sharedram, i.bufferram,
i265fs/proc/array.ci.totalswap, i.totalswap-i.freeswap, i.freeswap);
i453fs/proc/array.cint i,tty_pgrp;
i472fs/proc/array.cfor(i=0; i<32; ++i) {
i473fs/proc/array.cswitch((unsigned long) (*p)->sigaction[i].sa_handler) {
i664fs/proc/array.cint i;
i677fs/proc/array.cfor (map = (*p)->mm->mmap, i = 0; map && (i < lineno); map = map->vm_next, i++)
i718fs/proc/array.ci = len-column;
i719fs/proc/array.cif (i > count)
i720fs/proc/array.ci = count;
i721fs/proc/array.cmemcpy_tofs(destptr, line+column, i);
i722fs/proc/array.cdestptr += i; count -= i;
i723fs/proc/array.ccolumn += i;
i86fs/proc/base.cint i;
i97fs/proc/base.ci = NR_BASE_DIRENTRY;
i98fs/proc/base.cwhile (i-- > 0 && !proc_match(len,name,base_dir+i))
i100fs/proc/base.cif (i < 0) {
i104fs/proc/base.cif (base_dir[i].low_ino == 1)
i107fs/proc/base.cino = (pid << 16) + base_dir[i].low_ino;
i108fs/proc/base.cfor (i = 0 ; i < NR_TASKS ; i++)
i109fs/proc/base.cif (task[i] && task[i]->pid == pid)
i111fs/proc/base.cif (!pid || i >= NR_TASKS) {
i128fs/proc/base.cint i,j;
i134fs/proc/base.cfor (i = 0 ; i < NR_TASKS ; i++)
i135fs/proc/base.cif (task[i] && task[i]->pid == pid)
i137fs/proc/base.cif (!pid || i >= NR_TASKS)
i142fs/proc/base.ci = de->namelen;
i147fs/proc/base.cput_fs_word(i,&dirent->d_reclen);
i148fs/proc/base.cput_fs_byte(0,i+dirent->d_name);
i149fs/proc/base.cj = i;
i150fs/proc/base.cwhile (i--)
i151fs/proc/base.cput_fs_byte(de->name[i], i+dirent->d_name);
i59fs/proc/fd.cint i;
i101fs/proc/fd.cfor (i = 0 ; i < NR_TASKS ; i++)
i102fs/proc/fd.cif ((p = task[i]) && p->pid == pid)
i104fs/proc/fd.cif (!pid || i >= NR_TASKS)
i122fs/proc/fd.cint i,j;
i135fs/proc/fd.ci = j = fd+1;
i141fs/proc/fd.cput_fs_word(i, &dirent->d_reclen);
i142fs/proc/fd.cput_fs_byte(0, i+dirent->d_name);
i143fs/proc/fd.cwhile (i--)
i144fs/proc/fd.cput_fs_byte('.', i+dirent->d_name);
i148fs/proc/fd.cfor (i = 1 ; i < NR_TASKS ; i++)
i149fs/proc/fd.cif ((p = task[i]) && p->pid == pid)
i151fs/proc/fd.cif (i >= NR_TASKS)
i160fs/proc/fd.ci = 1;
i163fs/proc/fd.ci++;
i165fs/proc/fd.cj = i;
i169fs/proc/fd.cput_fs_word(i, &dirent->d_reclen);
i170fs/proc/fd.cput_fs_byte(0, i+dirent->d_name);
i171fs/proc/fd.cwhile (i--) {
i172fs/proc/fd.cput_fs_byte('0'+(fd % 10), i+dirent->d_name);
i113fs/proc/inode.cint i;
i127fs/proc/inode.cfor (i = 0; i < NR_TASKS ; i++)
i128fs/proc/inode.cif ((p = task[i]) && (p->pid == pid))
i130fs/proc/inode.cif (!p || i >= NR_TASKS)
i135fs/proc/inode.cfor (i = 1 ; i < NR_TASKS ; i++)
i136fs/proc/inode.cif (task[i])
i69fs/proc/link.cint  i, fd;
i83fs/proc/link.cfor (i = 0 ; i < NR_TASKS ; i++)
i84fs/proc/link.cif ((p = task[i]) && p->pid == pid)
i87fs/proc/link.cif ((i >= NR_TASKS) ||
i107fs/proc/link.cint i, error;
i121fs/proc/link.cfor (i = 0 ; i < NR_TASKS ; i++)
i122fs/proc/link.cif ((p = task[i]) && p->pid == pid)
i124fs/proc/link.cif (i >= NR_TASKS) {
i173fs/proc/link.cint i;
i181fs/proc/link.ci = proc_follow_link(NULL, inode, 0, 0, &inode);
i182fs/proc/link.cif (i)
i183fs/proc/link.creturn i;
i189fs/proc/link.ci = sprintf(buf,"[%04x]:%u", dev, ino);
i190fs/proc/link.cif (buflen > i)
i191fs/proc/link.cbuflen = i;
i192fs/proc/link.ci = 0;
i193fs/proc/link.cwhile (i < buflen)
i194fs/proc/link.cput_fs_byte(buf[i++],buffer++);
i195fs/proc/link.creturn i;
i36fs/proc/mem.cint i;
i43fs/proc/mem.cfor (i = 1 ; i < NR_TASKS ; i++)
i44fs/proc/mem.cif (task[i] && task[i]->pid == pid) {
i45fs/proc/mem.ctsk = task[i];
i75fs/proc/mem.ci = PAGE_SIZE-(addr & ~PAGE_MASK);
i76fs/proc/mem.cif (i > count)
i77fs/proc/mem.ci = count;
i78fs/proc/mem.cmemcpy_tofs(tmp, page, i);
i79fs/proc/mem.caddr += i;
i80fs/proc/mem.ctmp += i;
i81fs/proc/mem.ccount -= i;
i98fs/proc/mem.cint i;
i106fs/proc/mem.cfor (i = 1 ; i < NR_TASKS ; i++)
i107fs/proc/mem.cif (task[i] && task[i]->pid == pid) {
i108fs/proc/mem.ctsk = task[i];
i139fs/proc/mem.ci = PAGE_SIZE-(addr & ~PAGE_MASK);
i140fs/proc/mem.cif (i > count)
i141fs/proc/mem.ci = count;
i142fs/proc/mem.cmemcpy_fromfs(page, tmp, i);
i143fs/proc/mem.caddr += i;
i144fs/proc/mem.ctmp += i;
i145fs/proc/mem.ccount -= i;
i183fs/proc/mem.cint i;
i188fs/proc/mem.cfor (i = 1 ; i < NR_TASKS ; i++)
i189fs/proc/mem.cif (task[i] && task[i]->pid == (inode->i_ino >> 16)) {
i190fs/proc/mem.ctsk = task[i];
i214fs/proc/net.cint i,j;
i222fs/proc/net.ci = de->namelen;
i225fs/proc/net.cput_fs_word(i,&dirent->d_reclen);
i226fs/proc/net.cput_fs_byte(0,i+dirent->d_name);
i227fs/proc/net.cj = i;
i228fs/proc/net.cwhile (i--)
i229fs/proc/net.cput_fs_byte(de->name[i], i+dirent->d_name);
i91fs/proc/root.cint i, ino;
i100fs/proc/root.ci = NR_ROOT_DIRENTRY;
i101fs/proc/root.cwhile (i-- > 0 && !proc_match(len,name,root_dir+i))
i103fs/proc/root.cif (i >= 0) {
i104fs/proc/root.cino = root_dir[i].low_ino;
i127fs/proc/root.cfor (i = 0 ; i < NR_TASKS ; i++)
i128fs/proc/root.cif (task[i] && task[i]->pid == pid)
i130fs/proc/root.cif (!pid || i >= NR_TASKS) {
i149fs/proc/root.cint i,j;
i159fs/proc/root.ci = de->namelen;
i161fs/proc/root.cput_fs_word(i,&dirent->d_reclen);
i162fs/proc/root.cput_fs_byte(0,i+dirent->d_name);
i163fs/proc/root.cj = i;
i164fs/proc/root.cwhile (i--)
i165fs/proc/root.cput_fs_byte(de->name[i], i+dirent->d_name);
i178fs/proc/root.ci = 1;
i181fs/proc/root.ci++;
i183fs/proc/root.cj = i;
i185fs/proc/root.cput_fs_word(i, &dirent->d_reclen);
i186fs/proc/root.cput_fs_byte(0, i+dirent->d_name);
i187fs/proc/root.cwhile (i--) {
i188fs/proc/root.cput_fs_byte('0'+(pid % 10), i+dirent->d_name);
i92fs/select.cint i,j;
i96fs/select.ci = j << 5;
i97fs/select.cif (i >= n)
i100fs/select.cfor ( ; set ; i++,set >>= 1) {
i101fs/select.cif (i >= n)
i105fs/select.cif (!current->files->fd[i])
i107fs/select.cif (!current->files->fd[i]->f_inode)
i109fs/select.cmax = i;
i125fs/select.cfor (i = 0 ; i < n ; i++) {
i126fs/select.cif (FD_ISSET(i,in) && check(SEL_IN,wait,current->files->fd[i])) {
i127fs/select.cFD_SET(i, res_in);
i131fs/select.cif (FD_ISSET(i,out) && check(SEL_OUT,wait,current->files->fd[i])) {
i132fs/select.cFD_SET(i, res_out);
i136fs/select.cif (FD_ISSET(i,ex) && check(SEL_EX,wait,current->files->fd[i])) {
i137fs/select.cFD_SET(i, res_ex);
i205fs/select.cint i;
i213fs/select.ci = verify_area(VERIFY_READ, buffer, 20);
i214fs/select.cif (i)
i215fs/select.creturn i;
i225fs/select.cif ((i = get_fd_set(n, inp, &in)) ||
i226fs/select.c(i = get_fd_set(n, outp, &out)) ||
i227fs/select.c(i = get_fd_set(n, exp, &ex))) return i;
i230fs/select.ci = verify_area(VERIFY_WRITE, tvp, sizeof(*tvp));
i231fs/select.cif (i)
i232fs/select.creturn i;
i239fs/select.ci = do_select(n, &in, &out, &ex, &res_in, &res_out, &res_ex);
i251fs/select.cif (i < 0)
i252fs/select.creturn i;
i253fs/select.cif (!i && (current->signal & ~current->blocked))
i258fs/select.creturn i;
i303fs/super.cint i;
i305fs/super.cfor (i = 1; i < 256; i++) {
i306fs/super.cif (!set_bit(i,unnamed_dev_in_use))
i307fs/super.creturn (UNNAMED_MAJOR << 8) | i;
i513fs/super.cint i;
i524fs/super.ci = vma->vm_end - (unsigned long) data;
i525fs/super.cif (PAGE_SIZE <= (unsigned long) i)
i526fs/super.ci = PAGE_SIZE-1;
i530fs/super.cmemcpy_fromfs((void *) page,data,i);
i236fs/sysv/balloc.cint i;
i242fs/sysv/balloc.cfor (i = *sb->sv_sb_flc_count ; /* i > 0 */ ; ) {
i243fs/sysv/balloc.cblock = sb->sv_sb_flc_blocks[--i];
i249fs/sysv/balloc.cif (i == 0)
i294fs/sysv/balloc.cfor (i = *flc_count ; /* i > 0 */ ; ) {
i295fs/sysv/balloc.cblock = flc_blocks[--i];
i301fs/sysv/balloc.cif (i == 0)
i75fs/sysv/dir.cunsigned int offset,i;
i105fs/sysv/dir.cfor (i = 0; i < SYSV_NAMELEN; i++)
i106fs/sysv/dir.cif ((c = sde.name[i]) != 0)
i107fs/sysv/dir.cput_fs_byte(c,i+dirent->d_name);
i110fs/sysv/dir.cif (i) {
i115fs/sysv/dir.cput_fs_byte(0,i+dirent->d_name);
i116fs/sysv/dir.cput_fs_word(i,&dirent->d_reclen);
i118fs/sysv/dir.creturn ROUND_UP(NAME_OFFSET(dirent)+i+1);
i95fs/sysv/fsync.cint i;
i98fs/sysv/fsync.cfor (i = 0; i < 10; i++) {
i99fs/sysv/fsync.crc = sync_block (inode, inode->u.sysv_i.i_data + i, 0, wait);
i110fs/sysv/fsync.cint i;
i120fs/sysv/fsync.cfor (i = 0; i < sb->sv_ind_per_block; i++) {
i122fs/sysv/fsync.c((unsigned long *) ind_bh->b_data) + i, sb->sv_convert,
i136fs/sysv/fsync.cint i;
i146fs/sysv/fsync.cfor (i = 0; i < sb->sv_ind_per_block; i++) {
i148fs/sysv/fsync.c((unsigned long *) dind_bh->b_data) + i, sb->sv_convert,
i162fs/sysv/fsync.cint i;
i172fs/sysv/fsync.cfor (i = 0; i < sb->sv_ind_per_block; i++) {
i174fs/sysv/fsync.c((unsigned long *) tind_bh->b_data) + i, sb->sv_convert,
i42fs/sysv/ialloc.cstatic inline sysv_ino_t * sv_sb_fic_inode (struct super_block * sb, unsigned int i)
i45fs/sysv/ialloc.creturn &sb->sv_sb_fic_inodes[i];
i48fs/sysv/ialloc.cunsigned int offset = offsetof(struct xenix_super_block, s_inode[i]);
i112fs/sysv/ialloc.cint i,j,ino,block;
i130fs/sysv/ialloc.cfor (i = 0, ino = SYSV_ROOT_INO+1, block = sb->sv_firstinodezone, j = SYSV_ROOT_INO ; i < sb->sv_fic_size && block < sb->sv_firstdatazone ; block++, j = 0) {
i137fs/sysv/ialloc.cfor (; j < sb->sv_inodes_per_block && i < sb->sv_fic_size; ino++, j++, raw_inode++) {
i139fs/sysv/ialloc.c*sv_sb_fic_inode(sb,i++) = ino;
i143fs/sysv/ialloc.cif (i == 0) {
i148fs/sysv/ialloc.c*sb->sv_sb_fic_count = i;
i385fs/sysv/inode.cint i;
i386fs/sysv/inode.cfor (i = 0; i < sizeof(offsets)/sizeof(offsets[0]); i++)
i387fs/sysv/inode.cif ((bh = bread(dev, offsets[i], BLOCK_SIZE)) != NULL) {
i390fs/sysv/inode.csb->sv_block_base = offsets[i] << sb->sv_block_size_ratio_bits;
i394fs/sysv/inode.csb->sv_block_base = offsets[i] << sb->sv_block_size_ratio_bits;
i586fs/sysv/inode.cint i;
i594fs/sysv/inode.ci = inode_bmap(sb,inode,10);
i595fs/sysv/inode.cif (!i)
i597fs/sysv/inode.cbh = bread(inode->i_dev,i,sb->sv_block_size);
i602fs/sysv/inode.ci = inode_bmap(sb,inode,11);
i603fs/sysv/inode.cif (!i)
i605fs/sysv/inode.cbh = bread(inode->i_dev,i,sb->sv_block_size);
i606fs/sysv/inode.ci = block_bmap(sb, bh, block >> sb->sv_ind_per_block_bits, convert);
i607fs/sysv/inode.cif (!i)
i609fs/sysv/inode.cbh = bread(inode->i_dev,i,sb->sv_block_size);
i614fs/sysv/inode.ci = inode_bmap(sb,inode,12);
i615fs/sysv/inode.cif (!i)
i617fs/sysv/inode.cbh = bread(inode->i_dev,i,sb->sv_block_size);
i618fs/sysv/inode.ci = block_bmap(sb, bh, block >> sb->sv_ind_per_block_2_bits, convert);
i619fs/sysv/inode.cif (!i)
i621fs/sysv/inode.cbh = bread(inode->i_dev,i,sb->sv_block_size);
i622fs/sysv/inode.ci = block_bmap(sb, bh, (block >> sb->sv_ind_per_block_bits) & sb->sv_ind_per_block_1,convert);
i623fs/sysv/inode.cif (!i)
i625fs/sysv/inode.cbh = bread(inode->i_dev,i,sb->sv_block_size);
i987fs/sysv/inode.cint i;
i989fs/sysv/inode.cfor (i = 0; i < 3; i++)
i990fs/sysv/inode.cregister_filesystem(&sysv_fs_type[i]);
i997fs/sysv/inode.cint i;
i999fs/sysv/inode.cfor (i = 0; i < 3; i++)
i1000fs/sysv/inode.cunregister_filesystem(&sysv_fs_type[i]);
i151fs/sysv/namei.cint i;
i192fs/sysv/namei.cfor (i = 0; i < SYSV_NAMELEN ; i++)
i193fs/sysv/namei.cde->name[i] = (i < namelen) ? name[i] : 0;
i541fs/sysv/namei.cint i;
i561fs/sysv/namei.ci = 0;
i562fs/sysv/namei.cwhile (i < sb->sv_block_size_1 && (c = *(symname++)))
i563fs/sysv/namei.cname_block_data[i++] = c;
i564fs/sysv/namei.cname_block_data[i] = 0;
i567fs/sysv/namei.cinode->i_size = i;
i578fs/sysv/namei.ci = sysv_add_entry(dir, name, len, &bh, &de);
i579fs/sysv/namei.cif (i) {
i584fs/sysv/namei.creturn i;
i93fs/sysv/symlink.cint i;
i107fs/sysv/symlink.ci = 0;
i108fs/sysv/symlink.cwhile (i<buflen && (c = bh_data[i])) {
i109fs/sysv/symlink.ci++;
i113fs/sysv/symlink.creturn i;
i47fs/sysv/truncate.cunsigned int i;
i55fs/sysv/truncate.cfor (i = ((unsigned long) inode->i_size + sb->sv_block_size_1) >> sb->sv_block_size_bits; i < 10; i++) {
i56fs/sysv/truncate.cp = inode->u.sysv_i.i_data + i;
i61fs/sysv/truncate.cif ((i << sb->sv_block_size_bits) < inode->i_size) {
i83fs/sysv/truncate.cunsigned int i;
i107fs/sysv/truncate.ci = 0;
i109fs/sysv/truncate.ci = (inode->i_size - offset + sb->sv_block_size_1) >> sb->sv_block_size_bits;
i110fs/sysv/truncate.cfor (; i < sb->sv_ind_per_block; i++) {
i111fs/sysv/truncate.cind = ((sysv_zone_t *) indbh->b_data) + i;
i118fs/sysv/truncate.cif ((i << sb->sv_block_size_bits) + offset < inode->i_size) {
i132fs/sysv/truncate.cfor (i = 0; i < sb->sv_ind_per_block; i++)
i133fs/sysv/truncate.cif (((sysv_zone_t *) indbh->b_data)[i])
i152fs/sysv/truncate.cunsigned int i;
i174fs/sysv/truncate.ci = 0;
i176fs/sysv/truncate.ci = (inode->i_size - offset + sb->sv_ind_per_block_block_size_1) >> sb->sv_ind_per_block_block_size_bits;
i177fs/sysv/truncate.cfor (; i < sb->sv_ind_per_block; i++) {
i178fs/sysv/truncate.cind = ((sysv_zone_t *) indbh->b_data) + i;
i184fs/sysv/truncate.cretry |= trunc_indirect(inode,offset+(i<<sb->sv_ind_per_block_bits),ind,sb->sv_convert,&indbh->b_dirt);
i186fs/sysv/truncate.cfor (i = 0; i < sb->sv_ind_per_block; i++)
i187fs/sysv/truncate.cif (((sysv_zone_t *) indbh->b_data)[i])
i206fs/sysv/truncate.cunsigned int i;
i228fs/sysv/truncate.ci = 0;
i230fs/sysv/truncate.ci = (inode->i_size - offset + sb->sv_ind_per_block_2_block_size_1) >> sb->sv_ind_per_block_2_block_size_bits;
i231fs/sysv/truncate.cfor (; i < sb->sv_ind_per_block; i++) {
i232fs/sysv/truncate.cind = ((sysv_zone_t *) indbh->b_data) + i;
i238fs/sysv/truncate.cretry |= trunc_dindirect(inode,offset+(i<<sb->sv_ind_per_block_2_bits),ind,sb->sv_convert,&indbh->b_dirt);
i240fs/sysv/truncate.cfor (i = 0; i < sb->sv_ind_per_block; i++)
i241fs/sysv/truncate.cif (((sysv_zone_t *) indbh->b_data)[i])
i40fs/umsdos/check.cint i;
i41fs/umsdos/check.cfor (i = 0 ; i < PTRS_PER_PAGE ; i++,page_dir++){
i45fs/umsdos/check.cprintk ("|%d:%08lx| ",i, page_dir->pgd);
i177fs/umsdos/mangle.cint i;
i180fs/umsdos/mangle.cfor (i=0; i<=32; i++) lkp[i] = '#';
i181fs/umsdos/mangle.cfor (i=33; i<'A'; i++) lkp[i] = (char)i;
i182fs/umsdos/mangle.cfor (i='A'; i<='Z'; i++) lkp[i] = (char)(i+('a'-'A'));
i183fs/umsdos/mangle.cfor (i='Z'+1; i<127; i++) lkp[i] = (char)i;
i184fs/umsdos/mangle.cfor (i=128; i<256; i++) lkp[i] = '#';
i286fs/umsdos/mangle.cint i;
i294fs/umsdos/mangle.cfor (i=0; i<msdos_len; i++, pt++) *pt = lkp[(unsigned char)(*pt)];
i357fs/umsdos/mangle.cint i;
i358fs/umsdos/mangle.cfor (i=start_ind_dev[base_len-1]; i<start_ind_dev[base_len]; i++){
i359fs/umsdos/mangle.cif (memcmp(info->fake.fname,tbdev[i],base_len)==0){
i453fs/umsdos/mangle.cint i,rold,rnew;
i455fs/umsdos/mangle.cfor (i=0; i<sizeof(tb)/sizeof(tb[0]); i++){
i456fs/umsdos/mangle.cstruct MANG_TEST *pttb = tb+i;
i471fs/umsdos/mangle.cfor (i=0; i<UMSDOS_MAXNAME ; i++){
i472fs/umsdos/mangle.crnew=umsdos_evalrecsize (i);
i473fs/umsdos/mangle.crold=umsdos_evalrecsize_old (i);
i474fs/umsdos/mangle.cif (!(i%UMSDOS_REC_SIZE)){
i475fs/umsdos/mangle.cprintf ("\n%d:\t",i);
i478fs/umsdos/mangle.cprintf ("**** %d newres: %d != %d \n", i, rnew, rold);
i40fs/xiafs/bitmap.cint end, i, j, tmp;
i47fs/xiafs/bitmap.ci=start_bit >> 5;
i48fs/xiafs/bitmap.cif ( (tmp=(~bmap[i]) & (0xffffffff << (start_bit & 31))) )        
i50fs/xiafs/bitmap.cwhile (++i < end)
i51fs/xiafs/bitmap.cif (~bmap[i]) {
i52fs/xiafs/bitmap.ctmp=~bmap[i];
i55fs/xiafs/bitmap.cif ( !(tmp=~bmap[i] & ((1 << (end_bit & 31)) -1)) )
i61fs/xiafs/bitmap.cif (set_bit(j,bmap+i)) {
i62fs/xiafs/bitmap.cstart_bit=j + (i << 5) + 1;
i66fs/xiafs/bitmap.creturn j + (i << 5);
i71fs/xiafs/bitmap.cregister int i;
i75fs/xiafs/bitmap.cfor (i= bh->b_size >> 2; i-- > 0; )
i83fs/xiafs/bitmap.cint i;
i87fs/xiafs/bitmap.cfor (i=pos; i > 0; i--) {
i88fs/xiafs/bitmap.cbmap[i]=bmap[i-1];
i89fs/xiafs/bitmap.cbznr[i]=bznr[i-1];
i116fs/xiafs/bitmap.cint z_nr, i;
i126fs/xiafs/bitmap.cfor (i=0; i < slots; i++) 
i127fs/xiafs/bitmap.cif (bznr[i]==z_nr)
i129fs/xiafs/bitmap.cif (i < slots) {      /* cache hit */
i131fs/xiafs/bitmap.c*not_que=i;
i132fs/xiafs/bitmap.creturn bmap_buf[i];
i134fs/xiafs/bitmap.cque(bmap_buf, bznr, i);
i345fs/xiafs/bitmap.cint i, tmp;
i349fs/xiafs/bitmap.cfor (i=bh->b_size; i-- > 0; ) {
i350fs/xiafs/bitmap.ctmp=bh->b_data[i];
i359fs/xiafs/bitmap.cint izones, i, not_que;
i364fs/xiafs/bitmap.cfor (i=0; i < izones; i++) {
i365fs/xiafs/bitmap.cbh=get_imap_zone(sb, i << XIAFS_BITS_PER_Z_BITS(sb), &not_que);
i371fs/xiafs/bitmap.ci=izones << XIAFS_BITS_PER_Z_BITS(sb);
i372fs/xiafs/bitmap.creturn i - sum;
i378fs/xiafs/bitmap.cint zzones, i, not_que;
i383fs/xiafs/bitmap.cfor (i=0; i < zzones; i++) {
i384fs/xiafs/bitmap.cbh=get_zmap_zone(sb, i << XIAFS_BITS_PER_Z_BITS(sb), &not_que);
i390fs/xiafs/bitmap.ci=zzones << XIAFS_BITS_PER_Z_BITS(sb);
i391fs/xiafs/bitmap.creturn i - sum;
i75fs/xiafs/dir.cu_int offset, i,ret;
i91fs/xiafs/dir.cfor (i = 0; i < XIAFS_ZSIZE(inode->i_sb) && i < offset; ) {
i92fs/xiafs/dir.cde = (struct xiafs_direct *) (bh->b_data + i);
i95fs/xiafs/dir.ci += de->d_rec_len;
i97fs/xiafs/dir.coffset = i;
i114fs/xiafs/dir.cfor (i = 0; i < de->d_name_len ; i++)
i115fs/xiafs/dir.cput_fs_byte(de->d_name[i],i+dirent->d_name);
i116fs/xiafs/dir.cput_fs_byte(0,i+dirent->d_name);
i118fs/xiafs/dir.cput_fs_word(i,&dirent->d_reclen);
i123fs/xiafs/dir.cret = ROUND_UP(NAME_OFFSET(dirent)+i+1);
i88fs/xiafs/fsync.cint i;
i91fs/xiafs/fsync.cfor (i = 0; i < 8; i++) {
i92fs/xiafs/fsync.crc = sync_block (inode, inode->u.ext_i.i_data + i, wait);
i103fs/xiafs/fsync.cint i;
i111fs/xiafs/fsync.cfor (i = 0; i < addr_per_block; i++) {
i113fs/xiafs/fsync.c((unsigned long *) ind_bh->b_data) + i,
i127fs/xiafs/fsync.cint i;
i135fs/xiafs/fsync.cfor (i = 0; i < addr_per_block; i++) {
i137fs/xiafs/fsync.c((unsigned long *) dind_bh->b_data) + i,
i45fs/xiafs/inode.cint i;
i49fs/xiafs/inode.cfor(i = 0 ; i < _XIAFS_IMAP_SLOTS ; i++)
i50fs/xiafs/inode.cbrelse(sb->u.xiafs_sb.s_imap_buf[i]);
i51fs/xiafs/inode.cfor(i = 0 ; i < _XIAFS_ZMAP_SLOTS ; i++)
i52fs/xiafs/inode.cbrelse(sb->u.xiafs_sb.s_zmap_buf[i]);
i73fs/xiafs/inode.cint i, z, dev;
i123fs/xiafs/inode.cfor (i=0;i < _XIAFS_IMAP_SLOTS;i++) {
i124fs/xiafs/inode.cs->u.xiafs_sb.s_imap_buf[i] = NULL;
i125fs/xiafs/inode.cs->u.xiafs_sb.s_imap_iznr[i] = -1;
i127fs/xiafs/inode.cfor (i=0;i < _XIAFS_ZMAP_SLOTS;i++) {
i128fs/xiafs/inode.cs->u.xiafs_sb.s_zmap_buf[i] = NULL;
i129fs/xiafs/inode.cs->u.xiafs_sb.s_zmap_zznr[i] = -1;
i136fs/xiafs/inode.cfor (i=0 ; i < s->u.xiafs_sb.s_imap_zones ; i++) {
i137fs/xiafs/inode.cif (!(s->u.xiafs_sb.s_imap_buf[i]=bread(dev, z++, XIAFS_ZSIZE(s))))
i139fs/xiafs/inode.cs->u.xiafs_sb.s_imap_iznr[i]=i;
i146fs/xiafs/inode.cfor (i=0 ; i < s->u.xiafs_sb.s_zmap_zones ; i++) {
i147fs/xiafs/inode.cif (!(s->u.xiafs_sb.s_zmap_buf[i]=bread(dev, z++, XIAFS_ZSIZE(s))))
i149fs/xiafs/inode.cs->u.xiafs_sb.s_zmap_zznr[i]=i;
i163fs/xiafs/inode.cfor(i=0; i < _XIAFS_IMAP_SLOTS; i++)
i164fs/xiafs/inode.cbrelse(s->u.xiafs_sb.s_imap_buf[i]);
i165fs/xiafs/inode.cfor(i=0; i < _XIAFS_ZMAP_SLOTS; i++)
i166fs/xiafs/inode.cbrelse(s->u.xiafs_sb.s_zmap_buf[i]);
i203fs/xiafs/inode.cint i;
i221fs/xiafs/inode.ci = inode->u.xiafs_i.i_ind_zone;
i222fs/xiafs/inode.cif (i)
i223fs/xiafs/inode.ci = zone_bmap(bread(inode->i_dev, i, XIAFS_ZSIZE(inode->i_sb)), zone);
i224fs/xiafs/inode.creturn i;
i227fs/xiafs/inode.ci = inode->u.xiafs_i.i_dind_zone;
i228fs/xiafs/inode.cif (i)
i229fs/xiafs/inode.ci = zone_bmap(bread(inode->i_dev, i, XIAFS_ZSIZE(inode->i_sb)), 
i231fs/xiafs/inode.cif (i)
i232fs/xiafs/inode.ci= zone_bmap(bread(inode->i_dev,i, XIAFS_ZSIZE(inode->i_sb)),
i234fs/xiafs/inode.creturn i;
i37fs/xiafs/namei.cint i;
i46fs/xiafs/namei.cfor (i=0; i < len; i++)
i47fs/xiafs/namei.cif (*name++ != dep->d_name[i])
i64fs/xiafs/namei.cint i, zones, pos;
i79fs/xiafs/namei.cfor (i=0; i < zones; i++ ) {
i80fs/xiafs/namei.cbh = xiafs_bread(inode, i, 0);
i84fs/xiafs/namei.cif (!i && (dep->d_rec_len != 12 || !dep->d_ino || 
i161fs/xiafs/namei.cint i, pos, offset;
i210fs/xiafs/namei.ci=RNDUP4(de->d_name_len)+8;
i212fs/xiafs/namei.cde=(struct xiafs_direct *)(i+(u_char *)de_pre);
i214fs/xiafs/namei.cde->d_rec_len=de_pre->d_rec_len-i;
i215fs/xiafs/namei.cde_pre->d_rec_len=i;
i411fs/xiafs/namei.cint i, zones, offset;
i421fs/xiafs/namei.cfor (i=0; i < zones; i++) {
i422fs/xiafs/namei.cbh =  xiafs_bread(inode, i, 0);
i423fs/xiafs/namei.cif (!i) {
i594fs/xiafs/namei.cint i;
i617fs/xiafs/namei.cfor (i = 0; i < BLOCK_SIZE-1 && (c=*symname++); i++)
i618fs/xiafs/namei.cname_block->b_data[i] = c;
i619fs/xiafs/namei.cname_block->b_data[i] = 0;
i622fs/xiafs/namei.cinode->i_size = i;
i54fs/xiafs/symlink.cint i;
i71fs/xiafs/symlink.cfor (i=0; i < buflen && (c=bh->b_data[i]); i++)
i73fs/xiafs/symlink.cif (i < buflen-1)
i76fs/xiafs/symlink.creturn i;
i46fs/xiafs/truncate.cint i, tmp;
i50fs/xiafs/truncate.cfor (i = DT_ZONE ; i < 8 ; i++) {
i51fs/xiafs/truncate.cif (i < DT_ZONE)
i53fs/xiafs/truncate.clp=i + inode->u.xiafs_i.i_zone;
i57fs/xiafs/truncate.cif (i < DT_ZONE) {
i80fs/xiafs/truncate.cint i, tmp;
i96fs/xiafs/truncate.cfor (i = INDT_ZONE<0?0:INDT_ZONE; i < XIAFS_ADDRS_PER_Z(inode->i_sb); i++) {
i97fs/xiafs/truncate.cif (i < INDT_ZONE)
i99fs/xiafs/truncate.cindp = i+(u_long *) ind_bh->b_data;
i103fs/xiafs/truncate.cif (i < INDT_ZONE) {
i118fs/xiafs/truncate.cfor (i = 0; i < XIAFS_ADDRS_PER_Z(inode->i_sb) && !(*indp++); i++) ;
i119fs/xiafs/truncate.cif (i >= XIAFS_ADDRS_PER_Z(inode->i_sb)) {
i139fs/xiafs/truncate.cint i, tmp;
i157fs/xiafs/truncate.cfor (i=DINDT_ZONE<0?0:DINDT_ZONE ; i < XIAFS_ADDRS_PER_Z(inode->i_sb) ; i ++) {
i158fs/xiafs/truncate.cif (i < DINDT_ZONE)
i160fs/xiafs/truncate.cdindp = i+(u_long *) dind_bh->b_data;
i162fs/xiafs/truncate.c8+((1+i)<<XIAFS_ADDRS_PER_Z_BITS(inode->i_sb)), 
i167fs/xiafs/truncate.cfor (i = 0; i < XIAFS_ADDRS_PER_Z(inode->i_sb) && !(*dindp++); i++);
i168fs/xiafs/truncate.cif (i >= XIAFS_ADDRS_PER_Z(inode->i_sb)) {
i131include/asm-alpha/unistd.hlong retval, i;
i135include/asm-alpha/unistd.hfor (i = 0; i < 1000000000; i++);
i62include/asm-i386/io.h#define __IN(s,s1,i...) \
i63include/asm-i386/io.h__IN1(s) __IN2(s,s1,"w") : "=a" (_v) : "d" (port) ,##i ); return _v; } \
i64include/asm-i386/io.h__IN1(s##c) __IN2(s,s1,"") : "=a" (_v) : "i" (port) ,##i ); return _v; } \
i65include/asm-i386/io.h__IN1(s##_p) __IN2(s,s1,"w") : "=a" (_v) : "d" (port) ,##i ); SLOW_DOWN_IO; return _v; } \
i66include/asm-i386/io.h__IN1(s##c_p) __IN2(s,s1,"") : "=a" (_v) : "i" (port) ,##i ); SLOW_DOWN_IO; return _v; }
i94include/asm-mips/io.h#define __INS(m,s,i) \
i97include/asm-mips/io.h: "0" (addr), "1" (count), "i" (0), "r" (PORT_BASE+port), "I" (i) \
i101include/asm-mips/io.h: "0" (addr), "1" (count), "i" (port), "r" (PORT_BASE), "I" (i) \
i119include/asm-mips/io.h#define __OUTS(m,s,i) \
i122include/asm-mips/io.h: "0" (addr), "1" (count), "i" (0), "r" (PORT_BASE+port), "I" (i) \
i126include/asm-mips/io.h: "0" (addr), "1" (count), "i" (port), "r" (PORT_BASE), "I" (i) \
i43include/linux/msdos_fs.h#define MSDOS_I(i) (&((i)->u.msdos_i))
i118init/main.cint i=1;
i120init/main.cwhile (cur && isdigit(*cur) && i <= 10) {
i121init/main.cints[i++] = simple_strtoul(cur,NULL,0);
i125init/main.cints[0] = i-1;
i220init/main.cint i = 0;
i223init/main.cwhile (bootsetups[i].str) {
i224init/main.cint n = strlen(bootsetups[i].str);
i225init/main.cif (!strncmp(line,bootsetups[i].str,n)) {
i226init/main.cbootsetups[i].setup_func(get_options(line+n,ints), ints);
i229init/main.ci++;
i410init/main.cint i;
i413init/main.cwrite(1,printbuf,i=vsprintf(printbuf, fmt, args));
i415init/main.creturn i;
i420init/main.cint pid,i;
i457init/main.cwhile (pid != wait(&i))
i473init/main.cif (pid == wait(&i))
i475init/main.cprintf("\n\rchild %d died with code %04x\n\r",pid,i);
i57ipc/sem.cint i;
i61ipc/sem.cfor (i = 0; i < SEMMNI; i++)
i62ipc/sem.csemary[i] = (struct semid_ds *) IPC_UNUSED;
i180ipc/sem.cint i = 0;
i182ipc/sem.cwhile (i < nsops) {
i183ipc/sem.cstruct sembuf * sop = &sops[i];
i196ipc/sem.ci++;
i206ipc/sem.cwhile (--i >= 0) {
i207ipc/sem.cstruct sembuf * sop = &sops[i];
i219ipc/sem.cint i;
i221ipc/sem.cfor (i = 0; i < nsops; i++) {
i222ipc/sem.cstruct sembuf * sop = &sops[i];
i300ipc/sem.cint i;
i301ipc/sem.cfor (i = 0; i < nsops; i++)
i302ipc/sem.cif (sops[i].sem_num == semnum
i303ipc/sem.c&& (sops[i].sem_op < 0)
i304ipc/sem.c&& !(sops[i].sem_flg & IPC_NOWAIT))
i318ipc/sem.cint i;
i319ipc/sem.cfor (i = 0; i < nsops; i++)
i320ipc/sem.cif (sops[i].sem_num == semnum
i321ipc/sem.c&& (sops[i].sem_op == 0)
i322ipc/sem.c&& !(sops[i].sem_flg & IPC_NOWAIT))
i364ipc/sem.cint i, id, val = 0;
i395ipc/sem.ci = verify_area(VERIFY_WRITE, tmp, sizeof(struct seminfo));
i396ipc/sem.cif (i)
i397ipc/sem.creturn i;
i404ipc/sem.ci = verify_area (VERIFY_WRITE, buf, sizeof (*buf));
i405ipc/sem.cif (i)
i406ipc/sem.creturn i;
i459ipc/sem.ci = verify_area (VERIFY_WRITE, array, nsems*sizeof(ushort));
i460ipc/sem.cif (i)
i461ipc/sem.creturn i;
i477ipc/sem.cif ((i = verify_area (VERIFY_READ, array, nsems*sizeof(ushort))))
i478ipc/sem.creturn i;
i480ipc/sem.cfor (i = 0; i < nsems; i++)
i481ipc/sem.cif (sem_io[i] > SEMVMX)
i486ipc/sem.cif ((i = verify_area (VERIFY_WRITE, buf, sizeof(*buf))))
i487ipc/sem.creturn i;
i491ipc/sem.cif ((i = verify_area (VERIFY_READ, buf, sizeof (*buf))))
i492ipc/sem.creturn i;
i506ipc/sem.cfor (i = 0; i < sma->sem_nsems; i++)
i507ipc/sem.csem_io[i] = sma->sem_base[i].semval;
i542ipc/sem.cfor (i = 0; i < nsems; i++)
i543ipc/sem.csma->sem_base[i].semval = sem_io[i];
i545ipc/sem.cfor (i = 0; i < nsems; i++)
i546ipc/sem.cun->semadj[i] = 0;
i559ipc/sem.cint i, id, size, error;
i571ipc/sem.cif ((i = verify_area (VERIFY_READ, tsops, nsops * sizeof(*tsops))))
i572ipc/sem.creturn i;
i579ipc/sem.cfor (i = 0; i < nsops; i++) {
i580ipc/sem.csop = &sops[i];
i668ipc/sem.cint nsems, i;
i698ipc/sem.cfor (i = 0; i < nsems; i++) {
i699ipc/sem.cstruct sem * sem = &sma->sem_base[i];
i700ipc/sem.csem->semval += u->semadj[i];
i78ipc/shm.cint id, i;
i109ipc/shm.cfor (i = 0; i < numpages; shp->shm_pages[i++] = 0);
i166ipc/shm.cint i, numpages;
i184ipc/shm.cfor (i = 0; i < numpages ; i++) {
i186ipc/shm.cpte_val(pte) = shp->shm_pages[i];
i59kernel/dma.cint i, len = 0;
i61kernel/dma.cfor (i = 0 ; i < MAX_DMA_CHANNELS ; i++) {
i62kernel/dma.cif (dma_chan_busy[i].lock) {
i64kernel/dma.ci,
i65kernel/dma.cdma_chan_busy[i].device_id);
i84kernel/exit.cint i;
i92kernel/exit.cfor (i=1 ; i<NR_TASKS ; i++)
i93kernel/exit.cif (task[i] == p) {
i94kernel/exit.ctask[i] = NULL;
i112kernel/exit.cint   i;
i116kernel/exit.cfor (i=0 ; i<NR_TASKS ; i++)
i117kernel/exit.cif (task[i] == p)
i133kernel/exit.cint  i;
i135kernel/exit.cfor (i=1 ; i<NR_TASKS ; i++) {
i136kernel/exit.cif (!task[i])
i138kernel/exit.cif (bad_task_ptr(task[i]->p_pptr))
i140kernel/exit.ctask[i]->pid);
i141kernel/exit.cif (bad_task_ptr(task[i]->p_cptr))
i143kernel/exit.ctask[i]->pid);
i144kernel/exit.cif (bad_task_ptr(task[i]->p_ysptr))
i146kernel/exit.ctask[i]->pid);
i147kernel/exit.cif (bad_task_ptr(task[i]->p_osptr))
i149kernel/exit.ctask[i]->pid);
i150kernel/exit.cif (task[i]->p_pptr == task[i])
i152kernel/exit.ctask[i]->pid);
i153kernel/exit.cif (task[i]->p_cptr == task[i])
i155kernel/exit.ctask[i]->pid);
i156kernel/exit.cif (task[i]->p_ysptr == task[i])
i158kernel/exit.ctask[i]->pid);
i159kernel/exit.cif (task[i]->p_osptr == task[i])
i161kernel/exit.ctask[i]->pid);
i162kernel/exit.cif (task[i]->p_osptr) {
i163kernel/exit.cif (task[i]->p_pptr != task[i]->p_osptr->p_pptr)
i166kernel/exit.ctask[i]->pid, task[i]->p_osptr->pid,
i167kernel/exit.ctask[i]->p_osptr->p_pptr->pid);
i168kernel/exit.cif (task[i]->p_osptr->p_ysptr != task[i])
i171kernel/exit.ctask[i]->pid, task[i]->p_osptr->pid);
i173kernel/exit.cif (task[i]->p_ysptr) {
i174kernel/exit.cif (task[i]->p_pptr != task[i]->p_ysptr->p_pptr)
i177kernel/exit.ctask[i]->pid, task[i]->p_osptr->pid,
i178kernel/exit.ctask[i]->p_osptr->p_pptr->pid);
i179kernel/exit.cif (task[i]->p_ysptr->p_osptr != task[i])
i182kernel/exit.ctask[i]->pid, task[i]->p_ysptr->pid);
i184kernel/exit.cif (task[i]->p_cptr) {
i185kernel/exit.cif (task[i]->p_cptr->p_pptr != task[i])
i188kernel/exit.ctask[i]->pid, task[i]->p_cptr->pid);
i189kernel/exit.cif (task[i]->p_cptr->p_ysptr)
i192kernel/exit.ctask[i]->pid, task[i]->p_cptr->pid);
i359kernel/exit.cint i;
i361kernel/exit.cfor (i=0 ; i<NR_OPEN ; i++)
i362kernel/exit.cif (current->files->fd[i])
i363kernel/exit.csys_close(i);
i32kernel/fork.cint i, tasks_free;
i41kernel/fork.ci = NR_TASKS;
i42kernel/fork.cwhile (--i > 0) {
i43kernel/fork.cif (!task[i]) {
i44kernel/fork.cfree_task = i;
i48kernel/fork.cif (task[i]->uid == current->uid)
i50kernel/fork.cif (task[i]->pid == last_pid || task[i]->pgrp == last_pid ||
i51kernel/fork.ctask[i]->session == last_pid)
i119kernel/fork.cint i;
i123kernel/fork.cfor (i=0; i<NR_OPEN;i++)
i124kernel/fork.cif ((f = p->files->fd[i]) != NULL)
i125kernel/fork.cp->files->fd[i] = copy_fd(f);
i127kernel/fork.cfor (i=0; i<NR_OPEN;i++)
i128kernel/fork.cif ((f = p->files->fd[i]) != NULL)
i76kernel/itimer.cregister unsigned long i, j;
i79kernel/itimer.ci = tvtojiffies(&value->it_interval);
i91kernel/itimer.ccurrent->it_real_incr = i;
i97kernel/itimer.ccurrent->it_virt_incr = i;
i103kernel/itimer.ccurrent->it_prof_incr = i;
i62kernel/module.cint i;
i64kernel/module.cfor (i = 0, sym = symbol_table.symbol; sym->name; ++sym, ++i)
i66kernel/module.csymbol_table.n_symbols = i;
i77kernel/module.cint i = 0; /* keep gcc silent */
i81kernel/module.cfor (i = module_list->symtab->n_symbols; i > 0; ++sym, --i) {
i231kernel/module.cint i;
i261kernel/module.cfor (sym = &(newtab->symbol[0]), i = 0;
i262kernel/module.ci < newtab->n_symbols; ++sym, ++i) {
i281kernel/module.cfor (ref = (struct module_ref *)sym, i = 0;
i282kernel/module.ci < newtab->n_refs; ++ref, ++i) {
i365kernel/module.cint i;
i381kernel/module.cif ((i = verify_area(VERIFY_WRITE, to, nmodsyms * sizeof(*table))))
i382kernel/module.creturn i;
i394kernel/module.cfor (i = mp->symtab->n_symbols,
i396kernel/module.ci > 0; --i, ++from, ++to) {
i417kernel/module.cint i;
i419kernel/module.ci = 0;
i420kernel/module.cfor (i = 0 ; (buf[i] = get_fs_byte(user_name + i)) != '\0' ; ) {
i421kernel/module.cif (++i >= MOD_MAX_NAME)
i513kernel/module.cint i;
i524kernel/module.ci = 20;
i527kernel/module.ci--;
i530kernel/module.ci -= strlen(size);
i531kernel/module.cif (i <= 0)
i532kernel/module.ci = 1;
i533kernel/module.cwhile (--i >= 0)
i574kernel/module.cint i;
i580kernel/module.cfor (i = mp->symtab->n_symbols,
i582kernel/module.ci > 0; --i, ++sym) {
i57kernel/printk.cunsigned long i, j, count;
i85kernel/printk.ci = 0;
i86kernel/printk.cwhile (log_size && i < len) {
i94kernel/printk.ci++;
i98kernel/printk.creturn i;
i116kernel/printk.cfor (i = 0; i < count; i++) {
i122kernel/printk.creturn i;
i145kernel/printk.cint i;
i153kernel/printk.ci = vsprintf(buf + 3, fmt, args); /* hopefully i < sizeof(buf)-4 */
i154kernel/printk.cbuf_end = buf + 3 + i;
i196kernel/printk.creturn i;
i207kernel/printk.cint  i,j;
i215kernel/printk.cfor (i=0,j=0; i < log_size; i++) {
i218kernel/printk.cif (buf[j-1] != '\n' && i < log_size - 1 && j < sizeof(buf)-1)
i75kernel/resource.cint i;
i77kernel/resource.cfor (i = 0; i < IOTABLE_SIZE; i++)
i78kernel/resource.cif (iotable[i].num == 0)
i80kernel/resource.cif (i == IOTABLE_SIZE)
i86kernel/resource.ciotable[i].name = name;
i87kernel/resource.ciotable[i].from = from;
i88kernel/resource.ciotable[i].num = num;
i89kernel/resource.ciotable[i].next = p->next;
i90kernel/resource.cp->next = &iotable[i];
i134kernel/resource.cint i;
i136kernel/resource.cfor (i = 1; i < ints[0]; i += 2)
i137kernel/resource.crequest_region(ints[i], ints[i+1], "reserved");
i757kernel/sched.cint i;
i761kernel/sched.cfor (i=0 ; i<NR_TASKS ; i++)
i762kernel/sched.cif (task[i])
i763kernel/sched.cshow_task(i,task[i]);
i529kernel/sys.cint i;
i532kernel/sys.ci = verify_area(VERIFY_WRITE, grouplist, sizeof(gid_t) * gidsetsize);
i533kernel/sys.cif (i)
i534kernel/sys.creturn i;
i536kernel/sys.cfor (i = 0 ; (i < NGROUPS) && (current->groups[i] != NOGROUP) ; i++) {
i539kernel/sys.cif (i >= gidsetsize)
i541kernel/sys.cput_fs_word(current->groups[i], (short *) grouplist);
i544kernel/sys.creturn(i);
i549kernel/sys.cint  i;
i555kernel/sys.cfor (i = 0; i < gidsetsize; i++, grouplist++) {
i556kernel/sys.ccurrent->groups[i] = get_fs_word((unsigned short *) grouplist);
i558kernel/sys.cif (i < NGROUPS)
i559kernel/sys.ccurrent->groups[i] = NOGROUP;
i565kernel/sys.cint  i;
i570kernel/sys.cfor (i = 0; i < NGROUPS; i++) {
i571kernel/sys.cif (current->groups[i] == NOGROUP)
i573kernel/sys.cif (current->groups[i] == grp)
i638kernel/sys.cint  i;
i644kernel/sys.cfor (i=0; i < len; i++) {
i645kernel/sys.cif ((system_utsname.nodename[i] = get_fs_byte(name+i)) == 0)
i648kernel/sys.csystem_utsname.nodename[i] = 0;
i658kernel/sys.cint  i;
i664kernel/sys.cfor (i=0; i < len; i++) {
i665kernel/sys.cif ((system_utsname.domainname[i] = get_fs_byte(name+i)) == 0)
i668kernel/sys.csystem_utsname.domainname[i] = 0;
i64kernel/time.cint i;
i72kernel/time.cfor (i = 0 ; i < 1000000 ; i++)  /* may take up to 1 second... */
i75kernel/time.cfor (i = 0 ; i < 1000000 ; i++)  /* must try at least 2.228 ms*/
i108kernel/time.cint i, error;
i110kernel/time.ci = CURRENT_TIME;
i115kernel/time.cput_fs_long(i,(unsigned long *)tloc);
i117kernel/time.creturn i;
i47lib/vsprintf.cint i=0;
i50lib/vsprintf.ci = i*10 + *((*s)++) - '0';
i51lib/vsprintf.creturn i;
i73lib/vsprintf.cint i;
i102lib/vsprintf.ci = 0;
i104lib/vsprintf.ctmp[i++]='0';
i106lib/vsprintf.ctmp[i++] = digits[do_div(num,base)];
i107lib/vsprintf.cif (i > precision)
i108lib/vsprintf.cprecision = i;
i125lib/vsprintf.cwhile (i < precision--)
i127lib/vsprintf.cwhile (i-- > 0)
i128lib/vsprintf.c*str++ = tmp[i];
i138lib/vsprintf.cint i, base;
i226lib/vsprintf.cfor (i = 0; i < len; ++i)
i299lib/vsprintf.cint i;
i302lib/vsprintf.ci=vsprintf(buf,fmt,args);
i304lib/vsprintf.creturn i;
i38mm/filemap.cint i, *p;
i43mm/filemap.ci = PAGE_SIZE >> inode->i_sb->s_blocksize_bits;
i47mm/filemap.ci--;
i50mm/filemap.c} while (i > 0);
i167mm/kmalloc.cint order,tries,i,sz;
i254mm/kmalloc.cfor (i=NBLOCKS(order),p=BH (page+1);i > 1;i--,p=p->bh_next) 
i153mm/memory.cint i;
i172mm/memory.cfor (i = USER_PTRS_PER_PGD ; i < PTRS_PER_PGD ; i++)
i173mm/memory.cnew_pg[i] = page_dir[i];
i178mm/memory.cfor (i = 0 ; i < USER_PTRS_PER_PGD ; i++)
i179mm/memory.cfree_one_pgd(page_dir + i);
i189mm/memory.cint i;
i208mm/memory.cfor (i = 0 ; i < PTRS_PER_PGD ; i++)
i209mm/memory.cfree_one_pgd(page_dir + i);
i321mm/memory.cint i;
i330mm/memory.cfor (i = 0 ; i < PTRS_PER_PGD ; i++) {
i142mm/swap.cint i;
i160mm/swap.cfor (i=0, j=0; j< PAGE_SIZE ; i++, j += 512){
i161mm/swap.cif (!(zones[i] = swapf->i_op->smap(swapf,block++))) {
i171mm/swap.cfor (i=0, j=0; j< PAGE_SIZE ; i++, j +=swapf->i_sb->s_blocksize)
i172mm/swap.cif (!(zones[i] = bmap(swapf,block++))) {
i177mm/swap.cll_rw_swap_file(rw,swapf->i_dev, zones, i,buf);
i587mm/swap.cint i=6;
i592mm/swap.cif (priority != GFP_NOBUFFER && shrink_buffers(i))
i596mm/swap.cif (shm_swap(i))
i600mm/swap.cif (swap_out(i))
i603mm/swap.c} while(--i);
i982mm/swap.cint i;
i986mm/swap.ci = namei(specialfile,&inode);
i987mm/swap.cif (i)
i988mm/swap.creturn i;
i1009mm/swap.ci = try_to_unuse(type);
i1010mm/swap.cif (i) {
i1013mm/swap.creturn i;
i1051mm/swap.cint i,j;
i1097mm/swap.cfor (i = 0 ; i < nr_swapfiles ; i++) {
i1098mm/swap.cif (i == type)
i1100mm/swap.cif (p->swap_device == swap_info[i].swap_device)
i1121mm/swap.cfor (i = 1 ; i < 8*PAGE_SIZE ; i++) {
i1122mm/swap.cif (test_bit(i,p->swap_lockmap)) {
i1124mm/swap.cp->lowest_bit = i;
i1125mm/swap.cp->highest_bit = i;
i1126mm/swap.cp->max = i+1;
i1140mm/swap.cfor (i = 1 ; i < p->max ; i++) {
i1141mm/swap.cif (test_bit(i,p->swap_lockmap))
i1142mm/swap.cp->swap_map[i] = 0;
i1144mm/swap.cp->swap_map[i] = 0x80;
i1170mm/swap.cunsigned int i, j;
i1173mm/swap.cfor (i = 0; i < nr_swapfiles; i++) {
i1174mm/swap.cif ((swap_info[i].flags & SWP_WRITEOK) != SWP_WRITEOK)
i1176mm/swap.cfor (j = 0; j < swap_info[i].max; ++j)
i1177mm/swap.cswitch (swap_info[i].swap_map[j]) {
i1201mm/swap.cint i;
i1207mm/swap.ci = (end_mem - PAGE_OFFSET) >> (PAGE_SHIFT+6);
i1208mm/swap.cif (i < 16)
i1209mm/swap.ci = 16;
i1210mm/swap.cmin_free_pages = i;
i1218mm/swap.cfor (i = 0 ; i < NR_MEM_LISTS ; i++) {
i1220mm/swap.cfree_area_list[i].prev = free_area_list[i].next = &free_area_list[i];
i1223mm/swap.cbitmap_size = (end_mem - PAGE_OFFSET) >> (PAGE_SHIFT + i);
i1226mm/swap.cfree_area_map[i] = (unsigned char *) start_mem;
i112net/inet/af_inet.cint i, j;
i125net/inet/af_inet.cfor(i=0; i < SOCK_ARRAY_SIZE; i++) 
i128net/inet/af_inet.csk = prot->sock_array[(i+base+1) &(SOCK_ARRAY_SIZE -1)];
i136net/inet/af_inet.cstart =(i+1+start )%1024;
i137net/inet/af_inet.creturn(i+base+1);
i141net/inet/af_inet.cbest = i;
i1517net/inet/af_inet.cint i;
i1534net/inet/af_inet.cfor(i = 0; i < SOCK_ARRAY_SIZE; i++) 
i1536net/inet/af_inet.ctcp_prot.sock_array[i] = NULL;
i1537net/inet/af_inet.cudp_prot.sock_array[i] = NULL;
i1538net/inet/af_inet.craw_prot.sock_array[i] = NULL;
i196net/inet/arp.cint i;
i202net/inet/arp.cfor (i = 0; i < FULL_ARP_TABLE_SIZE; i++)
i205net/inet/arp.cstruct arp_table **pentry = &arp_tables[i];
i263net/inet/arp.cint i;
i274net/inet/arp.cfor (i = 0; i < FULL_ARP_TABLE_SIZE; i++)
i277net/inet/arp.cstruct arp_table **pentry = &arp_tables[i];
i952net/inet/arp.cint i,j,k;
i961net/inet/arp.cfor(i=0; i<FULL_ARP_TABLE_SIZE; i++)
i963net/inet/arp.cfor(entry=arp_tables[i]; entry!=NULL; entry=entry->next)
i771net/inet/dev.cint i;
i780net/inet/dev.cfor(i = 0;i < DEV_NUMBUFFS; i++) 
i788net/inet/dev.cwhile((skb=skb_dequeue(&dev->buffs[i]))!=NULL)
i799net/inet/dev.cdev_queue_xmit(skb,dev,-i - 1);
i225net/inet/igmp.cstruct ip_mc_list *i;
i226net/inet/igmp.cfor(i=dev->ip_mc_list;i!=NULL;i=i->next)
i228net/inet/igmp.cif(i->multiaddr==addr)
i230net/inet/igmp.ci->users++;
i234net/inet/igmp.ci=(struct ip_mc_list *)kmalloc(sizeof(*i), GFP_KERNEL);
i235net/inet/igmp.cif(!i)
i237net/inet/igmp.ci->users=1;
i238net/inet/igmp.ci->interface=dev;
i239net/inet/igmp.ci->multiaddr=addr;
i240net/inet/igmp.ci->next=dev->ip_mc_list;
i241net/inet/igmp.cigmp_group_added(i);
i242net/inet/igmp.cdev->ip_mc_list=i;
i251net/inet/igmp.cstruct ip_mc_list **i;
i252net/inet/igmp.cfor(i=&(dev->ip_mc_list);(*i)!=NULL;i=&(*i)->next)
i254net/inet/igmp.cif((*i)->multiaddr==addr)
i256net/inet/igmp.cif(--((*i)->users))
i260net/inet/igmp.cstruct ip_mc_list *tmp= *i;
i262net/inet/igmp.c*i=(*i)->next;
i275net/inet/igmp.cstruct ip_mc_list *i;
i277net/inet/igmp.cfor(i=dev->ip_mc_list;i!=NULL;i=j)
i279net/inet/igmp.cj=i->next;
i280net/inet/igmp.ckfree_s(i,sizeof(*i));
i291net/inet/igmp.cstruct ip_mc_list *i;
i292net/inet/igmp.cfor(i=dev->ip_mc_list;i!=NULL;i=i->next)
i293net/inet/igmp.cif(i->multiaddr==IGMP_ALL_HOSTS)
i295net/inet/igmp.ci=(struct ip_mc_list *)kmalloc(sizeof(*i), GFP_KERNEL);
i296net/inet/igmp.cif(!i)
i298net/inet/igmp.ci->users=1;
i299net/inet/igmp.ci->interface=dev;
i300net/inet/igmp.ci->multiaddr=IGMP_ALL_HOSTS;
i301net/inet/igmp.ci->next=dev->ip_mc_list;
i302net/inet/igmp.cdev->ip_mc_list=i;
i303net/inet/igmp.cip_mc_filter_add(i->interface, i->multiaddr);
i314net/inet/igmp.cint i;
i325net/inet/igmp.cfor(i=0;i<IP_MAX_MEMBERSHIPS;i++)
i327net/inet/igmp.cif(sk->ip_mc_list->multiaddr[i]==addr && sk->ip_mc_list->multidev[i]==dev)
i329net/inet/igmp.cif(sk->ip_mc_list->multidev[i]==NULL)
i330net/inet/igmp.cunused=i;
i347net/inet/igmp.cint i;
i355net/inet/igmp.cfor(i=0;i<IP_MAX_MEMBERSHIPS;i++)
i357net/inet/igmp.cif(sk->ip_mc_list->multiaddr[i]==addr && sk->ip_mc_list->multidev[i]==dev)
i359net/inet/igmp.csk->ip_mc_list->multidev[i]=NULL;
i373net/inet/igmp.cint i;
i378net/inet/igmp.cfor(i=0;i<IP_MAX_MEMBERSHIPS;i++)
i380net/inet/igmp.cif(sk->ip_mc_list->multidev[i])
i382net/inet/igmp.cip_mc_dec_group(sk->ip_mc_list->multidev[i], sk->ip_mc_list->multiaddr[i]);
i383net/inet/igmp.csk->ip_mc_list->multidev[i]=NULL;
i356net/inet/ip.cint i, len = sizeof(struct iphdr);
i406net/inet/ip.cfor (i = 0; i < opt->loose_route.route_size; i++) {
i407net/inet/ip.cif(i>=MAX_ROUTE)
i409net/inet/ip.copt->loose_route.route[i] = *(unsigned long *)buff;
i423net/inet/ip.cfor (i = 0; i < opt->strict_route.route_size; i++) {
i424net/inet/ip.cif(i>=MAX_ROUTE)
i426net/inet/ip.copt->strict_route.route[i] = *(unsigned long *)buff;
i440net/inet/ip.cfor (i = 0; i < opt->record_route.route_size; i++) {
i441net/inet/ip.cif(i>=MAX_ROUTE)
i443net/inet/ip.copt->record_route.route[i] = *(unsigned long *)buff;
i464net/inet/ip.cfor (i = 0; i < opt->tstamp.len; i++) {
i465net/inet/ip.copt->tstamp.data[i] = *(unsigned long *)buff;
i902net/inet/ip.cint i, ihl, end;
i991net/inet/ip.ci = prev->end - offset;
i992net/inet/ip.coffset += i;  /* ptr into datagram */
i993net/inet/ip.cptr += i;  /* ptr into fragment data */
i1007net/inet/ip.ci = end - next->offset;      /* overlap is 'i' bytes */
i1008net/inet/ip.cnext->len -= i;        /* so reduce size of  */
i1009net/inet/ip.cnext->offset += i;      /* next fragment  */
i1010net/inet/ip.cnext->ptr += i;
i923net/inet/ip_fw.cstruct ip_fw *i;
i932net/inet/ip_fw.ci = ip_fw_blk_chain;
i937net/inet/ip_fw.ci = ip_fw_fwd_chain;
i944net/inet/ip_fw.ci = ip_acct_chain;
i950net/inet/ip_fw.ci = NULL;
i958net/inet/ip_fw.cwhile(i!=NULL)
i961net/inet/ip_fw.cntohl(i->fw_src.s_addr),ntohl(i->fw_smsk.s_addr),
i962net/inet/ip_fw.cntohl(i->fw_dst.s_addr),ntohl(i->fw_dmsk.s_addr),
i963net/inet/ip_fw.cntohl(i->fw_via.s_addr),i->fw_flg);
i965net/inet/ip_fw.ci->fw_nsp,i->fw_ndp, i->fw_pcnt,i->fw_bcnt);
i967net/inet/ip_fw.clen+=sprintf(buffer+len, " %u", i->fw_pts[p]);
i979net/inet/ip_fw.ci->fw_pcnt=0L;
i980net/inet/ip_fw.ci->fw_bcnt=0L;
i984net/inet/ip_fw.ci=i->fw_next;
i198net/inet/ipx.cipx_interface  *i;
i200net/inet/ipx.cfor (i=ipx_interfaces; 
i201net/inet/ipx.ci && ((i->if_dev!=dev) || (i->if_dlink_type!=datalink)); 
i202net/inet/ipx.ci=i->if_next)
i204net/inet/ipx.creturn i;
i210net/inet/ipx.cipx_interface  *i;
i215net/inet/ipx.cfor (i=ipx_interfaces; i && (i->if_netnum!=net); i=i->if_next)
i218net/inet/ipx.creturn i;
i256net/inet/ipx.cipx_interface  *i;
i279net/inet/ipx.cfor (i = ipx_interfaces; 
i280net/inet/ipx.c(i != NULL) && (i->if_next != intrfc);
i281net/inet/ipx.ci = i->if_next)
i283net/inet/ipx.cif ((i != NULL) && (i->if_next == intrfc)) 
i284net/inet/ipx.ci->if_next = intrfc->if_next;
i300net/inet/ipx.cipx_interface *i, *tmp;
i305net/inet/ipx.cfor (i = ipx_interfaces; i != NULL; ) {
i307net/inet/ipx.ctmp = i->if_next;
i308net/inet/ipx.cif (i->if_dev == dev) 
i309net/inet/ipx.cipxitf_down(i);
i310net/inet/ipx.ci = tmp;
i550net/inet/ipx.cipx_interface  *i;
i559net/inet/ipx.cif ((i=ipxitf_find_using_net(ipx->ipx_source.net))==NULL) {
i565net/inet/ipx.cipx_device_name(i),
i566net/inet/ipx.cipx_frame_name(i->if_dlink_type),
i596net/inet/ipx.cipx_interface  *i;
i602net/inet/ipx.cfor (i = ipx_interfaces; i->if_next != NULL; i = i->if_next)
i604net/inet/ipx.ci->if_next = intrfc;
i1029net/inet/ipx.cipx_interface  *i;
i1037net/inet/ipx.ci = r->ir_intrfc;
i1038net/inet/ipx.c(void)ipxitf_send(i, skb, (r->ir_routed) ? 
i1109net/inet/ipx.cipx_interface *i;
i1118net/inet/ipx.cfor (i = ipx_interfaces; i != NULL; i = i->if_next) {
i1119net/inet/ipx.clen += sprintf(buffer+len, "%08lX   ", ntohl(i->if_netnum));
i1121net/inet/ipx.ci->if_node[0], i->if_node[1], i->if_node[2],
i1122net/inet/ipx.ci->if_node[3], i->if_node[4], i->if_node[5]);
i1123net/inet/ipx.clen += sprintf(buffer+len, "%-9s", (i == ipx_primary_net) ?
i1125net/inet/ipx.clen += sprintf (buffer+len, "%-11s", ipx_device_name(i));
i1127net/inet/ipx.cipx_frame_name(i->if_dlink_type));
i1153net/inet/ipx.cipx_interface *i;
i1163net/inet/ipx.cfor (i = ipx_interfaces; i != NULL; i = i->if_next) {
i1164net/inet/ipx.cfor (s = i->if_sklist; s != NULL; s = s->next) {
i1166net/inet/ipx.chtonl(i->if_netnum),
i1580net/inet/ipx.cint l,i;
i1584net/inet/ipx.cfor (i=0; i < 8 ; i++) {
i1585net/inet/ipx.c*(p++) = h2c[d[i] & 0x0f];
i1586net/inet/ipx.c*(p++) = h2c[(d[i] >> 4) & 0x0f];
i1591net/inet/ipx.cfor (i=0; i < 8 ; i++)  *(p++) = ' '<= d[i] && d[i]<'\177' ? d[i] : '.';
i1593net/inet/ipx.cd += i;
i61net/inet/proc.cint i;
i76net/inet/proc.cfor(i = 0; i < SOCK_ARRAY_SIZE; i++) 
i79net/inet/proc.csp = s_array[i];
i94net/inet/proc.ci, src, srcp, dest, destp, sp->state, 
i98net/inet/skbuff.cint i = 0;
i99net/inet/skbuff.cwhile (skb2 != skb && i < 5) {
i104net/inet/skbuff.ci++;
i69net/inet/utils.cint i;
i72net/inet/utils.cfor (i = 0; i < 4; i++) 
i600net/socket.cint i, fd;
i605net/socket.cfor (i = 0; i < NPROTO; ++i) 
i607net/socket.cif (pops[i] == NULL) continue;
i608net/socket.cif (pops[i]->family == family) 
i612net/socket.cif (i == NPROTO) 
i617net/socket.cops = pops[i];
i645net/socket.cif ((i = sock->ops->create(sock, protocol)) < 0) 
i648net/socket.creturn(i);
i666net/socket.cint fd1, fd2, i;
i695net/socket.cif ((i = sock1->ops->socketpair(sock1, sock2)) < 0) 
i699net/socket.creturn(i);
i732net/socket.cint i;
i745net/socket.cif ((i = sock->ops->bind(sock, (struct sockaddr *)address, addrlen)) < 0) 
i747net/socket.creturn(i);
i792net/socket.cint i;
i817net/socket.cif ((i = sock->ops->dup(newsock, sock)) < 0) 
i820net/socket.creturn(i);
i823net/socket.ci = newsock->ops->accept(sock, newsock, file->f_flags);
i824net/socket.cif ( i < 0) 
i827net/socket.creturn(i);
i854net/socket.cint i;
i888net/socket.ci = sock->ops->connect(sock, (struct sockaddr *)address, addrlen, file->f_flags);
i889net/socket.cif (i < 0) 
i891net/socket.creturn(i);
i1288net/socket.cint i;
i1291net/socket.cfor(i = 0; i < NPROTO; i++) 
i1293net/socket.cif (pops[i] != NULL) 
i1295net/socket.cpops[i] = ops;
i1296net/socket.cpops[i]->family = family;
i1298net/socket.creturn(i);
i1312net/socket.cint i;
i1315net/socket.cfor(i = 0; i < NPROTO; i++) 
i1317net/socket.cif (pops[i] == NULL) 
i1319net/socket.cif(pops[i]->family == family)
i1321net/socket.cpops[i]=NULL;
i1323net/socket.creturn(i);
i1348net/socket.cint i;
i1356net/socket.cfor (i = 0; i < NPROTO; ++i) pops[i] = NULL;
i44net/unix/proc.cint i;
i52net/unix/proc.cfor(i = 0; i < NSOCKETS_UNIX; i++) 
i56net/unix/proc.cif (unix_datas[i].refcnt>0 && unix_datas[i].socket!=NULL)
i59net/unix/proc.cs_type=unix_datas[i].socket->type;
i60net/unix/proc.cs_flags=unix_datas[i].socket->flags;
i61net/unix/proc.cs_state=unix_datas[i].socket->state;
i63net/unix/proc.clen += sprintf(buffer+len, "%2d: %08X %08X %08lX %04X %02X", i,
i64net/unix/proc.cunix_datas[i].refcnt,
i65net/unix/proc.cunix_datas[i].protocol,
i72net/unix/proc.cif(unix_datas[i].sockaddr_len>0) 
i75net/unix/proc.cunix_datas[i].sockaddr_un.sun_path);
i397net/unix/sock.cint i;
i421net/unix/sock.ci = do_mknod(fname, S_IFSOCK | S_IRWXUGO, 0);
i423net/unix/sock.cif (i == 0) 
i424net/unix/sock.ci = open_namei(fname, 0, S_IFSOCK, &upd->inode, NULL);
i426net/unix/sock.cif (i < 0) 
i429net/unix/sock.cif(i==-EEXIST)
i430net/unix/sock.ci=-EADDRINUSE;
i431net/unix/sock.creturn(i);
i453net/unix/sock.cint i;
i484net/unix/sock.ci = open_namei(fname, 0, S_IFSOCK, &inode, NULL);
i486net/unix/sock.cif (i < 0) 
i488net/unix/sock.creturn(i);
i498net/unix/sock.cif ((i = sock_awaitconn(sock, serv_upd->socket, flags)) < 0) 
i500net/unix/sock.creturn(i);