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;
i198arch/alpha/boot/main.ci = load(dev, START_ADDR, START_SIZE);
i200arch/alpha/boot/main.cif (i != START_SIZE) {
i201arch/alpha/boot/main.cprintk("Failed (%lx)\n", i);
i214arch/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);
i338arch/alpha/kernel/irq.cunsigned int i, irqs = 0, irqmask;
i341arch/alpha/kernel/irq.cfor (i = 15; i > 0; i--) {
i342arch/alpha/kernel/irq.cif (!irq_action[i].handler) {
i343arch/alpha/kernel/irq.cenable_irq(i);
i344arch/alpha/kernel/irq.cirqs |= (1 << i);
i365arch/alpha/kernel/irq.cunsigned int i, irqmask;
i371arch/alpha/kernel/irq.ci = ffz(~irqs);
i372arch/alpha/kernel/irq.cif (irqs != (1 << i))
i373arch/alpha/kernel/irq.ci = -i;
i374arch/alpha/kernel/irq.creturn i;
i479arch/alpha/kernel/osf_sys.cint i, error;
i489arch/alpha/kernel/osf_sys.cfor (i = 0; i < len; ++i) {
i490arch/alpha/kernel/osf_sys.cput_user(system_utsname.domainname[i], name + i);
i491arch/alpha/kernel/osf_sys.cif (system_utsname.domainname[i] == '\0')
i85arch/alpha/kernel/ptrace.cint i;
i87arch/alpha/kernel/ptrace.cfor (i = 1; i < NR_TASKS; i++) {
i88arch/alpha/kernel/ptrace.cif (task[i] != NULL && (task[i]->pid == pid))
i89arch/alpha/kernel/ptrace.creturn task[i];
i471arch/alpha/kernel/ptrace.cint displ, i, res, reg_b, off, nsaved = 0;
i515arch/alpha/kernel/ptrace.cfor (i = 0; i < nsaved; ++i) {
i516arch/alpha/kernel/ptrace.cres = read_int(child, child->debugreg[i], &insn);
i519arch/alpha/kernel/ptrace.cchild->debugreg[i + 2] = insn;
i520arch/alpha/kernel/ptrace.cDBG(DBG_BPT, ("    -> next_pc=%lx\n", child->debugreg[i]));
i521arch/alpha/kernel/ptrace.cres = write_int(child, child->debugreg[i], BREAKINST);
i531arch/alpha/kernel/ptrace.cint i, nsaved = child->debugreg[4];
i534arch/alpha/kernel/ptrace.cfor (i = 0; i < nsaved; ++i) {
i535arch/alpha/kernel/ptrace.cwrite_int(child, child->debugreg[i], child->debugreg[i + 2]);
i71arch/alpha/kernel/setup.cint i;
i78arch/alpha/kernel/setup.cfor (i = memdesc->numclusters ; i > 0; i--, cluster++) {
i73arch/alpha/kernel/signal.cint i;
i120arch/alpha/kernel/signal.cfor (i = 0; i < 31; i++)
i121arch/alpha/kernel/signal.csw->fp[i] = get_fs_quad(sc->sc_fpregs+i);
i130arch/alpha/kernel/signal.cint i;
i174arch/alpha/kernel/signal.cfor (i = 0; i < 31; i++)
i175arch/alpha/kernel/signal.cput_fs_quad(sw->fp[i], sc->sc_fpregs+i);
i18arch/alpha/kernel/traps.clong i;
i41arch/alpha/kernel/traps.cfor (i = -3; i < 6; i++)
i42arch/alpha/kernel/traps.cprintk("%c%08x%c",i?' ':'<',pc[i],i?' ':'>');
i44arch/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 = MAP_NR(high_memory);
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++) {
i186arch/alpha/mm/init.cint i;
i188arch/alpha/mm/init.ci = MAP_NR(high_memory);
i193arch/alpha/mm/init.cwhile (i-- > 0)  {
i194arch/alpha/mm/init.cif (mem_map[i] & MAP_PAGE_RESERVED)
i197arch/alpha/mm/init.cif (!mem_map[i])
i199arch/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 */
i122arch/i386/boot/compressed/misc.cint i;
i125arch/i386/boot/compressed/misc.cfor ( i = ( lines - 1 ) * cols * 2; i < lines * cols * 2; i += 2 )
i126arch/i386/boot/compressed/misc.cvidmem[i] = ' ';
i162arch/i386/boot/compressed/misc.cint i;
i165arch/i386/boot/compressed/misc.cfor (i=0;i<n;i++) ss[i] = c;
i171arch/i386/boot/compressed/misc.cint i;
i174arch/i386/boot/compressed/misc.cfor (i=0;i<__n;i++) d[i] = s[i];
i220arch/i386/boot/compressed/misc.cint len, i;
i229arch/i386/boot/compressed/misc.cfor (i=0;i<len;i++) inbuf[insize+i] = input_data[input_ptr+i];
i272arch/i386/boot/compressed/misc.cint i;                /* counter for all possible eight bit values */
i280arch/i386/boot/compressed/misc.cfor (i = 0; i < sizeof(p)/sizeof(int); i++)
i281arch/i386/boot/compressed/misc.ce |= 1L << (31 - p[i]);
i285arch/i386/boot/compressed/misc.cfor (i = 1; i < 256; i++)
i288arch/i386/boot/compressed/misc.cfor (k = i | 256; k != 1; k >>= 1)
i294arch/i386/boot/compressed/misc.ccrc_32_tab[i] = c;
i39arch/i386/boot/compressed/xtract.cint i,c,id, sz;
i92arch/i386/boot/tools/build.cint i,c,id, sz;
i128arch/i386/boot/tools/build.cfor (i=0;i<sizeof buf; i++) buf[i]=0;
i145arch/i386/boot/tools/build.ci=read(id,buf,sizeof buf);
i146arch/i386/boot/tools/build.cfprintf(stderr,"Boot sector %d bytes.\n",i);
i147arch/i386/boot/tools/build.cif (i != 512)
i153arch/i386/boot/tools/build.ci=write(1,buf,512);
i154arch/i386/boot/tools/build.cif (i!=512)
i174arch/i386/boot/tools/build.cfor (i=0 ; (c=read(id,buf,sizeof buf))>0 ; i+=c )
i180arch/i386/boot/tools/build.csetup_sectors = (unsigned char)((i + 511) / 512);
i184arch/i386/boot/tools/build.cfprintf(stderr,"Setup is %d bytes.\n",i);
i187arch/i386/boot/tools/build.cwhile (i < setup_sectors * 512) {
i188arch/i386/boot/tools/build.cc = setup_sectors * 512 - i;
i193arch/i386/boot/tools/build.ci += c;
i405arch/i386/kernel/bios32.cint i, length;
i421arch/i386/kernel/bios32.cfor (i = 0; i < length ; ++i)
i422arch/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;
i55arch/i386/kernel/process.cfor (i = 0 ; i < 768 ; i++)
i76arch/i386/kernel/process.cint i;
i78arch/i386/kernel/process.cfor (i=0; i<0x10000; i++)
i85arch/i386/kernel/process.cint i, j;
i92arch/i386/kernel/process.cfor (i=0; i<100; i++) {
i137arch/i386/kernel/process.cint i;
i142arch/i386/kernel/process.cfor (i=1 ; i<NR_TASKS ; i++) {
i143arch/i386/kernel/process.cif (task[i] == current)  {
i144arch/i386/kernel/process.cset_ldt_desc(gdt+(i<<1)+
i146arch/i386/kernel/process.cload_ldt(i);
i151arch/i386/kernel/process.cfor (i=0 ; i<8 ; i++)
i152arch/i386/kernel/process.ccurrent->debugreg[i] = 0;
i158arch/i386/kernel/process.cint i;
i190arch/i386/kernel/process.cfor (i = 0; i < IO_BITMAP_SIZE+1 ; i++) /* IO bitmap is actually SIZE+1 */
i191arch/i386/kernel/process.cp->tss.io_bitmap[i] = ~0;
i226arch/i386/kernel/process.cint i;
i236arch/i386/kernel/process.cfor (i = 0; i < 8; i++)
i237arch/i386/kernel/process.cdump->u_debugreg[i] = current->debugreg[i];  
i39arch/i386/kernel/ptrace.cint i;
i41arch/i386/kernel/ptrace.cfor (i = 1; i < NR_TASKS; i++) {
i42arch/i386/kernel/ptrace.cif (task[i] != NULL && (task[i]->pid == pid))
i43arch/i386/kernel/ptrace.creturn task[i];
i303arch/i386/kernel/ptrace.cint i;
i446arch/i386/kernel/ptrace.cfor(i=0; i<4; i++)
i447arch/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++) {
i75arch/i386/kernel/vm86.cint i;
i94arch/i386/kernel/vm86.cfor (i = 0; i < 32; i++) {
i301arch/i386/kernel/vm86.cstatic void do_int(struct vm86_regs *regs, int i, unsigned char * ssp, unsigned long sp)
i307arch/i386/kernel/vm86.cif (is_revectored(i, &current->tss.vm86_info->int_revectored))
i309arch/i386/kernel/vm86.cif (i==0x21 && is_revectored(AH(regs),&current->tss.vm86_info->int21_revectored))
i311arch/i386/kernel/vm86.cintr_ptr = (unsigned short *) (i << 2);
i328arch/i386/kernel/vm86.creturn_to_32bit(regs, VM86_INTx + (i << 8));
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);
i67arch/i386/mm/init.cint i,free = 0,total = 0,reserved = 0;
i73arch/i386/mm/init.ci = high_memory >> PAGE_SHIFT;
i74arch/i386/mm/init.cwhile (i-- > 0) {
i76arch/i386/mm/init.cif (mem_map[i] & MAP_PAGE_RESERVED)
i78arch/i386/mm/init.celse if (!mem_map[i])
i81arch/i386/mm/init.cshared += mem_map[i]-1;
i221arch/i386/mm/init.cint i;
i223arch/i386/mm/init.ci = high_memory >> PAGE_SHIFT;
i228arch/i386/mm/init.cwhile (i-- > 0)  {
i229arch/i386/mm/init.cif (mem_map[i] & MAP_PAGE_RESERVED)
i232arch/i386/mm/init.cif (!mem_map[i])
i234arch/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;
i50arch/sparc/kernel/idprom.cint i;
i52arch/sparc/kernel/idprom.cfor(i = 0; i<NUM_SUN_MACHINES; i++) {
i53arch/sparc/kernel/idprom.cif(Sun_Machines[i].id_machtype == machtyp) {
i55arch/sparc/kernel/idprom.cprintk("TYPE: %s\n", Sun_Machines[i].name);
i65arch/sparc/kernel/idprom.cif(i == NUM_SUN_MACHINES)
i168arch/sparc/kernel/irq.cint i, len = 0;
i171arch/sparc/kernel/irq.cfor (i = 0 ; i < 16 ; i++, action++) {
i175arch/sparc/kernel/irq.ci, kstat.interrupts[i],
i209arch/sparc/kernel/irq.cint i;
i215arch/sparc/kernel/irq.cfor (i = 0; i < 16; i++)
i216arch/sparc/kernel/irq.cif (irq_action[i].handler)
i217arch/sparc/kernel/irq.cprintk("[%s:%d:0x%x] ", irq_action[i].name, (int) i,
i218arch/sparc/kernel/irq.c(unsigned int) irq_action[i].handler);
i342arch/sparc/kernel/irq.cint ie_node, i;
i379arch/sparc/kernel/irq.cfor(i=0; i<NCPUS; i++)
i380arch/sparc/kernel/irq.cprintk("cpu%d: tbt %08x\n", i,
i381arch/sparc/kernel/irq.csun4m_interrupts->cpu_intregs[i].tbt);
i162arch/sparc/kernel/probe.cint i, cpuid;
i171arch/sparc/kernel/probe.cfor(i = 0; i<NSPARCCHIPS; i++)
i173arch/sparc/kernel/probe.cif(linux_sparc_chips[i].psr_impl == psr_impl)
i174arch/sparc/kernel/probe.cif(linux_sparc_chips[i].psr_vers == psr_vers)
i176arch/sparc/kernel/probe.csparc_cpu_type[cpuid] = linux_sparc_chips[i].cpu_name;
i181arch/sparc/kernel/probe.cif(i==NSPARCCHIPS)
i195arch/sparc/kernel/probe.cfor(i = 0; i<NSPARCFPU; i++)
i197arch/sparc/kernel/probe.cif(linux_sparc_fpu[i].psr_impl == psr_impl)
i198arch/sparc/kernel/probe.cif(linux_sparc_fpu[i].fp_vers == fpu_vers)
i200arch/sparc/kernel/probe.csparc_fpu_type[cpuid] = linux_sparc_fpu[i].fp_name;
i205arch/sparc/kernel/probe.cif(i == NSPARCFPU)
i476arch/sparc/kernel/probe.cint nd, i, prom_node_cpu, thismid;
i508arch/sparc/kernel/probe.cfor(i=0; i<cpu_ctr; i++) {
i509arch/sparc/kernel/probe.cprom_getstring(cpu_nds[i], "name", node_str, sizeof(node_str));
i510arch/sparc/kernel/probe.cprintk("cpu%d: %s \n", i, node_str);
i94arch/sparc/kernel/process.cint i;
i116arch/sparc/kernel/process.cfor(i=0; i<96; i++) *new_stack++ = *old_stack++;
i102arch/sparc/kernel/setup.cint i;
i103arch/sparc/kernel/setup.cfor(i=0; i<strlen(commands); i++)
i104arch/sparc/kernel/setup.cif(commands[i]=='-')
i105arch/sparc/kernel/setup.cswitch(commands[i+1]) {
i122arch/sparc/kernel/setup.ccommands[i+1]);
i154arch/sparc/kernel/setup.cint counter, total, i, node;
i237arch/sparc/kernel/setup.cfor(i=0; sp_banks[i].num_bytes != 0; i++) {
i239arch/sparc/kernel/setup.cprintk("Bank %d:  base 0x%x  bytes %d\n", i,
i240arch/sparc/kernel/setup.c(unsigned int) sp_banks[i].base_addr, 
i241arch/sparc/kernel/setup.c(int) sp_banks[i].num_bytes);
i243arch/sparc/kernel/setup.cend_of_phys_memory = sp_banks[i].base_addr + sp_banks[i].num_bytes;
i223arch/sparc/kernel/traps.cint i;
i245arch/sparc/kernel/traps.cfor(i=0; i<linux_num_cpus; i++) {
i246arch/sparc/kernel/traps.cif((linux_cpus[i].mid & (~8)) != 0x0) {
i248arch/sparc/kernel/traps.ccpuid = (linux_cpus[i].mid & (~8));
i250arch/sparc/kernel/traps.cthiscpus_mid = linux_cpus[i].mid;
i255arch/sparc/kernel/traps.cprintk("About to fire up cpu %d mid %d cpuid %d\n", i,
i256arch/sparc/kernel/traps.clinux_cpus[i].mid, cpuid);
i258arch/sparc/kernel/traps.cprom_startcpu(linux_cpus[i].prom_node, &ctx_reg, 0x0,
i260arch/sparc/kernel/traps.cprintk("Waiting for cpu %d to start up...\n", i);
i62arch/sparc/mm/fault.cregister int i;
i64arch/sparc/mm/fault.ci = 0;
i73arch/sparc/mm/fault.ci++;
i77arch/sparc/mm/fault.cif (i >= SPARC_PHYS_BANKS-1) {
i81arch/sparc/mm/fault.ci = SPARC_PHYS_BANKS-1;
i85arch/sparc/mm/fault.csp_banks[i].base_addr = (unsigned long) mlist->start_adr;
i86arch/sparc/mm/fault.csp_banks[i].num_bytes = mlist->num_bytes;
i89arch/sparc/mm/fault.ci++;
i90arch/sparc/mm/fault.csp_banks[i].base_addr = 0xdeadbeef;
i91arch/sparc/mm/fault.csp_banks[i].num_bytes = 0;
i82arch/sparc/mm/init.cint i,free = 0,total = 0,reserved = 0;
i88arch/sparc/mm/init.ci = high_memory >> PAGE_SHIFT;
i89arch/sparc/mm/init.cwhile (i-- > 0) {
i91arch/sparc/mm/init.cif (mem_map[i] & MAP_PAGE_RESERVED)
i93arch/sparc/mm/init.celse if (!mem_map[i])
i96arch/sparc/mm/init.cshared += mem_map[i]-1;
i122arch/sparc/mm/init.cint i;
i141arch/sparc/mm/init.cfor(i=0; i<MAX_CTXS; i++) ctx_tasks[i] = NULL;
i247arch/sparc/mm/init.cint i;
i249arch/sparc/mm/init.ci = high_memory >> PAGE_SHIFT;
i254arch/sparc/mm/init.cwhile (i-- > 0)  {
i255arch/sparc/mm/init.cif (mem_map[i] & MAP_PAGE_RESERVED)
i258arch/sparc/mm/init.cif (!mem_map[i])
i260arch/sparc/mm/init.cval->sharedram += mem_map[i]-1;
i37arch/sparc/mm/srmmu.cint i;
i39arch/sparc/mm/srmmu.cfor(i=0; sp_banks[i].num_bytes != 0; i++) {
i40arch/sparc/mm/srmmu.cif(voff < paddr + sp_banks[i].num_bytes) {
i42arch/sparc/mm/srmmu.creturn sp_banks[i].base_addr + voff - paddr;
i44arch/sparc/mm/srmmu.cpaddr += sp_banks[i].num_bytes;
i54arch/sparc/mm/srmmu.cint i;
i57arch/sparc/mm/srmmu.cfor (i=0; sp_banks[i].num_bytes != 0; i++)
i59arch/sparc/mm/srmmu.cif (paddr >= sp_banks[i].base_addr &&
i60arch/sparc/mm/srmmu.cpaddr < (sp_banks[i].base_addr
i61arch/sparc/mm/srmmu.c+ sp_banks[i].num_bytes)) {
i62arch/sparc/mm/srmmu.creturn (paddr - sp_banks[i].base_addr) + offset;
i64arch/sparc/mm/srmmu.coffset += sp_banks[i].num_bytes;
i629arch/sparc/mm/srmmu.cint i;
i644arch/sparc/mm/srmmu.cfor(i = 0; i < num_contexts; i++)
i645arch/sparc/mm/srmmu.csrmmu_pgd_set(&lnx_root[i], pmdp);
i781arch/sparc/mm/srmmu.cfor(i=0; i<num_contexts; i++)
i782arch/sparc/mm/srmmu.csrmmu_set_context(i);
i42arch/sparc/mm/sun4c.cint i;
i44arch/sparc/mm/sun4c.cfor(i=0; sp_banks[i].num_bytes != 0; i++) {
i45arch/sparc/mm/sun4c.cif(voff < paddr + sp_banks[i].num_bytes) {
i47arch/sparc/mm/sun4c.creturn sp_banks[i].base_addr + voff - paddr;
i49arch/sparc/mm/sun4c.cpaddr += sp_banks[i].num_bytes;
i59arch/sparc/mm/sun4c.cint i;
i62arch/sparc/mm/sun4c.cfor (i=0; sp_banks[i].num_bytes != 0; i++)
i64arch/sparc/mm/sun4c.cif (paddr >= sp_banks[i].base_addr &&
i65arch/sparc/mm/sun4c.cpaddr < (sp_banks[i].base_addr
i66arch/sparc/mm/sun4c.c+ sp_banks[i].num_bytes)) {
i67arch/sparc/mm/sun4c.creturn (paddr - sp_banks[i].base_addr) + offset;
i69arch/sparc/mm/sun4c.coffset += sp_banks[i].num_bytes;
i434arch/sparc/mm/sun4c.cint phys_seg, i, min_prom_segmap;
i452arch/sparc/mm/sun4c.cfor(i=0; i<num_segmaps; i++) phys_seg_map[i] = PSEG_AVL;
i453arch/sparc/mm/sun4c.cfor(i=num_segmaps; i<PSEG_ENTRIES; i++) phys_seg_map[i] = PSEG_RSV;
i510arch/sparc/mm/sun4c.cfor(i=0; i<num_contexts; i++)
i511arch/sparc/mm/sun4c.c(*romvec->pv_setctxt)(i, (char *) addr, phys_seg);
i547arch/sparc/mm/sun4c.cfor(i=0; i<num_contexts; i++)
i548arch/sparc/mm/sun4c.c(*romvec->pv_setctxt)(i, (char *) addr, phys_seg);
i39arch/sparc/prom/memory.cint i, mitr, tmpsize;
i43arch/sparc/prom/memory.cfor(i=0; thislist[i].theres_more != 0; i++) {
i44arch/sparc/prom/memory.clowest = thislist[i].start_adr;
i45arch/sparc/prom/memory.cfor(mitr = i+1; thislist[mitr-1].theres_more != 0; mitr++)
i50arch/sparc/prom/memory.cif(lowest == thislist[i].start_adr) continue;
i53arch/sparc/prom/memory.cfor(mitr = swapi; mitr > i; mitr--) {
i57arch/sparc/prom/memory.cthislist[i].start_adr = tmpaddr;
i58arch/sparc/prom/memory.cthislist[i].num_bytes = tmpsize;
i530drivers/block/aztcd.c{       int i, st;
i546drivers/block/aztcd.c{ if ((i=aztUpdateToc())<0) RETURNM("aztcd_ioctl 3", i); /* error reading TOC */
i581drivers/block/aztcd.ci = aztPlay(&azt_Play);
i582drivers/block/aztcd.cif (i < 0)
i606drivers/block/aztcd.ci = aztPlay(&azt_Play);
i607drivers/block/aztcd.cif (i < 0)
i641drivers/block/aztcd.ci = aztPlay(&azt_Play);
i642drivers/block/aztcd.cif (i < 0)
i820drivers/block/aztcd.cint i;
i821drivers/block/aztcd.cfor (i = 0; i < AZT_BUF_SIZ && azt_buf_bn[i] != bn; ++i)
i823drivers/block/aztcd.cif (i < AZT_BUF_SIZ) {
i824drivers/block/aztcd.cint offs = (i * 4 + (CURRENT -> sector & 3)) * 512;
i826drivers/block/aztcd.cif (azt_buf_out != i) {
i827drivers/block/aztcd.cazt_buf_out = i;
i828drivers/block/aztcd.cif (azt_buf_bn[i] != bn) {
i1183drivers/block/aztcd.cint i;
i1185drivers/block/aztcd.cfor (i=0; i<2048; i++) {
i1260drivers/block/aztcd.c{ int i;
i1265drivers/block/aztcd.cfor (i = 0; i < AZT_BUF_SIZ; ++i)
i1266drivers/block/aztcd.cazt_buf_bn[i] = -1;
i1700drivers/block/aztcd.c{       int i, px;
i1707drivers/block/aztcd.cfor (i = 0; i < MAX_TRACKS; i++)
i1708drivers/block/aztcd.cToc[i].pointIndex = 0;
i1710drivers/block/aztcd.ci = DiskInfo.last + 3;
i1731drivers/block/aztcd.ci--;
i1734drivers/block/aztcd.cif (i <= 0)
i1742drivers/block/aztcd.cfor (i = 1; i <= DiskInfo.last+1; i++)
i1744drivers/block/aztcd.ci, Toc[i].ctrl_addr, Toc[i].track, Toc[i].pointIndex,
i1745drivers/block/aztcd.cToc[i].trackTime.min, Toc[i].trackTime.sec, Toc[i].trackTime.frame,
i1746drivers/block/aztcd.cToc[i].diskTime.min, Toc[i].diskTime.sec, Toc[i].diskTime.frame);
i1747drivers/block/aztcd.cfor (i = 100; i < 103; i++)
i1749drivers/block/aztcd.ci, Toc[i].ctrl_addr, Toc[i].track, Toc[i].pointIndex,
i1750drivers/block/aztcd.cToc[i].trackTime.min, Toc[i].trackTime.sec, Toc[i].trackTime.frame,
i1751drivers/block/aztcd.cToc[i].diskTime.min, Toc[i].diskTime.sec, Toc[i].diskTime.frame);
i630drivers/block/cdu31a.cint i;
i689drivers/block/cdu31a.cfor (i=0; i<8; i++)
i717drivers/block/cdu31a.cfor (i=0; i<10; i++)
i1107drivers/block/cdu31a.cint i;
i1115drivers/block/cdu31a.cfor(i=0; i<CD_XA_HEAD; i++)
i1154drivers/block/cdu31a.cfor(i=0; i<CD_XA_TAIL; i++)
i1749drivers/block/cdu31a.cint i;
i1754drivers/block/cdu31a.cfor (i = 0; i < num_tracks; i++)
i1756drivers/block/cdu31a.cif (sony_toc->tracks[i].track == track)
i1758drivers/block/cdu31a.creturn i;
i2218drivers/block/cdu31a.cint i;
i2280drivers/block/cdu31a.ci=verify_area(VERIFY_READ, (char *) arg, 6);
i2281drivers/block/cdu31a.cif(i)
i2282drivers/block/cdu31a.creturn i;
i2287drivers/block/cdu31a.cfor (i=1; i<7; i++)
i2289drivers/block/cdu31a.cparams[i] = int_to_bcd(params[i]);
i2314drivers/block/cdu31a.ci=verify_area(VERIFY_WRITE, hdr, sizeof(*hdr));
i2315drivers/block/cdu31a.cif(i<0)
i2316drivers/block/cdu31a.creturn i;
i2337drivers/block/cdu31a.ci=verify_area(VERIFY_READ, entry, sizeof(*entry));
i2338drivers/block/cdu31a.cif(i<0)
i2339drivers/block/cdu31a.creturn i;
i2340drivers/block/cdu31a.ci=verify_area(VERIFY_WRITE, entry, sizeof(*entry));
i2341drivers/block/cdu31a.cif(i<0)
i2342drivers/block/cdu31a.creturn i;
i2393drivers/block/cdu31a.ci=verify_area(VERIFY_READ, (char *) arg, sizeof(ti));
i2394drivers/block/cdu31a.cif(i<0)
i2395drivers/block/cdu31a.creturn i;
i2462drivers/block/cdu31a.ci=verify_area(VERIFY_READ, (char *) arg, sizeof(volctrl));
i2463drivers/block/cdu31a.cif(i<0)
i2464drivers/block/cdu31a.creturn i;
i2491drivers/block/cdu31a.ci=verify_area(VERIFY_READ, (char *) arg, sizeof(ra));
i2492drivers/block/cdu31a.cif(i<0)
i2493drivers/block/cdu31a.creturn i;
i2496drivers/block/cdu31a.ci=verify_area(VERIFY_WRITE, ra.buf, CD_FRAMESIZE_RAW * ra.nframes);
i2497drivers/block/cdu31a.cif(i<0)
i2498drivers/block/cdu31a.creturn i;
i2812drivers/block/cdu31a.cint i;
i2854drivers/block/cdu31a.ci = 0;
i2855drivers/block/cdu31a.cwhile (   (cdu31a_addresses[i].base != 0)
i2858drivers/block/cdu31a.cif (check_region(cdu31a_addresses[i].base, 4)) {
i2859drivers/block/cdu31a.ci++;
i2862drivers/block/cdu31a.cget_drive_configuration(cdu31a_addresses[i].base,
i2868drivers/block/cdu31a.cirq_used = cdu31a_addresses[i].int_num;
i2872drivers/block/cdu31a.ci++;
i132drivers/block/cm206.c#define stats(i) ++cd->stats[st_ ## i]; \
i133drivers/block/cm206.ccd->last_stat[st_ ## i] = cd->stat_counter++;
i135drivers/block/cm206.c#define stats(i) (void) 0
i377drivers/block/cm206.cint i;
i379drivers/block/cm206.cfor(i=0; i<bytes; i++) 
i380drivers/block/cm206.cstatus[i] = send_receive(c_gimme);
i414drivers/block/cm206.cint i, e;
i417drivers/block/cm206.cfor (i=0; i<4; i++) 
i418drivers/block/cm206.cif (read_sector[i] != (e=send_receive(read_sector[i]))) {
i419drivers/block/cm206.cdebug(("read_sector: %x echoes %x\n", read_sector[i], e));
i544drivers/block/cm206.cint i=0;
i546drivers/block/cm206.cwhile (i++<10 && cd->dsb & dsb_drive_not_ready) {
i639drivers/block/cm206.clong int i, cd_sec_no;
i652drivers/block/cm206.cfor (i=0; i<CURRENT->nr_sectors; i++) {
i653drivers/block/cm206.ccd_sec_no = (CURRENT->sector+i)/4; /* 4 times 512 bytes */
i654drivers/block/cm206.cquarter = (CURRENT->sector+i) % 4; 
i655drivers/block/cm206.cdest = CURRENT->buffer + i*512;
i702drivers/block/cm206.cint i;
i706drivers/block/cm206.cfor (i=0; i<4; i++) type_0_command(seek_command[i], 0);
i728drivers/block/cm206.cint i, lba, l, old_lba=0;
i734drivers/block/cm206.cfor (i=track; i>0; i--) if (cd->toc[i].track) {
i735drivers/block/cm206.cmin = fsm2lba(cd->toc[i].fsm);
i782drivers/block/cm206.cint i;
i786drivers/block/cm206.cfor (i=0; i<3; i++) cd->toc[1].fsm[i] = cd->disc_status[3+i];
i798drivers/block/cm206.cint i;
i799drivers/block/cm206.cfor (i=0; i<9; i++) type_0_command(play_command[i], 0);
i800drivers/block/cm206.cfor (i=0; i<3; i++) 
i801drivers/block/cm206.cPLAY_TO.fsm[i] = play_command[i+4];
i809drivers/block/cm206.cint i;
i812drivers/block/cm206.cfor (i=0; i<3; i++) { 
i813drivers/block/cm206.cplay_command[i+1] = cd->audio_status[i+2];
i814drivers/block/cm206.cplay_command[i+4] = PLAY_TO.fsm[i];
i818drivers/block/cm206.cfor (i=0; i<3; i++) {
i819drivers/block/cm206.cplay_command[i+1] = cd->toc[from].fsm[i];
i820drivers/block/cm206.cPLAY_TO.fsm[i] = play_command[i+4] = cd->toc[to+1].fsm[i];
i824drivers/block/cm206.cfor (i=0; i<7; i++) type_0_command(play_command[i],0);
i825drivers/block/cm206.cfor (i=0; i<2; i++) type_0_command(0x2, 0); /* volume */
i831drivers/block/cm206.cint i;
i835drivers/block/cm206.cfor (i=2; i<6; i++) q[i]=bcdbin(q[i]); 
i1183drivers/block/cm206.cint i;
i1187drivers/block/cm206.cfor(i=1; i<=p[0]; i++) {
i1188drivers/block/cm206.cif (0x300 <= p[i] && i<= 0x370 && p[i] % 0x10 == 0) {
i1189drivers/block/cm206.ccm206_base = p[i];
i1192drivers/block/cm206.celse if (3 <= p[i] && p[i] <= 15) {
i1193drivers/block/cm206.ccm206_irq = p[i];
i449drivers/block/floppy.c#define _WAIT(x,i) CALL(ret=wait_til_done((x),i))
i873drivers/block/floppy.cint i, drive, saved_drive;
i879drivers/block/floppy.cfor(i=0; i< N_DRIVE; i++){
i880drivers/block/floppy.cdrive = (saved_drive + i + 1 ) % N_DRIVE;
i976drivers/block/floppy.cint i;
i979drivers/block/floppy.cfor(i=0; i< raw_cmd.cmd_count; i++)
i980drivers/block/floppy.cprintk("%x,", raw_cmd.cmd[i]);
i1068drivers/block/floppy.cint i = 0, counter, status;
i1080drivers/block/floppy.cresultsize = i;
i1082drivers/block/floppy.creturn i;
i1087drivers/block/floppy.cif (i >= MAX_REPLIES) {
i1091drivers/block/floppy.creply_buffer[i++] = inb_p(FD_DATA);
i1097drivers/block/floppy.cstatus, fdc, i);
i1349drivers/block/floppy.cint i,ready_date,r, flags,dflags;
i1381drivers/block/floppy.cfor(i=0; i< raw_cmd.cmd_count; i++)
i1382drivers/block/floppy.cr|=output_byte( raw_cmd.cmd[i] );
i1579drivers/block/floppy.cint i;
i1585drivers/block/floppy.cfor(i=0; i<inr; i++)
i1586drivers/block/floppy.cprintk("%d %x\n", i, reply_buffer[i] );
i1595drivers/block/floppy.cfor(i=0; i<inr; i++)
i1596drivers/block/floppy.cprintk("%d %x\n", i, reply_buffer[i] );
i1689drivers/block/floppy.cint i;
i1701drivers/block/floppy.cfor(i=0; i < OLOGSIZE; i++)
i1703drivers/block/floppy.coutput_log[(i+output_log_pos) % OLOGSIZE].data,
i1704drivers/block/floppy.coutput_log[(i+output_log_pos) % OLOGSIZE].status,
i1705drivers/block/floppy.coutput_log[(i+output_log_pos) % OLOGSIZE].jiffies);
i1708drivers/block/floppy.cfor(i=0; i<resultsize; i++){
i1709drivers/block/floppy.cprintk("%2x ", reply_buffer[i]);
i1715drivers/block/floppy.cfor(i=0; i<N_FDC; i++){
i1717drivers/block/floppy.cprintk("dor %d = %x\n", i, fdc_state[i].dor );
i1718drivers/block/floppy.coutb_p(fdc_state[i].address+2, fdc_state[i].dor);
i2791drivers/block/floppy.cint i;
i2793drivers/block/floppy.ci = verify_area(VERIFY_WRITE,param,size);
i2794drivers/block/floppy.cif (i)
i2795drivers/block/floppy.creturn i;
i2830drivers/block/floppy.cint i, drive, count, ret;
i2864drivers/block/floppy.ci = verify_area(VERIFY_READ, raw_cmd.data, count );
i2865drivers/block/floppy.cif (i)
i2866drivers/block/floppy.creturn i;
i2887drivers/block/floppy.cfor( i=0; i< raw_cmd.reply_count; i++)
i2888drivers/block/floppy.craw_cmd.reply[i] = reply_buffer[i];
i2898drivers/block/floppy.ci=fd_copyout( raw_cmd.data, floppy_track_buffer, count);
i2899drivers/block/floppy.cif (i)
i2900drivers/block/floppy.creturn i;
i2924drivers/block/floppy.cint i,device,drive,type,cnt;
i2936drivers/block/floppy.ci=verify_area(VERIFY_WRITE,(void *) param,16);
i2937drivers/block/floppy.cif (i)
i2938drivers/block/floppy.creturn i;
i2985drivers/block/floppy.cCALL(i = raw_cmd_ioctl((void *) param));
i2987drivers/block/floppy.creturn i;
i3450drivers/block/floppy.cint i;
i3452drivers/block/floppy.cfor (i=0; i < ARRAY_SIZE(default_drive_params); i++){
i3454drivers/block/floppy.cdefault_drive_params[i].params.flags |= 0x80;
i3456drivers/block/floppy.cdefault_drive_params[i].params.flags &= ~0x80;
i3463drivers/block/floppy.cint i;
i3465drivers/block/floppy.cfor (i=0; i < ARRAY_SIZE(default_drive_params); i++){
i3467drivers/block/floppy.cdefault_drive_params[i].params.select_delay = 0;
i3468drivers/block/floppy.cdefault_drive_params[i].params.flags |= FD_SILENT_DCL_CLEAR;
i3470drivers/block/floppy.cdefault_drive_params[i].params.select_delay = 2*HZ/100;
i3471drivers/block/floppy.cdefault_drive_params[i].params.flags &= ~FD_SILENT_DCL_CLEAR;
i3545drivers/block/floppy.cint i;
i3549drivers/block/floppy.cfor(i=0; i< ARRAY_SIZE(config_params); i++){
i3550drivers/block/floppy.cif (strcmp(str,config_params[i].name) == 0 ){
i3554drivers/block/floppy.cparam = config_params[i].def_param;
i3555drivers/block/floppy.cconfig_params[i].fn(ints,param);
i3561drivers/block/floppy.cfor(i=0; i< ARRAY_SIZE(config_params); i++)
i3562drivers/block/floppy.cprintk(" %s",config_params[i].name);
i3569drivers/block/floppy.cint i,drive;
i3579drivers/block/floppy.cfor(i=0; i<256; i++)
i3580drivers/block/floppy.cif ( TYPE(i))
i3581drivers/block/floppy.cfloppy_sizes[i] = floppy_type[TYPE(i)].size >> 1;
i3583drivers/block/floppy.cfloppy_sizes[i] = MAX_DISK_SIZE;
i3598drivers/block/floppy.cfor (i = 0 ; i < N_FDC ; i++) {
i3599drivers/block/floppy.cfdc = i;
i3628drivers/block/floppy.cfor (i = 0 ; i < N_FDC ; i++) {
i3629drivers/block/floppy.cfdc = i;
i3669drivers/block/floppy.cint i;
i3679drivers/block/floppy.cfor(i=0; i< N_FDC; i++){
i3681drivers/block/floppy.cfdc = i;
i3770drivers/block/floppy.cchar **environ,*env,*ptr,c,i;
i3777drivers/block/floppy.cfor(i=0; i<strlen(name); i++)
i3778drivers/block/floppy.cif ( (char) get_fs_byte(env++) != name[i] )
i3780drivers/block/floppy.cif(i == strlen(name)){
i113drivers/block/genhd.cint i, minor = current_minor, found_dm6 = 0;
i175drivers/block/genhd.cfor (i=1 ; i<=4 ; minor++,i++,p++) {
i192drivers/block/genhd.cfor (i = 4 ; i < 16 ; i++, current_minor++) {
i212drivers/block/genhd.cint i;
i264drivers/block/genhd.cfor (i = 0 ; i < label->d_npartitions; i++, partition++) {
i320drivers/block/genhd.cint i;
i328drivers/block/genhd.cfor (i=start ; i < j ; i++)
i329drivers/block/genhd.cdev->sizes[i] = dev->part[i].nr_sects >> (BLOCK_SIZE_BITS - 9);
i334drivers/block/genhd.cint i;
i340drivers/block/genhd.cfor (i = 0 ; i < j; i++)  {
i341drivers/block/genhd.cdev->part[i].start_sect = 0;
i342drivers/block/genhd.cdev->part[i].nr_sects = 0;
i349drivers/block/genhd.cfor (i=0 ; i < j ; i++)
i350drivers/block/genhd.cdev->sizes[i] = dev->part[i].nr_sects >> (BLOCK_SIZE_BITS - 9);
i540drivers/block/gscd.cint           i,dummy;
i558drivers/block/gscd.cfor ( i=1,dummy=1 ; i<0xFFFF ; i++ )
i560drivers/block/gscd.cdummy *= i;
i669drivers/block/gscd.cint  i,j;
i680drivers/block/gscd.cfor ( i=0 ; i<j ; i++ )
i749drivers/block/gscd.cint  i;
i775drivers/block/gscd.cfor ( i=0 ; i< size ; i++ )
i826drivers/block/gscd.cint  i;
i847drivers/block/gscd.cfor ( i=0 ; i<size ; i++ )
i865drivers/block/gscd.cint i;
i873drivers/block/gscd.cfor ( i=0 ; i<8 ; i++ )
i914drivers/block/gscd.cint  i;
i920drivers/block/gscd.cfor ( i=0 ; i<0x1E; i++ )
i922drivers/block/gscd.cprintk ( "%c", resp[i] );
i1022drivers/block/gscd.cint i;
i1046drivers/block/gscd.ci = find_drives ();
i1047drivers/block/gscd.cif ( i == 0 )
i1061drivers/block/gscd.ci = 0;
i1062drivers/block/gscd.cwhile ( drv_states[i] != 0 )
i1064drivers/block/gscd.ccurr_drv_state = drv_states[i];
i1065drivers/block/gscd.cprintk ( "GSCD: Reset unit %d ... ",i );
i1068drivers/block/gscd.ci++;
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++) barrier();
i380drivers/block/hd.cfor(i = 0; i < 1000; i++) barrier();
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) {
i957drivers/block/hd.cint i;
i1008drivers/block/hd.ci = NR_HD;
i1009drivers/block/hd.cwhile (i-- > 0) {
i1018drivers/block/hd.chd[i<<6].nr_sects = bios_info[i].head *
i1019drivers/block/hd.cbios_info[i].sect * bios_info[i].cyl;
i1020drivers/block/hd.chd_ident_info[i] = (struct hd_driveid *) kmalloc(512,GFP_KERNEL);
i1021drivers/block/hd.cspecial_op[i] = 1;
i1034drivers/block/hd.cfor(i=0;i<(MAX_HD << 6);i++) hd_blocksizes[i] = 1024;
i1087drivers/block/hd.cint i;
i1106drivers/block/hd.cfor (i=max_p - 1; i >=0 ; i--) {
i1107drivers/block/hd.csync_dev(major | start | i);
i1108drivers/block/hd.cinvalidate_inodes(major | start | i);
i1109drivers/block/hd.cinvalidate_buffers(major | start | i);
i1110drivers/block/hd.cgdev->part[start+i].start_sect = 0;
i1111drivers/block/hd.cgdev->part[start+i].nr_sects = 0;
i376drivers/block/ide-cd.cint i;
i432drivers/block/ide-cd.cfor (i=0; i<sizeof (failed_command->c); i++)
i433drivers/block/ide-cd.cprintk ("%02x ", failed_command->c[i]);
i1546drivers/block/ide-cd.cint stat, ntracks, i;
i1589drivers/block/ide-cd.cfor (i=0; i<=ntracks; i++)
i1593drivers/block/ide-cd.cbyte *adr = (byte *)&(toc->ent[i].lba);
i1594drivers/block/ide-cd.ctoc->ent[i].lba = msf_to_lba (adr[1], adr[2], adr[3]);
i1597drivers/block/ide-cd.cbyte_swap_long (&toc->ent[i].lba);
i400drivers/block/ide.cint i;
i406drivers/block/ide.ci = inb_p(0x40);
i407drivers/block/ide.ci |= inb(0x40) << 8;
i409drivers/block/ide.creturn (t - i);
i690drivers/block/ide.cint i = dev->mult_count ? dev->mult_count<<8 : 1<<8;
i691drivers/block/ide.cwhile (i-- > 0)      /* try to flush data */
i712drivers/block/ide.cint i;
i740drivers/block/ide.ci = (rq->nr_sectors -= nsect);
i743drivers/block/ide.cif (i > 0) {
i756drivers/block/ide.cint i;
i769drivers/block/ide.ci = --rq->nr_sectors;
i773drivers/block/ide.cif (i > 0) {
i823drivers/block/ide.cint i;
i837drivers/block/ide.cfor (i = rq->nr_sectors; i > 0;){
i838drivers/block/ide.ci -= rq->current_nr_sectors;
i1398drivers/block/ide.cunsigned int i, major, start, drive = DEVICE_NR(i_rdev);
i1419drivers/block/ide.cfor (i = 0; i < (1<<PARTN_BITS); i++) {
i1420drivers/block/ide.cunsigned int minor = start + i;
i2062drivers/block/ide.cint i, hwif, drive = next_drive++;
i2123drivers/block/ide.cfor (i=0; i++ < ints[0];)
i2124drivers/block/ide.cprintk("%s=%d%c",p[i-1],ints[i],i<ints[0]?',':'\n');
i2351drivers/block/ide.cint i;
i2353drivers/block/ide.cfor(i = 0; i < 3; i++) {
i451drivers/block/ll_rw_blk.cint i;
i473drivers/block/ll_rw_blk.ci = blksize_size[major][MINOR(bh[0]->b_dev)];
i474drivers/block/ll_rw_blk.cif (i)
i475drivers/block/ll_rw_blk.ccorrect_size = i;
i479drivers/block/ll_rw_blk.cfor (i = 0; i < nr; i++) {
i480drivers/block/ll_rw_blk.cif (bh[i] && bh[i]->b_size != correct_size) {
i483drivers/block/ll_rw_blk.ccorrect_size, bh[i]->b_size);
i500drivers/block/ll_rw_blk.cfor (i = 0; i < nr; i++) {
i501drivers/block/ll_rw_blk.cif (bh[i]) {
i502drivers/block/ll_rw_blk.cbh[i]->b_req = 1;
i503drivers/block/ll_rw_blk.cmake_request(major, rw, bh[i]);
i514drivers/block/ll_rw_blk.cfor (i = 0; i < nr; i++) {
i515drivers/block/ll_rw_blk.cif (bh[i])
i516drivers/block/ll_rw_blk.cbh[i]->b_dirt = bh[i]->b_uptodate = 0;
i523drivers/block/ll_rw_blk.cint i, j;
i545drivers/block/ll_rw_blk.cfor (j=0, i=0; i<nb;)
i547drivers/block/ll_rw_blk.cfor (; j < 8 && i < nb; j++, i++, buf += buffersize)
i560drivers/block/ll_rw_blk.creq[j]->sector = (b[i] * buffersize) >> 9;
i260drivers/block/mcd.cint i, st;
i279drivers/block/mcd.ci = updateToc();
i280drivers/block/mcd.cif (i < 0)
i281drivers/block/mcd.creturn i;  /* error reading TOC */
i296drivers/block/mcd.ci = getMcdStatus(MCD_STATUS_DELAY);
i308drivers/block/mcd.ci = getMcdStatus(MCD_STATUS_DELAY);
i329drivers/block/mcd.ci = mcdPlay(&mcd_Play);
i330drivers/block/mcd.cif (i < 0)
i366drivers/block/mcd.ci = mcdPlay(&mcd_Play);
i367drivers/block/mcd.cif (i < 0)
i380drivers/block/mcd.ci = getMcdStatus(MCD_STATUS_DELAY);
i412drivers/block/mcd.ci = mcdPlay(&mcd_Play);
i413drivers/block/mcd.cif (i < 0)
i521drivers/block/mcd.ci = getMcdStatus(MCD_STATUS_DELAY);
i522drivers/block/mcd.cif (i < 0)
i540drivers/block/mcd.ci = getMcdStatus(MCD_STATUS_DELAY);
i551drivers/block/mcd.ci = getMcdStatus(MCD_STATUS_DELAY);
i570drivers/block/mcd.cint i;
i571drivers/block/mcd.cfor (i = 0; i < MCD_BUF_SIZ && mcd_buf_bn[i] != bn; ++i)
i573drivers/block/mcd.cif (i < MCD_BUF_SIZ) {
i574drivers/block/mcd.cint offs = (i * 4 + (CURRENT -> sector & 3)) * 512;
i576drivers/block/mcd.cif (mcd_buf_out != i) {
i577drivers/block/mcd.cmcd_buf_out = i;
i578drivers/block/mcd.cif (mcd_buf_bn[i] != bn) {
i928drivers/block/mcd.cint i = 4096;
i931drivers/block/mcd.c} while ((inb(MCDPORT(1)) & MFL_STATUSorDATA) == MFL_STATUS && --i);
i934drivers/block/mcd.ci = 4096;
i937drivers/block/mcd.c} while ((inb(MCDPORT(1)) & MFL_STATUSorDATA) == MFL_STATUS && --i);
i1018drivers/block/mcd.cint i;
i1019drivers/block/mcd.cfor (i = 0; i < MCD_BUF_SIZ; ++i)
i1020drivers/block/mcd.cmcd_buf_bn[i] = -1;
i1269drivers/block/mcd.cint i;
i1275drivers/block/mcd.ci = inb(MCDPORT(0)) & 0xFF;
i1276drivers/block/mcd.creturn i;
i1500drivers/block/mcd.cint i, px;
i1505drivers/block/mcd.cfor (i = 0; i < MAX_TRACKS; i++)
i1506drivers/block/mcd.cToc[i].pointIndex = 0;
i1508drivers/block/mcd.ci = DiskInfo.last + 3;
i1542drivers/block/mcd.ci--;
i1545drivers/block/mcd.cif (i <= 0)
i1561drivers/block/mcd.cfor (i = 1; i <= DiskInfo.last; i++)
i1563drivers/block/mcd.ci, Toc[i].ctrl_addr, Toc[i].track, Toc[i].pointIndex,
i1564drivers/block/mcd.cToc[i].trackTime.min, Toc[i].trackTime.sec, Toc[i].trackTime.frame,
i1565drivers/block/mcd.cToc[i].diskTime.min, Toc[i].diskTime.sec, Toc[i].diskTime.frame);
i1566drivers/block/mcd.cfor (i = 100; i < 103; i++)
i1568drivers/block/mcd.ci, Toc[i].ctrl_addr, Toc[i].track, Toc[i].pointIndex,
i1569drivers/block/mcd.cToc[i].trackTime.min, Toc[i].trackTime.sec, Toc[i].trackTime.frame,
i1570drivers/block/mcd.cToc[i].diskTime.min, Toc[i].diskTime.sec, Toc[i].diskTime.frame);
i497drivers/block/mcdx.cint i;
i499drivers/block/mcdx.cif (-1 == (i = mcdx_transfer(
i512drivers/block/mcdx.cCURRENT->sector += i;
i513drivers/block/mcdx.cCURRENT->nr_sectors -= i;
i514drivers/block/mcdx.cCURRENT->buffer += (i * 512);
i778drivers/block/mcdx.cunsigned char i;
i781drivers/block/mcdx.cfor (i = 1; i < cmdlen; i++) printk(" 0x%02x", cmd[i]);
i859drivers/block/mcdx.cint i;
i863drivers/block/mcdx.cfor (i = 0; i < MCDX_NDRIVES; i++)  {
i864drivers/block/mcdx.cif (mcdx_stuffp[i]) {
i866drivers/block/mcdx.ci, mcdx_stuffp[i]));
i881drivers/block/mcdx.cint i;
i885drivers/block/mcdx.cfor (i = 0; i < MCDX_NDRIVES; i++) {
i887drivers/block/mcdx.cstuffp = mcdx_stuffp[i];
i896drivers/block/mcdx.cmcdx_stuffp[i] = NULL;
i1055drivers/block/mcdx.cint i;
i1057drivers/block/mcdx.cfor (i = 100; i; i--) (void) inb((unsigned int) stuffp->rreg_status);
i522drivers/block/optcd.cint i;
i544drivers/block/optcd.cfor (i = 1; i <= DiskInfo.last + 1; i++)
i547drivers/block/optcd.ci, Toc[i].ctrl_addr,
i548drivers/block/optcd.cToc[i].track,
i549drivers/block/optcd.cToc[i].pointIndex,
i550drivers/block/optcd.cToc[i].trackTime.min,
i551drivers/block/optcd.cToc[i].trackTime.sec,
i552drivers/block/optcd.cToc[i].trackTime.frame,
i553drivers/block/optcd.cToc[i].diskTime.min,
i554drivers/block/optcd.cToc[i].diskTime.sec,
i555drivers/block/optcd.cToc[i].diskTime.frame);
i556drivers/block/optcd.cfor (i = 100; i < 103; i++)
i559drivers/block/optcd.ci, Toc[i].ctrl_addr,
i560drivers/block/optcd.cToc[i].track,
i561drivers/block/optcd.cToc[i].pointIndex,
i562drivers/block/optcd.cToc[i].trackTime.min,
i563drivers/block/optcd.cToc[i].trackTime.sec,
i564drivers/block/optcd.cToc[i].trackTime.frame,
i565drivers/block/optcd.cToc[i].diskTime.min,
i566drivers/block/optcd.cToc[i].diskTime.sec,
i567drivers/block/optcd.cToc[i].diskTime.frame);
i604drivers/block/optcd.cint i;
i608drivers/block/optcd.cfor (i = 0; i < OPT_BUF_SIZ; i++)
i609drivers/block/optcd.copt_buf_bn[i] = OPT_NOBUF;
i625drivers/block/optcd.cint i, offs, nr_sectors;
i626drivers/block/optcd.cfor (i = 0; i < OPT_BUF_SIZ && opt_buf_bn[i] != bn; ++i);
i628drivers/block/optcd.cprintk("optcd: found %d\n", i);
i630drivers/block/optcd.cif (i >= OPT_BUF_SIZ) {
i634drivers/block/optcd.coffs = (i * 4 + (CURRENT -> sector & 3)) * 512;
i636drivers/block/optcd.cif (opt_buf_out != i) {
i637drivers/block/optcd.copt_buf_out = i;
i638drivers/block/optcd.cif (opt_buf_bn[i] != bn) {
i1294drivers/block/optcd.cint count, i, ch;
i1300drivers/block/optcd.cfor (i = 0, ch = -1; count > 0; count--) {
i1303drivers/block/optcd.cif (i < 99)
i1304drivers/block/optcd.cdevname[i++] = ch;
i1306drivers/block/optcd.cdevname[i] = '\0';
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++;
i731drivers/block/sbpcd.cstatic void mark_timeout_delay(u_long i)
i737drivers/block/sbpcd.cstatic void mark_timeout_data(u_long i)
i744drivers/block/sbpcd.cstatic void mark_timeout_audio(u_long i)
i818drivers/block/sbpcd.cstatic INLINE u_char swap_nibbles(u_char i)
i820drivers/block/sbpcd.creturn ((i<<4)|(i>>4));
i823drivers/block/sbpcd.cstatic INLINE u_char byt2bcd(u_char i)
i825drivers/block/sbpcd.creturn (((i/10)<<4)+i%10);
i836drivers/block/sbpcd.cint i;
i839drivers/block/sbpcd.ci=(msf.c[2] * CD_SECS + msf.c[1]) * CD_FRAMES + msf.c[0] - CD_BLOCK_OFFSET;
i840drivers/block/sbpcd.cif (i<0) return (0);
i841drivers/block/sbpcd.creturn (i);
i849drivers/block/sbpcd.cint i;
i851drivers/block/sbpcd.ci=(msf[0] * CD_SECS + msf[1]) * CD_FRAMES + msf[2] - CD_BLOCK_OFFSET;
i852drivers/block/sbpcd.cif (i<0) return (0);
i853drivers/block/sbpcd.creturn (i);
i894drivers/block/sbpcd.cint i;
i896drivers/block/sbpcd.cfor (i=0;i<10;i++) drvcmd[i]=0;
i902drivers/block/sbpcd.cint i;
i906drivers/block/sbpcd.cfor (i=maxtim_data;i!=0;i--) inb(CDi_status);
i909drivers/block/sbpcd.cfor (i=maxtim02;i!=0;i--) inb(CDi_status);
i913drivers/block/sbpcd.cfor (i=maxtim_data;i!=0;i--) inb(CDi_status);
i920drivers/block/sbpcd.cint i,j;
i923drivers/block/sbpcd.cfor(timeout = jiffies + 1000, i=maxtim_data; timeout > jiffies; )
i925drivers/block/sbpcd.cfor ( ;i!=0;i--)
i933drivers/block/sbpcd.ci = 1;
i937drivers/block/sbpcd.cfor(i=maxtim16;i!=0;i--)
i945drivers/block/sbpcd.cfor(timeout = jiffies + 1000, i=maxtim_data; timeout > jiffies; )
i947drivers/block/sbpcd.cfor ( ;i!=0;i--)
i955drivers/block/sbpcd.ci = 1;
i966drivers/block/sbpcd.cint i;
i968drivers/block/sbpcd.ci=inb(CDi_status);
i969drivers/block/sbpcd.cif (i&s_not_data_ready) return (0);
i975drivers/block/sbpcd.cint i;
i977drivers/block/sbpcd.ci=inb(CDi_status);
i978drivers/block/sbpcd.cif (i&s_not_result_ready) return (0);
i984drivers/block/sbpcd.cint i;
i986drivers/block/sbpcd.ci=inb(CDi_status);
i987drivers/block/sbpcd.cif (i&s_attention) return (1);
i995drivers/block/sbpcd.cint i,j,st=0;
i1003drivers/block/sbpcd.cfor (i=0;i<response_count;i++)
i1012drivers/block/sbpcd.cmsg(DBG_SEQ,"ResponseInfo: not_result_ready (got %d of %d bytes).\n", i, response_count);
i1015drivers/block/sbpcd.cinfobuf[i]=inb(CDi_info);
i1019drivers/block/sbpcd.cfor (i=0,timeout=jiffies+100;i<response_count;i++) 
i1033drivers/block/sbpcd.cinfobuf[i]=inb(CDi_info);
i1039drivers/block/sbpcd.cinfobuf[i++]=inb(CDi_info);
i1041drivers/block/sbpcd.cj=i-response_count;
i1044drivers/block/sbpcd.cfor (j=0;j<i;j++)
i1047drivers/block/sbpcd.cmsg(DBG_CMD,"ResponseInfo:%s (%d,%d)\n",msgbuf,response_count,i);
i1048drivers/block/sbpcd.cj=response_count-i;
i1050drivers/block/sbpcd.celse return (i);
i1106drivers/block/sbpcd.cint i;
i1114drivers/block/sbpcd.ci=cmd_out_T();
i1115drivers/block/sbpcd.cif (i>=0) i=infobuf[0];
i1118drivers/block/sbpcd.cmsg(DBG_TEA,"get_state_T error %d\n", i);
i1119drivers/block/sbpcd.creturn (i);
i1121drivers/block/sbpcd.cif (i>=0)
i1151drivers/block/sbpcd.cint i,j;
i1167drivers/block/sbpcd.ci=inb(CDi_status);
i1168drivers/block/sbpcd.cif (!(i&s_not_result_ready)) break;
i1181drivers/block/sbpcd.ci=inb(CDi_status);
i1182drivers/block/sbpcd.cif (!(i&s_not_result_ready)) break;
i1197drivers/block/sbpcd.ci=inb(CDi_info);
i1198drivers/block/sbpcd.cmsg(DBG_STA,"ResponseStatus: response %02X.\n", i);
i1199drivers/block/sbpcd.cEvaluateStatus(i);
i1203drivers/block/sbpcd.cmsg(DBG_STA,"status_bits=%02X, i=%02X\n",D_S[d].status_bits,i);
i1207drivers/block/sbpcd.creturn (i);
i1213drivers/block/sbpcd.cint i;
i1221drivers/block/sbpcd.cif (!fam0L_drive) for (i=0;i<6;i++) OUT(CDo_command,0);
i1227drivers/block/sbpcd.cint i;
i1257drivers/block/sbpcd.ci=cmd_out();
i1259drivers/block/sbpcd.cmsg(DBG_ERR,"cc_ReadError: cmd_out(CMDx_READ_ERR) returns %d (%02X)\n",i,i);
i1260drivers/block/sbpcd.cif (i<0) return (i);
i1261drivers/block/sbpcd.cif (fam0_drive) i=1;
i1262drivers/block/sbpcd.celse i=2;
i1263drivers/block/sbpcd.cD_S[d].error_byte=infobuf[i];
i1264drivers/block/sbpcd.cmsg(DBG_ERR,"cc_ReadError: infobuf[%d] is %d (%02X)\n",i,D_S[d].error_byte,D_S[d].error_byte);
i1265drivers/block/sbpcd.ci=sta2err(infobuf[i]);
i1266drivers/block/sbpcd.creturn (i);
i1275drivers/block/sbpcd.cint i, j, l, ntries;
i1281drivers/block/sbpcd.cfor (i=0;i<10;i++) sprintf(&msgbuf[i*3]," %02X",drvcmd[i]);
i1282drivers/block/sbpcd.cmsgbuf[i*3]=0;
i1287drivers/block/sbpcd.ci=inb(CDi_status);
i1288drivers/block/sbpcd.cif (!(i&s_not_result_ready))
i1292drivers/block/sbpcd.ci=inb(CDi_status);
i1296drivers/block/sbpcd.cwhile (!(i&s_not_result_ready));
i1298drivers/block/sbpcd.cfor (i=0;i<10;i++) OUT(CDo_command,drvcmd[i]);
i1306drivers/block/sbpcd.ci=inb(CDi_status);
i1307drivers/block/sbpcd.cif (!(i&s_not_data_ready)) /* f.e. CMDT_DISKINFO */
i1317drivers/block/sbpcd.ci=inb(CDi_status);
i1319drivers/block/sbpcd.cwhile (!(i&s_not_data_ready));
i1330drivers/block/sbpcd.ci=inb(CDi_data);
i1332drivers/block/sbpcd.ci=inb(CDi_status);
i1334drivers/block/sbpcd.cwhile (!(i&s_not_data_ready));
i1339drivers/block/sbpcd.ci=inb(CDi_status);
i1340drivers/block/sbpcd.cif (!(i&s_not_result_ready))
i1347drivers/block/sbpcd.ci=inb(CDi_status);
i1349drivers/block/sbpcd.cwhile (!(i&s_not_result_ready));
i1389drivers/block/sbpcd.cint i=0;
i1395drivers/block/sbpcd.cfor (i=0;i<7;i++)
i1396drivers/block/sbpcd.csprintf(&msgbuf[i*3], " %02X", drvcmd[i]);
i1397drivers/block/sbpcd.cmsgbuf[i*3]=0;
i1400drivers/block/sbpcd.cfor (i=0;i<7;i++) OUT(CDo_command,drvcmd[i]);
i1412drivers/block/sbpcd.celse i=ResponseInfo();
i1413drivers/block/sbpcd.cif (i<0) return (i);
i1418drivers/block/sbpcd.ci=CDi_stat_loop();
i1419drivers/block/sbpcd.cif ((i<0)||!(i&s_attention)) return (-8);
i1431drivers/block/sbpcd.ci=ResponseStatus();
i1433drivers/block/sbpcd.cif (i<0) return (i);
i1438drivers/block/sbpcd.cif ((flags_cmd_out&f_bit1)&&(i&p_success)) goto LOC_232;
i1447drivers/block/sbpcd.ci=cc_ReadError();
i1449drivers/block/sbpcd.cmsg(DBG_000,"cmd_out: cc_ReadError=%d\n", i);
i1450drivers/block/sbpcd.creturn (i);
i1455drivers/block/sbpcd.cint i;
i1502drivers/block/sbpcd.ci=cmd_out();
i1503drivers/block/sbpcd.creturn (i);
i1508drivers/block/sbpcd.cint i;
i1536drivers/block/sbpcd.ci=cmd_out();
i1538drivers/block/sbpcd.creturn (i);
i1543drivers/block/sbpcd.cint i;
i1570drivers/block/sbpcd.ci=cmd_out();
i1571drivers/block/sbpcd.creturn (i);
i1576drivers/block/sbpcd.cint i;
i1582drivers/block/sbpcd.ci=cmd_out_T();
i1583drivers/block/sbpcd.creturn (i);
i1588drivers/block/sbpcd.cint i;
i1602drivers/block/sbpcd.ci=cmd_out_T();
i1603drivers/block/sbpcd.creturn (i);
i1608drivers/block/sbpcd.cint i, j;
i1610drivers/block/sbpcd.ci=cc_get_mode_T();
i1611drivers/block/sbpcd.cif (i<0) return (i);
i1612drivers/block/sbpcd.cfor (i=0;i<10;i++)
i1613drivers/block/sbpcd.csprintf(&msgbuf[i*3], " %02X", infobuf[i]);
i1614drivers/block/sbpcd.cmsgbuf[i*3]=0;
i1626drivers/block/sbpcd.ci=cc_get_mode_T();
i1627drivers/block/sbpcd.cfor (i=0;i<10;i++)
i1628drivers/block/sbpcd.csprintf(&msgbuf[i*3], " %02X", infobuf[i]);
i1629drivers/block/sbpcd.cmsgbuf[i*3]=0;
i1636drivers/block/sbpcd.cint i;
i1669drivers/block/sbpcd.ci=cmd_out();
i1670drivers/block/sbpcd.creturn (i);
i1675drivers/block/sbpcd.cint i;
i1772drivers/block/sbpcd.ci=channel1;
i1774drivers/block/sbpcd.cchannel0=i;
i1775drivers/block/sbpcd.ci=volume1;
i1777drivers/block/sbpcd.cvolume0=i;
i1825drivers/block/sbpcd.ci=cc_prep_mode_T();
i1826drivers/block/sbpcd.cif (i<0) return (i);
i1831drivers/block/sbpcd.ci=cmd_out();
i1832drivers/block/sbpcd.cif (i<0) return (i);
i1840drivers/block/sbpcd.cint i;
i1846drivers/block/sbpcd.ci=cmd_out();
i1847drivers/block/sbpcd.creturn (i);
i1852drivers/block/sbpcd.cint i;
i1862drivers/block/sbpcd.ci=cmd_out();
i1868drivers/block/sbpcd.ci=cmd_out();
i1876drivers/block/sbpcd.cfor (i=1;i<10;i++) OUT(CDo_command,0);
i1888drivers/block/sbpcd.ci=GetStatus();
i1889drivers/block/sbpcd.cif (i<0) return i;
i1897drivers/block/sbpcd.cint i, speed;
i1906drivers/block/sbpcd.ci=cc_SetSpeed(speed,0,0);
i1907drivers/block/sbpcd.creturn (i);
i1912drivers/block/sbpcd.cint i;
i1914drivers/block/sbpcd.ci=cc_DriveReset();
i1915drivers/block/sbpcd.cif (i<0) return (-22);
i1918drivers/block/sbpcd.ci=GetStatus();
i1919drivers/block/sbpcd.cif ((i<0)&&(i!=-615)) return (-2); /* i!=-615 is from sta2err */
i1929drivers/block/sbpcd.ci=DiskInfo();
i1930drivers/block/sbpcd.cif (i<0) return (-23);
i1937drivers/block/sbpcd.cint i, j, n;
i1945drivers/block/sbpcd.ci=msf2blk(pos_audio_start);
i1946drivers/block/sbpcd.cn=msf2blk(pos_audio_end)+1-i;
i1947drivers/block/sbpcd.cdrvcmd[1]=(i>>16)&0x00FF;
i1948drivers/block/sbpcd.cdrvcmd[2]=(i>>8)&0x00FF;
i1949drivers/block/sbpcd.cdrvcmd[3]=i&0x00FF;
i1989drivers/block/sbpcd.ci=cmd_out();
i1990drivers/block/sbpcd.creturn (i);
i1995drivers/block/sbpcd.cint i;
i2028drivers/block/sbpcd.ci=cmd_out();
i2029drivers/block/sbpcd.creturn (i);
i2034drivers/block/sbpcd.cint i;
i2064drivers/block/sbpcd.ci=cmd_out();
i2066drivers/block/sbpcd.creturn (i);
i2072drivers/block/sbpcd.cint i,j;
i2077drivers/block/sbpcd.ci=cc_LockDoor(0);
i2081drivers/block/sbpcd.cwhile ((i<0)&&(j));
i2082drivers/block/sbpcd.cif (i<0)
i2092drivers/block/sbpcd.cint i,j;
i2097drivers/block/sbpcd.ci=cc_LockDoor(1);
i2101drivers/block/sbpcd.cwhile ((i<0)&&(j));
i2108drivers/block/sbpcd.ci=cc_LockDoor(1);
i2112drivers/block/sbpcd.cwhile ((i<0)&&(j));
i2114drivers/block/sbpcd.creturn (i);
i2119drivers/block/sbpcd.cint i;
i2150drivers/block/sbpcd.ci=cmd_out();
i2152drivers/block/sbpcd.creturn (i);
i2157drivers/block/sbpcd.cint i,j;
i2196drivers/block/sbpcd.ci=cmd_out();
i2197drivers/block/sbpcd.cif (i<0) return (i);
i2198drivers/block/sbpcd.cfor (i=0;i<response_count;i++)
i2200drivers/block/sbpcd.csprintf(&msgbuf[i*3], " %02X", infobuf[i]);
i2201drivers/block/sbpcd.cmsgbuf[i*3]=0;
i2217drivers/block/sbpcd.cif (fam0L_drive) i=5;
i2218drivers/block/sbpcd.celse if (fam12_drive) i=4;
i2219drivers/block/sbpcd.celse if (famT_drive) i=8;
i2220drivers/block/sbpcd.cD_S[d].SubQ_run_tot=make32(make16(0,infobuf[i]),make16(infobuf[i+1],infobuf[i+2])); /* msf-bin */
i2221drivers/block/sbpcd.ci=7;
i2222drivers/block/sbpcd.cif (fam0L_drive) i=9;
i2223drivers/block/sbpcd.celse if (fam12_drive) i=7;
i2224drivers/block/sbpcd.celse if (famT_drive) i=4;
i2225drivers/block/sbpcd.cD_S[d].SubQ_run_trk=make32(make16(0,infobuf[i]),make16(infobuf[i+1],infobuf[i+2])); /* msf-bin */
i2226drivers/block/sbpcd.cD_S[d].SubQ_whatisthis=infobuf[i+3];
i2233drivers/block/sbpcd.cint i;
i2257drivers/block/sbpcd.ci=cmd_out();
i2258drivers/block/sbpcd.cif (i<0) return (i);
i2259drivers/block/sbpcd.ci=0;
i2260drivers/block/sbpcd.cif (fam1_drive) D_S[d].sense_byte=infobuf[i++];
i2266drivers/block/sbpcd.ci=2;
i2268drivers/block/sbpcd.cD_S[d].frame_size=make16(infobuf[i],infobuf[i+1]);
i2269drivers/block/sbpcd.cfor (i=0;i<response_count;i++)
i2270drivers/block/sbpcd.csprintf(&msgbuf[i*3], " %02X", infobuf[i]);
i2271drivers/block/sbpcd.cmsgbuf[i*3]=0;
i2281drivers/block/sbpcd.cint i;
i2319drivers/block/sbpcd.ci=cmd_out();
i2320drivers/block/sbpcd.cif (i<0) return (i);
i2327drivers/block/sbpcd.cint i;
i2362drivers/block/sbpcd.ci=cc_get_mode_T();
i2363drivers/block/sbpcd.cif (i<0) return (i);
i2367drivers/block/sbpcd.ci=cmd_out();
i2368drivers/block/sbpcd.cif (i<0) return (i);
i2461drivers/block/sbpcd.cint i, j;
i2495drivers/block/sbpcd.ci=cmd_out();
i2496drivers/block/sbpcd.cif (i>=0) break;
i2497drivers/block/sbpcd.cmsg(DBG_000,"cc_ReadCapacity: cmd_out: err %d\n", i);
i2500drivers/block/sbpcd.cif (j==0) return (i);
i2518drivers/block/sbpcd.cint i;
i2558drivers/block/sbpcd.ci=cmd_out();
i2559drivers/block/sbpcd.cif (i<0) return (i);
i2587drivers/block/sbpcd.ci=cmd_out();
i2588drivers/block/sbpcd.cif (i<0) return (i);
i2600drivers/block/sbpcd.ci=cmd_out();
i2601drivers/block/sbpcd.cif (i<0) return (i);
i2631drivers/block/sbpcd.cint i;
i2670drivers/block/sbpcd.ci=cmd_out();
i2671drivers/block/sbpcd.cif (i<0) return (i);
i2675drivers/block/sbpcd.ci=1;
i2677drivers/block/sbpcd.celse if (fam2_drive) i=0;
i2680drivers/block/sbpcd.ci=5;
i2682drivers/block/sbpcd.cD_S[d].TocEnt_ctl_adr=swap_nibbles(infobuf[i++]);
i2685drivers/block/sbpcd.cD_S[d].TocEnt_number=infobuf[i++];
i2686drivers/block/sbpcd.cD_S[d].TocEnt_format=infobuf[i];
i2689drivers/block/sbpcd.cif (fam1_drive) i=4;
i2690drivers/block/sbpcd.celse if (fam0L_drive) i=5;
i2691drivers/block/sbpcd.celse if (fam2_drive) i=2;
i2692drivers/block/sbpcd.celse if (famT_drive) i=9;
i2693drivers/block/sbpcd.cD_S[d].TocEnt_address=make32(make16(0,infobuf[i]),
i2694drivers/block/sbpcd.cmake16(infobuf[i+1],infobuf[i+2]));
i2704drivers/block/sbpcd.cint i;
i2717drivers/block/sbpcd.ci=cmd_out();
i2718drivers/block/sbpcd.creturn (i);
i2723drivers/block/sbpcd.cint i;
i2727drivers/block/sbpcd.cfor (i=0;i<7;i++)
i2729drivers/block/sbpcd.cif (fam1_drive) D_S[d].UPC_buf[i]=swap_nibbles(*p++);
i2732drivers/block/sbpcd.cD_S[d].UPC_buf[i]=((*p++)<<4)&0xFF;
i2733drivers/block/sbpcd.cD_S[d].UPC_buf[i] |= *p++;
i2750drivers/block/sbpcd.cint i;
i2797drivers/block/sbpcd.ci=cmd_out();
i2798drivers/block/sbpcd.cif (i<0)
i2800drivers/block/sbpcd.cmsg(DBG_000,"cc_ReadUPC cmd_out: err %d\n", i);
i2801drivers/block/sbpcd.creturn (i);
i2807drivers/block/sbpcd.ci=cc_ReadPacket();
i2808drivers/block/sbpcd.cif (i<0)
i2810drivers/block/sbpcd.cmsg(DBG_000,"cc_ReadUPC ReadPacket: err %d\n", i);
i2811drivers/block/sbpcd.creturn (i);
i2817drivers/block/sbpcd.cfor (i=0;i<(fam1_drive?8:16);i++)
i2820drivers/block/sbpcd.cchecksum |= infobuf[i];
i2822drivers/block/sbpcd.csprintf(&msgbuf[i*3], " %02X", infobuf[i]);
i2824drivers/block/sbpcd.cmsgbuf[i*3]=0;
i2831drivers/block/sbpcd.cif (fam1_drive) i=0;
i2832drivers/block/sbpcd.celse i=2;
i2833drivers/block/sbpcd.cif ((infobuf[i]&0x80)!=0)
i2835drivers/block/sbpcd.cconvert_UPC(&infobuf[i]);
i2838drivers/block/sbpcd.cfor (i=0;i<7;i++)
i2839drivers/block/sbpcd.csprintf(&msgbuf[i*3], " %02X", D_S[d].UPC_buf[i]);
i2840drivers/block/sbpcd.csprintf(&msgbuf[i*3], " (%02X)", D_S[d].UPC_ctl_adr);
i2841drivers/block/sbpcd.cmsgbuf[i*3+5]=0;
i2849drivers/block/sbpcd.cint i;
i2861drivers/block/sbpcd.ci=cmd_out();
i2862drivers/block/sbpcd.cif (i<0) return (i);
i2877drivers/block/sbpcd.ci=cmd_out();
i2878drivers/block/sbpcd.cif (i<0) return (i);
i2890drivers/block/sbpcd.ci=cmd_out();
i2891drivers/block/sbpcd.cif (i<0) return (i);
i2894drivers/block/sbpcd.cfor (i=0;i<response_count;i++)
i2895drivers/block/sbpcd.csprintf(&msgbuf[i*3], " %02X", infobuf[i]);
i2896drivers/block/sbpcd.cmsgbuf[i*3]=0;
i2910drivers/block/sbpcd.cint i;
i2930drivers/block/sbpcd.ci=cmd_out(); /* which buffer to use? */
i2931drivers/block/sbpcd.creturn (i);
i2937drivers/block/sbpcd.cint i=0;
i2942drivers/block/sbpcd.cfor (i=0;i<=1000;i++) printk(".");
i2954drivers/block/sbpcd.ci=inb(CDi_status);
i2980drivers/block/sbpcd.cint i;
i2988drivers/block/sbpcd.ci=do_cmd(f_putcmd|f_lopsta|f_getsta|f_ResponseStatus);
i2993drivers/block/sbpcd.ci=do_cmd(f_putcmd);
i2996drivers/block/sbpcd.creturn (i);
i3002drivers/block/sbpcd.cint i;
i3008drivers/block/sbpcd.cfor (i=0;i<12;i++)
i3009drivers/block/sbpcd.csprintf(&msgbuf[i*3], " %02X", infobuf[i]);
i3010drivers/block/sbpcd.cmsgbuf[i*3]=0;
i3012drivers/block/sbpcd.cfor (i=0;i<12;i++)
i3013drivers/block/sbpcd.csprintf(&msgbuf[i*3], " %c ", infobuf[i]);
i3014drivers/block/sbpcd.cmsgbuf[i*3]=0;
i3020drivers/block/sbpcd.cint i, j, l;
i3033drivers/block/sbpcd.ci=cmd_out();
i3034drivers/block/sbpcd.cif (i<0) msg(DBG_INI,"CMD0_READERR returns %d (ok anyway).\n",i);
i3037drivers/block/sbpcd.cfor (i=0;i<12;i++) infobuf[i]=0;
i3041drivers/block/sbpcd.ci=cmd_out();
i3042drivers/block/sbpcd.cif (i<-1) msg(DBG_INI,"CMD0_READ_VER returns %d\n",i);
i3043drivers/block/sbpcd.cif (i==-11) teac_possible++;
i3045drivers/block/sbpcd.cfor (i=0;i<12;i++) j+=infobuf[i];
i3048drivers/block/sbpcd.cfor (i=0;i<12;i++)
i3049drivers/block/sbpcd.csprintf(&msgbuf[i*3], " %02X", infobuf[i]);
i3050drivers/block/sbpcd.cmsgbuf[i*3]=0;
i3053drivers/block/sbpcd.cfor (i=0;i<12;i++)
i3054drivers/block/sbpcd.csprintf(&msgbuf[i*3], " %c ", infobuf[i]);
i3055drivers/block/sbpcd.cmsgbuf[i*3]=0;
i3059drivers/block/sbpcd.cfor (i=0;i<4;i++) if (infobuf[i]!=family1[i]) break;
i3060drivers/block/sbpcd.cif (i==4)
i3066drivers/block/sbpcd.cD_S[d].drive_model[4]=infobuf[i++];
i3067drivers/block/sbpcd.cD_S[d].drive_model[5]=infobuf[i++];
i3073drivers/block/sbpcd.cfor (i=0;i<8;i++) if (infobuf[i]!=family0[i]) break;
i3074drivers/block/sbpcd.cif (i==8)
i3088drivers/block/sbpcd.cfor (i=0;i<8;i++) if (infobuf[i]!=familyL[i]) break;
i3089drivers/block/sbpcd.cif (i==8)
i3104drivers/block/sbpcd.ci=cmd_out();
i3105drivers/block/sbpcd.cif (i<0) msg(DBG_INI,"CMD2_READERR returns %d (ok anyway).\n",i);
i3106drivers/block/sbpcd.cif (i<0) msg(DBG_000,"CMD2_READERR returns %d (ok anyway).\n",i);
i3109drivers/block/sbpcd.cfor (i=0;i<12;i++) infobuf[i]=0;
i3119drivers/block/sbpcd.ci=cmd_out();
i3120drivers/block/sbpcd.cif (i<0) msg(DBG_INI,"CMD2_READ_VER returns %d\n",i);
i3121drivers/block/sbpcd.cif (i==-7) teac_possible++;
i3123drivers/block/sbpcd.cfor (i=0;i<12;i++) j+=infobuf[i];
i3126drivers/block/sbpcd.cfor (i=0;i<12;i++)
i3127drivers/block/sbpcd.csprintf(&msgbuf[i*3], " %02X", infobuf[i]);
i3128drivers/block/sbpcd.cmsgbuf[i*3]=0;
i3130drivers/block/sbpcd.cfor (i=0;i<12;i++)
i3131drivers/block/sbpcd.csprintf(&msgbuf[i*3], " %c ", infobuf[i]);
i3132drivers/block/sbpcd.cmsgbuf[i*3]=0;
i3135drivers/block/sbpcd.cif (i>=0)
i3137drivers/block/sbpcd.cfor (i=0;i<5;i++) if (infobuf[i]!=family2[i]) break;
i3138drivers/block/sbpcd.cif (i==5)
i3145drivers/block/sbpcd.cD_S[d].drive_model[5]=infobuf[i++];
i3146drivers/block/sbpcd.cD_S[d].drive_model[6]=infobuf[i++];
i3167drivers/block/sbpcd.cfor (i=0;i<9;i++) OUT(CDo_command,0);
i3172drivers/block/sbpcd.ci=inb(CDi_status);
i3173drivers/block/sbpcd.cmsg(DBG_TEA,"TEAC CDi_status: %02X.\n",i);
i3175drivers/block/sbpcd.cif (i&s_not_result_ready) continue; /* drive not present or ready */
i3177drivers/block/sbpcd.ci=inb(CDi_info);
i3178drivers/block/sbpcd.cmsg(DBG_TEA,"TEAC CDi_info: %02X.\n",i);
i3179drivers/block/sbpcd.cif (i==0x55) break; /* drive found */
i3181drivers/block/sbpcd.cif (i==0x55) break; /* drive found */
i3183drivers/block/sbpcd.cif (i==0x55) /* drive found */
i3191drivers/block/sbpcd.cfor (i=0;i<12;i++) infobuf[i]=0;
i3192drivers/block/sbpcd.ci=cmd_out_T();
i3193drivers/block/sbpcd.cif (i!=0) msg(DBG_TEA,"cmd_out_T(CMDT_READ_VER) returns %d.\n",i);
i3194drivers/block/sbpcd.cfor (i=1;i<6;i++) if (infobuf[i]!=familyT[i-1]) break;
i3195drivers/block/sbpcd.cif (i==6)
i3212drivers/block/sbpcd.cfor (j=0;j<4;j++) D_S[d].firmware_version[j]=infobuf[i+j];
i3282drivers/block/sbpcd.cstatic void switch_drive(int i)
i3284drivers/block/sbpcd.cd=i;
i3286drivers/block/sbpcd.cmsg(DBG_DID,"drive %d (ID=%d) activated.\n", i, D_S[d].drv_id);
i3298drivers/block/sbpcd.cint i, j, k;
i3311drivers/block/sbpcd.cfor (i=10;i>0;i--) OUT(port+0,0);
i3315drivers/block/sbpcd.cfor (i=10000;i>0;i--)
i3322drivers/block/sbpcd.cfor (i=0;i<N_RESPO;i++)
i3323drivers/block/sbpcd.csprintf(&msgbuf[i*3], " %02X", response[i]);
i3324drivers/block/sbpcd.cmsgbuf[i*3]=0;
i3327drivers/block/sbpcd.cfor (i=10;i>0;i--) OUT(port+0,0);
i3331drivers/block/sbpcd.cfor (i=10000;i>0;i--)
i3338drivers/block/sbpcd.cfor (i=0;i<N_RESPO;i++)
i3339drivers/block/sbpcd.csprintf(&msgbuf[i*3], " %02X", response[i]);
i3340drivers/block/sbpcd.cmsgbuf[i*3]=0;
i3351drivers/block/sbpcd.cfor (i=10;i>0;i--) OUT(port+0,0);
i3355drivers/block/sbpcd.cfor (i=1000000;i>0;i--)
i3362drivers/block/sbpcd.cfor (i=0;i<N_RESPO;i++)
i3363drivers/block/sbpcd.csprintf(&msgbuf[i*3], " %02X", response[i]);
i3364drivers/block/sbpcd.cmsgbuf[i*3]=0;
i3368drivers/block/sbpcd.cfor (i=10;i>0;i--) OUT(port+0,0);
i3372drivers/block/sbpcd.cfor (i=1000000;i>0;i--)
i3379drivers/block/sbpcd.cfor (i=0;i<N_RESPO;i++)
i3380drivers/block/sbpcd.csprintf(&msgbuf[i*3], " %02X", response[i]);
i3381drivers/block/sbpcd.cmsgbuf[i*3]=0;
i3400drivers/block/sbpcd.cint i, j;
i3412drivers/block/sbpcd.ci=check_version();
i3413drivers/block/sbpcd.cif (i<0) msg(DBG_INI,"check_version returns %d.\n",i);
i3556drivers/block/sbpcd.cint i;
i3558drivers/block/sbpcd.ci=msf2blk(D_S[d].pos_audio_end)-1;
i3559drivers/block/sbpcd.cif (i<0) return (-1);
i3560drivers/block/sbpcd.ci=cc_Seek(i,0);
i3561drivers/block/sbpcd.creturn (i);
i3567drivers/block/sbpcd.cint i, j;
i3572drivers/block/sbpcd.ci=cc_ReadTocEntry(j);
i3573drivers/block/sbpcd.cif (i<0)
i3575drivers/block/sbpcd.cmsg(DBG_INF,"cc_ReadTocEntry(%d) returns %d.\n",j,i);
i3576drivers/block/sbpcd.creturn (i);
i3598drivers/block/sbpcd.cint i, j;
i3608drivers/block/sbpcd.ci=SetSpeed();
i3609drivers/block/sbpcd.cif (i<0)
i3611drivers/block/sbpcd.cmsg(DBG_INF,"DiskInfo: SetSpeed returns %d\n", i);
i3614drivers/block/sbpcd.ci=cc_ModeSense();
i3615drivers/block/sbpcd.cif (i<0)
i3617drivers/block/sbpcd.cmsg(DBG_INF,"DiskInfo: cc_ModeSense returns %d\n", i);
i3620drivers/block/sbpcd.ci=cc_ReadCapacity();
i3621drivers/block/sbpcd.cif (i>=0) break;
i3622drivers/block/sbpcd.cmsg(DBG_INF,"DiskInfo: ReadCapacity #%d returns %d\n", j, i);
i3623drivers/block/sbpcd.ci=cc_DriveReset();
i3627drivers/block/sbpcd.ci=cc_ReadTocDescr();
i3628drivers/block/sbpcd.cif (i<0)
i3630drivers/block/sbpcd.cmsg(DBG_INF,"DiskInfo: ReadTocDescr returns %d\n", i);
i3631drivers/block/sbpcd.creturn (i);
i3633drivers/block/sbpcd.ci=ReadToC();
i3634drivers/block/sbpcd.cif (i<0)
i3636drivers/block/sbpcd.cmsg(DBG_INF,"DiskInfo: ReadToC returns %d\n", i);
i3637drivers/block/sbpcd.creturn (i);
i3639drivers/block/sbpcd.ci=cc_CheckMultiSession();
i3640drivers/block/sbpcd.cif (i<0)
i3642drivers/block/sbpcd.cmsg(DBG_INF,"DiskInfo: cc_CheckMultiSession returns %d\n", i);
i3643drivers/block/sbpcd.creturn (i);
i3647drivers/block/sbpcd.ci=cc_ReadTocEntry(D_S[d].n_first_track);
i3648drivers/block/sbpcd.cif (i<0)
i3650drivers/block/sbpcd.cmsg(DBG_INF,"DiskInfo: cc_ReadTocEntry(1) returns %d\n", i);
i3651drivers/block/sbpcd.creturn (i);
i3653drivers/block/sbpcd.ci=cc_ReadUPC();
i3654drivers/block/sbpcd.cif (i<0) msg(DBG_INF,"DiskInfo: cc_ReadUPC returns %d\n", i);
i3673drivers/block/sbpcd.cint i;
i3677drivers/block/sbpcd.ci=inb(CDi_status);
i3678drivers/block/sbpcd.cif (i&s_attention) GetStatus();
i3689drivers/block/sbpcd.ci=check_allowed1(func,subfunc);
i3690drivers/block/sbpcd.cif (i<0) return (-2);
i3694drivers/block/sbpcd.ci=check_allowed3(func,subfunc);
i3695drivers/block/sbpcd.cif (i<0)
i3708drivers/block/sbpcd.ci=check_allowed1(func,subfunc);
i3709drivers/block/sbpcd.cif (i<0) return (-2);
i3717drivers/block/sbpcd.ci=check_allowed2(func,subfunc);
i3718drivers/block/sbpcd.cif (i<0) return (-2);
i3728drivers/block/sbpcd.ci=DiskInfo();
i3729drivers/block/sbpcd.cif (i<0)
i3733drivers/block/sbpcd.ci=check_allowed1(func,subfunc);
i3734drivers/block/sbpcd.cif (i<0) return (-2);
i3797drivers/block/sbpcd.cint i, st;
i3802drivers/block/sbpcd.ci=MINOR(inode->i_rdev);
i3803drivers/block/sbpcd.cif ((i<0) || (i>=NR_SBPCD) || (D_S[i].drv_id==-1))
i3808drivers/block/sbpcd.cif (d!=i) switch_drive(i);
i3816drivers/block/sbpcd.ci=DiskInfo();
i3817drivers/block/sbpcd.cif (i<0) return (-EIO);  /* error reading TOC */
i3821drivers/block/sbpcd.cmsg(DBG_IO2,"ioctl: device %d, request %04X\n",i,cmd);
i3826drivers/block/sbpcd.ci=sbpcd_dbg_ioctl(arg,1);
i3827drivers/block/sbpcd.creturn (i);
i3838drivers/block/sbpcd.cif (famL_drive) i=cc_ReadSubQ();
i3839drivers/block/sbpcd.celse i=cc_Pause_Resume(1);
i3840drivers/block/sbpcd.cif (i<0) return (-EIO);
i3841drivers/block/sbpcd.cif (famL_drive) i=cc_Pause_Resume(1);
i3842drivers/block/sbpcd.celse i=cc_ReadSubQ();
i3843drivers/block/sbpcd.cif (i<0) return (-EIO);
i3848drivers/block/sbpcd.ci=cc_Seek(D_S[d].pos_audio_start,1);
i3849drivers/block/sbpcd.cif (i<0) return (-EIO);
i3862drivers/block/sbpcd.ci=cc_PlayAudio(D_S[d].pos_audio_start,
i3864drivers/block/sbpcd.celse i=cc_Pause_Resume(3);
i3865drivers/block/sbpcd.cif (i<0) return (-EIO);
i3873drivers/block/sbpcd.ci=cc_Pause_Resume(1);
i3874drivers/block/sbpcd.cif (i<0) return (-EIO);
i3875drivers/block/sbpcd.ci=cc_ReadSubQ();
i3876drivers/block/sbpcd.cif (i<0) return (-EIO);
i3878drivers/block/sbpcd.ci=cc_Seek(D_S[d].pos_audio_start,1);
i3892drivers/block/sbpcd.ci=cc_PlayAudio(D_S[d].pos_audio_start,D_S[d].pos_audio_end);
i3893drivers/block/sbpcd.cmsg(DBG_IOC,"ioctl: cc_PlayAudio returns %d\n",i);
i3895drivers/block/sbpcd.cif (i<0) return (-EIO);
i3923drivers/block/sbpcd.ci=cc_PlayAudio(D_S[d].pos_audio_start,D_S[d].pos_audio_end);
i3925drivers/block/sbpcd.cif (i<0) return (-EIO);
i3944drivers/block/sbpcd.ci=tocentry.cdte_track;
i3945drivers/block/sbpcd.cif (i==CDROM_LEADOUT) i=D_S[d].n_last_track+1;
i3946drivers/block/sbpcd.celse if (i<D_S[d].n_first_track||i>D_S[d].n_last_track) return (-EINVAL);
i3947drivers/block/sbpcd.ctocentry.cdte_adr=D_S[d].TocBuffer[i].ctl_adr&0x0F;
i3948drivers/block/sbpcd.ctocentry.cdte_ctrl=(D_S[d].TocBuffer[i].ctl_adr>>4)&0x0F;
i3949drivers/block/sbpcd.ctocentry.cdte_datamode=D_S[d].TocBuffer[i].format;
i3952drivers/block/sbpcd.ctocentry.cdte_addr.msf.minute=(D_S[d].TocBuffer[i].address>>16)&0x00FF;
i3953drivers/block/sbpcd.ctocentry.cdte_addr.msf.second=(D_S[d].TocBuffer[i].address>>8)&0x00FF;
i3954drivers/block/sbpcd.ctocentry.cdte_addr.msf.frame=D_S[d].TocBuffer[i].address&0x00FF;
i3957drivers/block/sbpcd.ctocentry.cdte_addr.lba=msf2blk(D_S[d].TocBuffer[i].address);
i3966drivers/block/sbpcd.ci=DriveReset();
i3968drivers/block/sbpcd.creturn (i);
i3972drivers/block/sbpcd.ci=cc_Pause_Resume(1);
i3974drivers/block/sbpcd.creturn (i);
i3986drivers/block/sbpcd.ci=UnLockDoor();
i3988drivers/block/sbpcd.ci=cc_SpinDown();
i3989drivers/block/sbpcd.cmsg(DBG_IOX,"ioctl: cc_SpinDown returned %d.\n", i);
i3990drivers/block/sbpcd.cmsg(DBG_TEA,"ioctl: cc_SpinDown returned %d.\n", i);
i3991drivers/block/sbpcd.cif (i<0) return (-EIO);
i4012drivers/block/sbpcd.ci=cc_SetVolume();
i4030drivers/block/sbpcd.cif ((st_spinning)||(!subq_valid)) { i=cc_ReadSubQ();
i4031drivers/block/sbpcd.cif (i<0) return (-EIO);
i4112drivers/block/sbpcd.cint i=0, j=0, frame, block;
i4128drivers/block/sbpcd.ci=verify_area(VERIFY_READ, (void *) arg, sizeof(struct cdrom_read_audio));
i4129drivers/block/sbpcd.cif (i) return (i);
i4132drivers/block/sbpcd.ci=verify_area(VERIFY_WRITE, read_audio.buf,
i4134drivers/block/sbpcd.cif (i) return (i);
i4141drivers/block/sbpcd.ci=cc_SetSpeed(speed_150,0,0);
i4142drivers/block/sbpcd.cif (i) msg(DBG_AUD,"read_audio: SetSpeed error %d\n", i);
i4197drivers/block/sbpcd.cfor (i=0;i<7;i++) OUT(CDo_command,drvcmd[i]);
i4244drivers/block/sbpcd.ci=cc_DriveReset();                /* ugly fix to prevent a hang */
i4246drivers/block/sbpcd.ci=cc_ReadError();
i4252drivers/block/sbpcd.ci=maxtim_data;
i4255drivers/block/sbpcd.cfor ( ;i!=0;i--)
i4262drivers/block/sbpcd.cif (i != 0 || timeout <= jiffies) break;
i4264drivers/block/sbpcd.ci = 1;
i4266drivers/block/sbpcd.cif (i==0) msg(DBG_AUD,"read_audio: STATUS TIMEOUT AFTER READ");
i4270drivers/block/sbpcd.ci=cc_DriveReset();  /* ugly fix to prevent a hang */
i4277drivers/block/sbpcd.ci=ResponseStatus();  /* builds status_bits, returns orig. status (old) or faked p_success (new) */
i4278drivers/block/sbpcd.cif (i<0) { msg(DBG_AUD,
i4284drivers/block/sbpcd.cwhile ((fam0L_drive)&&(!st_check)&&(!(i&p_success)));
i4287drivers/block/sbpcd.ci=cc_ReadError();
i4288drivers/block/sbpcd.cmsg(DBG_AUD,"read_audio: cc_ReadError was necessary after read: %02X\n",i);
i4368drivers/block/sbpcd.cint i, status_tries, data_tries;
i4381drivers/block/sbpcd.ci = MINOR(CURRENT->dev);
i4382drivers/block/sbpcd.cif ( (i<0) || (i>=NR_SBPCD) || (D_S[i].drv_id==-1))
i4390drivers/block/sbpcd.cif (D_S[i].audio_state==audio_playing) goto err_done;
i4391drivers/block/sbpcd.cif (d!=i) switch_drive(i);
i4410drivers/block/sbpcd.ci=prepare(0,0); /* at moment not really a hassle check, but ... */
i4411drivers/block/sbpcd.cif (i!=0)
i4412drivers/block/sbpcd.cmsg(DBG_INF,"\"prepare\" tells error %d -- ignored\n", i);
i4456drivers/block/sbpcd.cint i;
i4535drivers/block/sbpcd.cfor (i=0;i<7;i++) OUT(CDo_command,drvcmd[i]);
i4536drivers/block/sbpcd.cif (famT_drive) for (i=7;i<10;i++) OUT(CDo_command,drvcmd[i]);
i4541drivers/block/sbpcd.ci=cmd_out(); /* immediate return here - read data "ourselves" */
i4542drivers/block/sbpcd.cif (i<0) msg(DBG_INF,"error giving READ command: %0d\n", i);
i4553drivers/block/sbpcd.cint i=0, j=0, l, frame;
i4673drivers/block/sbpcd.ci=inb(CDi_status);
i4674drivers/block/sbpcd.cif (!(i&s_not_data_ready))
i4680drivers/block/sbpcd.ci=inb(CDi_data);
i4682drivers/block/sbpcd.ci=inb(CDi_status);
i4684drivers/block/sbpcd.cwhile (!(i&s_not_data_ready));
i4687drivers/block/sbpcd.cif (!(i&s_not_result_ready))
i4694drivers/block/sbpcd.ci=inb(CDi_status);
i4696drivers/block/sbpcd.cwhile (!(i&s_not_result_ready));
i4740drivers/block/sbpcd.ci=cc_DriveReset(); /* ugly fix to prevent a hang */
i4742drivers/block/sbpcd.ci=cc_ReadError();
i4750drivers/block/sbpcd.ci=maxtim_data;
i4753drivers/block/sbpcd.cfor ( ;i!=0;i--)
i4760drivers/block/sbpcd.cif (i != 0 || timeout <= jiffies) break;
i4762drivers/block/sbpcd.ci = 1;
i4764drivers/block/sbpcd.cif (i==0) msg(DBG_INF,"status timeout after READ.\n");
i4768drivers/block/sbpcd.ci=cc_DriveReset();  /* ugly fix to prevent a hang */
i4782drivers/block/sbpcd.cif (famT_drive) msg(DBG_TE2, "================before ResponseStatus=================.\n", i);
i4784drivers/block/sbpcd.ci=ResponseStatus();  /* builds status_bits, returns orig. status (old) or faked p_success (new) */
i4786drivers/block/sbpcd.cif (famT_drive)  msg(DBG_TE2, "================ResponseStatus: %d=================.\n", i);
i4788drivers/block/sbpcd.cif (i<0)
i4794drivers/block/sbpcd.cwhile ((fam0L_drive)&&(!st_check)&&(!(i&p_success)));
i4797drivers/block/sbpcd.ci=cc_ReadError();
i4798drivers/block/sbpcd.cmsg(DBG_INF,"cc_ReadError was necessary after read: %d\n",i);
i4825drivers/block/sbpcd.cint i;
i4827drivers/block/sbpcd.ci = MINOR(ip->i_rdev);
i4828drivers/block/sbpcd.cif ((i<0) || (i>=NR_SBPCD) || (D_S[i].drv_id==-1))
i4836drivers/block/sbpcd.cswitch_drive(i);
i4838drivers/block/sbpcd.ci=cc_ReadError();
i4841drivers/block/sbpcd.ci=ResponseStatus();
i4842drivers/block/sbpcd.cif (famT_drive&&(i<0))
i4845drivers/block/sbpcd.ci=ResponseStatus();
i4846drivers/block/sbpcd.ci=ResponseStatus();
i4848drivers/block/sbpcd.cif (i<0)
i4850drivers/block/sbpcd.cmsg(DBG_INF,"sbpcd_open: ResponseStatus timed out (%d).\n",i);
i4853drivers/block/sbpcd.cif (famT_drive)  msg(DBG_TE2,"sbpcd_open: ResponseStatus=%02X\n", i);
i4860drivers/block/sbpcd.ci=ResponseStatus();
i4869drivers/block/sbpcd.ci=ResponseStatus();
i4879drivers/block/sbpcd.ci=UnLockDoor();
i4893drivers/block/sbpcd.ci=LockDoor();
i4896drivers/block/sbpcd.ci=DiskInfo();
i4910drivers/block/sbpcd.cint i;
i4912drivers/block/sbpcd.ci = MINOR(ip->i_rdev);
i4913drivers/block/sbpcd.cif ((i<0) || (i>=NR_SBPCD) || (D_S[i].drv_id==-1))
i4918drivers/block/sbpcd.cswitch_drive(i);
i4934drivers/block/sbpcd.ci=UnLockDoor();
i5028drivers/block/sbpcd.cint i;
i5034drivers/block/sbpcd.ci=inb(SPEA_REG_1);
i5035drivers/block/sbpcd.cif (i!=0x0F)
i5056drivers/block/sbpcd.ci=(inb(SPEA_REG_2)&0xCF)|n_ports;
i5057drivers/block/sbpcd.cOUT(SPEA_REG_2,i);
i5073drivers/block/sbpcd.cint i=0, j=0;
i5120drivers/block/sbpcd.ci=config_spea();
i5121drivers/block/sbpcd.cif (i<0) continue;
i5126drivers/block/sbpcd.ci=check_drives();
i5128drivers/block/sbpcd.cif (i>=0) break; /* drive found */
i5176drivers/block/sbpcd.ci=ResponseStatus();  /* returns orig. status or p_busy_new */
i5177drivers/block/sbpcd.cif (famT_drive) i=ResponseStatus();  /* returns orig. status or p_busy_new */
i5178drivers/block/sbpcd.cif (i<0)
i5179drivers/block/sbpcd.cif (i!=-402)
i5180drivers/block/sbpcd.cmsg(DBG_INF,"init: ResponseStatus returns %d.\n",i);
i5185drivers/block/sbpcd.ci=cc_ReadError();
i5186drivers/block/sbpcd.cmsg(DBG_INI,"init: cc_ReadError returns %d\n",i);
i5189drivers/block/sbpcd.cmsg(DBG_INI,"init: first GetStatus: %d\n",i);
i5197drivers/block/sbpcd.ci=GetStatus();
i5198drivers/block/sbpcd.cmsg(DBG_INI,"init: second GetStatus: %02X\n",i);
i5202drivers/block/sbpcd.cif (i<0) break;
i5207drivers/block/sbpcd.ci=SetSpeed();
i5208drivers/block/sbpcd.cif (i>=0) D_S[d].CD_changed=1;
i5337drivers/block/sbpcd.cint i, st;
i5342drivers/block/sbpcd.ci=MINOR(full_dev);
i5343drivers/block/sbpcd.cif ( (i<0) || (i>=NR_SBPCD) || (D_S[i].drv_id==-1) )
i5349drivers/block/sbpcd.cswitch_drive(i);
i239drivers/block/sjcd.cint i;
i240drivers/block/sjcd.cfor( i = 200; i-- && inb( SJCDPORT( 1 ) ) !=  0x09; );
i241drivers/block/sjcd.cif( i > 0 ) *resp++ = ( unsigned char )inb( SJCDPORT( 0 ) );
i322drivers/block/sjcd.cint i;
i329drivers/block/sjcd.cfor( i = 200; i-- && ( sjcd_check_status() == 0 ); );
i330drivers/block/sjcd.cif( i < 0 ){
i336drivers/block/sjcd.celse i = 0;
i338drivers/block/sjcd.creturn( i );
i378drivers/block/sjcd.cint i;
i445drivers/block/sjcd.cfor( i = sjcd_first_track_no; i <= sjcd_last_track_no; i++ ){
i449drivers/block/sjcd.csjcd_send_1_cmd( SCMD_GET_DISK_INFO, bin2bcd( i ) );
i463drivers/block/sjcd.cif( sjcd_load_response( &sjcd_table_of_contents[ i ],
i465drivers/block/sjcd.cprintk( "cannot load info for %d track\n", i );
i469drivers/block/sjcd.cprintk( "get info %d failed\n", i );
i825drivers/block/sjcd.cint i;
i826drivers/block/sjcd.cfor( i = 0; i < SJCD_BUF_SIZ; sjcd_buf_bn[ i++ ] = -1 );
i845drivers/block/sjcd.cint i, bn = CURRENT->sector / 4;
i846drivers/block/sjcd.cfor( i = 0; i < SJCD_BUF_SIZ && sjcd_buf_bn[ i ] != bn; i++ );
i847drivers/block/sjcd.cif( i < SJCD_BUF_SIZ ){
i848drivers/block/sjcd.cint offs = ( i * 4 + ( CURRENT->sector & 3 ) ) * 512;
i850drivers/block/sjcd.cif( sjcd_buf_out != i ){
i851drivers/block/sjcd.csjcd_buf_out = i;
i852drivers/block/sjcd.cif( sjcd_buf_bn[ i ] != bn ){
i1111drivers/block/sjcd.cint i;
i1118drivers/block/sjcd.cfor( i = 2048; i--; ( void )inb( SJCDPORT( 2 ) ) );
i1282drivers/block/sjcd.cint i;
i1320drivers/block/sjcd.cfor( i = 100; i > 0; --i )
i1322drivers/block/sjcd.cif( i == 0 ){
i548drivers/block/sonycd535.cint i;
i551drivers/block/sonycd535.cfor (i = 0; i < n_cmd; i++)
i552drivers/block/sonycd535.coutb(cmd[i], command_reg);
i574drivers/block/sonycd535.cfor (i = 0; 0 < n_response; n_response--, i++)
i575drivers/block/sonycd535.cif (read_result_reg(response + i) != 0)
i620drivers/block/sonycd535.cint  i;
i637drivers/block/sonycd535.cfor (i = 0; i < 6; i++)
i638drivers/block/sonycd535.ccmd_buff[i + 1] = params[i];
i639drivers/block/sonycd535.cfor (i = 0; i < 7; i++)
i640drivers/block/sonycd535.coutb(cmd_buff[i], command_reg);
i657drivers/block/sonycd535.cfor (i = 0; i < block_size; i++)
i668drivers/block/sonycd535.cif ((i = read_exec_status(status)) != 0)
i669drivers/block/sonycd535.creturn i;
i687drivers/block/sonycd535.cint  i, j, n_tracks, track_no;
i702drivers/block/sonycd535.cfor (i = 0; i < n_tracks; i++) {
i711drivers/block/sonycd535.cmemcpy(toc->tracks + i, track_address_buffer, 5);
i994drivers/block/sonycd535.cint i;
i1000drivers/block/sonycd535.cfor (i = 0; i < num_tracks; i++) {
i1001drivers/block/sonycd535.cif (sony_toc->tracks[i].track == track) {
i1002drivers/block/sonycd535.creturn i;
i1116drivers/block/sonycd535.cint  i;
i1216drivers/block/sonycd535.cfor (i = 0; i < 3; i++) {
i1217drivers/block/sonycd535.ccmd_buff[2 + i] = int_to_bcd(params[i]);
i1218drivers/block/sonycd535.ccmd_buff[7 + i] = int_to_bcd(params[i + 3]);
i1537drivers/block/sonycd535.cint  i;
i1666drivers/block/sonycd535.cfor (i = 0; i < sony_buffer_sectors; i++)
i1667drivers/block/sonycd535.csony_buffer[i] = (Byte *)kmalloc(2048, GFP_KERNEL);
i1721drivers/block/sonycd535.cint i;
i1727drivers/block/sonycd535.cfor (i = 0; i < sony_buffer_sectors; i++)
i1728drivers/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_user(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++)
i57drivers/char/conmakehash.cint i, lct;
i64drivers/char/conmakehash.ci = un % hashsize;
i67drivers/char/conmakehash.cwhile ( (hu = hashtable[i].uc) != 0xffff && hu != un )
i74drivers/char/conmakehash.ci += hashstep;
i75drivers/char/conmakehash.cif ( i >= hashsize )
i76drivers/char/conmakehash.ci -= hashsize;
i81drivers/char/conmakehash.chashtable[i].uc = un;
i82drivers/char/conmakehash.chashtable[i].glyph = fp;
i94drivers/char/conmakehash.cint i;
i140drivers/char/conmakehash.cfor ( i = hashstep ; i > 1 ; i-- )
i142drivers/char/conmakehash.cif ( hashstep % i == 0 && hashsize % i == 0 )
i146drivers/char/conmakehash.cif ( i > 1 )
i149drivers/char/conmakehash.c"WARNING: hashsize and hashstep have common factors (gcd = %d)\n", i);
i174drivers/char/conmakehash.cfor ( i = 0 ; i < hashsize ; i++ )
i176drivers/char/conmakehash.chashtable[i].uc = 0xffff;
i177drivers/char/conmakehash.chashtable[i].glyph = 0;
i254drivers/char/conmakehash.cfor (i=fp0; i<=fp1; i++)
i255drivers/char/conmakehash.caddpair(i,i);
i286drivers/char/conmakehash.cfor(i=fp0; i<=fp1; i++)
i287drivers/char/conmakehash.caddpair(i,un0-fp0+i);
i333drivers/char/conmakehash.cfor ( i = 0 ; i < hashsize ; i++ )
i335drivers/char/conmakehash.cprintf("{0x%04x,0x%02x}", hashtable[i].uc, hashtable[i].glyph);
i336drivers/char/conmakehash.cif ( i == hashsize-1 )
i338drivers/char/conmakehash.celse if ( i % 4 == 3 )
i349drivers/char/conmakehash.cfor ( i = 0 ; i < hashsize ; i++ )
i351drivers/char/conmakehash.cprintf("{0x%04x,0x%02x}", hashtable[i].uc, hashtable[i].glyph);
i352drivers/char/conmakehash.cif ( i == hashsize-1 )
i354drivers/char/conmakehash.celse if ( i % 4 == 3 )
i338drivers/char/console.cint vc_cons_allocated(unsigned int i)
i340drivers/char/console.creturn (i < MAX_NR_CONSOLES && vc_cons[i].d);
i343drivers/char/console.cint vc_allocate(unsigned int i)    /* return 0 on success */
i345drivers/char/console.cif (i >= MAX_NR_CONSOLES)
i347drivers/char/console.cif (!vc_cons[i].d) {
i351drivers/char/console.cif (i >= MAX_NR_USER_CONSOLES && !suser())
i366drivers/char/console.cvc_cons[i].d = (struct vc_data *) p;
i368drivers/char/console.cvt_cons[i] = (struct vt_struct *) p;
i369drivers/char/console.cvc_scrbuf[i] = (unsigned short *) q;
i370drivers/char/console.cvc_cons[i].d->vc_kmalloced = 1;
i371drivers/char/console.cvc_cons[i].d->vc_screenbuf_size = video_screen_size;
i372drivers/char/console.cvc_init (i, video_num_lines, video_num_columns, 1);
i387drivers/char/console.cunsigned int currcons, i;
i411drivers/char/console.cfor (i = 0; i< currcons; i++)
i412drivers/char/console.cif (newscreens[i])
i413drivers/char/console.ckfree_s(newscreens[i], ss);
i916drivers/char/console.cint i;
i918drivers/char/console.cfor (i=0;i<=npar;i++)
i919drivers/char/console.cswitch (par[i]) {
i998drivers/char/console.cif (par[i] >= 30 && par[i] <= 37)
i999drivers/char/console.ccolor = color_table[par[i]-30]
i1001drivers/char/console.celse if (par[i] >= 40 && par[i] <= 47)
i1002drivers/char/console.ccolor = (color_table[par[i]-40]<<4)
i1126drivers/char/console.cint i;
i1128drivers/char/console.cfor (i=0; i<=npar; i++)
i1129drivers/char/console.cif (ques) switch(par[i]) {  /* DEC private modes set/reset */
i1174drivers/char/console.c} else switch(par[i]) {    /* ANSI modes set/reset */
i1221drivers/char/console.cunsigned int i = x;
i1225drivers/char/console.cwhile (i++ < video_num_columns) {
i1242drivers/char/console.cunsigned int i = x;
i1245drivers/char/console.cwhile (++i < video_num_columns) {
i1645drivers/char/console.cint i = par[0]*3, j = 1;
i1646drivers/char/console.cpalette[i] = 16*par[j++];
i1647drivers/char/console.cpalette[i++] += par[j++];
i1648drivers/char/console.cpalette[i] = 16*par[j++];
i1649drivers/char/console.cpalette[i++] += par[j++];
i1650drivers/char/console.cpalette[i] = 16*par[j++];
i1651drivers/char/console.cpalette[i] += par[j];
i2066drivers/char/console.cint i ;
i2095drivers/char/console.cfor (i=0; i<16; i++) {
i2097drivers/char/console.coutb_p (i, 0x3c0) ;
i2098drivers/char/console.coutb_p (i, 0x3c0) ;
i2105drivers/char/console.cfor (i=0; i<16; i++) {
i2106drivers/char/console.coutb_p (color_table[i], 0x3c8) ;
i2107drivers/char/console.coutb_p (default_red[i], 0x3c9) ;
i2108drivers/char/console.coutb_p (default_grn[i], 0x3c9) ;
i2109drivers/char/console.coutb_p (default_blu[i], 0x3c9) ;
i2205drivers/char/console.cint  i;
i2210drivers/char/console.cfor ( i = 0 ; i < 12 ; i++ )
i2212drivers/char/console.coutb_p(i, 0x3b4);
i2213drivers/char/console.coutb_p(herc_txt_tbl[i], 0x3b5);
i2350drivers/char/console.cint i;
i2354drivers/char/console.ci = vc_allocate(idx);
i2355drivers/char/console.cif (i)
i2356drivers/char/console.creturn i;
i2395drivers/char/console.cint i;
i2415drivers/char/console.ci = verify_area(set ? VERIFY_READ : VERIFY_WRITE, (void *)arg,
i2417drivers/char/console.cif (i)
i2418drivers/char/console.creturn i;
i2439drivers/char/console.cfor (i=0; i<cmapsz ; i++)
i2440drivers/char/console.cscr_writeb(get_user(arg + i), charmap + i);
i2442drivers/char/console.cfor (i=0; i<cmapsz ; i++)
i2443drivers/char/console.cput_user(scr_readb(charmap + i), arg + i);
i2455drivers/char/console.cfor (i=0; i<cmapsz ; i++)
i2456drivers/char/console.c*(charmap+i) = get_user(arg+i);
i2458drivers/char/console.cfor (i=0; i<cmapsz ; i++)
i2459drivers/char/console.cput_user(*(charmap+i), arg+i);
i2508drivers/char/console.cint i;
i2515drivers/char/console.ci = verify_area(set ? VERIFY_READ : VERIFY_WRITE, (void *)arg, 16*3);
i2516drivers/char/console.cif (i)
i2517drivers/char/console.creturn i;
i2519drivers/char/console.cfor (i=0; i<16; i++) {
i2521drivers/char/console.cdefault_red[i] = get_user(arg++) ;
i2522drivers/char/console.cdefault_grn[i] = get_user(arg++) ;
i2523drivers/char/console.cdefault_blu[i] = get_user(arg++) ;
i2525drivers/char/console.cput_user (default_red[i], arg++) ;
i2526drivers/char/console.cput_user (default_grn[i], arg++) ;
i2527drivers/char/console.cput_user (default_blu[i], arg++) ;
i2531drivers/char/console.cfor (i=0; i<MAX_NR_CONSOLES; i++)
i2532drivers/char/console.cif (vc_cons_allocated(i)) {
i2535drivers/char/console.cvc_cons[i].d->vc_palette[k++] = default_red[j];
i2536drivers/char/console.cvc_cons[i].d->vc_palette[k++] = default_grn[j];
i2537drivers/char/console.cvc_cons[i].d->vc_palette[k++] = default_blu[j];
i2577drivers/char/console.cint i, j ;
i2583drivers/char/console.cfor (i=j=0; i<16; i++) {
i2584drivers/char/console.coutb_p (color_table[i], dac_reg) ;
i2599drivers/char/console.cint i;
i2601drivers/char/console.ci = set_get_font (arg,1,ch512);
i2602drivers/char/console.cif ( !i ) {
i2607drivers/char/console.creturn i;
i165drivers/char/consolemap.cstatic void set_inverse_transl(int i)
i168drivers/char/consolemap.cunsigned short *p = translations[i];
i169drivers/char/consolemap.cunsigned char *q = inverse_translations[i];
i173drivers/char/consolemap.cq = inverse_translations[i] = ((i == LAT1_MAP)
i216drivers/char/consolemap.cint i;
i219drivers/char/consolemap.ci = verify_area(VERIFY_READ, (void *)arg, E_TABSZ);
i220drivers/char/consolemap.cif (i)
i221drivers/char/consolemap.creturn i;
i223drivers/char/consolemap.cfor (i=0; i<E_TABSZ ; i++)
i224drivers/char/consolemap.cp[i] = UNI_DIRECT_BASE | get_user(arg+i);
i232drivers/char/consolemap.cint i, ch;
i235drivers/char/consolemap.ci = verify_area(VERIFY_WRITE, (void *)arg, E_TABSZ);
i236drivers/char/consolemap.cif (i)
i237drivers/char/consolemap.creturn i;
i239drivers/char/consolemap.cfor (i=0; i<E_TABSZ ; i++)
i241drivers/char/consolemap.cch = conv_uni_to_pc(p[i]);
i242drivers/char/consolemap.cput_user((ch & ~0xff) ? 0 : ch, arg+i);
i248drivers/char/consolemap.cint i;
i251drivers/char/consolemap.ci = verify_area(VERIFY_READ, (void *)arg,
i253drivers/char/consolemap.cif (i)
i254drivers/char/consolemap.creturn i;
i256drivers/char/consolemap.cfor (i=0; i<E_TABSZ ; i++)
i257drivers/char/consolemap.cp[i] = get_user(arg+i);
i265drivers/char/consolemap.cint i;
i268drivers/char/consolemap.ci = verify_area(VERIFY_WRITE, (void *)arg,
i270drivers/char/consolemap.cif (i)
i271drivers/char/consolemap.creturn i;
i273drivers/char/consolemap.cfor (i=0; i<E_TABSZ ; i++)
i274drivers/char/consolemap.cput_user(p[i], arg+i);
i303drivers/char/consolemap.cint i;
i320drivers/char/consolemap.cfor (i=0; i<hashsize; i++)
i321drivers/char/consolemap.chashtable[i].unicode = 0xffff;
i327drivers/char/consolemap.cint i, lct;
i335drivers/char/consolemap.ci = u % hashsize;
i337drivers/char/consolemap.cwhile ((hu = hashtable[i].unicode) != 0xffff && hu != u) {
i340drivers/char/consolemap.ci += hashstep;
i341drivers/char/consolemap.cif (i >= hashsize)
i342drivers/char/consolemap.ci -= hashsize;
i346drivers/char/consolemap.chashtable[i].unicode = u;
i347drivers/char/consolemap.chashtable[i].fontpos = get_user(&list->fontpos);
i352drivers/char/consolemap.cfor ( i = 0 ; i <= 3 ; i++ )
i353drivers/char/consolemap.cset_inverse_transl(i); /* Update all inverse translations */
i360drivers/char/consolemap.cint i, ect;
i364drivers/char/consolemap.cfor (i = 0; i<hashsize; i++)
i365drivers/char/consolemap.cif (hashtable[i].unicode != 0xffff) {
i367drivers/char/consolemap.cput_user(hashtable[i].unicode, &list->unicode);
i368drivers/char/consolemap.cput_user(hashtable[i].fontpos, &list->fontpos);
i378drivers/char/consolemap.cint i, h;
i399drivers/char/consolemap.cfor (i = 0; i < hashlevel; i++) {
i462drivers/char/cyclades.cvolatile int  i;
i466drivers/char/cyclades.cfor(i = 0 ; i < 100 ; i++){
i474drivers/char/cyclades.cif ( i == 10 ) {
i598drivers/char/cyclades.cint i,j;
i634drivers/char/cyclades.ci = channel + chip * 4 + cinfo->first_line;
i635drivers/char/cyclades.cinfo = &cy_port[i];
i750drivers/char/cyclades.ci = channel + chip * 4 + cinfo->first_line;
i755drivers/char/cyclades.cif( (i < 0) || (NR_PORTS <= i) ){
i759drivers/char/cyclades.cinfo = &cy_port[i];
i981drivers/char/cyclades.cint i, mask;
i983drivers/char/cyclades.cfor (i = 0, mask = 1; i < 16; i++, mask <<= 1) {
i985drivers/char/cyclades.c&& !request_irq(i, cy_probe, SA_INTERRUPT, "serial probe")) {
i998drivers/char/cyclades.cint i;
i1000drivers/char/cyclades.cfor (i = 0; i < 16; i++) {
i1001drivers/char/cyclades.cif (irq_lines & (1 << i))
i1002drivers/char/cyclades.cfree_irq(i);
i1013drivers/char/cyclades.cint  i, mask;
i1038drivers/char/cyclades.cfor (i = 0, mask = 1; i < 16; i++, mask <<= 1) {
i1039drivers/char/cyclades.cif ((cy_triggered & (1 << i)) &&
i1040drivers/char/cyclades.c(irq_lines & (1 << i))) {
i1308drivers/char/cyclades.cint   i;
i1319drivers/char/cyclades.ci = cflag & CBAUD;
i1329drivers/char/cyclades.cif (i & CBAUDEX) {
i1330drivers/char/cyclades.cif (i == B57600)
i1331drivers/char/cyclades.ci = 16;
i1332drivers/char/cyclades.celse if(i == B115200) 
i1333drivers/char/cyclades.ci = 18;
i1335drivers/char/cyclades.celse if(i == B78600) 
i1336drivers/char/cyclades.ci = 17;
i1342drivers/char/cyclades.cif (i == 15) {
i1344drivers/char/cyclades.ci += 1;
i1346drivers/char/cyclades.ci += 3;
i1348drivers/char/cyclades.cinfo->tbpr = baud_bpr[i]; /* Tx BPR */
i1349drivers/char/cyclades.cinfo->tco = baud_co[i]; /* Tx CO */
i1350drivers/char/cyclades.cinfo->rbpr = baud_bpr[i]; /* Rx BPR */
i1351drivers/char/cyclades.cinfo->rco = baud_co[i]; /* Rx CO */
i1352drivers/char/cyclades.cif (baud_table[i] == 134) {
i1355drivers/char/cyclades.c} else if (baud_table[i]) {
i1356drivers/char/cyclades.cinfo->timeout = (info->xmit_fifo_size*HZ*15/baud_table[i]) + 2;
i1370drivers/char/cyclades.c: baud_cor3[i]); /* receive threshold */
i1471drivers/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_user(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_user(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_user(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++) {
i339drivers/char/psaux.cint i = count;
i341drivers/char/psaux.cwhile (i--) {
i361drivers/char/psaux.cint i = count;
i363drivers/char/psaux.cwhile (i--) {
i381drivers/char/psaux.cint i = count;
i397drivers/char/psaux.cwhile (i > 0 && !queue_empty()) {
i400drivers/char/psaux.ci--;
i403drivers/char/psaux.cif (count-i) {
i405drivers/char/psaux.creturn count-i;
i208drivers/char/scc.cint i;
i212drivers/char/scc.cfor (i = 0 ; i < MAX_IBUFS ; i++)
i219drivers/char/scc.callocated_ibufs = --i;
i224drivers/char/scc.cprintk("Warning: scc_alloc_buffer_pool() - allocated only %i buffers\n",i);
i229drivers/char/scc.csccfreelist[i] = sccb;
i230drivers/char/scc.csccfreelist[i]->bp = bp;
i231drivers/char/scc.cmemset(sccfreelist[i]->bp ,0,sizeof(struct mbuf));
i232drivers/char/scc.csccfreelist[i]->inuse = 0;
i233drivers/char/scc.csccfreelist[i]->bp->type = 0;
i234drivers/char/scc.csccfreelist[i]->bp->refcnt = 0;
i235drivers/char/scc.csccfreelist[i]->bp->size = BUFSIZE;
i242drivers/char/scc.cunsigned int i, used = 0;
i247drivers/char/scc.cfor (i = 0 ; i < allocated_ibufs ; i++)
i249drivers/char/scc.cif (sccfreelist[i]->inuse)
i251drivers/char/scc.cswitch (sccfreelist[i]->bp->type)
i271drivers/char/scc.cint i;
i276drivers/char/scc.cfor (i = 0 ; i < allocated_ibufs ; i++)
i278drivers/char/scc.cif(sccfreelist[i]->inuse == 0)
i280drivers/char/scc.csccfreelist[i]->inuse = 1;
i281drivers/char/scc.csccfreelist[i]->bp->type = type;
i282drivers/char/scc.csccfreelist[i]->bp->next = NULLBUF;
i283drivers/char/scc.csccfreelist[i]->bp->anext = NULLBUF;
i284drivers/char/scc.csccfreelist[i]->bp->dup = NULLBUF;
i285drivers/char/scc.csccfreelist[i]->bp->size = BUFSIZE;
i286drivers/char/scc.csccfreelist[i]->bp->refcnt = 1;
i287drivers/char/scc.csccfreelist[i]->bp->cnt = 0;
i288drivers/char/scc.csccfreelist[i]->bp->in_use = 0;
i291drivers/char/scc.creturn sccfreelist[i]->bp;
i309drivers/char/scc.cint i;
i320drivers/char/scc.cfor(i = 0 ; i < allocated_ibufs ; i++)
i322drivers/char/scc.cif(sccfreelist[i]->bp == bp->dup)
i324drivers/char/scc.cif (sccfreelist[i]->bp->type != type)
i327drivers/char/scc.ctype,sccfreelist[i]->bp->type);
i330drivers/char/scc.csccfreelist[i]->bp->cnt = 0;
i331drivers/char/scc.csccfreelist[i]->bp->refcnt = 0;
i332drivers/char/scc.csccfreelist[i]->bp->in_use = 0;
i333drivers/char/scc.csccfreelist[i]->inuse = 0;
i342drivers/char/scc.cfor(i = 0 ; i < allocated_ibufs ; i++)
i344drivers/char/scc.cif(sccfreelist[i]->bp == bp)
i346drivers/char/scc.cif (sccfreelist[i]->bp->type != type)
i349drivers/char/scc.ctype,sccfreelist[i]->bp->type);
i352drivers/char/scc.csccfreelist[i]->bp->cnt = 0;
i353drivers/char/scc.csccfreelist[i]->bp->refcnt = 0;
i354drivers/char/scc.csccfreelist[i]->inuse = 0;
i91drivers/char/selection.cint i = verify_area(VERIFY_READ, (char *) arg, 36);
i92drivers/char/selection.cif (i)
i93drivers/char/selection.creturn i;
i118drivers/char/selection.cint i, ps, pe;
i250drivers/char/selection.cfor (i = sel_start; i <= sel_end; i += 2) {
i251drivers/char/selection.c*bp = sel_pos(i);
i254drivers/char/selection.cif (! ((i + 2) % video_size_row)) {
i767drivers/char/serial.cunsigned int  i;
i770drivers/char/serial.cfor (i=1; i < 16; i++) {
i771drivers/char/serial.cinfo = IRQ_ports[i];
i782drivers/char/serial.cif (rs_multiport[i].port1)
i783drivers/char/serial.crs_interrupt_multi(i, NULL);
i785drivers/char/serial.crs_interrupt(i, NULL);
i787drivers/char/serial.crs_interrupt_single(i, NULL);
i822drivers/char/serial.cint      i, mask;
i824drivers/char/serial.cfor (i = 0, mask = 1; i < 16; i++, mask <<= 1) {
i825drivers/char/serial.cif (!(mask & dontgrab) && !request_irq(i, rs_probe, SA_INTERRUPT, "serial probe")) {
i837drivers/char/serial.cint  i;
i839drivers/char/serial.cfor (i = 0; i < 16; i++) {
i840drivers/char/serial.cif (irq_lines & (1 << i))
i841drivers/char/serial.cfree_irq(i);
i1118drivers/char/serial.cint  i;
i1125drivers/char/serial.ci = cflag & CBAUD;
i1126drivers/char/serial.cif (i & CBAUDEX) {
i1127drivers/char/serial.ci &= ~CBAUDEX;
i1128drivers/char/serial.cif (i < 1 || i > 2) 
i1131drivers/char/serial.ci += 15;
i1133drivers/char/serial.cif (i == 15) {
i1135drivers/char/serial.ci += 1;
i1137drivers/char/serial.ci += 2;
i1144drivers/char/serial.c} else if (baud_table[i] == 134) {
i1147drivers/char/serial.c} else if (baud_table[i]) {
i1148drivers/char/serial.cquot = info->baud_base / baud_table[i];
i1149drivers/char/serial.cinfo->timeout = (info->xmit_fifo_size*HZ*15/baud_table[i]) + 2;
i1468drivers/char/serial.cunsigned int    i,change_irq,change_port;
i1503drivers/char/serial.cfor (i = 0 ; i < NR_PORTS; i++)
i1504drivers/char/serial.cif ((info != &rs_table[i]) &&
i1505drivers/char/serial.c(rs_table[i].port == new_serial.port) &&
i1506drivers/char/serial.crs_table[i].type)
i1692drivers/char/serial.cint  i, mask;
i1717drivers/char/serial.cfor (i = 0, mask = 1; i < 16; i++, mask <<= 1) {
i1718drivers/char/serial.cif ((rs_triggered & (1 << i)) &&
i1719drivers/char/serial.c(irq_lines & (1 << i))) {
i1722drivers/char/serial.cprintk("Wild interrupt?  (IRQ %d)\n", i);
i2562drivers/char/serial.cint i;
i2573drivers/char/serial.cfor (i = 0; i < 16; i++) {
i2574drivers/char/serial.cIRQ_ports[i] = 0;
i2575drivers/char/serial.cIRQ_timeout[i] = 0;
i2576drivers/char/serial.cmemset(&rs_multiport[i], 0, sizeof(struct rs_multiport_struct));
i2630drivers/char/serial.cfor (i = 0, info = rs_table; i < NR_PORTS; i++,info++) {
i2632drivers/char/serial.cinfo->line = i;
i2692drivers/char/serial.cint i;
i2698drivers/char/serial.cfor (i = 0; i < NR_PORTS; i++) {
i2699drivers/char/serial.cif (rs_table[i].port == req->port)
i2702drivers/char/serial.cif (i == NR_PORTS) {
i2703drivers/char/serial.cfor (i = 0; i < NR_PORTS; i++)
i2704drivers/char/serial.cif ((rs_table[i].type == PORT_UNKNOWN) &&
i2705drivers/char/serial.c(rs_table[i].count == 0))
i2708drivers/char/serial.cif (i == NR_PORTS) {
i2712drivers/char/serial.cinfo = &rs_table[i];
i2713drivers/char/serial.cif (rs_table[i].count) {
i2716drivers/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++) 
i160drivers/char/tty_io.cint i, count = 0;
i162drivers/char/tty_io.cfor (f = first_file, i=0; i<nr_files; i++, f = f->f_next) {
i346drivers/char/tty_io.cint i;
i353drivers/char/tty_io.cfor (filp = first_file, i=0; i<nr_files; i++, filp = filp->f_next) {
i386drivers/char/tty_io.ci = (tty->ldisc.open)(tty);
i387drivers/char/tty_io.cif (i < 0)
i389drivers/char/tty_io.c-i);
i688drivers/char/tty_io.cint i;
i715drivers/char/tty_io.ci = (tty->ldisc.read)(tty,file,(unsigned char *)buf,(unsigned int)count);
i717drivers/char/tty_io.ci = -EIO;
i718drivers/char/tty_io.cif (i > 0)
i720drivers/char/tty_io.creturn i;
i725drivers/char/tty_io.cint i, is_console;
i751drivers/char/tty_io.ci = (tty->ldisc.write)(tty,file,(unsigned char *)buf,(unsigned int)count);
i753drivers/char/tty_io.ci = -EIO;
i754drivers/char/tty_io.cif (i > 0)
i756drivers/char/tty_io.creturn i;
i1281drivers/char/tty_io.cint i, n = 0;
i1283drivers/char/tty_io.ci = verify_area(VERIFY_WRITE, (void *)arg, sizeof(struct tstruct));
i1284drivers/char/tty_io.cif (i)
i1285drivers/char/tty_io.creturn i;
i1291drivers/char/tty_io.cfor (i=0 ; i<sizeof(struct task_struct) ; i++)
i1558drivers/char/tty_io.cint    i;
i1575drivers/char/tty_io.cfor (i=0; i < NR_OPEN; i++) {
i1576drivers/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];
i181drivers/char/tty_ioctl.cint i;
i184drivers/char/tty_ioctl.ci = verify_area(VERIFY_WRITE, termio, sizeof (struct termio));
i185drivers/char/tty_ioctl.cif (i)
i186drivers/char/tty_ioctl.creturn i;
i34drivers/char/vt.c#define VT_IS_IN_USE(i)  (console_driver.table[i] && console_driver.table[i]->count)
i35drivers/char/vt.c#define VT_BUSY(i)  (VT_IS_IN_USE(i) || i == fg_console || i == sel_cons)
i107drivers/char/vt.cint i;
i111drivers/char/vt.cfor ( i = 0 ; i < MAX_NR_CONSOLES ; i++ )
i113drivers/char/vt.cif ( console_driver.table[i] )
i115drivers/char/vt.cif ( row ) console_driver.table[i]->winsize.ws_row = row;
i116drivers/char/vt.cif ( col ) console_driver.table[i]->winsize.ws_col = col;
i188drivers/char/vt.cint i, perm;
i235drivers/char/vt.ci = verify_area(VERIFY_WRITE, (void *) arg, sizeof(unsigned char));
i236drivers/char/vt.cif (!i)
i238drivers/char/vt.creturn i;
i289drivers/char/vt.ci = verify_area(VERIFY_WRITE, (void *) arg, sizeof(int));
i290drivers/char/vt.cif (!i)
i292drivers/char/vt.creturn i;
i328drivers/char/vt.ci = verify_area(VERIFY_WRITE, (void *) arg, sizeof(int));
i329drivers/char/vt.cif (!i) {
i336drivers/char/vt.creturn i;
i354drivers/char/vt.ci = verify_area(VERIFY_WRITE, (void *) arg, sizeof(int));
i355drivers/char/vt.cif (!i) {
i360drivers/char/vt.creturn i;
i368drivers/char/vt.ci = verify_area(VERIFY_WRITE, (void *)a, sizeof(struct kbkeycode));
i369drivers/char/vt.cif (i)
i370drivers/char/vt.creturn i;
i386drivers/char/vt.ci = verify_area(VERIFY_READ, (void *)a, sizeof(struct kbkeycode));
i387drivers/char/vt.cif (i)
i388drivers/char/vt.creturn i;
i400drivers/char/vt.ci = verify_area(VERIFY_WRITE, (void *)a, sizeof(struct kbentry));
i401drivers/char/vt.cif (i)
i402drivers/char/vt.creturn i;
i403drivers/char/vt.cif ((i = get_user(&a->kb_index)) >= NR_KEYS)
i409drivers/char/vt.cval = U(key_map[i]);
i413drivers/char/vt.cval = (i ? K_HOLE : K_NOSUCHMAP);
i427drivers/char/vt.ci = verify_area(VERIFY_READ, (void *)a, sizeof(struct kbentry));
i428drivers/char/vt.cif (i)
i429drivers/char/vt.creturn i;
i430drivers/char/vt.cif ((i = get_user(&a->kb_index)) >= NR_KEYS)
i435drivers/char/vt.cif (!i && v == K_NOSUCHMAP) {
i456drivers/char/vt.cif (!i)
i475drivers/char/vt.cov = U(key_map[i]);
i484drivers/char/vt.ckey_map[i] = U(v);
i497drivers/char/vt.ci = verify_area(VERIFY_WRITE, (void *)a, sizeof(struct kbsentry));
i498drivers/char/vt.cif (i)
i499drivers/char/vt.creturn i;
i500drivers/char/vt.cif ((i = get_user(&a->kb_func)) >= MAX_NR_FUNC || i < 0)
i505drivers/char/vt.cp = func_table[i];
i524drivers/char/vt.ci = verify_area(VERIFY_READ, (void *)a, sizeof(struct kbsentry));
i525drivers/char/vt.cif (i)
i526drivers/char/vt.creturn i;
i527drivers/char/vt.cif ((i = get_user(&a->kb_func)) >= MAX_NR_FUNC)
i529drivers/char/vt.cq = func_table[i];
i532drivers/char/vt.cfor (j = i+1; j < MAX_NR_FUNC && !func_table[j]; j++) ;
i553drivers/char/vt.cfunc_table[i] = fj;
i564drivers/char/vt.cfunc_table[i] = fj;
i583drivers/char/vt.cfor (p = a->kb_string, q = func_table[i]; ; p++, q++)
i593drivers/char/vt.ci = verify_area(VERIFY_WRITE, (void *) a, sizeof(struct kbdiacrs));
i594drivers/char/vt.cif (i)
i595drivers/char/vt.creturn i;
i609drivers/char/vt.ci = verify_area(VERIFY_READ, (void *) a, sizeof(struct kbdiacrs));
i610drivers/char/vt.cif (i)
i611drivers/char/vt.creturn i;
i623drivers/char/vt.ci = verify_area(VERIFY_WRITE, (void *) arg, sizeof(unsigned char));
i624drivers/char/vt.cif (i)
i625drivers/char/vt.creturn i;
i643drivers/char/vt.ci = verify_area(VERIFY_WRITE, (void *) arg, sizeof(unsigned char));
i644drivers/char/vt.cif (i)
i645drivers/char/vt.creturn i;
i684drivers/char/vt.ci = verify_area(VERIFY_WRITE, (void *)vtmode, sizeof(struct vt_mode));
i685drivers/char/vt.cif (i)
i686drivers/char/vt.creturn i;
i705drivers/char/vt.ci = verify_area(VERIFY_WRITE, (void *)arg, sizeof(struct vt_mode));
i706drivers/char/vt.cif (i)
i707drivers/char/vt.creturn i;
i726drivers/char/vt.ci = verify_area(VERIFY_WRITE,(void *)vtstat, sizeof(struct vt_stat));
i727drivers/char/vt.cif (i)
i728drivers/char/vt.creturn i;
i731drivers/char/vt.cfor (i = 0, mask = 2; i < MAX_NR_CONSOLES && mask; ++i, mask <<= 1)
i732drivers/char/vt.cif (VT_IS_IN_USE(i))
i742drivers/char/vt.ci = verify_area(VERIFY_WRITE, (void *) arg, sizeof(int));
i743drivers/char/vt.cif (i)
i744drivers/char/vt.creturn i;
i745drivers/char/vt.cfor (i = 0; i < MAX_NR_CONSOLES; ++i)
i746drivers/char/vt.cif (! VT_IS_IN_USE(i))
i748drivers/char/vt.cput_user(i < MAX_NR_CONSOLES ? (i+1) : -1, (int *) arg);
i762drivers/char/vt.ci = vc_allocate(arg);
i763drivers/char/vt.cif (i)
i764drivers/char/vt.creturn i;
i820drivers/char/vt.ci = vc_allocate(newvt);
i821drivers/char/vt.cif (i)
i822drivers/char/vt.creturn i;
i849drivers/char/vt.cfor (i=1; i<MAX_NR_CONSOLES; i++)
i850drivers/char/vt.cif (! VT_BUSY(i))
i851drivers/char/vt.cvc_disallocate(i);
i868drivers/char/vt.ci = verify_area(VERIFY_READ, (void *)vtsizes, sizeof(struct vt_sizes));
i869drivers/char/vt.cif (i)
i870drivers/char/vt.creturn i;
i873drivers/char/vt.ci = vc_resize(ll, cc);
i874drivers/char/vt.creturn i ? i :   kd_size_changed(ll, cc);
i883drivers/char/vt.ci = verify_area(VERIFY_READ, (void *)vtconsize, sizeof(struct vt_consize));
i884drivers/char/vt.cif (i)
i885drivers/char/vt.creturn i;
i922drivers/char/vt.ci = vc_resize(ll, cc);
i923drivers/char/vt.cif (i)
i924drivers/char/vt.creturn i;
i963drivers/char/vt.ci = verify_area(VERIFY_READ, (void *)arg,
i965drivers/char/vt.cif (i) return i;
i971drivers/char/vt.ci = con_set_font(cfdarg.chardata,
i973drivers/char/vt.cif (i)
i974drivers/char/vt.creturn i;
i975drivers/char/vt.ci = con_adjust_height(cfdarg.charheight);
i976drivers/char/vt.creturn (i <= 0) ? i : kd_size_changed(i, 0);
i988drivers/char/vt.ci = verify_area(VERIFY_WRITE, (void *)arg,
i990drivers/char/vt.cif (i) return i;  
i993drivers/char/vt.ci = cfdarg.charcount;
i1000drivers/char/vt.cif ( i < nchar )
i1027drivers/char/vt.ci = verify_area(VERIFY_READ, (void *)arg, sizeof(struct unimapinit));
i1028drivers/char/vt.cif (i)
i1029drivers/char/vt.creturn i;
i1042drivers/char/vt.ci = verify_area(VERIFY_READ, (void *)arg, sizeof(struct unimapdesc));
i1043drivers/char/vt.cif (i == 0) {
i1047drivers/char/vt.ci = verify_area(VERIFY_READ, (void *) list,
i1050drivers/char/vt.cif (i)
i1051drivers/char/vt.creturn i;
i1060drivers/char/vt.ci = verify_area(VERIFY_WRITE, (void *)arg, sizeof(struct unimapdesc));
i1061drivers/char/vt.cif (i == 0) {
i1066drivers/char/vt.ci = verify_area(VERIFY_WRITE, (void *) list,
i1069drivers/char/vt.cif (i)
i1070drivers/char/vt.creturn i;
i200drivers/net/3c501.cint i;
i208drivers/net/3c501.cfor (i = 0; netcard_portlist[i]; i++) {
i209drivers/net/3c501.cint ioaddr = netcard_portlist[i];
i229drivers/net/3c501.cint i;
i232drivers/net/3c501.cfor (i = 0; i < 6; i++) {
i233drivers/net/3c501.coutw(i, ioaddr + EL1_DATAPTR);
i234drivers/net/3c501.cstation_addr[i] = inb(ioaddr + EL1_SAPROM);
i612drivers/net/3c501.cint i;
i613drivers/net/3c501.cfor (i = 0; i < 6; i++)  /* Set the station address. */
i614drivers/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;
i379drivers/net/3c503.cint i;        /* Buffer index */
i404drivers/net/3c503.cfor(i = 0; i < count; i++) {
i405drivers/net/3c503.cif (i % 8 == 0)
i407drivers/net/3c503.cif (++boguscount > (i<<3) + 32) {
i409drivers/net/3c503.cdev->name, i, count, boguscount);
i412drivers/net/3c503.coutb(buf[i], E33G_FIFOH);
i424drivers/net/3c503.cunsigned int i;
i448drivers/net/3c503.cfor(i = 0; i < count; i++) {
i449drivers/net/3c503.cif (i % 8 == 0)
i451drivers/net/3c503.cif (++boguscount > (i<<3) + 32) {
i453drivers/net/3c503.cdev->name, i, count, boguscount);
i457drivers/net/3c503.cbuf[i] = inb_p(E33G_FIFOH);
i322drivers/net/3c505.cint i;
i347drivers/net/3c505.cfor (i = 0; cont && (i < pcb->length); i++) {
i348drivers/net/3c505.coutb_command(pcb->data.raw[i], dev->base_addr);
i361drivers/net/3c505.ci = GET_ASF(dev->base_addr);
i362drivers/net/3c505.cif ((i == ASF_PCB_ACK) || (i == ASF_PCB_NAK))
i366drivers/net/3c505.cif (i == ASF_PCB_ACK) {
i370drivers/net/3c505.celse if (i == ASF_PCB_NAK) {
i398drivers/net/3c505.cint i, j;
i437drivers/net/3c505.ci = 0;
i442drivers/net/3c505.cpcb->data.raw[i++] = inb_command(dev->base_addr);
i443drivers/net/3c505.cif (i > MAX_PCB_DATA)
i444drivers/net/3c505.cINVALID_PCB_MSG(i);
i453drivers/net/3c505.ctotal_length = pcb->data.raw[--i];
i544drivers/net/3c505.cregister int i;
i575drivers/net/3c505.cfor (i = 0; i < (rlen/2); i++) {
i597drivers/net/3c505.cfor (i = 0; i < (rlen/2); i++) { 
i604drivers/net/3c505.cfilename,__LINE__, i, rlen/2);  
i933drivers/net/3c505.cint i;
i967drivers/net/3c505.cfor (i = 0; i < (nlen/2);i++) {
i974drivers/net/3c505.cdev->name,filename,__LINE__, i, nlen/2);
i1166drivers/net/3c505.cint i;
i1176drivers/net/3c505.cfor (i=0;i<num_addrs;i++)
i1177drivers/net/3c505.cmemcpy(adapter->tx_pcb.data.multicast[i], addrs+6*i,6);
i1361drivers/net/3c505.cint i;
i1424drivers/net/3c505.cfor (i = 0; i < 6; i++) 
i1425drivers/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) {
i624drivers/net/8390.cint i;
i653drivers/net/8390.cfor(i = 0; i < 6; i++) {
i654drivers/net/8390.coutb_p(dev->dev_addr[i], e8390_base + EN1_PHYS + i);
i658drivers/net/8390.cfor(i = 0; i < 8; i++)
i659drivers/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]);
i1142drivers/net/arcnet.cshort i;
i1143drivers/net/arcnet.cfor( i=0; i< skb->len; i++)
i1145drivers/net/arcnet.cif( i%16 == 0 ) printk("\n[%04hX] ",i);
i1146drivers/net/arcnet.cprintk("%02hX ",((unsigned char*)skb->data)[i]);
i1966drivers/net/arcnet.cshort i;
i1967drivers/net/arcnet.cfor( i=0; i< skb->len; i++)
i1969drivers/net/arcnet.cif( i%16 == 0 ) printk("\n[%04hX] ",i);
i1970drivers/net/arcnet.cprintk("%02hX ",((unsigned char*)skb->data)[i]);
i2130drivers/net/arcnet.cshort i;
i2131drivers/net/arcnet.cfor( i=0; i< skb->len; i++)
i2133drivers/net/arcnet.cif( i%16 == 0 ) printk("\n[%04hX] ",i);
i2134drivers/net/arcnet.cprintk("%02hX ",((unsigned char*)skb->data)[i]);
i2175drivers/net/arcnet.cshort i;
i2177drivers/net/arcnet.cfor(i=0; i<skb->len; i++)
i2179drivers/net/arcnet.cif (i%16==0)
i2180drivers/net/arcnet.cprintk("\n[%04hX] ",i);
i2182drivers/net/arcnet.cprintk("%02hX ",((u_char *)skb->data)[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);
i556drivers/net/at1700.cint i;
i557drivers/net/at1700.cfor (i = 0; i < 20; i++) {
i566drivers/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);
i486drivers/net/de4x5.cint i;\
i487drivers/net/de4x5.ci=inl(DE4X5_BMR);\
i489drivers/net/de4x5.coutl(i | BMR_SWR, DE4X5_BMR);\
i491drivers/net/de4x5.coutl(i, DE4X5_BMR);\
i493drivers/net/de4x5.cfor (i=0;i<5;i++) {inl(DE4X5_BMR); dce_ms_delay(1);}\
i533drivers/net/de4x5.cint tmpbus, tmpchs, i, j, status=0;
i574drivers/net/de4x5.cfor (i = 0; i < ETH_ALEN - 1; i++) {       /* get the ethernet addr. */
i575drivers/net/de4x5.cprintk("%2.2x:", dev->dev_addr[i]);
i577drivers/net/de4x5.cprintk("%2.2x,\n", dev->dev_addr[i]);
i633drivers/net/de4x5.cfor (i=0; i<NUM_RX_DESC; i++) {
i634drivers/net/de4x5.clp->rx_ring[i].status = 0;
i635drivers/net/de4x5.clp->rx_ring[i].des1 = RX_BUFF_SZ;
i636drivers/net/de4x5.clp->rx_ring[i].buf = virt_to_bus(tmp + i * RX_BUFF_SZ);
i637drivers/net/de4x5.clp->rx_ring[i].next = (u32)NULL;
i676drivers/net/de4x5.cfor (dev->irq=0,i=0; (i<sizeof(de4x5_irq)) && (!dev->irq); i++) {
i677drivers/net/de4x5.cif (irqnum == de4x5_irq[i]) {
i760drivers/net/de4x5.cint i, status = 0;
i785drivers/net/de4x5.cfor (i=0;i<6;i++){
i786drivers/net/de4x5.cprintk("%2.2x:",(short)dev->dev_addr[i]);
i792drivers/net/de4x5.cfor (i=0;i<lp->rxRingSize-1;i++){
i793drivers/net/de4x5.cif (i < 3) {
i794drivers/net/de4x5.cprintk("0x%8.8lx  ",(u_long)&lp->rx_ring[i].status);
i797drivers/net/de4x5.cprintk("...0x%8.8lx\n",(u_long)&lp->rx_ring[i].status);
i799drivers/net/de4x5.cfor (i=0;i<lp->txRingSize-1;i++){
i800drivers/net/de4x5.cif (i < 3) {
i801drivers/net/de4x5.cprintk("0x%8.8lx  ", (u_long)&lp->tx_ring[i].status);
i804drivers/net/de4x5.cprintk("...0x%8.8lx\n", (u_long)&lp->tx_ring[i].status);
i806drivers/net/de4x5.cfor (i=0;i<lp->rxRingSize-1;i++){
i807drivers/net/de4x5.cif (i < 3) {
i808drivers/net/de4x5.cprintk("0x%8.8x  ",lp->rx_ring[i].buf);
i811drivers/net/de4x5.cprintk("...0x%8.8x\n",lp->rx_ring[i].buf);
i813drivers/net/de4x5.cfor (i=0;i<lp->txRingSize-1;i++){
i814drivers/net/de4x5.cif (i < 3) {
i815drivers/net/de4x5.cprintk("0x%8.8x  ", lp->tx_ring[i].buf);
i818drivers/net/de4x5.cprintk("...0x%8.8x\n", lp->tx_ring[i].buf);
i873drivers/net/de4x5.cint i, j, status = 0;
i898drivers/net/de4x5.cfor (i = 0; i < lp->rxRingSize; i++) {
i899drivers/net/de4x5.clp->rx_ring[i].status = R_OWN;
i902drivers/net/de4x5.cfor (i = 0; i < lp->txRingSize; i++) {
i903drivers/net/de4x5.clp->tx_ring[i].status = 0;
i919drivers/net/de4x5.cfor (j=0, i=jiffies;(i==jiffies) && (j==0);) {
i949drivers/net/de4x5.cint i, status = 0;
i983drivers/net/de4x5.cfor (i=lp->tx_old; i!=lp->tx_new; i=(++i)%lp->txRingSize) {
i984drivers/net/de4x5.cif (lp->skb[i] != NULL) {
i985drivers/net/de4x5.cif (lp->skb[i]->len != FAKE_FRAME_LEN) {
i986drivers/net/de4x5.cif (lp->tx_ring[i].status == T_OWN) {
i987drivers/net/de4x5.cdev_queue_xmit(lp->skb[i], dev, SOPRI_NORMAL);
i989drivers/net/de4x5.cdev_kfree_skb(lp->skb[i], FREE_WRITE);
i992drivers/net/de4x5.cdev_kfree_skb(lp->skb[i], FREE_WRITE);
i994drivers/net/de4x5.clp->skb[i] = NULL;
i1135drivers/net/de4x5.cint i, entry;
i1174drivers/net/de4x5.cfor (i=1; i<DE4X5_PKT_STAT_SZ-1; i++) {
i1175drivers/net/de4x5.cif (pkt_len < (i*DE4X5_PKT_BIN_SZ)) {
i1176drivers/net/de4x5.clp->pktStats.bins[i]++;
i1177drivers/net/de4x5.ci = DE4X5_PKT_STAT_SZ;
i1427drivers/net/de4x5.cint i, j, bit, byte;
i1441drivers/net/de4x5.cfor (i=0;i<num_addrs;i++) {            /* for each address in the list */
i1469drivers/net/de4x5.cfor (i=0; i<ETH_ALEN; i++) { 
i1470drivers/net/de4x5.c*(pa + (i&1)) = *addrs++;
i1471drivers/net/de4x5.cif (i & 0x01) pa += 4;
i1486drivers/net/de4x5.cint i, maxSlots, status;
i1500drivers/net/de4x5.ci = 1;
i1504drivers/net/de4x5.ci = (ioaddr >> 12);
i1505drivers/net/de4x5.cmaxSlots = i + 1;
i1508drivers/net/de4x5.cfor (status = -ENODEV; (i<maxSlots) && (dev!=NULL); i++, iobase+=EISA_SLOT_INC) {
i1807drivers/net/de4x5.cint i, linkBad;
i1813drivers/net/de4x5.cfor (linkBad=1,i=0;(i<t_3s) && linkBad && !(sisr & SISR_NCR);i++) {
i2021drivers/net/de4x5.cint i, entry, linkBad;
i2037drivers/net/de4x5.cfor (linkBad=1,i=0;(i<t_3s) && linkBad;i++) {
i2098drivers/net/de4x5.cs32 i = 2048, j;
i2103drivers/net/de4x5.ci = 8192;
i2105drivers/net/de4x5.ci = 819;
i2109drivers/net/de4x5.coutl((s32)(msec * 10000)/i, DE4X5_GPT);
i2119drivers/net/de4x5.cint i;
i2122drivers/net/de4x5.cfor (i=0; i<ETH_ALEN; i++) {             /* Use this source address */
i2123drivers/net/de4x5.c*buf++ = dev->dev_addr[i];
i2125drivers/net/de4x5.cfor (i=0; i<ETH_ALEN; i++) {             /* Use this destination address */
i2126drivers/net/de4x5.c*buf++ = dev->dev_addr[i];
i2150drivers/net/de4x5.cu_int i;
i2152drivers/net/de4x5.cfor (i=0; i<msec; i++) {
i2165drivers/net/de4x5.cu_int i;
i2184drivers/net/de4x5.cfor (i=0;(*signatures[i] != '\0') && (*name == '\0');i++) {
i2185drivers/net/de4x5.cif (strstr(ManCode, signatures[i]) != NULL) {
i2216drivers/net/de4x5.cint i, j, tmp, status = 0;
i2225drivers/net/de4x5.cfor (i=0,j=0;(j<sigLength) && (i<PROBE_LENGTH+sigLength-1);i++) {
i2249drivers/net/de4x5.cfor (i=0; i<(sizeof(struct de4x5_srom)>>1); i++) {
i2250drivers/net/de4x5.c*p++ = srom_rd(aprom_addr, i);
i2260drivers/net/de4x5.cint i, k, tmp, status = 0;
i2264drivers/net/de4x5.cfor (i=0,k=0,j=0;j<3;j++) {
i2272drivers/net/de4x5.cdev->dev_addr[i++] = (u_char) tmp;
i2275drivers/net/de4x5.cdev->dev_addr[i++] = (u_char) tmp;
i2277drivers/net/de4x5.cdev->dev_addr[i] = (u_char) lp->srom.ieee_addr[i]; i++;
i2278drivers/net/de4x5.cdev->dev_addr[i] = (u_char) lp->srom.ieee_addr[i]; i++;
i2282drivers/net/de4x5.cdev->dev_addr[i++] = (u_char) tmp;
i2284drivers/net/de4x5.cdev->dev_addr[i++] = (u_char) tmp;
i2343drivers/net/de4x5.cint i;
i2347drivers/net/de4x5.cfor (i=0; i<6; i++, a <<= 1) {
i2352drivers/net/de4x5.ci = (getfrom_srom(addr) >> 3) & 0x01;
i2353drivers/net/de4x5.cif (i != 0) {
i2363drivers/net/de4x5.cint i;
i2367drivers/net/de4x5.cfor (i=0; i<16; i++) {
i2416drivers/net/de4x5.cint i;
i2425drivers/net/de4x5.cfor (pa=lp->setup_frame+IMPERF_PA_OFFSET, i=0; i<ETH_ALEN; i++) {
i2426drivers/net/de4x5.c*(pa + i) = dev->dev_addr[i];                 /* Host address */
i2427drivers/net/de4x5.cif (i & 0x01) pa += 2;
i2431drivers/net/de4x5.cfor (i=0; i<ETH_ALEN; i++) { /* Host address */
i2432drivers/net/de4x5.c*(pa + (i&1)) = dev->dev_addr[i];
i2433drivers/net/de4x5.cif (i & 0x01) pa += 4;
i2435drivers/net/de4x5.cfor (i=0; i<ETH_ALEN; i++) { /* Broadcast address */
i2436drivers/net/de4x5.c*(pa + (i&1)) = (char) 0xff;
i2437drivers/net/de4x5.cif (i & 0x01) pa += 4;
i2491drivers/net/de4x5.cint i, j, status = 0;
i2505drivers/net/de4x5.cfor (i=0; i<ETH_ALEN; i++) {
i2506drivers/net/de4x5.ctmp.addr[i] = dev->dev_addr[i];
i2520drivers/net/de4x5.cfor (i=0; i<ETH_ALEN; i++) {
i2521drivers/net/de4x5.cdev->dev_addr[i] = tmp.addr[i];
i2663drivers/net/de4x5.cfor (i=0; i<ETH_ALEN; i++) {
i2664drivers/net/de4x5.ctmp.addr[j++] = dev->dev_addr[i];
i2670drivers/net/de4x5.cfor (i=0;i<lp->rxRingSize-1;i++){
i2671drivers/net/de4x5.cif (i < 3) {
i2672drivers/net/de4x5.ctmp.lval[j>>2] = (long)&lp->rx_ring[i].status; j+=4;
i2675drivers/net/de4x5.ctmp.lval[j>>2] = (long)&lp->rx_ring[i].status; j+=4;
i2676drivers/net/de4x5.cfor (i=0;i<lp->txRingSize-1;i++){
i2677drivers/net/de4x5.cif (i < 3) {
i2678drivers/net/de4x5.ctmp.lval[j>>2] = (long)&lp->tx_ring[i].status; j+=4;
i2681drivers/net/de4x5.ctmp.lval[j>>2] = (long)&lp->tx_ring[i].status; j+=4;
i2683drivers/net/de4x5.cfor (i=0;i<lp->rxRingSize-1;i++){
i2684drivers/net/de4x5.cif (i < 3) {
i2685drivers/net/de4x5.ctmp.lval[j>>2] = (s32)lp->rx_ring[i].buf; j+=4;
i2688drivers/net/de4x5.ctmp.lval[j>>2] = (s32)lp->rx_ring[i].buf; j+=4;
i2689drivers/net/de4x5.cfor (i=0;i<lp->txRingSize-1;i++){
i2690drivers/net/de4x5.cif (i < 3) {
i2691drivers/net/de4x5.ctmp.lval[j>>2] = (s32)lp->tx_ring[i].buf; j+=4;
i2694drivers/net/de4x5.ctmp.lval[j>>2] = (s32)lp->tx_ring[i].buf; j+=4;
i2696drivers/net/de4x5.cfor (i=0;i<lp->rxRingSize;i++){
i2697drivers/net/de4x5.ctmp.lval[j>>2] = lp->rx_ring[i].status; j+=4;
i2699drivers/net/de4x5.cfor (i=0;i<lp->txRingSize;i++){
i2700drivers/net/de4x5.ctmp.lval[j>>2] = lp->tx_ring[i].status; j+=4;
i588drivers/net/de600.cint    i;
i629drivers/net/de600.cfor (i = size; i > 0; --i, ++buffer)
i647drivers/net/de600.cint  i;
i674drivers/net/de600.cfor (i = 0; i < ETH_ALEN; i++) {
i675drivers/net/de600.cdev->dev_addr[i] = de600_read_byte(READ_DATA, dev);
i676drivers/net/de600.cdev->broadcast[i] = 0xff;
i701drivers/net/de600.cfor (i = 1; i < ETH_ALEN; i++)
i702drivers/net/de600.cprintk(":%02X",dev->dev_addr[i]);
i725drivers/net/de600.cint  i;
i771drivers/net/de600.cfor (i = 0; i < ETH_ALEN; i++)
i772drivers/net/de600.cde600_put_byte(dev->dev_addr[i]);
i720drivers/net/de620.cint i;
i745drivers/net/de620.cfor (i = 0; i < 6; ++i) { /* W_PARn = 0xaa + n */
i746drivers/net/de620.cde620_set_register(W_PAR0 + i, dev->dev_addr[i]);
i771drivers/net/de620.cif (((i = de620_get_register(R_STS)) & CHECK_MASK) != CHECK_OK) {
i776drivers/net/de620.c"! (%02x)\n", i);
i809drivers/net/de620.cint i;
i841drivers/net/de620.cfor (i = 1; i < ETH_ALEN; i++) {
i842drivers/net/de620.cprintk(":%2.2X", dev->dev_addr[i] = nic_data.NodeID[i]);
i843drivers/net/de620.cdev->broadcast[i] = 0xff;
i453drivers/net/depca.cint i, j, offset, netRAM, mem_len, status=0;
i482drivers/net/depca.cfor (i=0; i<ETH_ALEN - 1; i++) { /* get the ethernet address */
i483drivers/net/depca.cprintk("%2.2x:", dev->dev_addr[i]);
i485drivers/net/depca.cprintk("%2.2x", dev->dev_addr[i]);
i542drivers/net/depca.cfor (i=0, j = lp->rxRingMask; j>0; i++) {
i545drivers/net/depca.clp->rx_rlen = (s32)(i << 29);
i546drivers/net/depca.cfor (i=0, j = lp->txRingMask; j>0; i++) {
i549drivers/net/depca.clp->tx_rlen = (s32)(i << 29);
i594drivers/net/depca.cfor (dev->irq=0,i=0; (depca_irq[i]) && (!dev->irq); i++) {
i595drivers/net/depca.cif (irqnum == depca_irq[i]) {
i658drivers/net/depca.cint i, status = 0;
i688drivers/net/depca.cfor (i=0;i<lp->rxRingMask;i++){
i689drivers/net/depca.cif (i < 3) {
i690drivers/net/depca.cprintk("0x%8.8lx ", (long) &lp->rx_ring[i].base);
i693drivers/net/depca.cprintk("...0x%8.8lx\n", (long) &lp->rx_ring[i].base);
i695drivers/net/depca.cfor (i=0;i<lp->txRingMask;i++){
i696drivers/net/depca.cif (i < 3) {
i697drivers/net/depca.cprintk("0x%8.8lx ", (long) &lp->tx_ring[i].base);
i700drivers/net/depca.cprintk("...0x%8.8lx\n", (long) &lp->tx_ring[i].base);
i702drivers/net/depca.cfor (i=0;i<lp->rxRingMask;i++){
i703drivers/net/depca.cif (i < 3) {
i704drivers/net/depca.cprintk("0x%8.8x  ", readl(&lp->rx_ring[i].base));
i707drivers/net/depca.cprintk("...0x%8.8x\n", readl(&lp->rx_ring[i].base));
i709drivers/net/depca.cfor (i=0;i<lp->txRingMask;i++){
i710drivers/net/depca.cif (i < 3) {
i711drivers/net/depca.cprintk("0x%8.8x  ", readl(&lp->tx_ring[i].base));
i714drivers/net/depca.cprintk("...0x%8.8x\n", readl(&lp->tx_ring[i].base));
i719drivers/net/depca.cfor (i=0;i<ETH_ALEN-1;i++){
i720drivers/net/depca.cprintk("%2.2x:",(u_char)readb(&p->phys_addr[i]));
i722drivers/net/depca.cprintk("%2.2x\n",(u_char)readb(&p->phys_addr[i]));
i724drivers/net/depca.cfor (i=0;i<(HASH_TABLE_LEN >> 3)-1;i++){
i725drivers/net/depca.cprintk("%2.2x:",(u_char)readb(&p->mcast_table[i]));
i727drivers/net/depca.cprintk("%2.2x\n",(u_char)readb(&p->mcast_table[i]));
i771drivers/net/depca.cu_int i;
i781drivers/net/depca.cfor (i = 0; i <= lp->rxRingMask; i++) {
i782drivers/net/depca.cwritel((p=lp->dma_buffs+i*RX_BUFF_SZ) | R_OWN, &lp->rx_ring[i].base);
i783drivers/net/depca.cwritew(-RX_BUFF_SZ, &lp->rx_ring[i].buf_length);
i784drivers/net/depca.clp->rx_memcpy[i]=(char *)(p+lp->bus_offset);
i786drivers/net/depca.cfor (i = 0; i <= lp->txRingMask; i++) {
i787drivers/net/depca.cwritel((p=lp->dma_buffs+(i+lp->txRingMask+1)*TX_BUFF_SZ) & 0x00ffffff,
i788drivers/net/depca.c&lp->tx_ring[i].base);
i789drivers/net/depca.clp->tx_memcpy[i]=(char *)(p+lp->bus_offset);
i798drivers/net/depca.cfor (i = 0; i < ETH_ALEN; i++) {
i799drivers/net/depca.clp->init_block.phys_addr[i] = dev->dev_addr[i];
i925drivers/net/depca.cint i, entry;
i971drivers/net/depca.cfor (i=1; i<DEPCA_PKT_STAT_SZ-1; i++) {
i972drivers/net/depca.cif (pkt_len < (i*DEPCA_PKT_BIN_SZ)) {
i973drivers/net/depca.clp->pktStats.bins[i]++;
i974drivers/net/depca.ci = DEPCA_PKT_STAT_SZ;
i1120drivers/net/depca.cint i, status=0;
i1129drivers/net/depca.cfor (i=0;(i<100) && !(inw(DEPCA_DATA) & IDON); i++); 
i1131drivers/net/depca.cif (i!=100) {
i1136drivers/net/depca.cdev->name, i, lp->sh_mem, inw(DEPCA_DATA));
i1140drivers/net/depca.cdev->name, i, lp->sh_mem, inw(DEPCA_DATA));
i1200drivers/net/depca.cint i, j, bit, byte;
i1205drivers/net/depca.cfor (i=0; i<(HASH_TABLE_LEN>>3); i++) {
i1206drivers/net/depca.clp->init_block.mcast_table[i] = (char)0xff;
i1210drivers/net/depca.cfor (i=0; i<(HASH_TABLE_LEN>>3); i++){
i1211drivers/net/depca.clp->init_block.mcast_table[i]=0;
i1215drivers/net/depca.cfor (i=0;i<num_addrs;i++) {            /* for each address in the list */
i1247drivers/net/depca.cint i = num_depcas, maxSlots;
i1252drivers/net/depca.cif (i >= MAX_NUM_DEPCAS) return;             /* Too many ISA adapters */
i1257drivers/net/depca.cports[i] = ioaddr;
i1258drivers/net/depca.cmaxSlots = i + 1;
i1261drivers/net/depca.cfor (; (i<maxSlots) && (dev!=NULL) && ports[i]; i++) {
i1262drivers/net/depca.cif (DevicePresent(ports[i]) == 0) { 
i1263drivers/net/depca.cif (check_region(ports[i], DEPCA_TOTAL_SIZE) == 0) {
i1264drivers/net/depca.cif ((dev = alloc_device(dev, ports[i])) != NULL) {
i1265drivers/net/depca.cif (depca_hw_init(dev, ports[i]) == 0) {
i1271drivers/net/depca.cprintk("%s: region already allocated at 0x%04x.\n", dev->name,ports[i]);
i1285drivers/net/depca.cint i, maxSlots;
i1294drivers/net/depca.ci = 1;
i1298drivers/net/depca.ci = (ioaddr >> 12);
i1299drivers/net/depca.cmaxSlots = i + 1;
i1303drivers/net/depca.cfor (; (i<maxSlots) && (dev!=NULL); i++, iobase+=EISA_SLOT_INC) {
i1440drivers/net/depca.cu_int i,j,k;
i1444drivers/net/depca.cfor (i=0;i<16;i++) {                  /* copy the first 16 bytes of ROM to */
i1445drivers/net/depca.ctmpstr[i] = readb(paddr+0xc000+i);  /* a temporary string */
i1449drivers/net/depca.cfor (i=0;*signatures[i]!='\0' && *name=='\0';i++) {
i1450drivers/net/depca.cfor (j=0,k=0;j<16 && k<strlen(signatures[i]);j++) {
i1451drivers/net/depca.cif (signatures[i][k] == tmpstr[j]) {              /* track signature */
i1457drivers/net/depca.cif (k == strlen(signatures[i])) {
i1458drivers/net/depca.cstrcpy(name,signatures[i]);
i1462drivers/net/depca.cadapter = i - 1;
i1494drivers/net/depca.cint i, j, status = 0;
i1509drivers/net/depca.cfor (i=0,j=0;j<sigLength && i<PROBE_LENGTH+sigLength-1;i++) {
i1537drivers/net/depca.cint i, k, tmp, status = 0;
i1542drivers/net/depca.cfor (i=0,k=0,j=0;j<3;j++) {
i1547drivers/net/depca.cdev->dev_addr[i++] = (u_char) tmp;
i1549drivers/net/depca.cdev->dev_addr[i++] = (u_char) tmp;
i1568drivers/net/depca.cint i, entry, end, len, status = 0;
i1587drivers/net/depca.cfor (i = entry; i != end; i = (++i) & lp->txRingMask) {
i1589drivers/net/depca.cwritel(readl(&lp->tx_ring[i].base) & ~T_FLAGS, &lp->tx_ring[i].base);
i1590drivers/net/depca.cwritew(0x0000, &lp->tx_ring[i].misc);       /* clears other error flags */
i1591drivers/net/depca.cwritew(-TX_BUFF_SZ, &lp->tx_ring[i].length);/* packet length in buffer */
i1604drivers/net/depca.cfor (i=end; i!=entry; --i) {
i1606drivers/net/depca.cwritel(readl(&lp->tx_ring[i].base) | T_OWN, &lp->tx_ring[i].base);
i1607drivers/net/depca.cif (i == 0) i=lp->txRingMask+1;
i1624drivers/net/depca.cu_int i;
i1643drivers/net/depca.cfor (i=0;(*signatures[i] != '\0') && (*name == '\0');i++) {
i1644drivers/net/depca.cif (strstr(ManCode, signatures[i]) != NULL) {
i1661drivers/net/depca.cint i, status = 0;
i1671drivers/net/depca.cfor (i=0; i<ETH_ALEN; i++) {
i1672drivers/net/depca.ctmp.addr[i] = dev->dev_addr[i];
i1684drivers/net/depca.cfor (i=0; i<ETH_ALEN; i++) {
i1685drivers/net/depca.cdev->dev_addr[i] = tmp.addr[i];
i1800drivers/net/depca.ci=0;
i1801drivers/net/depca.ctmp.sval[i++] = inw(DEPCA_NICSR);
i1803drivers/net/depca.ctmp.sval[i++] = inw(DEPCA_DATA);
i1804drivers/net/depca.cmemcpy(&tmp.sval[i], &lp->init_block, sizeof(struct depca_init));
i1805drivers/net/depca.cioc->len = i+sizeof(struct depca_init);
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)) {
i286drivers/net/eepro.cint i;
i294drivers/net/eepro.cfor (i = 0; eepro_portlist[i]; i++) {
i295drivers/net/eepro.cint ioaddr = eepro_portlist[i];
i313drivers/net/eepro.cint i;
i357drivers/net/eepro.cfor (i=0; i < 6; i++) {
i358drivers/net/eepro.cdev->dev_addr[i] = ((unsigned char *) station_addr)[5-i];
i359drivers/net/eepro.cprintk("%c%02x", i ? ':' : ' ', dev->dev_addr[i]);
i369drivers/net/eepro.ci = read_eeprom(ioaddr, 1);
i370drivers/net/eepro.cswitch (i & 0x07) {
i398drivers/net/eepro.ci = read_eeprom(ioaddr, 5);
i399drivers/net/eepro.cif (i & 0x2000) /* bit 13 of EEPROM word 5 */
i508drivers/net/eepro.cint i, ioaddr = dev->base_addr;
i536drivers/net/eepro.cfor (i=0; i < 6; i++) 
i537drivers/net/eepro.coutb(dev->dev_addr[i] , ioaddr + I_ADD_REG0 + i); 
i817drivers/net/eepro.cint i, boguscount = 0;
i835drivers/net/eepro.cfor (i = 0; i < num_addrs; i++) {
i848drivers/net/eepro.ci = lp->tx_end + XMT_HEADER + 6*(num_addrs + 1);
i853drivers/net/eepro.coutw(i, ioaddr + IO_PORT);
i857drivers/net/eepro.clp->tx_end = i ;
i858drivers/net/eepro.c} else lp->tx_start = lp->tx_end = i ;
i865drivers/net/eepro.ci = inb(ioaddr);
i867drivers/net/eepro.cif (i & 0x20) { /* command ABORTed */
i871drivers/net/eepro.c} else if ((i & 0x0f) == 0x03)  { /* MC-Done */
i896drivers/net/eepro.cint i;
i906drivers/net/eepro.cfor (i = 8; i >= 0; i--) {
i907drivers/net/eepro.cshort outval = (read_cmd & (1 << i)) ? ctrl_val | EEDI
i917drivers/net/eepro.cfor (i = 16; i > 0; 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--) {
i210drivers/net/eql.cint i;
i238drivers/net/eql.cfor (i = 0; i < DEV_NUMBUFFS; i++)
i239drivers/net/eql.cskb_queue_head_init(&dev->buffs[i]);
i966drivers/net/eql.cint i;
i970drivers/net/eql.cfor (i = 1, slave = eql_first_slave (queue);
i971drivers/net/eql.ci <= eql_number_slaves (queue);
i972drivers/net/eql.ci++, slave = eql_next_slave (queue, slave))
i1125drivers/net/eql.cint i;
i1131drivers/net/eql.cfor (i = 1, slave = eql_first_slave (eql->queue);
i1132drivers/net/eql.ci <= eql_number_slaves (eql->queue);
i1133drivers/net/eql.ci++, slave = eql_next_slave (eql->queue, slave))
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<pkt_len; i++) {
i1065drivers/net/ewrk3.cfor (i=1; i<EWRK3_PKT_STAT_SZ-1; i++) {
i1066drivers/net/ewrk3.cif (pkt_len < i*EWRK3_PKT_BIN_SZ) {
i1067drivers/net/ewrk3.clp->pktStats.bins[i]++;
i1068drivers/net/ewrk3.ci = EWRK3_PKT_STAT_SZ;
i1254drivers/net/ewrk3.cint i, iobase = dev->base_addr;
i1270drivers/net/ewrk3.cfor (i=0; i<(HASH_TABLE_LEN >> 3); i++) {
i1275drivers/net/ewrk3.ci++;
i1281drivers/net/ewrk3.cfor (i=0; i<(HASH_TABLE_LEN >> 4) - 1; i++) {
i1284drivers/net/ewrk3.coutb(0x80, EWRK3_DATA); i++;           /* insert the broadcast bit */
i1285drivers/net/ewrk3.cfor (; i<(HASH_TABLE_LEN >> 3); i++) {
i1294drivers/net/ewrk3.cfor (i=0;i<num_addrs;i++) {              /* for each address in the list */
i1336drivers/net/ewrk3.cint i, iobase, status;
i1339drivers/net/ewrk3.cfor (status = -ENODEV, iobase = EWRK3_IO_BASE,i = 0; 
i1340drivers/net/ewrk3.ci < 24;
i1341drivers/net/ewrk3.ciobase += EWRK3_IOP_INC, i++) {
i1379drivers/net/ewrk3.cint i, iobase = EWRK3_EISA_IO_PORTS;
i1383drivers/net/ewrk3.cfor (status = -ENODEV, i=1; i<MAX_EISA_SLOTS; i++, iobase+=EISA_SLOT_INC) {
i1392drivers/net/ewrk3.cmem_chkd |= (0x01 << (i + 24));
i1461drivers/net/ewrk3.cint i;
i1465drivers/net/ewrk3.cfor (i=0;i<5000;i++) inb(EWRK3_CSR);  /* wait 1msec */
i1475drivers/net/ewrk3.cint i;
i1478drivers/net/ewrk3.cfor (i=0;i<5000;i++) inb(EWRK3_CSR);  /* wait 1msec */
i1482drivers/net/ewrk3.cfor (i=0;i<75000;i++) inb(EWRK3_CSR); /* wait 15msec */
i1484drivers/net/ewrk3.cfor (i=0;i<5000;i++) inb(EWRK3_CSR);  /* wait 1msec */
i1494drivers/net/ewrk3.cunsigned long i,j,k;
i1498drivers/net/ewrk3.cfor (i=0;*signatures[i] != '\0' && *name == '\0';i++) {
i1499drivers/net/ewrk3.cfor (j=EEPROM_PNAME7,k=0;j<=EEPROM_PNAME0 && k<strlen(signatures[i]);j++) {
i1500drivers/net/ewrk3.cif (signatures[i][k] == eeprom_image[j]) {          /* track signature */
i1506drivers/net/ewrk3.cif (k == strlen(signatures[i])) {
i1527drivers/net/ewrk3.cint i, j, status = 0;
i1534drivers/net/ewrk3.cfor (i=0,j=0;devSig[i] != '\0' && !status;i+=2,j++) {
i1535drivers/net/ewrk3.cif ((devSig[i]=asc2hex(devSig[i]))>=0) {
i1536drivers/net/ewrk3.cdevSig[i]<<=4;
i1537drivers/net/ewrk3.cif((devSig[i+1]=asc2hex(devSig[i+1]))>=0){
i1538drivers/net/ewrk3.cdevSig[j]=devSig[i]+devSig[i+1];
i1559drivers/net/ewrk3.cfor (i=0,j=0;j<sigLength && i<PROBE_LENGTH+sigLength-1;i++) {
i1615drivers/net/ewrk3.cint i, j, iobase = dev->base_addr, status = 0;
i1625drivers/net/ewrk3.cfor (i=0; i<ETH_ALEN; i++) {
i1626drivers/net/ewrk3.ctmp.addr[i] = dev->dev_addr[i];
i1644drivers/net/ewrk3.cfor (i=0; i<ETH_ALEN; i++) {
i1645drivers/net/ewrk3.cdev->dev_addr[i] = tmp.addr[i];
i1646drivers/net/ewrk3.coutb(tmp.addr[i], EWRK3_PAR0 + i);
i1689drivers/net/ewrk3.cfor (i=0; i<(HASH_TABLE_LEN >> 3); i++) {
i1690drivers/net/ewrk3.ctmp.addr[i] = inb(EWRK3_DATA);
i1779drivers/net/ewrk3.cfor (i=0; i<(EEPROM_MAX>>1); i++) {
i1780drivers/net/ewrk3.ctmp.val[i] = (short)Read_EEPROM(iobase, i);
i1782drivers/net/ewrk3.ci = EEPROM_MAX;
i1783drivers/net/ewrk3.ctmp.addr[i++] = inb(EWRK3_CMR);            /* Config/Management Reg. */
i1785drivers/net/ewrk3.ctmp.addr[i++] = inb(EWRK3_PAR0 + j);
i1800drivers/net/ewrk3.cfor (i=0; i<(EEPROM_MAX>>1); i++) {
i1801drivers/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));
i210drivers/net/hp100.cint i;
i237drivers/net/hp100.cfor ( i = uc = eisa_id = 0; i < 4; i++ )
i240drivers/net/hp100.ceisa_id |= ( hp100_inb( BOARD_ID + i ) ) << 24;
i255drivers/net/hp100.cfor ( i = 0; i < sizeof( hp100_eisa_ids ) / sizeof( struct hp100_eisa_id ); i++ )
i256drivers/net/hp100.cif ( ( hp100_eisa_ids[ i ].id & 0xf0ffffff ) == ( eisa_id & 0xf0ffffff ) )
i258drivers/net/hp100.cif ( i >= sizeof( hp100_eisa_ids ) / sizeof( struct hp100_eisa_id ) )
i263drivers/net/hp100.ceid = &hp100_eisa_ids[ i ];
i271drivers/net/hp100.cfor ( i = uc = 0; i < 7; i++ )
i272drivers/net/hp100.cuc += hp100_inb( LAN_ADDR + i );
i323drivers/net/hp100.cfor ( i = uc = 0; i < 6; i++ )
i324drivers/net/hp100.cdev -> dev_addr[ i ] = hp100_inb( LAN_ADDR + i );
i349drivers/net/hp100.cint i;
i397drivers/net/hp100.cfor ( i = 0; i < 6; i++ )
i398drivers/net/hp100.chp100_outb( dev -> dev_addr[ i ], MAC_ADDR + i );
i399drivers/net/hp100.cfor ( i = 0; i < 8; i++ )    /* setup multicast filter to receive all */
i400drivers/net/hp100.chp100_outb( 0xff, HASH_BYTE0 + i );
i451drivers/net/hp100.cint i;
i456drivers/net/hp100.cif ( ( i = ( hp100_inl( TX_MEM_FREE ) & ~0x7fffffff ) ) < skb -> len + 16 )
i459drivers/net/hp100.cprintk( "hp100_start_xmit: rx free mem = 0x%x\n", i );
i475drivers/net/hp100.ci = hp100_sense_lan( dev );
i478drivers/net/hp100.cif ( i == HP100_LAN_ERR )
i481drivers/net/hp100.cif ( lp -> lan_type != i )
i485drivers/net/hp100.clp -> lan_type = i;
i514drivers/net/hp100.cfor ( i = 0; i < 6000 && ( hp100_inw( OPTION_MSW ) & HP100_TX_CMD ); i++ )
i538drivers/net/hp100.ci = skb -> len + 3;
i539drivers/net/hp100.coutsl( ioaddr + HP100_REG_DATA32, skb -> data, i >> 2 );
i540drivers/net/hp100.cfor ( i &= ~3; i < HP100_MIN_PACKET_SIZE; i += 4 ) 
i804drivers/net/hp100.cint i;
i810drivers/net/hp100.cfor ( i = 0; i < 6000; i++ )
i819drivers/net/hp100.cint i;
i834drivers/net/hp100.cfor ( i = 0; i < 2500; i++ )
i846drivers/net/hp100.cint i;
i849drivers/net/hp100.cfor ( i = 2500; i > 0; i-- )
i851drivers/net/hp100.cif ( i <= 0 )        /* not signal - not logout */
i868drivers/net/hp100.cint i;
i894drivers/net/hp100.cfor ( i = 2500; i > 0; i-- )
i896drivers/net/hp100.cif ( i <= 0 )
i126drivers/net/ibmtr.cshort i, j;
i127drivers/net/ibmtr.cfor (i=0,j=0;i<24;i++,j=j+stride) printk("%1x",((int) pcid[j])&0x0f);
i144drivers/net/ibmtr.cunsigned char segment=0, intr=0, irq=0, i=0, j=0,
i205drivers/net/ibmtr.cfor (i=2,j=1; i<=46; i=i+2,j++) {
i206drivers/net/ibmtr.cif ( (cd_chanid[i] & 0x0f) != tchanid[j]) {
i304drivers/net/ibmtr.cfor (i=0; i<0x18; i=i+2) {
i305drivers/net/ibmtr.ctemp = *(char *)((ulong)AIP + (ulong)i + ti->mmio) & 0x0f; /* Tech ref states must do this */
i541drivers/net/ibmtr.cint i;
i547drivers/net/ibmtr.cfor(i=0;i<  8;i++,check_reason++)
i794drivers/net/ibmtr.cint i;
i821drivers/net/ibmtr.cfor(i=0;i<17;i++)
i822drivers/net/ibmtr.cprintk("%02X ",*(ti->init_srb+i));
i837drivers/net/ibmtr.cfor(i=0;i<TR_ALEN;i++)
i838drivers/net/ibmtr.cprintk("%02X%s",dev->dev_addr[i]=encoded_addr[i],(i==TR_ALEN-1) ? "" : ":" );
i849drivers/net/ibmtr.cint i;
i870drivers/net/ibmtr.cfor(i=jiffies+5;jiffies<=i;); /* wait 50ms */
i339drivers/net/lance.cint i, reset_val, lance_version;
i407drivers/net/lance.cfor (i = 0; i < 6; i++)
i408drivers/net/lance.cprintk(" %2.2x", dev->dev_addr[i] = inb(ioaddr + i));
i424drivers/net/lance.cfor (i = 0; i < 6; i++)
i425drivers/net/lance.clp->init_block.phys_addr[i] = dev->dev_addr[i];
i509drivers/net/lance.cfor (i = 0; i < 4; i++) {
i511drivers/net/lance.cint dma = dmas[i];
i538drivers/net/lance.cif (i == 4) {      /* Failure: bail. */
i570drivers/net/lance.cint i;
i622drivers/net/lance.ci = 0;
i623drivers/net/lance.cwhile (i++ < 100)
i634drivers/net/lance.cdev->name, i, (int) &lp->init_block, inw(ioaddr+LANCE_DATA));
i655drivers/net/lance.cint i;
i657drivers/net/lance.cfor (i = 0; i < TX_RING_SIZE; i++) {
i658drivers/net/lance.cif (lp->tx_skbuff[i]) {
i659drivers/net/lance.cdev_kfree_skb(lp->tx_skbuff[i],FREE_WRITE);
i660drivers/net/lance.clp->tx_skbuff[i] = NULL;
i671drivers/net/lance.cint i;
i677drivers/net/lance.cfor (i = 0; i < RX_RING_SIZE; i++) {
i678drivers/net/lance.clp->rx_ring[i].base = (lp->rx_buffs + i*PKT_BUF_SZ) | 0x80000000;
i679drivers/net/lance.clp->rx_ring[i].buf_length = -PKT_BUF_SZ;
i683drivers/net/lance.cfor (i = 0; i < TX_RING_SIZE; i++) {
i684drivers/net/lance.clp->tx_ring[i].base = 0;
i688drivers/net/lance.cfor (i = 0; i < 6; i++)
i689drivers/net/lance.clp->init_block.phys_addr[i] = dev->dev_addr[i];
i730drivers/net/lance.cint i;
i734drivers/net/lance.cfor (i = 0 ; i < RX_RING_SIZE; i++)
i735drivers/net/lance.cprintk("%s %08x %04x %04x", i & 0x3 ? "" : "\n ",
i736drivers/net/lance.clp->rx_ring[i].base, -lp->rx_ring[i].buf_length,
i737drivers/net/lance.clp->rx_ring[i].msg_length);
i738drivers/net/lance.cfor (i = 0 ; i < TX_RING_SIZE; i++)
i739drivers/net/lance.cprintk("%s %08x %04x %04x", i & 0x3 ? "" : "\n ",
i740drivers/net/lance.clp->tx_ring[i].base, -lp->tx_ring[i].length,
i741drivers/net/lance.clp->tx_ring[i].misc);
i967drivers/net/lance.cint i;
i993drivers/net/lance.cfor (i=0; i < RX_RING_SIZE; i++)
i994drivers/net/lance.cif (lp->rx_ring[(entry+i) & RX_RING_MOD_MASK].base < 0)
i997drivers/net/lance.cif (i > RX_RING_SIZE -2) {
i1098drivers/net/lance.cint i;
i1101drivers/net/lance.cfor (i = 0; i < 4; i++) {
i1102drivers/net/lance.coutw(8 + i, ioaddr+LANCE_ADDR);
i1103drivers/net/lance.coutw(multicast_table[i], ioaddr+LANCE_DATA);
i124drivers/net/loopback.cint i;
i152drivers/net/loopback.cfor (i = 0; i < DEV_NUMBUFFS; i++)
i153drivers/net/loopback.cskb_queue_head_init(&dev->buffs[i]);
i126drivers/net/ne.cint i;
i134drivers/net/ne.cfor (i = 0; netcard_portlist[i]; i++) {
i135drivers/net/ne.cint ioaddr = netcard_portlist[i];
i148drivers/net/ne.cint i;
i212drivers/net/ne.cfor (i = 0; i < sizeof(program_seq)/sizeof(program_seq[0]); i++)
i213drivers/net/ne.coutb_p(program_seq[i].value, ioaddr + program_seq[i].offset);
i216drivers/net/ne.cfor(i = 0; i < 32 /*sizeof(SA_prom)*/; i+=2) {
i217drivers/net/ne.cSA_prom[i] = inb(ioaddr + NE_DATAPORT);
i218drivers/net/ne.cSA_prom[i+1] = inb(ioaddr + NE_DATAPORT);
i219drivers/net/ne.cif (SA_prom[i] != SA_prom[i+1])
i229drivers/net/ne.cfor (i = 0; i < 16; i++)
i230drivers/net/ne.cSA_prom[i] = SA_prom[i+i];
i238drivers/net/ne.cfor(i = 0; i < ETHER_ADDR_LEN; i++) {
i239drivers/net/ne.cdev->dev_addr[i] = SA_prom[i];
i240drivers/net/ne.cprintk(" %2.2x", SA_prom[i]);
i257drivers/net/ne.cfor (i = 0; bad_clone_list[i].name8; i++) {
i258drivers/net/ne.cif (SA_prom[0] == bad_clone_list[i].SAprefix[0] &&
i259drivers/net/ne.cSA_prom[1] == bad_clone_list[i].SAprefix[1] &&
i260drivers/net/ne.cSA_prom[2] == bad_clone_list[i].SAprefix[2]) {
i262drivers/net/ne.cname = bad_clone_list[i].name16;
i264drivers/net/ne.cname = bad_clone_list[i].name8;
i269drivers/net/ne.cif (bad_clone_list[i].name8 == NULL) {
i314drivers/net/ne.cfor(i = 0; i < ETHER_ADDR_LEN; i++)
i315drivers/net/ne.cdev->dev_addr[i] = SA_prom[i];
i96drivers/net/net_init.cint i;
i105drivers/net/net_init.cfor (i = 0; i < MAX_ETH_CARDS; ++i)
i106drivers/net/net_init.cif (ethdev_index[i] == NULL) {
i107drivers/net/net_init.csprintf(pname, "eth%d", i);
i141drivers/net/net_init.cfor (i = 0; i < MAX_ETH_CARDS; ++i)
i142drivers/net/net_init.cif (ethdev_index[i] == NULL) {
i143drivers/net/net_init.csprintf(dev->name, "eth%d", i);
i144drivers/net/net_init.cethdev_index[i] = dev;
i175drivers/net/net_init.cint i;
i178drivers/net/net_init.cfor (i = 0; i < DEV_NUMBUFFS; i++)
i179drivers/net/net_init.cskb_queue_head_init(&dev->buffs[i]);
i183drivers/net/net_init.ci = simple_strtoul(dev->name + 3, NULL, 0);
i184drivers/net/net_init.cif (ethdev_index[i] == NULL) {
i185drivers/net/net_init.cethdev_index[i] = dev;
i187drivers/net/net_init.celse if (dev != ethdev_index[i]) {
i203drivers/net/net_init.cfor (i = 0; i < ETH_ALEN; i++) {
i204drivers/net/net_init.cdev->broadcast[i]=0xff;
i220drivers/net/net_init.cint i;
i223drivers/net/net_init.cfor (i = 0; i < DEV_NUMBUFFS; i++)
i224drivers/net/net_init.cskb_queue_head_init(&dev->buffs[i]);
i233drivers/net/net_init.cfor (i = 0; i < TR_ALEN; i++) {
i234drivers/net/net_init.cdev->broadcast[i]=0xff;
i269drivers/net/net_init.cint i=MAX_ETH_CARDS;
i277drivers/net/net_init.cfor (i = 0; i < MAX_ETH_CARDS; ++i)
i278drivers/net/net_init.cif (ethdev_index[i] == NULL) {
i279drivers/net/net_init.csprintf(dev->name, "eth%d", i);
i281drivers/net/net_init.cethdev_index[i] = dev;
i287drivers/net/net_init.cif (i < MAX_ETH_CARDS) ethdev_index[i] = NULL;
i310drivers/net/net_init.cint i;
i342drivers/net/net_init.cfor (i = 0; i < MAX_ETH_CARDS; ++i) {
i343drivers/net/net_init.cif (ethdev_index[i] == dev) {
i344drivers/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);
i930drivers/net/ni52.cint len,i;
i996drivers/net/ni52.cfor(i=0;i<16;i++)
i1004drivers/net/ni52.cif(!i)
i1011drivers/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] = dev_alloc_skb(R_BUF_SIZE)) == 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) 
i1307drivers/net/pi2.cint i;
i1424drivers/net/pi2.cfor (i = 0; i < DEV_NUMBUFFS; i++)
i1425drivers/net/pi2.cskb_queue_head_init(&dev->buffs[i]);
i840drivers/net/plip.cint i;
i851drivers/net/plip.cfor (i=0; i < ETH_ALEN - sizeof(unsigned long); i++)
i852drivers/net/plip.ceth->h_dest[i] = 0xfc;
i853drivers/net/plip.cmemcpy(&(eth->h_dest[i]), &dst, sizeof(unsigned long));
i914drivers/net/plip.cint i;
i942drivers/net/plip.cfor (i=0; i < ETH_ALEN - sizeof(unsigned long); i++)
i943drivers/net/plip.cdev->dev_addr[i] = 0xfc;
i944drivers/net/plip.cmemcpy(&(dev->dev_addr[i]), &dev->pa_addr, sizeof(unsigned long));
i214drivers/net/ppp.cint i;
i254drivers/net/ppp.cif ((i = tty_register_ldisc(N_PPP, &ppp_ldisc)) == 0)
i257drivers/net/ppp.cprintk(KERN_ERR "error registering line discipline: %d\n", i);
i289drivers/net/ppp.cfor (i = 0; i < DEV_NUMBUFFS; i++)
i290drivers/net/ppp.cskb_queue_head_init(&dev->buffs[i]);  /* = NULL if NET02D */
i797drivers/net/ppp.ci, count;
i803drivers/net/ppp.ci     = tail;
i806drivers/net/ppp.cwhile (i != head) {
i807drivers/net/ppp.cbuffer [count] = tty->read_q.buf[i];
i812drivers/net/ppp.ci = (i + 1) & (TTY_BUF_SIZE - 1);
i868drivers/net/ppp.cint i;
i870drivers/net/ppp.cfor (i = 0; i < n; i++, c++) {
i1245drivers/net/ppp.cint len, i;
i1294drivers/net/ppp.ci = len;
i1295drivers/net/ppp.cwhile (i-- > 0) {
i1344drivers/net/ppp.cint i;
i1390drivers/net/ppp.ci = nr;
i1391drivers/net/ppp.cwhile (i-- > 0)
i1416drivers/net/ppp.cppp_ioctl(struct tty_struct *tty, struct file *file, unsigned int i,
i1434drivers/net/ppp.cswitch (i) {
i1615drivers/net/ppp.cerror = n_tty_ioctl(tty, file, i, l);
i1625drivers/net/ppp.ci,
i1918drivers/net/ppp.cint i;
i1919drivers/net/ppp.cfor (i = 0; i < PPP_NRUNIT; i++)
i1920drivers/net/ppp.cif (ppp_ctrl[i].inuse && (ppp_ctrl[i].tty == tty)) return &ppp_ctrl[i];
i1930drivers/net/ppp.cint i;
i1931drivers/net/ppp.cfor (i = 0; i < PPP_NRUNIT; i++)
i1932drivers/net/ppp.cif (!set_bit(0, &ppp_ctrl[i].inuse)) return &ppp_ctrl[i];
i1988drivers/net/ppp.cint i;
i1990drivers/net/ppp.cfor (i = 0; i < ppp->rcount - 2; i++, c++)
i2098drivers/net/ppp.cint i;
i2100drivers/net/ppp.cfor (i = 0; i < PPP_NRUNIT; i++)  {
i2101drivers/net/ppp.cif ((err = register_netdev(&dev_ppp[i])))  {
i2114drivers/net/ppp.cint i;
i2120drivers/net/ppp.cfor (i = 0; i < PPP_NRUNIT; i++)  {
i2121drivers/net/ppp.cunregister_netdev(&dev_ppp[i]);
i2123drivers/net/ppp.cif ((i = tty_register_ldisc(N_PPP, NULL)))  {
i2124drivers/net/ppp.cprintk("PPP: can't unregister line discipline (err = %d)\n", i);
i118drivers/net/seeq8005.cint i;
i126drivers/net/seeq8005.cfor (i = 0; seeq8005_portlist[i]; i++) {
i127drivers/net/seeq8005.cint ioaddr = seeq8005_portlist[i];
i145drivers/net/seeq8005.cint i,j;
i199drivers/net/seeq8005.cfor(i=0; i <32; i++) {
i200drivers/net/seeq8005.cj+= SA_prom[i] = inw(SEEQ_BUFFER) & 0xff;
i227drivers/net/seeq8005.cfor(i=0;i<16;i++) {
i228drivers/net/seeq8005.cprintk("%02x ",SA_prom[j|i]);
i231drivers/net/seeq8005.cfor(i=0;i<16;i++) {
i232drivers/net/seeq8005.cif ((SA_prom[j|i]>31)&&(SA_prom[j|i]<127)) {
i233drivers/net/seeq8005.cprintk("%c", SA_prom[j|i]);
i253drivers/net/seeq8005.cfor(i=0;i<32768;i++) {
i266drivers/net/seeq8005.cfor(i=0;i<32768;i++) {
i291drivers/net/seeq8005.cfor (i = 0; i < 6; i++)
i292drivers/net/seeq8005.cprintk(" %2.2x", dev->dev_addr[i] = SA_prom[i+6]);
i486drivers/net/seeq8005.cint i;
i554drivers/net/seeq8005.cfor(i=0;i<14;i++) {
i639drivers/net/seeq8005.cint i;
i652drivers/net/seeq8005.cfor(i=0;i<6;i++) {      /* set Station address */
i653drivers/net/seeq8005.coutb(dev->dev_addr[i], SEEQ_BUFFER);
i672drivers/net/seeq8005.cfor(i=0;i<6;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));
i1782drivers/net/sk_g16.cint i,j;
i1791drivers/net/sk_g16.cfor (i = 0; (rom_location[i] != 0) && (rom_found == 0); i++)
i1794drivers/net/sk_g16.cPRINTK(("##   Trying ROM location %#08x", rom_location[i]));
i1799drivers/net/sk_g16.ctest_byte = (unsigned char *) (rom_location[i]+j);
i1813drivers/net/sk_g16.cSK_NAME, rom_location[(i-1)]));
i1815drivers/net/sk_g16.creturn (rom_location[--i]);
i1853drivers/net/sk_g16.cint i;
i1856drivers/net/sk_g16.cfor (i = 0; i < 10 ; i++) /* Delay min 5ms */
i2084drivers/net/sk_g16.cint i;    
i2097drivers/net/sk_g16.cfor(i = 0; i < TMDNUM; i++)
i2099drivers/net/sk_g16.cif (!(i % 3)) /* Every third line do a newline */
i2103drivers/net/sk_g16.cprintk("tmdbufs%d: %#08x ", (i+1), (int) p->tmdbufs[i]);
i2107drivers/net/sk_g16.cfor(i = 0; i < RMDNUM; i++)
i2109drivers/net/sk_g16.cif (!(i % 3)) /* Every third line do a newline */
i2113drivers/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) {
i97drivers/net/slhc.cregister short i;
i148drivers/net/slhc.cfor(i = comp->tslot_limit; i > 0; --i){
i149drivers/net/slhc.cts[i].cs_this = i;
i150drivers/net/slhc.cts[i].next = &(ts[i - 1]);
i549drivers/net/slhc.cregister short i;
i550drivers/net/slhc.ci = ntohs(ip->tot_len) - hdrlen;
i551drivers/net/slhc.cthp->ack_seq = htonl( ntohl(thp->ack_seq) + i);
i552drivers/net/slhc.cthp->seq = htonl( ntohl(thp->seq) + i);
i105drivers/net/slip.cint i;
i107drivers/net/slip.cfor (i = 0; i < SL_NRUNIT; i++) {
i108drivers/net/slip.csl = &sl_ctrl[i];
i861drivers/net/slip.cint i;
i877drivers/net/slip.cfor (i = 0; i < len; ++i) {
i878drivers/net/slip.cv = (v << 8) | s[i];
i1062drivers/net/slip.cint i;
i1099drivers/net/slip.cif ((i = tty_register_ldisc(N_SLIP, &sl_ldisc)) != 0)  {
i1100drivers/net/slip.cprintk("SLIP: can't register line discipline (err = %d)\n", i);
i1134drivers/net/slip.cfor (i = 0; i < DEV_NUMBUFFS; i++)  {
i1135drivers/net/slip.cskb_queue_head_init(&dev->buffs[i]);
i1181drivers/net/slip.cint i;
i1183drivers/net/slip.cfor (i = 0; i < SL_NRUNIT; i++)  {
i1184drivers/net/slip.cif ((err = register_netdev(&dev_slip[i])))  {
i1197drivers/net/slip.cint i;
i1203drivers/net/slip.cfor (i = 0; i < SL_NRUNIT; i++)  {
i1204drivers/net/slip.cunregister_netdev(&dev_slip[i]);
i1206drivers/net/slip.cif ((i = tty_register_ldisc(N_SLIP, NULL)))  {
i1207drivers/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) {
i694drivers/net/tulip.cint i;
i700drivers/net/tulip.cfor(i = 0; i < num_addrs; i++) {
i711drivers/net/tulip.c} while (++i < 16);
i720drivers/net/tulip.cint i;
i724drivers/net/tulip.cfor (i = 0; i < 6; i++)
i725drivers/net/tulip.cprintk(" %2.2x", dev->dev_addr[i] = ((unsigned char *)addr)[i]);
i463drivers/net/wavelan.cint    i;
i478drivers/net/wavelan.cfor (i = 1000; i > 0; i--)
i487drivers/net/wavelan.cif (i <= 0)
i503drivers/net/wavelan.cint    i;
i513drivers/net/wavelan.cfor (i = 64; i > 0; i--)
i522drivers/net/wavelan.cif (i <= 0 || !(cb.ac_status & AC_SFLD_OK))
i545drivers/net/wavelan.cint    i;
i568drivers/net/wavelan.cfor (i = 0; i < I82586_MEMZ; i += sizeof(zeroes))
i569drivers/net/wavelan.cobram_write(ioaddr, i, &zeroes[0], sizeof(zeroes));
i598drivers/net/wavelan.cfor (i = 1000; i > 0; i--)
i608drivers/net/wavelan.cif (i <= 0)
i616drivers/net/wavelan.cfor (i = 15; i > 0; i--)
i626drivers/net/wavelan.cif (i <= 0)
i777drivers/net/wavelan.cint      i;
i830drivers/net/wavelan.cfor (i = 0; i < nels(iobase); i++)
i832drivers/net/wavelan.cif (check_region(iobase[i], sizeof(ha_t)))
i835drivers/net/wavelan.cif (wavelan_probe1(dev, iobase[i]) == 0)
i855drivers/net/wavelan.cint    i;
i943drivers/net/wavelan.cfor (i = 0; i < WAVELAN_ADDR_SIZE; i++)
i944drivers/net/wavelan.cprintk("%s%02x", (i == 0) ? " " : ":", dev->dev_addr[i]);
i1070drivers/net/wavelan.cint    i;
i1081drivers/net/wavelan.cfor (i = 0, rx = lp->rx_head; i < NRXBLOCKS; i++, rx = rx_next)
i1083drivers/net/wavelan.crx_next = (i == NRXBLOCKS - 1) ? lp->rx_head : rx + RXBLOCKZ;
i1086drivers/net/wavelan.cfd.fd_command = (i == NRXBLOCKS - 1) ? FD_COMMAND_EL : 0;
i1108drivers/net/wavelan.cfor (i = 1000; i > 0; i--)
i1117drivers/net/wavelan.cif (i <= 0)
i1132drivers/net/wavelan.cint    i;
i1145drivers/net/wavelan.ci = 0, txblock = OFFSET_CU;
i1146drivers/net/wavelan.ci < NTXBLOCKS;
i1147drivers/net/wavelan.ci++, txblock += TXBLOCKZ
i1189drivers/net/wavelan.cfor (i = 1000; i > 0; i--)
i1198drivers/net/wavelan.cif (i <= 0)
i1455drivers/net/wavelan.cint  i;
i1457drivers/net/wavelan.cfor (i = 0; i < WAVELAN_ADDR_SIZE; i++)
i1459drivers/net/wavelan.cif (a0[i] != a1[i])
i1460drivers/net/wavelan.creturn a0[i] - a1[i];
i1572drivers/net/wavelan.cint      i;
i1589drivers/net/wavelan.cfor (i = 0; i < WAVELAN_ADDR_SIZE; i++)
i1590drivers/net/wavelan.cprintk("%s%02x", (i == 0) ? "" : ":", addr[i]);
i1600drivers/net/wavelan.cint    i;
i1604drivers/net/wavelan.cfor (i = 0; i < WAVELAN_ADDR_SIZE; i++)
i1605drivers/net/wavelan.cprintk("%s%02x", (i == 0) ? "" : ":", fd.fd_dest[i]);
i1609drivers/net/wavelan.cfor (i = 0; i < WAVELAN_ADDR_SIZE; i++)
i1610drivers/net/wavelan.cprintk("%s%02x", (i == 0) ? "" : ":", fd.fd_src[i]);
i1617drivers/net/wavelan.cfor (i = 0; i < WAVELAN_ADDR_SIZE; i++)
i1618drivers/net/wavelan.cprintk("%s%02x", (i == 0) ? "" : ":", addr[i]);
i1623drivers/net/wavelan.cfor (i = 0; i < WAVELAN_ADDR_SIZE; i++)
i1624drivers/net/wavelan.cprintk("%s%02x", (i == 0) ? "" : ":", addr[i]);
i1646drivers/net/wavelan.cint  i;
i1654drivers/net/wavelan.cfor (i = 0; i < maxi; i++)
i1658drivers/net/wavelan.cc = skb->data[i];
i1660drivers/net/wavelan.cprintk(" %c", skb->data[i]);
i1662drivers/net/wavelan.cprintk("%02x", skb->data[i]);
i2197drivers/net/wavelan.cwavelan_cu_show_one(device *dev, net_local *lp, int i, unsigned short p)
i2204drivers/net/wavelan.cprintk("%d: 0x%x:", i, p);
i2426drivers/net/wavelan.cunsigned int  i;
i2434drivers/net/wavelan.cfor (i = 0, p = lp->tx_first_in_use; i < NTXBLOCKS; i++)
i2436drivers/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]);
i223drivers/pci/pci.cint i;
i225drivers/pci/pci.cfor (i = 0; i < sizeof(dev_info)/sizeof(dev_info[0]); ++i) {
i226drivers/pci/pci.cif (dev_info[i].vendor == vendor &&
i227drivers/pci/pci.cdev_info[i].device == dev)
i229drivers/pci/pci.creturn &dev_info[i];
i364drivers/pci/pci.cint i;
i368drivers/pci/pci.cfor (i = 0; i < NUM_OPTIMIZATIONS; i++) {
i369drivers/pci/pci.cprintk("    %s: ", bridge_optimization[i].type);
i370drivers/pci/pci.cbmap = &bridge_mapping[pos + i];
i376drivers/pci/pci.cprintk("%s.", bridge_optimization[i].on);
i382drivers/pci/pci.cprintk("Changed!  Now %s.", bridge_optimization[i].off);
i385drivers/pci/pci.cprintk("%s.", bridge_optimization[i].off);
i391drivers/pci/pci.cprintk("Changed!  Now %s.", bridge_optimization[i].on);
i404drivers/scsi/53c7,8xx.cint i, j, ccf;
i534drivers/scsi/53c7,8xx.ccase DMODE_BL_2: i = 2; break;
i535drivers/scsi/53c7,8xx.ccase DMODE_BL_4: i = 4; break;
i536drivers/scsi/53c7,8xx.ccase DMODE_BL_8: i = 8; break;
i537drivers/scsi/53c7,8xx.ccase DMODE_BL_16: i = 16; break;
i538drivers/scsi/53c7,8xx.cdefault: i = 0;
i540drivers/scsi/53c7,8xx.cprintk ("scsi%d : burst length %d\n", host->host_no, i);
i583drivers/scsi/53c7,8xx.cfor (i = 0; i < 8; ++i) {
i584drivers/scsi/53c7,8xx.chostdata->cmd_allocated[i] = 0;
i586drivers/scsi/53c7,8xx.chostdata->busy[i][j] = 0;
i593drivers/scsi/53c7,8xx.chostdata->sync[i].select_indirect |= (i << 16); 
i595drivers/scsi/53c7,8xx.chostdata->sync[i].script[0] = (DCMD_TYPE_TCI|DCMD_TCI_OP_RETURN) << 24 | 
i604drivers/scsi/53c7,8xx.chostdata->sync[i].select_indirect |= (hostdata->saved_scntl3) << 24;
i864drivers/scsi/53c7,8xx.cint i;
i943drivers/scsi/53c7,8xx.cfor (i = 0; i < NPCI_CHIP_IDS; ++i) {
i944drivers/scsi/53c7,8xx.cif (device_id == pci_chip_ids[i].pci_device_id) {
i945drivers/scsi/53c7,8xx.cmax_revision = pci_chip_ids[i].max_revision;
i946drivers/scsi/53c7,8xx.cmin_revision = pci_chip_ids[i].min_revision;
i947drivers/scsi/53c7,8xx.cexpected_chip = pci_chip_ids[i].chip;
i949drivers/scsi/53c7,8xx.cif (chip == pci_chip_ids[i].chip)
i950drivers/scsi/53c7,8xx.cexpected_id = pci_chip_ids[i].pci_device_id;
i984drivers/scsi/53c7,8xx.cint i;
i1014drivers/scsi/53c7,8xx.cfor (i = 0; i < NPCI_CHIP_IDS; ++i) 
i1017drivers/scsi/53c7,8xx.cpci_chip_ids[i].pci_device_id, pci_index, &pci_bus, 
i1019drivers/scsi/53c7,8xx.c!ncr_pci_init (tpnt, BOARD_GENERIC, pci_chip_ids[i].chip, 
i1047drivers/scsi/53c7,8xx.cint i, ncr_to_memory, memory_to_ncr, ncr_to_ncr;
i1058drivers/scsi/53c7,8xx.cfor (i = 0; i < PATCHES; ++i) 
i1059drivers/scsi/53c7,8xx.chostdata->script[LABELPATCHES[i]] +=
i1073drivers/scsi/53c7,8xx.cfor (i = 0; i < EXTERNAL_PATCHES_LEN; ++i)
i1074drivers/scsi/53c7,8xx.chostdata->script[EXTERNAL_PATCHES[i].offset] +=
i1075drivers/scsi/53c7,8xx.cvirt_to_bus(EXTERNAL_PATCHES[i].address);
i1216drivers/scsi/53c7,8xx.cint failed, i;
i1325drivers/scsi/53c7,8xx.cfor (i = 0; i < 3; ++i) {
i1334drivers/scsi/53c7,8xx.cdsa[0] = (0x33 << 24) | (i << 16)  ;
i1354drivers/scsi/53c7,8xx.chost->host_no, i, data + 8);
i1362drivers/scsi/53c7,8xx.chost->host_no, i);
i1376drivers/scsi/53c7,8xx.chost->host_no, i);
i1401drivers/scsi/53c7,8xx.cint i;
i1441drivers/scsi/53c7,8xx.cint i;
i1445drivers/scsi/53c7,8xx.cfor (i = 0; i < 2; ++i) {
i1446drivers/scsi/53c7,8xx.cfor (search = (i ? hostdata->issue_dsa_head :
i1447drivers/scsi/53c7,8xx.chostdata->reconnect_dsa_head), prev = (i ? 
i1617drivers/scsi/53c7,8xx.cint desire, divisor, i, limit;
i1632drivers/scsi/53c7,8xx.cfor (i = 0; (i < limit) && (divisor < syncs[i + 1].div); ++i);
i1635drivers/scsi/53c7,8xx.csyncs[i].div / 10, syncs[i].div % 10);
i1640drivers/scsi/53c7,8xx.c~SCNTL3_800_SCF_MASK) | (syncs[i].scf << SCNTL3_800_SCF_SHIFT)) : 0;
i1641drivers/scsi/53c7,8xx.csxfer = (msg[4] << SXFER_MO_SHIFT) | ((syncs[i].tp) << SXFER_TP_SHIFT);
i2132drivers/scsi/53c7,8xx.c{DT_help, "?", 0} , TOKEN(h,0), TOKEN(i,0), TOKEN(mp,2), 
i2155drivers/scsi/53c7,8xx.cint i, j, error, len;
i2175drivers/scsi/53c7,8xx.cfor (i = 0; i < NDT; ++i) {
i2176drivers/scsi/53c7,8xx.clen = strlen (debugger_tokens[i].name);
i2177drivers/scsi/53c7,8xx.cif (!strncmp(input_buf, debugger_tokens[i].name, len)) 
i2181drivers/scsi/53c7,8xx.cif (i == NDT) 
i2184drivers/scsi/53c7,8xx.cfor (ptr = input_buf + len, j = 0; j < debugger_tokens[i].nargs && *ptr;) {
i2194drivers/scsi/53c7,8xx.cif (j != debugger_tokens[i].nargs)
i2359drivers/scsi/53c7,8xx.ci;      /* Counter */
i2384drivers/scsi/53c7,8xx.cfor (i = host->hostt->cmd_per_lun - 1; i >= 0  --i) {
i2406drivers/scsi/53c7,8xx.cif (i > 0) {
i2594drivers/scsi/53c7,8xx.cfor (i = 0; cmd->use_sg ? (i < cmd->use_sg) : !i; cmd_datain += 4, 
i2595drivers/scsi/53c7,8xx.ccmd_dataout += 4, ++i) {
i2597drivers/scsi/53c7,8xx.cvirt_to_bus(((struct scatterlist *)cmd->buffer)[i].address) :
i2600drivers/scsi/53c7,8xx.c((struct scatterlist *)cmd->buffer)[i].length :
i3894drivers/scsi/53c7,8xx.cint i, len;
i3903drivers/scsi/53c7,8xx.cfor (i = dsa[hostdata->dsa_msgout / sizeof(u32)],
i3904drivers/scsi/53c7,8xx.cptr = bus_to_virt(dsa[hostdata->dsa_msgout / sizeof(u32) + 1]); i > 0;
i3905drivers/scsi/53c7,8xx.cptr += len, i -= len) {
i1359drivers/scsi/53c7,8xx.hfor (i = 0; i < (sizeof (A_##symbol##_used) / sizeof     \
i1360drivers/scsi/53c7,8xx.h(u32)); ++i) {            \
i1361drivers/scsi/53c7,8xx.h(script)[A_##symbol##_used[i] - (offset)] += (value);  \
i1364drivers/scsi/53c7,8xx.hhost->host_no, #symbol, i, A_##symbol##_used[i] -   \
i1365drivers/scsi/53c7,8xx.h(int)(offset), #script, (script)[A_##symbol##_used[i] -  \
i1370drivers/scsi/53c7,8xx.hfor (i = 0; i < (sizeof (A_##symbol##_used) / sizeof     \
i1371drivers/scsi/53c7,8xx.h(u32)); ++i)            \
i1372drivers/scsi/53c7,8xx.h(script)[A_##symbol##_used[i] - (offset)] =      \
i1373drivers/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") 
i645drivers/scsi/NCR5380.cfor (i = 0, mask = 1; i < 16; ++i, mask <<= 1)
i647drivers/scsi/NCR5380.cfree_irq(i);
i765drivers/scsi/NCR5380.cint i;
i783drivers/scsi/NCR5380.cfor (i = hostdata->id_mask; i <= 0x80; i <<= 1)
i784drivers/scsi/NCR5380.cif (i > hostdata->id_mask)
i785drivers/scsi/NCR5380.chostdata->id_higher_mask |= i;
i786drivers/scsi/NCR5380.cfor (i = 0; i < 8; ++i)
i787drivers/scsi/NCR5380.chostdata->busy[i] = 0;
i544drivers/scsi/aha152x.cint i;
i550drivers/scsi/aha152x.cfor(i=0; i<16; i++)
i551drivers/scsi/aha152x.cSETPORT( STACK, i );
i554drivers/scsi/aha152x.cfor(i=0; i<16 && GETPORT(STACK)==i; i++)
i557drivers/scsi/aha152x.creturn(i==16);
i562drivers/scsi/aha152x.cint                 i, ok;
i598drivers/scsi/aha152x.cfor( i=0; i<PORT_COUNT && (port_base != ports[i]); i++)
i601drivers/scsi/aha152x.cif(i==PORT_COUNT)
i619drivers/scsi/aha152x.ci=0;
i620drivers/scsi/aha152x.cwhile(irqs[i] && (interrupt_level!=irqs[i]))
i621drivers/scsi/aha152x.ci++;
i622drivers/scsi/aha152x.cif(!irqs[i])
i654drivers/scsi/aha152x.cfor( i=0; i < ADDRESS_COUNT && !ok; i++)
i656drivers/scsi/aha152x.cok=!memcmp((void *) addresses[i]+signatures[j].sig_offset,
i670drivers/scsi/aha152x.cfor( i=0; i<PORT_COUNT && !aha152x_porttest(ports[i]); i++)
i673drivers/scsi/aha152x.cif(i==PORT_COUNT)
i679drivers/scsi/aha152x.cport_base=ports[i];
i1243drivers/scsi/aha152x.cint identify_msg, target, i;
i1270drivers/scsi/aha152x.ci = GETPORT(SELID) & ~(1 << this_host);
i1272drivers/scsi/aha152x.cif(i)
i1273drivers/scsi/aha152x.cfor( ; (i & 1)==0; target++, i>>=1)
i1291drivers/scsi/aha152x.cif((i=getphase())!=P_MSGI)
i1293drivers/scsi/aha152x.cprintk("target doesn't enter MSGI to identify (phase=%02x)\n", i);
i1738drivers/scsi/aha152x.cint           i, code;
i1748drivers/scsi/aha152x.ci=GETPORT(SCSIBUS);
i1752drivers/scsi/aha152x.cprintk("length (%d), code ( ", i);
i1805drivers/scsi/aha152x.cwhile( --i && (make_acklow(), getphase()==P_MSGI))
i1979drivers/scsi/aha152x.cint           i;
i1985drivers/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]);
i692drivers/scsi/aha1542.cint i;
i701drivers/scsi/aha1542.cfor(i=0; i<AHA1542_MAILBOXES; i++){
i702drivers/scsi/aha1542.cmb[i].status = mb[AHA1542_MAILBOXES+i].status = 0;
i703drivers/scsi/aha1542.cany2scsi(mb[i].ccbptr, &ccb[i]);
i720drivers/scsi/aha1542.cint i;
i721drivers/scsi/aha1542.ci = inb(STATUS(base_io));
i722drivers/scsi/aha1542.cif (i & DF) {
i723drivers/scsi/aha1542.ci = inb(DATA(base_io));
i820drivers/scsi/aha1542.cint i;
i821drivers/scsi/aha1542.ci = inb(STATUS(base_io));
i822drivers/scsi/aha1542.cif (i & DF) {
i823drivers/scsi/aha1542.ci = inb(DATA(base_io));
i1030drivers/scsi/aha1542.cint i;
i1032drivers/scsi/aha1542.cfor (i = 0; i < sizeof(buf); ++i) buf[i] = 0x87;
i1033drivers/scsi/aha1542.cfor (i = 0; i < 2; ++i)
i1034drivers/scsi/aha1542.cif (!aha1542_command(i, cmd, buf, sizeof(buf))) {
i1036drivers/scsi/aha1542.ci, xscsi2int(buf+4), xscsi2int(buf));
i1042drivers/scsi/aha1542.cfor (i = 0; i < 4; ++i)
i1049drivers/scsi/aha1542.cxany2scsi(cmd+2, i);
i1070drivers/scsi/aha1542.cint i;
i1076drivers/scsi/aha1542.cfor(i=0; i< AHA1542_MAILBOXES; i++)
i1077drivers/scsi/aha1542.cif(HOSTDATA(shost)->SCint[i] && 
i1078drivers/scsi/aha1542.c!(HOSTDATA(shost)->SCint[i]->device->soft_reset))
i1081drivers/scsi/aha1542.cHOSTDATA(shost)->mb[i].status = 1; /* Indicate ready to restart... */
i1104drivers/scsi/aha1542.cint mbi, mbo, i;
i1133drivers/scsi/aha1542.cfor(i=0; i< AHA1542_MAILBOXES; i++)
i1134drivers/scsi/aha1542.cif(HOSTDATA(SCpnt->host)->SCint[i])
i1136drivers/scsi/aha1542.cif(HOSTDATA(SCpnt->host)->SCint[i] == SCpnt) {
i1138drivers/scsi/aha1542.cif (HOSTDATA(SCpnt->host)->mb[i].status) {
i1172drivers/scsi/aha1542.cint i;
i1181drivers/scsi/aha1542.cfor(i=0; i< AHA1542_MAILBOXES; i++)
i1182drivers/scsi/aha1542.cif(HOSTDATA(SCpnt->host)->SCint[i] == SCpnt)
i1184drivers/scsi/aha1542.cHOSTDATA(SCpnt->host)->ccb[i].op = 0x81;  /* BUS DEVICE RESET */
i1198drivers/scsi/aha1542.cfor(i=0; i< AHA1542_MAILBOXES; i++)
i1199drivers/scsi/aha1542.cif(HOSTDATA(SCpnt->host)->SCint[i] &&
i1200drivers/scsi/aha1542.cHOSTDATA(SCpnt->host)->SCint[i]->target == SCpnt->target)
i1203drivers/scsi/aha1542.cSCtmp = HOSTDATA(SCpnt->host)->SCint[i];
i1209drivers/scsi/aha1542.cHOSTDATA(SCpnt->host)->SCint[i] = NULL;
i1210drivers/scsi/aha1542.cHOSTDATA(SCpnt->host)->mb[i].status = 0;
i255drivers/scsi/aha1740.cDEB(int i);
i271drivers/scsi/aha1740.ci = xscsi2int(cmd+2);
i273drivers/scsi/aha1740.ci = scsi2int(cmd+2);
i275drivers/scsi/aha1740.ci = -1;
i276drivers/scsi/aha1740.cprintk("aha1740_queuecommand: dev %d cmd %02x pos %d len %d ", target, *cmd, i, bufflen);
i278drivers/scsi/aha1740.cfor (i = 0; i < SCpnt->cmd_len; i++) printk("%02x ", cmd[i]);
i322drivers/scsi/aha1740.cint i;
i331drivers/scsi/aha1740.cfor(i=0; i<SCpnt->use_sg; i++)
i333drivers/scsi/aha1740.ccptr[i].dataptr = (long) sgpnt[i].address;
i334drivers/scsi/aha1740.ccptr[i].datalen = sgpnt[i].length;
i341drivers/scsi/aha1740.cfor(i=0;i<24;i++) printk("%02x ", ptr[i]);
i361drivers/scsi/aha1740.cint i;
i363drivers/scsi/aha1740.cfor (i = 0; i < sizeof(ecb[ecbno])-10; i++)
i364drivers/scsi/aha1740.cprintk("%02x ", ((unchar *)&ecb[ecbno])[i]);
i1045drivers/scsi/aic7xxx.cint   i;
i1059drivers/scsi/aic7xxx.cfor (i = 0; options[i].name; i++)
i1061drivers/scsi/aic7xxx.cif (!strcmp(options[i].name, p))
i1063drivers/scsi/aic7xxx.c*(options[i].flag) = !0;
i1140drivers/scsi/aic7xxx.cunsigned long i;
i1142drivers/scsi/aic7xxx.ci = jiffies + (seconds * 100);  /* compute time to stop */
i1144drivers/scsi/aic7xxx.cwhile (jiffies < i)
i1326drivers/scsi/aic7xxx.cint i, segments;
i1335drivers/scsi/aic7xxx.cfor (i = length = 0; i < cmd->use_sg && i < segments; i++)
i1337drivers/scsi/aic7xxx.clength += sg[i].length;
i1359drivers/scsi/aic7xxx.cint i;
i1361drivers/scsi/aic7xxx.cfor (i = 0; i < num_aic7xxx_syncrates; i++)
i1363drivers/scsi/aic7xxx.cif ((aic7xxx_syncrates[i].period - period) >= 0)
i1365drivers/scsi/aic7xxx.c*scsirate = (aic7xxx_syncrates[i].rate << 4) | (offset & 0x0F);
i1367drivers/scsi/aic7xxx.ctarget, aic7xxx_syncrates[i].english, offset);
i1449drivers/scsi/aic7xxx.cint i;
i1453drivers/scsi/aic7xxx.cfor (i = 0; i < NUMBER(hard_error); i++)
i1455drivers/scsi/aic7xxx.cif (errno & hard_error[i].errno)
i1457drivers/scsi/aic7xxx.cprintk("  %s\n", hard_error[i].errmesg);
i2253drivers/scsi/aic7xxx.cint i;
i2271drivers/scsi/aic7xxx.cfor (i = 0; i < sizeof(buf); i++)
i2273drivers/scsi/aic7xxx.coutb(0x80 + i, base);
i2274drivers/scsi/aic7xxx.cbuf[i] = inb(base + i);
i2277drivers/scsi/aic7xxx.cfor (i = 0; i < NUMBER(AIC7xxx); i++)
i2282drivers/scsi/aic7xxx.cif (!memcmp(buf, AIC7xxx[i].signature, AIC7xxx[i].n))
i2286drivers/scsi/aic7xxx.creturn(AIC7xxx[i].type);
i2348drivers/scsi/aic7xxx.cint i = 0, k = 0;
i2400drivers/scsi/aic7xxx.cfor (i = 0; i < seeprom_read.len; i = i + 1)
i2402drivers/scsi/aic7xxx.ctemp = SEEMS | SEECS | (seeprom_read.bits[i] << 1);
i2410drivers/scsi/aic7xxx.cfor (i = 5; i >= 0; i = i - 1)
i2413drivers/scsi/aic7xxx.ctemp = (temp >> i) & 1;  /* Mask out all but lower bit. */
i2428drivers/scsi/aic7xxx.cfor (i = 0; i <= 16; i = i + 1)
i2564drivers/scsi/aic7xxx.cint i;
i2875drivers/scsi/aic7xxx.cfor (i = 0; i < AIC7XXX_MAXSCB; i = i + 1)
i2877drivers/scsi/aic7xxx.cp->scb_array[i].state = SCB_FREE;
i2878drivers/scsi/aic7xxx.cp->scb_array[i].next = NULL;
i2879drivers/scsi/aic7xxx.cp->scb_array[i].cmd = NULL;
i2984drivers/scsi/aic7xxx.cfor (i = 0; i < max_targets; i = i + 1)
i2988drivers/scsi/aic7xxx.ctarget_settings = (sc.device_flags[i] & CFXFER) << 4;
i2989drivers/scsi/aic7xxx.cif (sc.device_flags[i] & CFSYNCH)
i2991drivers/scsi/aic7xxx.cp->needsdtr_copy = p->needsdtr_copy | (0x01 << i);
i2993drivers/scsi/aic7xxx.cif ((sc.device_flags[i] & CFWIDEB) && (p->bus_type == AIC_WIDE))
i2995drivers/scsi/aic7xxx.cp->needwdtr_copy = p->needwdtr_copy | (0x01 << i);
i3000drivers/scsi/aic7xxx.ctarget_settings = inb(HA_TARG_SCRATCH(base) + i);
i3003drivers/scsi/aic7xxx.cp->needsdtr_copy = p->needsdtr_copy | (0x01 << i);
i3016drivers/scsi/aic7xxx.cp->needwdtr_copy = p->needwdtr_copy | (0x01 << i);
i3020drivers/scsi/aic7xxx.coutb(target_settings, (HA_TARG_SCRATCH(base) + i));
i3032drivers/scsi/aic7xxx.cfor (i = 0; i < config.maxscb; i = i + 1)
i3034drivers/scsi/aic7xxx.coutb(i, SCBPTR(base));
i3098drivers/scsi/aic7xxx.cint i;
i3107drivers/scsi/aic7xxx.cfor (i = 0; i <= MAXIRQ; i++)
i3109drivers/scsi/aic7xxx.caic7xxx_boards[i] = NULL;
i3585drivers/scsi/aic7xxx.cint i, active_scb, found, queued;
i3608drivers/scsi/aic7xxx.cfor (i = found = 0; i < (queued - found); i++)
i3610drivers/scsi/aic7xxx.cscbsave[i] = inb(QINFIFO(p->base));
i3612drivers/scsi/aic7xxx.cif (scbsave[i] == scb->position)
i3615drivers/scsi/aic7xxx.ci = i - 1;
i3619drivers/scsi/aic7xxx.cfor (queued = 0; queued < i; queued++)
i165drivers/scsi/aic7xxx_asm.cint i;
i183drivers/scsi/aic7xxx_asm.cfor (i = 0; i < p->npatch; i++) {
i184drivers/scsi/aic7xxx_asm.cM[p->patch[i]][0] &= ~1;
i185drivers/scsi/aic7xxx_asm.cM[p->patch[i]][0] |= ((p->value >> 8) & 1);
i186drivers/scsi/aic7xxx_asm.cM[p->patch[i]][1] = p->value & 0xff;
i189drivers/scsi/aic7xxx_asm.cfprintf(stderr, " 0x%x", p->patch[i]);
i205drivers/scsi/aic7xxx_asm.cint i;
i207drivers/scsi/aic7xxx_asm.cfor (i = 0; i < LC; i++)
i209drivers/scsi/aic7xxx_asm.cM[i][3],
i210drivers/scsi/aic7xxx_asm.cM[i][2],
i211drivers/scsi/aic7xxx_asm.cM[i][1],
i212drivers/scsi/aic7xxx_asm.cM[i][0]);
i219drivers/scsi/aic7xxx_asm.cint i;
i224drivers/scsi/aic7xxx_asm.ci = 0;
i242drivers/scsi/aic7xxx_asm.cif (i < MAXTOKEN-1)
i243drivers/scsi/aic7xxx_asm.ca[i++] = p;
i251drivers/scsi/aic7xxx_asm.celse if (i < MAXTOKEN-1) {
i252drivers/scsi/aic7xxx_asm.ca[i++] = quote;
i260drivers/scsi/aic7xxx_asm.cif (i) {
i261drivers/scsi/aic7xxx_asm.c*n = i;
i342drivers/scsi/aic7xxx_asm.cint i;
i362drivers/scsi/aic7xxx_asm.cfor (i = 0; i < sizeof(jmptab)/sizeof(jmptab[0]); i++)
i363drivers/scsi/aic7xxx_asm.cif (jmptab[i].what == want &&
i364drivers/scsi/aic7xxx_asm.c!strcmp(jmptab[i].name, a[spec]))
i366drivers/scsi/aic7xxx_asm.creturn(jmptab[i].value);
i473drivers/scsi/aic7xxx_asm.cint i;
i486drivers/scsi/aic7xxx_asm.cfor (i = 0; instr[i].name; i++) {
i492drivers/scsi/aic7xxx_asm.cif (!strcmp(instr[i].name, *a) && instr[i].n == n)
i495drivers/scsi/aic7xxx_asm.cif (!instr[i].name)
i498drivers/scsi/aic7xxx_asm.cI_op  = eval_operand(a, instr[i].op);
i499drivers/scsi/aic7xxx_asm.cI_src  = eval_sdi(a, instr[i].src);
i500drivers/scsi/aic7xxx_asm.cI_imm  = eval_sdi(a, instr[i].imm);
i501drivers/scsi/aic7xxx_asm.cI_dest  = eval_sdi(a, instr[i].dest);
i502drivers/scsi/aic7xxx_asm.cI_addr  = eval_addr(a, instr[i].addr);
i507drivers/scsi/aic7xxx_asm.cswitch (instr[i].fmt) {
i240drivers/scsi/buslogic.cint s = inb(STATUS(base)), i = inb(INTERRUPT(base));
i242drivers/scsi/buslogic.cbuslogic_printk("status=%02X intrflags=%02X\n", s, i);
i448drivers/scsi/buslogic.cint base, interrupt_flags, found, i;
i542drivers/scsi/buslogic.cfor (i = 0; i < found; i++)
i544drivers/scsi/buslogic.cint mbo = saved_mbo[i];
i607drivers/scsi/buslogic.cint i;
i611drivers/scsi/buslogic.ci = *(int *)(cmd + 2);
i613drivers/scsi/buslogic.ci = -1;
i615drivers/scsi/buslogic.ctarget, *cmd, i, bufflen);
i618drivers/scsi/buslogic.cfor (i = 0; i < scpnt->cmd_len; i++)
i619drivers/scsi/buslogic.cprintk(" %02X", cmd[i]);
i686drivers/scsi/buslogic.csize_t i;
i703drivers/scsi/buslogic.cfor (i = 0; i < scpnt->use_sg; i++) {
i704drivers/scsi/buslogic.cCHECK_DMA_ADDR(shpnt->unchecked_isa_dma, sgpnt[i].address,
i706drivers/scsi/buslogic.ccptr[i].dataptr = sgpnt[i].address;
i707drivers/scsi/buslogic.ccptr[i].datalen = sgpnt[i].length;
i717drivers/scsi/buslogic.cfor (i = 0; i < 18; i++)
i718drivers/scsi/buslogic.cprintk(" %02X", ptr[i]);
i738drivers/scsi/buslogic.csize_t i;
i741drivers/scsi/buslogic.cfor (i = 0; i < sizeof(struct ccb) - 10; i++)
i742drivers/scsi/buslogic.cprintk(" %02X", ((unsigned char *)ccb)[i]);
i799drivers/scsi/buslogic.csize_t i;
i808drivers/scsi/buslogic.cfor (i = 0; i < BUSLOGIC_MAILBOXES; i++) {
i809drivers/scsi/buslogic.cmb[i].status = mb[BUSLOGIC_MAILBOXES + i].status = MBX_NOT_IN_USE;
i810drivers/scsi/buslogic.cmb[i].ccbptr = &ccb[i];
i837drivers/scsi/buslogic.cint i;
i843drivers/scsi/buslogic.ci = inb(STATUS(base));
i844drivers/scsi/buslogic.cif (i & DIRRDY)
i845drivers/scsi/buslogic.ci = inb(DATA_IN(base));
i947drivers/scsi/buslogic.cunsigned int i;
i975drivers/scsi/buslogic.ci = jiffies + 2;
i976drivers/scsi/buslogic.cwhile (i > jiffies);
i1280drivers/scsi/buslogic.csize_t i;
i1285drivers/scsi/buslogic.cfor (i = 0; i < sizeof buf; i++)
i1286drivers/scsi/buslogic.cbuf[i] = 0x87;
i1287drivers/scsi/buslogic.cfor (i = 0; i < 2; i++)
i1288drivers/scsi/buslogic.cif (!buslogic_command(i, cmd, buf, sizeof buf)) {
i1290drivers/scsi/buslogic.ci, *(int *)(buf + 4), *(int *)buf);
i1296drivers/scsi/buslogic.cfor (i = 0; i < 4; i++) {
i1301drivers/scsi/buslogic.cxany2scsi(cmd + 2, i);
i1323drivers/scsi/buslogic.cunsigned int i;
i1329drivers/scsi/buslogic.cfor (i = 0; i < BUSLOGIC_MAILBOXES; i++)
i1330drivers/scsi/buslogic.cif (HOSTDATA(shpnt)->sc[i]
i1331drivers/scsi/buslogic.c&& !HOSTDATA(shpnt)->sc[i]->device->soft_reset) {
i1333drivers/scsi/buslogic.cHOSTDATA(shpnt)->mb[i].status
i1359drivers/scsi/buslogic.cunsigned int i;
i1395drivers/scsi/buslogic.cfor (i = 0; i < BUSLOGIC_MAILBOXES; i++)
i1396drivers/scsi/buslogic.cif (HOSTDATA(scpnt->host)->sc[i]) {
i1397drivers/scsi/buslogic.cif (HOSTDATA(scpnt->host)->sc[i] == scpnt) {
i1400drivers/scsi/buslogic.cif (HOSTDATA(scpnt->host)->mb[i].status != MBX_NOT_IN_USE) {
i1439drivers/scsi/buslogic.cunsigned int i;
i1450drivers/scsi/buslogic.cfor (i = 0; i < BUSLOGIC_MAILBOXES; i++)
i1451drivers/scsi/buslogic.cif (HOSTDATA(scpnt->host)->sc[i] == scpnt) {
i1452drivers/scsi/buslogic.cHOSTDATA(scpnt->host)->ccbs[i].op = CCB_OP_BUS_RESET;
i1469drivers/scsi/buslogic.cfor (i = 0; i < BUSLOGIC_MAILBOXES; i++)
i1470drivers/scsi/buslogic.cif (HOSTDATA(scpnt->host)->sc[i]
i1471drivers/scsi/buslogic.c&& HOSTDATA(scpnt->host)->sc[i]->target == scpnt->target) {
i1472drivers/scsi/buslogic.cScsi_Cmnd *sctmp = HOSTDATA(scpnt->host)->sc[i];
i1481drivers/scsi/buslogic.cHOSTDATA(scpnt->host)->sc[i] = NULL;
i1482drivers/scsi/buslogic.cHOSTDATA(scpnt->host)->mb[i].status = MBX_NOT_IN_USE;
i1541drivers/scsi/buslogic.csize_t i;
i1552drivers/scsi/buslogic.cfor (i = 0; i < ARRAY_SIZE(valid_bases); i++)
i1553drivers/scsi/buslogic.cif (valid_bases[i] == ints[1]) {
i117drivers/scsi/constants.cint i,s;
i119drivers/scsi/constants.cfor ( i = 1, s = COMMAND_SIZE(command[0]); i < s; ++i) 
i120drivers/scsi/constants.cprintk("%02x ", command[i]);
i381drivers/scsi/constants.cint i, s;
i426drivers/scsi/constants.cfor(i=0; additional[i].text; i++)
i427drivers/scsi/constants.cif(additional[i].code1 == sense_buffer[12] &&
i428drivers/scsi/constants.cadditional[i].code2 == sense_buffer[13])
i429drivers/scsi/constants.cprintk("Additional sense indicates %s\n", additional[i].text);
i431drivers/scsi/constants.cfor(i=0; additional2[i].text; i++)
i432drivers/scsi/constants.cif(additional2[i].code1 == sense_buffer[12] &&
i433drivers/scsi/constants.cadditional2[i].code2_min >= sense_buffer[13]  &&
i434drivers/scsi/constants.cadditional2[i].code2_max <= sense_buffer[13]) {
i436drivers/scsi/constants.cprintk(additional2[i].text, sense_buffer[13]);
i458drivers/scsi/constants.cfor (i = 0; i < s; ++i) 
i459drivers/scsi/constants.cprintk("0x%02x ", sense_buffer[i]);
i493drivers/scsi/constants.cint len = 0, i;
i514drivers/scsi/constants.cfor (i = 2; i < len; ++i) 
i515drivers/scsi/constants.cprintk("%02x ", msg[i]);
i518drivers/scsi/constants.cfor (i = 0; i < len; ++i)
i519drivers/scsi/constants.cprintk("%02x ", msg[i]);
i598drivers/scsi/eata.cunsigned int i, j, k, flags;
i617drivers/scsi/eata.ci = HD(j)->last_cp_used + 1;
i619drivers/scsi/eata.cfor (k = 0; k < sh[j]->can_queue; k++, i++) {
i621drivers/scsi/eata.cif (i >= sh[j]->can_queue) i = 0;
i623drivers/scsi/eata.cif (HD(j)->cp_stat[i] == FREE) {
i624drivers/scsi/eata.cHD(j)->last_cp_used = i;
i646drivers/scsi/eata.ccpp = &HD(j)->cp[i];
i651drivers/scsi/eata.cspp = &HD(j)->sp[i];
i659drivers/scsi/eata.ccpp->index = i;
i663drivers/scsi/eata.cBN(j), i, SCpnt->target, SCpnt->pid);
i703drivers/scsi/eata.cHD(j)->cp_stat[i] = IN_USE;
i709drivers/scsi/eata.cunsigned int i, j, flags;
i721drivers/scsi/eata.ci = *(unsigned int *)SCarg->host_scribble;
i723drivers/scsi/eata.cBN(j), i, SCarg->target, SCarg->pid);
i725drivers/scsi/eata.cif (i >= sh[j]->can_queue)
i734drivers/scsi/eata.cif (HD(j)->cp_stat[i] == FREE) {
i735drivers/scsi/eata.cprintk("%s: abort, mbox %d is free.\n", BN(j), i);
i740drivers/scsi/eata.cif (HD(j)->cp_stat[i] == IN_USE) {
i741drivers/scsi/eata.cprintk("%s: abort, mbox %d is in use.\n", BN(j), i);
i743drivers/scsi/eata.cif (SCarg != HD(j)->cp[i].SCpnt)
i745drivers/scsi/eata.cBN(j), i, SCarg, HD(j)->cp[i].SCpnt);
i751drivers/scsi/eata.cif (HD(j)->cp_stat[i] == IN_RESET) {
i752drivers/scsi/eata.cprintk("%s: abort, mbox %d is in reset.\n", BN(j), i);
i757drivers/scsi/eata.cif (HD(j)->cp_stat[i] == LOCKED) {
i758drivers/scsi/eata.cprintk("%s: abort, mbox %d is locked.\n", BN(j), i);
i763drivers/scsi/eata.cpanic("%s: abort, mbox %d, invalid cp_stat.\n", BN(j), i);
i767drivers/scsi/eata.cunsigned int i, j, flags, time, k, limit = 0;
i796drivers/scsi/eata.cfor (i = 0; i < sh[j]->can_queue; i++) {
i798drivers/scsi/eata.cif (HD(j)->cp_stat[i] == FREE) continue;
i800drivers/scsi/eata.cif (HD(j)->cp_stat[i] == LOCKED) {
i801drivers/scsi/eata.cHD(j)->cp_stat[i] = FREE;
i802drivers/scsi/eata.cprintk("%s: reset, locked mbox %d forced free.\n", BN(j), i);
i806drivers/scsi/eata.cSCpnt = HD(j)->cp[i].SCpnt;
i807drivers/scsi/eata.cHD(j)->cp_stat[i] = IN_RESET;
i809drivers/scsi/eata.cBN(j), i, SCpnt->pid);
i812drivers/scsi/eata.cpanic("%s: reset, mbox %d, SCpnt == NULL.\n", BN(j), i);
i815drivers/scsi/eata.cpanic("%s: reset, mbox %d, garbled SCpnt.\n", BN(j), i);
i817drivers/scsi/eata.cif (*(unsigned int *)SCpnt->host_scribble != i) 
i818drivers/scsi/eata.cpanic("%s: reset, mbox %d, index mismatch.\n", BN(j), i);
i821drivers/scsi/eata.cpanic("%s: reset, mbox %d, SCpnt->scsi_done == NULL.\n", BN(j), i);
i845drivers/scsi/eata.cfor (i = 0; i < sh[j]->can_queue; i++) {
i848drivers/scsi/eata.cif (HD(j)->cp_stat[i] != IN_RESET) continue;
i850drivers/scsi/eata.cSCpnt = HD(j)->cp[i].SCpnt;
i855drivers/scsi/eata.cHD(j)->cp_stat[i] = LOCKED;
i858drivers/scsi/eata.cBN(j), i, SCpnt->pid);
i880drivers/scsi/eata.cunsigned int i, j, k, flags, status, tstatus, loops, total_loops = 0;
i915drivers/scsi/eata.cfor (i = 0; i < sh[j]->can_queue; i++) {
i916drivers/scsi/eata.cspp = &HD(j)->sp[i];
i923drivers/scsi/eata.cif (HD(j)->cp_stat[i] == IGNORE) {
i924drivers/scsi/eata.cHD(j)->cp_stat[i] = FREE;
i927drivers/scsi/eata.celse if (HD(j)->cp_stat[i] == LOCKED) {
i928drivers/scsi/eata.cHD(j)->cp_stat[i] = FREE;
i930drivers/scsi/eata.cBN(j), i, HD(j)->iocount);
i933drivers/scsi/eata.celse if (HD(j)->cp_stat[i] == FREE) {
i935drivers/scsi/eata.cBN(j), i, HD(j)->iocount);
i938drivers/scsi/eata.celse if (HD(j)->cp_stat[i] == IN_RESET)
i939drivers/scsi/eata.cprintk("%s: ihdlr, mbox %d is in reset.\n", BN(j), i);
i940drivers/scsi/eata.celse if (HD(j)->cp_stat[i] != IN_USE) 
i941drivers/scsi/eata.cpanic("%s: ihdlr, mbox %d, invalid cp_stat.\n", BN(j), i);
i943drivers/scsi/eata.cHD(j)->cp_stat[i] = FREE;
i944drivers/scsi/eata.ccpp = &HD(j)->cp[i];
i948drivers/scsi/eata.cpanic("%s: ihdlr, mbox %d, SCpnt == NULL.\n", BN(j), i);
i952drivers/scsi/eata.cBN(j), i, SCpnt, cpp->SCpnt);
i956drivers/scsi/eata.cBN(j), i, SCpnt->pid, SCpnt);
i958drivers/scsi/eata.cif (*(unsigned int *)SCpnt->host_scribble != i) 
i960drivers/scsi/eata.c" irq %d.\n", BN(j), i, SCpnt->pid, 
i1050drivers/scsi/eata.cBN(j), i, spp->adapter_status, spp->target_status,
i121drivers/scsi/eata_dma.cuint i;
i127drivers/scsi/eata_dma.cfor (i = 0; i < sh->can_queue; i++){ /* Free all SG arrays */
i128drivers/scsi/eata_dma.cif(SD(sh)->ccb[i].sg_list != NULL)
i129drivers/scsi/eata_dma.cscsi_init_free((void *) SD(sh)->ccb[i].sg_list, 
i150drivers/scsi/eata_dma.cuint i, result = 0;
i241drivers/scsi/eata_dma.cfor (i = 0; i < MAXTARGET; i++)
i242drivers/scsi/eata_dma.cHD(cmd)->t_state[cp->cp_channel][i] = RESET;
i324drivers/scsi/eata_dma.cunsigned int i, x, y;
i414drivers/scsi/eata_dma.cfor(i = 0; i < cmd->use_sg; i++, sl++){
i415drivers/scsi/eata_dma.ccp->sg_list[i].data = htonl((u32) sl->address);
i416drivers/scsi/eata_dma.ccp->sg_list[i].len = htonl((u32) sl->length);
i624drivers/scsi/eata_dma.culong i;
i662drivers/scsi/eata_dma.ci = jiffies + 300;
i663drivers/scsi/eata_dma.cwhile (fake_int_result == FALSE && jiffies <= i) 
i674drivers/scsi/eata_dma.cif ((fake_int_result & HA_SERROR) || jiffies > i){
i678drivers/scsi/eata_dma.ci = jiffies;
i679drivers/scsi/eata_dma.cwhile (jiffies < (i + 300) && limit++ < 10000000)
i1024drivers/scsi/eata_dma.cint i;
i1030drivers/scsi/eata_dma.cfor (i = 0; i < MAXEISA; i++) {
i1031drivers/scsi/eata_dma.cif (EISAbases[i] == TRUE) { /* Still a possibility ?          */
i1033drivers/scsi/eata_dma.cbase = 0x1c88 + (i * 0x1000);
i1057drivers/scsi/eata_dma.cEISAbases[i] = 0;  
i1068drivers/scsi/eata_dma.cint i;
i1070drivers/scsi/eata_dma.cfor (i = 0; i < MAXISA; i++) {  
i1071drivers/scsi/eata_dma.cif (ISAbases[i]) {  
i1072drivers/scsi/eata_dma.cif (get_conf_PIO(ISAbases[i],buf) == TRUE){
i1073drivers/scsi/eata_dma.cregister_HBA(ISAbases[i], buf, tpnt, IS_ISA);
i1075drivers/scsi/eata_dma.cif (check_blink_state(ISAbases[i])) 
i1079drivers/scsi/eata_dma.cISAbases[i] = 0;
i1097drivers/scsi/eata_dma.cu32 error, i, x;
i1100drivers/scsi/eata_dma.cfor (i = 0; i <= MAXPCI; ++i, ++pci_index) {
i1189drivers/scsi/eata_dma.cint i;
i1203drivers/scsi/eata_dma.cfor (i = 0; i <= MAXIRQ; i++)
i1204drivers/scsi/eata_dma.cif (reg_IRQ[i]){
i1205drivers/scsi/eata_dma.cfree_irq(i);
i1206drivers/scsi/eata_dma.crequest_irq(i, (void *)(eata_int_handler), SA_INTERRUPT, "eata_dma");
i1219drivers/scsi/eata_dma.cfor (i = 1; i <= registered_HBAs; i++) {
i86drivers/scsi/eata_dma_proc.cint i, x; 
i92drivers/scsi/eata_dma_proc.cfor (i = 1; i <= registered_HBAs; i++) {
i80drivers/scsi/eata_generic.h#define DELAY(x) { __u32 i; i = jiffies + x; while (jiffies < i); }
i81drivers/scsi/eata_generic.h#define DEL2(x)   { __u32 i; for (i = 0; i < 0xffff * x; i++); }
i823drivers/scsi/eata_pio.cint i;
i825drivers/scsi/eata_pio.cfor (i = 0; i < MAXISA; i++) {  
i826drivers/scsi/eata_pio.cif (ISAbases[i]) {  
i827drivers/scsi/eata_pio.cif (get_pio_conf_PIO(ISAbases[i], buf) == TRUE){
i828drivers/scsi/eata_pio.cregister_pio_HBA(ISAbases[i], buf, tpnt);
i830drivers/scsi/eata_pio.cISAbases[i] = 0;
i839drivers/scsi/eata_pio.cint i;
i845drivers/scsi/eata_pio.cfor (i = 0; i < MAXEISA; i++) {
i846drivers/scsi/eata_pio.cif (EISAbases[i] == TRUE) { /* Still a possibility ?          */
i848drivers/scsi/eata_pio.cbase = 0x1c88 + (i * 0x1000);
i868drivers/scsi/eata_pio.cEISAbases[i] = 0;
i889drivers/scsi/eata_pio.cu32 error, i, x;
i892drivers/scsi/eata_pio.cfor (i = 0; i <= MAXPCI; ++i, ++pci_index) {
i979drivers/scsi/eata_pio.cint i;
i991drivers/scsi/eata_pio.cfor (i = 0; i <= MAXIRQ; i++)
i992drivers/scsi/eata_pio.cif (reg_IRQ[i])
i993drivers/scsi/eata_pio.crequest_irq(i, eata_pio_int_handler, SA_INTERRUPT, "EATA-PIO");
i1006drivers/scsi/eata_pio.cfor (i = 1; i <= registered_HBAs; i++) {
i43drivers/scsi/eata_pio_proc.cint i, x; 
i49drivers/scsi/eata_pio_proc.cfor (i = 1; i <= registered_HBAs; i++) {
i517drivers/scsi/fdomain.cint i;
i520drivers/scsi/fdomain.cfor (i = 0; i < 255; i++) {
i521drivers/scsi/fdomain.coutb( i, port_base + Write_Loopback );
i523drivers/scsi/fdomain.cif (i != result)
i565drivers/scsi/fdomain.cint i;
i598drivers/scsi/fdomain.cfor (flag = 0, i = 0; !flag && i < PORT_COUNT; i++) {
i599drivers/scsi/fdomain.cif (base == ports[i])
i627drivers/scsi/fdomain.cfor (i = 0; i < PORT_COUNT; i++) {
i628drivers/scsi/fdomain.cbase = ports[i];
i651drivers/scsi/fdomain.cint i;
i664drivers/scsi/fdomain.cfor (i = 0xfff8; i > 0xe000; i -= 8) {
i665drivers/scsi/fdomain.cif (check_region( i, 0x10 )) {
i667drivers/scsi/fdomain.cprintk( " (%x inuse)," , i );
i671drivers/scsi/fdomain.cif ((flag = fdomain_is_valid_port( i ))) break;
i676drivers/scsi/fdomain.c*irq    = fdomain_get_irq( i );
i677drivers/scsi/fdomain.c*iobase = i;
i816drivers/scsi/fdomain.cint              i, j;
i834drivers/scsi/fdomain.cfor (i = 0; !bios_base && i < ADDRESS_COUNT; i++) {
i836drivers/scsi/fdomain.cprintk( " %x(%x),", (unsigned)addresses[i], (unsigned)bios_base );
i839drivers/scsi/fdomain.cif (!memcmp( ((char *)addresses[i] + signatures[j].sig_offset),
i845drivers/scsi/fdomain.cbios_base  = addresses[i];
i956drivers/scsi/fdomain.cfor (i = 0; i < 8; i++) {
i957drivers/scsi/fdomain.cSCinit.target = i;
i958drivers/scsi/fdomain.cif (i == tpnt->this_id)  /* Skip host adapter */
i966drivers/scsi/fdomain.cprintk( "     SCSI ID %d: ", i );
i1765drivers/scsi/fdomain.c} *i;
i1817drivers/scsi/fdomain.ci = (struct drive_info *)( (char *)bios_base + 0x1f33 + drive * 25 );
i1820drivers/scsi/fdomain.ci = (struct drive_info *)( (char *)bios_base + 0x1f36 + drive * 15 );
i1823drivers/scsi/fdomain.ci = (struct drive_info *)( (char *)bios_base + 0x1f34 + drive * 15 );
i1826drivers/scsi/fdomain.ci = (struct drive_info *)( (char *)bios_base + 0x1f31 + drive * 25 );
i1829drivers/scsi/fdomain.cinfo_array[0] = i->heads;
i1830drivers/scsi/fdomain.cinfo_array[1] = i->sectors;
i1831drivers/scsi/fdomain.cinfo_array[2] = i->cylinders;
i1835drivers/scsi/fdomain.ci = (struct drive_info *)( (char *)bios_base + 0x1f71 + drive * 10 );
i1836drivers/scsi/fdomain.cinfo_array[0] = i->heads + 1;
i1837drivers/scsi/fdomain.cinfo_array[1] = i->sectors;
i1838drivers/scsi/fdomain.cinfo_array[2] = i->cylinders;
i331drivers/scsi/hosts.cint i, pcount;
i339drivers/scsi/hosts.cfor (tpnt = &builtin_scsi_hosts[0], i = 0; i < MAX_SCSI_HOSTS; ++i, tpnt++)
i330drivers/scsi/hosts.hextern void scsi_unregister(struct Scsi_Host * i);
i133drivers/scsi/in2000.cint  i;
i144drivers/scsi/in2000.cfor(i=0; i < 3; i++)
i145drivers/scsi/in2000.cif(*(bios_tab[i]+0x04) == 0x41564f4e ||
i146drivers/scsi/in2000.c*(bios_tab[i]+0xc) == 0x61776c41) {
i148drivers/scsi/in2000.ctmp, (unsigned int)bios_tab[i]);
i421drivers/scsi/in2000.cint i;
i437drivers/scsi/in2000.ci = xscsi2int((cmd+1));
i439drivers/scsi/in2000.ci = scsi2int((cmd+1));
i441drivers/scsi/in2000.ci = -1;
i444drivers/scsi/in2000.cprintk("in2000qcmd: pos %d len %d ", i, bufflen);
i446drivers/scsi/in2000.cfor (i = 0; i < SCpnt->cmd_len; i++) printk("%02x ", cmd[i]);
i317drivers/scsi/pas16.cint i;
i324drivers/scsi/pas16.cfor (i = 0; i < NO_BASES; ++i)
i325drivers/scsi/pas16.cif (bases[i].io_port == (unsigned short) ints[1]) {
i326drivers/scsi/pas16.cbases[i].noauto = 1;
i486drivers/scsi/pas16.cregister i = len;
i490drivers/scsi/pas16.cinsb( reg, d, i );
i518drivers/scsi/pas16.cregister i = len;
i522drivers/scsi/pas16.coutsb( reg, s, i );
i164drivers/scsi/qlogic.c#define rtrc(i) {inb(0x3da);outb(0x31,0x3c0);outb((i),0x3c0);}
i166drivers/scsi/qlogic.c#define rtrc(i) {}
i272drivers/scsi/qlogic.cint  i,k;
i274drivers/scsi/qlogic.ci = jiffies + WATCHDOG;
i275drivers/scsi/qlogic.cwhile ( i > jiffies && !qabort && !((k = inb(qbase + 4)) & 0xe0))
i277drivers/scsi/qlogic.cif (i <= jiffies)
i294drivers/scsi/qlogic.cunsigned int      i;
i328drivers/scsi/qlogic.cfor (i = 0; i < cmd->cmd_len; i++)
i329drivers/scsi/qlogic.coutb(cmd->cmnd[i], qbase + 2);
i338drivers/scsi/qlogic.cunsigned int  i, j, k;
i349drivers/scsi/qlogic.ci = inb(qbase + 5);
i350drivers/scsi/qlogic.cif (i == 0x20) {
i353drivers/scsi/qlogic.ci |= inb(qbase + 5);  /* the 0x10 bit can be set after the 0x08 */
i354drivers/scsi/qlogic.cif (i != 0x18) {
i355drivers/scsi/qlogic.cprintk("Ql:Bad Interrupt status:%02x\n", i);
i365drivers/scsi/qlogic.cprintk("Ql:Bad sequence for command %d, int %02X, cmdleft = %d\n", j, i, inb( qbase+7 ) & 0x1f );
i418drivers/scsi/qlogic.ci = inb(qbase + 5);          /* get chip irq stat */
i423drivers/scsi/qlogic.cif (!((i == 8 && j == 2) || (i == 0x10 && j == 1))) {
i424drivers/scsi/qlogic.cprintk("Ql:Error during status phase, int=%02X, %d bytes recd\n", i, j);
i432drivers/scsi/qlogic.ci = inb(qbase + 5);  /* should be bus service */
i433drivers/scsi/qlogic.cwhile (!qabort && ((i & 0x20) != 0x20)) {
i435drivers/scsi/qlogic.ci |= inb(qbase + 5);
i453drivers/scsi/qlogic.cint  i;
i454drivers/scsi/qlogic.ci = 16;
i455drivers/scsi/qlogic.cwhile (i-- && inb(qbase + 5)); /* maybe also ql_zap() */
i535drivers/scsi/qlogic.cint  i, j;      /* these are only used by IRQ detect */
i584drivers/scsi/qlogic.ci = 0xffff;
i592drivers/scsi/qlogic.ci &= ~(inb(0x20) | (inb(0xa0) << 8));  /* find IRQ off */
i594drivers/scsi/qlogic.ci &= inb(0x20) | (inb(0xa0) << 8);  /* find IRQ on */
i599drivers/scsi/qlogic.cwhile (i)          /* find on bit */
i600drivers/scsi/qlogic.ci >>= 1, j++;  /* should check for exactly 1 on */
i239drivers/scsi/scsi.cint i = 0;
i241drivers/scsi/scsi.cfor(i=0; 1; i++){
i242drivers/scsi/scsi.cif(device_list[i].vendor == NULL) return 0;
i245drivers/scsi/scsi.cif(memcmp(device_list[i].vendor, pnt,
i246drivers/scsi/scsi.cstrlen(device_list[i].vendor))) continue;
i249drivers/scsi/scsi.cif(memcmp(device_list[i].model, pnt,
i250drivers/scsi/scsi.cstrlen(device_list[i].model))) continue;
i251drivers/scsi/scsi.creturn device_list[i].flags;
i1214drivers/scsi/scsi.cint i;
i1221drivers/scsi/scsi.cfor (i = 0; i < 10; ++i)
i1222drivers/scsi/scsi.cprintk ("%02x  ", ((unsigned char *) cmnd)[i]);
i2083drivers/scsi/scsi.cint i, j;
i2092drivers/scsi/scsi.cfor(i=0;i < (dma_sectors >> (MALLOC_PAGEBITS - 9)); i++)
i2094drivers/scsi/scsi.cif ((dma_malloc_freelist[i] & (mask << j)) == 0){
i2095drivers/scsi/scsi.cdma_malloc_freelist[i] |= (mask << j);
i2099drivers/scsi/scsi.cprintk("SMalloc: %d %p ",len, dma_malloc_pages[i] + (j << 9));
i2101drivers/scsi/scsi.creturn (void *) ((unsigned long) dma_malloc_pages[i] + (j << 9));
i2268drivers/scsi/scsi.cint i;
i2348drivers/scsi/scsi.cfor(i=0; i< dma_sectors >> 3; i++)
i2349drivers/scsi/scsi.cdma_malloc_pages[i] = (unsigned char *)
i2379drivers/scsi/scsi.cint i;
i2382drivers/scsi/scsi.cfor (i = 8; i < 16; i++)
i2384drivers/scsi/scsi.cif (data[i] >= 0x20 && i < data[4] + 5)
i2385drivers/scsi/scsi.cprintk("%c", data[i]);
i2391drivers/scsi/scsi.cfor (i = 16; i < 32; i++)
i2393drivers/scsi/scsi.cif (data[i] >= 0x20 && i < data[4] + 5)
i2394drivers/scsi/scsi.cprintk("%c", data[i]);
i2400drivers/scsi/scsi.cfor (i = 32; i < 36; i++)
i2402drivers/scsi/scsi.cif (data[i] >= 0x20 && i < data[4] + 5)
i2403drivers/scsi/scsi.cprintk("%c", data[i]);
i2410drivers/scsi/scsi.ci = data[0] & 0x1f;
i2413drivers/scsi/scsi.ci < MAX_SCSI_DEVICE_CODE ? scsi_device_types[i] : "Unknown          " );
i2482drivers/scsi/scsi.cint i;
i2597drivers/scsi/scsi.cfor(i=dma_sectors >> 3; i< new_dma_sectors >> 3; i++)
i2598drivers/scsi/scsi.cnew_dma_malloc_pages[i] = (unsigned char *)
i2937drivers/scsi/scsi.cint i;
i2941drivers/scsi/scsi.ci = 0;
i2947drivers/scsi/scsi.ci++, SCpnt->host->host_no,
i2969drivers/scsi/scsi.cfor(i=0; i<MAX_BLKDEV; i++)
i2970drivers/scsi/scsi.cif(blk_dev[i].current_request)
i2973drivers/scsi/scsi.cprintk("%d: ", i);
i2974drivers/scsi/scsi.creq = blk_dev[i].current_request;
i3037drivers/scsi/scsi.cint i;
i3050drivers/scsi/scsi.cfor(i=0; i < dma_sectors >> 3; i++)
i3051drivers/scsi/scsi.cscsi_init_free(dma_malloc_pages[i], PAGE_SIZE);
i131drivers/scsi/scsi_debug.cint i;
i140drivers/scsi/scsi_debug.cfor(i=0; i<SCpnt->use_sg; i++) {
i141drivers/scsi/scsi_debug.clpnt = (int *) sgpnt[i].alt_address;
i142drivers/scsi/scsi_debug.cprintk(":%x %x %d\n",sgpnt[i].alt_address, sgpnt[i].address, sgpnt[i].length);
i152drivers/scsi/scsi_debug.cfor (i=0;i<sizeof(Scsi_Cmnd)/4+1; i++) {
i153drivers/scsi/scsi_debug.cif ((i & 7) == 0) printk("\n");
i159drivers/scsi/scsi_debug.cfor (i=0;i<sizeof(Scsi_Cmnd)/4+1; i++) {
i160drivers/scsi/scsi_debug.cif ((i & 7) == 0) printk("\n");
i166drivers/scsi/scsi_debug.cfor (i=0;i<sizeof(Scsi_Cmnd)/4+1; i++) {
i167drivers/scsi/scsi_debug.cif ((i & 7) == 0) printk("\n");
i188drivers/scsi/scsi_debug.cint i;
i207drivers/scsi/scsi_debug.cint i;
i209drivers/scsi/scsi_debug.cfor(i=0;i<12;i++) printk("%d ",sense_buffer[i]);
i326drivers/scsi/scsi_debug.cint i;
i328drivers/scsi/scsi_debug.cfor(i=0;i<12;i++) printk("%d ",sense_buffer[i]);
i401drivers/scsi/scsi_debug.cfor(i=0;i<SCSI_DEBUG_MAILBOXES; i++){
i402drivers/scsi/scsi_debug.cif (SCint[i] == 0) break;
i405drivers/scsi/scsi_debug.cif (i >= SCSI_DEBUG_MAILBOXES || SCint[i] != 0) 
i408drivers/scsi/scsi_debug.cSCint[i] = SCpnt;
i412drivers/scsi/scsi_debug.cif (do_done[i])
i415drivers/scsi/scsi_debug.cdo_done[i] = done;
i428drivers/scsi/scsi_debug.ctimeout[i] = jiffies+DISK_SPEED;
i432drivers/scsi/scsi_debug.ctimer_table[SCSI_DEBUG_TIMER].expires = timeout[i];
i440drivers/scsi/scsi_debug.cprintk("Sending command (%d %x %d %d)...", i, done, timeout[i],jiffies);
i471drivers/scsi/scsi_debug.cint i, pending;
i484drivers/scsi/scsi_debug.cfor(i=0;i<SCSI_DEBUG_MAILBOXES; i++) {
i485drivers/scsi/scsi_debug.cif (SCint[i] == 0) continue;
i487drivers/scsi/scsi_debug.cif (timeout[i] == 0) continue;
i488drivers/scsi/scsi_debug.cif (timeout[i] <= jiffies) break;
i494drivers/scsi/scsi_debug.cif(i == SCSI_DEBUG_MAILBOXES){
i497drivers/scsi/scsi_debug.cfor(i=0;i<SCSI_DEBUG_MAILBOXES; i++) {
i498drivers/scsi/scsi_debug.cif (SCint[i] == 0) continue;
i499drivers/scsi/scsi_debug.cif (timeout[i] == 0) continue;
i500drivers/scsi/scsi_debug.cif (timeout[i] <= jiffies) {restore_flags(flags); goto repeat;};
i501drivers/scsi/scsi_debug.cif (timeout[i] > jiffies) {
i502drivers/scsi/scsi_debug.cif (pending > timeout[i]) pending = timeout[i];
i516drivers/scsi/scsi_debug.cif(i < SCSI_DEBUG_MAILBOXES){
i517drivers/scsi/scsi_debug.ctimeout[i] = 0;
i518drivers/scsi/scsi_debug.cmy_done = do_done[i];
i519drivers/scsi/scsi_debug.cdo_done[i] = NULL;
i520drivers/scsi/scsi_debug.cto = timeout[i];
i521drivers/scsi/scsi_debug.ctimeout[i] = 0;
i522drivers/scsi/scsi_debug.cSCtmp = (Scsi_Cmnd *) SCint[i];
i523drivers/scsi/scsi_debug.cSCint[i] = NULL;
i533drivers/scsi/scsi_debug.cprintk("...done %d %x %d %d\n",i , my_done, to, jiffies);
i534drivers/scsi/scsi_debug.cprintk("In intr_handle: %d %x %x\n",i, SCtmp, my_done);
i589drivers/scsi/scsi_debug.cint i;
i595drivers/scsi/scsi_debug.cfor(i=0;i<SCSI_DEBUG_MAILBOXES; i++) {
i596drivers/scsi/scsi_debug.cif (SCint[i] == NULL) continue;
i597drivers/scsi/scsi_debug.cSCint[i]->result = DID_ABORT << 16;
i598drivers/scsi/scsi_debug.cmy_done = do_done[i];
i599drivers/scsi/scsi_debug.cmy_done(SCint[i]);
i602drivers/scsi/scsi_debug.cSCint[i] = NULL;
i603drivers/scsi/scsi_debug.cdo_done[i] = NULL;
i604drivers/scsi/scsi_debug.ctimeout[i] = 0;
i290drivers/scsi/scsi_ioctl.cint i;
i292drivers/scsi/scsi_ioctl.cfor (i = 0; i < 12; ++i)
i293drivers/scsi/scsi_ioctl.cprintk("%02x ", cmd[i]);
i295drivers/scsi/scsi_ioctl.cfor (i = 0; i < 20; ++i)
i296drivers/scsi/scsi_ioctl.cprintk("%02x ", buf[i]);
i93drivers/scsi/scsicam.cint i, largest_cyl;
i100drivers/scsi/scsicam.c(0x1BE + bh->b_data), i = 0; i < 4; ++i, ++p) {
i105drivers/scsi/scsicam.ci);
i186drivers/scsi/sd.cint i;
i188drivers/scsi/sd.cfor (i = 0; i < sd_template.dev_max; ++i)
i189drivers/scsi/sd.cif(rscsi_disks[i].device) 
i190drivers/scsi/sd.csd[i << 4].nr_sects = rscsi_disks[i].capacity;
i228drivers/scsi/sd.cint i;
i230drivers/scsi/sd.cfor(i=0; i<SCpnt->use_sg; i++) {
i232drivers/scsi/sd.cprintk(":%x %x %d\n",sgpnt[i].alt_address, sgpnt[i].address, 
i233drivers/scsi/sd.csgpnt[i].length);
i235drivers/scsi/sd.cif (sgpnt[i].alt_address) {
i237drivers/scsi/sd.cmemcpy(sgpnt[i].alt_address, sgpnt[i].address, 
i238drivers/scsi/sd.csgpnt[i].length);
i239drivers/scsi/sd.cscsi_free(sgpnt[i].address, sgpnt[i].length);
i288drivers/scsi/sd.cint i;
i290drivers/scsi/sd.cfor(i=0; i<SCpnt->use_sg; i++) {
i295drivers/scsi/sd.cif (sgpnt[i].alt_address) {
i296drivers/scsi/sd.cscsi_free(sgpnt[i].address, sgpnt[i].length);
i897drivers/scsi/sd.cstatic int sd_init_onedisk(int i)
i910drivers/scsi/sd.cSCpnt = allocate_device(NULL, rscsi_disks[i].device, 1);
i922drivers/scsi/sd.ccmd[1] = (rscsi_disks[i].device->lun << 5) & 0xe0;
i945drivers/scsi/sd.cif(the_result && !rscsi_disks[i].device->removable && 
i949drivers/scsi/sd.cprintk( "sd%c: Spinning up disk...", 'a' + i );
i951drivers/scsi/sd.ccmd[1] = (rscsi_disks[i].device->lun << 5) & 0xe0;
i989drivers/scsi/sd.ccmd[1] = (rscsi_disks[i].device->lun << 5) & 0xe0;
i1044drivers/scsi/sd.c'a' + i, 'a' + i,
i1052drivers/scsi/sd.c'a' + i, SCpnt->sense_buffer[2] & 0xf);
i1054drivers/scsi/sd.cprintk("sd%c : sense not available. \n", 'a' + i);
i1057drivers/scsi/sd.c'a' + i);
i1058drivers/scsi/sd.crscsi_disks[i].capacity = 0x1fffff;
i1059drivers/scsi/sd.crscsi_disks[i].sector_size = 512;
i1063drivers/scsi/sd.cif(rscsi_disks[i].device->removable && 
i1065drivers/scsi/sd.crscsi_disks[i].device->changed = 1;
i1070drivers/scsi/sd.crscsi_disks[i].capacity = (buffer[0] << 24) |
i1075drivers/scsi/sd.crscsi_disks[i].sector_size = (buffer[4] << 24) |
i1078drivers/scsi/sd.cif (rscsi_disks[i].sector_size != 512 &&
i1079drivers/scsi/sd.crscsi_disks[i].sector_size != 1024 &&
i1080drivers/scsi/sd.crscsi_disks[i].sector_size != 256)
i1083drivers/scsi/sd.c'a' + i, rscsi_disks[i].sector_size);
i1084drivers/scsi/sd.cif(rscsi_disks[i].device->removable){
i1085drivers/scsi/sd.crscsi_disks[i].capacity = 0;
i1088drivers/scsi/sd.crscsi_disks[i].device = NULL;
i1090drivers/scsi/sd.creturn i;
i1100drivers/scsi/sd.cint hard_sector = rscsi_disks[i].sector_size;
i1102drivers/scsi/sd.cfor (m=i<<4; m<((i+1)<<4); m++){
i1106drivers/scsi/sd.chard_sector,i+'a');
i1108drivers/scsi/sd.cif(rscsi_disks[i].sector_size == 1024)
i1109drivers/scsi/sd.crscsi_disks[i].capacity <<= 1;  /* Change into 512 byte sectors */
i1110drivers/scsi/sd.cif(rscsi_disks[i].sector_size == 256)
i1111drivers/scsi/sd.crscsi_disks[i].capacity >>= 1;  /* Change into 512 byte sectors */
i1114drivers/scsi/sd.crscsi_disks[i].ten = 1;
i1115drivers/scsi/sd.crscsi_disks[i].remap = 1;
i1117drivers/scsi/sd.creturn i;
i1128drivers/scsi/sd.cint i;
i1160drivers/scsi/sd.cfor(i=0;i<(sd_template.dev_max << 4);i++){
i1161drivers/scsi/sd.csd_blocksizes[i] = 1024;
i1162drivers/scsi/sd.csd_hardsizes[i] = 512;
i1180drivers/scsi/sd.cint i;
i1187drivers/scsi/sd.cfor (i = 0; i < sd_template.dev_max; ++i)
i1188drivers/scsi/sd.cif (!rscsi_disks[i].capacity && 
i1189drivers/scsi/sd.crscsi_disks[i].device)
i1191drivers/scsi/sd.ci = sd_init_onedisk(i);
i1193drivers/scsi/sd.c&& !rscsi_disks[i].has_part_table) {
i1194drivers/scsi/sd.csd_sizes[i << 4] = rscsi_disks[i].capacity;
i1195drivers/scsi/sd.crevalidate_scsidisk(i << 4, 0);
i1197drivers/scsi/sd.crscsi_disks[i].has_part_table = 1;
i1224drivers/scsi/sd.cint i;
i1233drivers/scsi/sd.cfor(dpnt = rscsi_disks, i=0; i<sd_template.dev_max; i++, dpnt++) 
i1236drivers/scsi/sd.cif(i >= sd_template.dev_max) panic ("scsi_devices corrupt (sd)");
i1239drivers/scsi/sd.crscsi_disks[i].device = SDp;
i1240drivers/scsi/sd.crscsi_disks[i].has_part_table = 0;
i1265drivers/scsi/sd.cint i;
i1284drivers/scsi/sd.cfor (i=max_p - 1; i >=0 ; i--) {
i1285drivers/scsi/sd.csync_dev(major | start | i);
i1286drivers/scsi/sd.cinvalidate_inodes(major | start | i);
i1287drivers/scsi/sd.cinvalidate_buffers(major | start | i);
i1288drivers/scsi/sd.cgdev->part[start+i].start_sect = 0;
i1289drivers/scsi/sd.cgdev->part[start+i].nr_sects = 0;
i1311drivers/scsi/sd.cint i;
i1316drivers/scsi/sd.cfor(dpnt = rscsi_disks, i=0; i<sd_template.dev_max; i++, dpnt++) 
i1322drivers/scsi/sd.cstart = i << sd_gendisk.minor_shift;
i1325drivers/scsi/sd.cfor (i=max_p - 1; i >=0 ; i--) {
i1326drivers/scsi/sd.csync_dev(major | start | i);
i1327drivers/scsi/sd.cinvalidate_inodes(major | start | i);
i1328drivers/scsi/sd.cinvalidate_buffers(major | start | i);
i1329drivers/scsi/sd.csd_gendisk.part[start+i].start_sect = 0;
i1330drivers/scsi/sd.csd_gendisk.part[start+i].nr_sects = 0;
i1331drivers/scsi/sd.csd_sizes[start+i] = 0;
i284drivers/scsi/seagate.cint i,j;
i328drivers/scsi/seagate.cfor (i = 0; i < (sizeof (seagate_bases) / sizeof (char  * )); ++i)
i330drivers/scsi/seagate.cif (!memcmp ((void *) (seagate_bases[i] +
i333drivers/scsi/seagate.cbase_address = (void *) seagate_bases[i];
i604drivers/scsi/seagate.cint i;
i904drivers/scsi/seagate.cint i;
i907drivers/scsi/seagate.cfor (i = 0; i < nobuffs; ++i)
i909drivers/scsi/seagate.chostno, i, buffer[i].address, buffer[i].length);
i1473drivers/scsi/seagate.cfor (i = 0; i < 20; ++i) 
i1474drivers/scsi/seagate.cprintk ("%02x  ", ((unsigned char *) data)[i]);  /* WDE mod */
i206drivers/scsi/sg.cint i;
i208drivers/scsi/sg.cif ((i=verify_area(VERIFY_WRITE,buf,count)))
i209drivers/scsi/sg.creturn i;
i294drivers/scsi/sg.cint        bsize,size,amt,i;
i303drivers/scsi/sg.cif ((i=verify_area(VERIFY_READ,buf,count)))
i304drivers/scsi/sg.creturn i;
i522drivers/scsi/sg.cint i;
i530drivers/scsi/sg.cfor(gpnt = scsi_generics, i=0; i<sg_template.dev_max; i++, gpnt++) 
i533drivers/scsi/sg.cif(i >= sg_template.dev_max) panic ("scsi_devices corrupt (sg)");
i535drivers/scsi/sg.cscsi_generics[i].device=SDp;
i536drivers/scsi/sg.cscsi_generics[i].users=0;
i537drivers/scsi/sg.cscsi_generics[i].generic_wait=NULL;
i538drivers/scsi/sg.cscsi_generics[i].read_wait=NULL;
i539drivers/scsi/sg.cscsi_generics[i].write_wait=NULL;
i540drivers/scsi/sg.cscsi_generics[i].buff=NULL;
i541drivers/scsi/sg.cscsi_generics[i].exclude=0;
i542drivers/scsi/sg.cscsi_generics[i].pending=0;
i543drivers/scsi/sg.cscsi_generics[i].timeout=SG_DEFAULT_TIMEOUT;
i553drivers/scsi/sg.cint i;
i555drivers/scsi/sg.cfor(gpnt = scsi_generics, i=0; i<sg_template.dev_max; i++, gpnt++) 
i190drivers/scsi/sr.cint i;
i192drivers/scsi/sr.cfor(i=0; i<SCpnt->use_sg; i++) {
i193drivers/scsi/sr.cif (sgpnt[i].alt_address) {
i194drivers/scsi/sr.cif (sgpnt[i].alt_address != sgpnt[i].address) {
i195drivers/scsi/sr.cmemcpy(sgpnt[i].alt_address, sgpnt[i].address, sgpnt[i].length);
i197drivers/scsi/sr.cscsi_free(sgpnt[i].address, sgpnt[i].length);
i229drivers/scsi/sr.cint i;
i231drivers/scsi/sr.cfor(i=0; i<SCpnt->use_sg; i++) {
i232drivers/scsi/sr.cif (sgpnt[i].alt_address) {
i233drivers/scsi/sr.cscsi_free(sgpnt[i].address, sgpnt[i].length);
i872drivers/scsi/sr.cint i;
i876drivers/scsi/sr.cfor(i=0; i<12; i++) printk("%2.2x ", cmd[i]);
i913drivers/scsi/sr.cint i;
i923drivers/scsi/sr.cfor(cpnt = scsi_CDs, i=0; i<sr_template.dev_max; i++, cpnt++) 
i926drivers/scsi/sr.cif(i >= sr_template.dev_max) panic ("scsi_devices corrupt (sr)");
i929drivers/scsi/sr.cscsi_CDs[i].device = SDp;
i949drivers/scsi/sr.cstatic void get_sectorsize(int i){
i956drivers/scsi/sr.cSCpnt = allocate_device(NULL, scsi_CDs[i].device, 1);
i961drivers/scsi/sr.ccmd[1] = (scsi_CDs[i].device->lun << 5) & 0xe0;
i995drivers/scsi/sr.cscsi_CDs[i].capacity = 0x1fffff;
i996drivers/scsi/sr.cscsi_CDs[i].sector_size = 2048;  /* A guess, just in case */
i997drivers/scsi/sr.cscsi_CDs[i].needs_sector_size = 1;
i999drivers/scsi/sr.cscsi_CDs[i].capacity = (buffer[0] << 24) |
i1001drivers/scsi/sr.cscsi_CDs[i].sector_size = (buffer[4] << 24) |
i1003drivers/scsi/sr.cif(scsi_CDs[i].sector_size == 0) scsi_CDs[i].sector_size = 2048;
i1004drivers/scsi/sr.cif(scsi_CDs[i].sector_size != 2048 && 
i1005drivers/scsi/sr.cscsi_CDs[i].sector_size != 512) {
i1007drivers/scsi/sr.ci, scsi_CDs[i].sector_size);
i1008drivers/scsi/sr.cscsi_CDs[i].capacity = 0;
i1009drivers/scsi/sr.cscsi_CDs[i].needs_sector_size = 1;
i1011drivers/scsi/sr.cif(scsi_CDs[i].sector_size == 2048)
i1012drivers/scsi/sr.cscsi_CDs[i].capacity *= 4;
i1013drivers/scsi/sr.cscsi_CDs[i].needs_sector_size = 0;
i1014drivers/scsi/sr.csr_sizes[i] = scsi_CDs[i].capacity;
i1021drivers/scsi/sr.cint i;
i1045drivers/scsi/sr.cfor(i=0;i<sr_template.dev_max;i++) sr_blocksizes[i] = 2048;
i1052drivers/scsi/sr.cint i;
i1057drivers/scsi/sr.cfor (i = 0; i < sr_template.nr_dev; ++i)
i1061drivers/scsi/sr.cif (scsi_CDs[i].capacity) continue;
i1062drivers/scsi/sr.cscsi_CDs[i].capacity = 0x1fffff;
i1063drivers/scsi/sr.cscsi_CDs[i].sector_size = 2048;  /* A guess, just in case */
i1064drivers/scsi/sr.cscsi_CDs[i].needs_sector_size = 1;
i1067drivers/scsi/sr.cget_sectorsize(i);
i1068drivers/scsi/sr.cprintk("Scd sectorsize = %d bytes.\n", scsi_CDs[i].sector_size);
i1070drivers/scsi/sr.cscsi_CDs[i].use = 1;
i1071drivers/scsi/sr.cscsi_CDs[i].ten = 1;
i1072drivers/scsi/sr.cscsi_CDs[i].remap = 1;
i1073drivers/scsi/sr.cscsi_CDs[i].auto_eject = 0; /* Default is not to eject upon unmount. */
i1074drivers/scsi/sr.csr_sizes[i] = scsi_CDs[i].capacity;
i1092drivers/scsi/sr.cint i, major;
i1096drivers/scsi/sr.cfor(cpnt = scsi_CDs, i=0; i<sr_template.dev_max; i++, cpnt++) 
i1102drivers/scsi/sr.cinvalidate_inodes(major | i);
i1103drivers/scsi/sr.cinvalidate_buffers(major | i);
i1114drivers/scsi/sr.csr_sizes[i] = 0;
i1134drivers/scsi/sr.cint i;
i426drivers/scsi/st.cint i;
i441drivers/scsi/st.cfor (i=0; i < st_nbr_buffers; i++)
i442drivers/scsi/st.cif (!st_buffers[i]->in_use)
i444drivers/scsi/st.cif (i >= st_nbr_buffers) {
i448drivers/scsi/st.cSTp->buffer = st_buffers[i];
i1744drivers/scsi/st.cint i, cmd, result;
i1767drivers/scsi/st.ci = verify_area(VERIFY_WRITE, (void *)arg, sizeof(mtc));
i1768drivers/scsi/st.cif (i)
i1769drivers/scsi/st.creturn i;
i1773drivers/scsi/st.ci = flush_buffer(inode, file, mtc.mt_op == MTSEEK ||
i1776drivers/scsi/st.cif (i < 0)
i1777drivers/scsi/st.creturn i;
i1793drivers/scsi/st.ci = verify_area(VERIFY_WRITE, (void *)arg, sizeof(struct mtget));
i1794drivers/scsi/st.cif (i)
i1795drivers/scsi/st.creturn i;
i1852drivers/scsi/st.ci = flush_buffer(inode, file, 0);
i1853drivers/scsi/st.cif (i < 0)
i1854drivers/scsi/st.creturn i;
i1856drivers/scsi/st.ci = verify_area(VERIFY_WRITE, (void *)arg, sizeof(struct mtpos));
i1857drivers/scsi/st.cif (i)
i1858drivers/scsi/st.creturn i;
i1953drivers/scsi/st.cint i;
i1963drivers/scsi/st.cfor(tpnt = scsi_tapes, i=0; i<st_template.dev_max; i++, tpnt++) 
i1966drivers/scsi/st.cif(i >= st_template.dev_max) panic ("scsi_devices corrupt (st)");
i1968drivers/scsi/st.cscsi_tapes[i].device = SDp;
i1970drivers/scsi/st.cscsi_tapes[i].mt_status->mt_type = MT_ISSCSI1;
i1972drivers/scsi/st.cscsi_tapes[i].mt_status->mt_type = MT_ISSCSI2;
i1992drivers/scsi/st.cint i;
i2017drivers/scsi/st.cfor (i=0; i < st_template.dev_max; ++i) {
i2018drivers/scsi/st.cSTp = &(scsi_tapes[i]);
i2039drivers/scsi/st.cmemset((void *) scsi_tapes[i].mt_status, 0, sizeof(struct mtget));
i2053drivers/scsi/st.cfor (i=0; i < st_nbr_buffers; i++) {
i2054drivers/scsi/st.cst_buffers[i] = (ST_buffer *) scsi_init_malloc(sizeof(ST_buffer) - 
i2059drivers/scsi/st.cst_buffers[i]->in_use = 0;
i2060drivers/scsi/st.cst_buffers[i]->writing = 0;
i2068drivers/scsi/st.cint i;
i2070drivers/scsi/st.cfor(tpnt = scsi_tapes, i=0; i<st_template.dev_max; i++, tpnt++) 
i2092drivers/scsi/st.cint i;
i2105drivers/scsi/st.cfor (i=0; i < st_nbr_buffers; i++) {
i2106drivers/scsi/st.cscsi_init_free((char *) st_buffers[i],
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) {
i559drivers/scsi/u14-34f.cunsigned int i, j, k, flags;
i571drivers/scsi/u14-34f.ci = HD(j)->last_cp_used + 1;
i573drivers/scsi/u14-34f.cfor (k = 0; k < sh[j]->can_queue; k++, i++) {
i575drivers/scsi/u14-34f.cif (i >= sh[j]->can_queue) i = 0;
i577drivers/scsi/u14-34f.cif (HD(j)->cp_stat[i] == FREE) {
i578drivers/scsi/u14-34f.cHD(j)->last_cp_used = i;
i600drivers/scsi/u14-34f.ccpp = &HD(j)->cp[i];
i604drivers/scsi/u14-34f.ccpp->index = i;
i608drivers/scsi/u14-34f.cBN(j), i, SCpnt->target, SCpnt->pid);
i646drivers/scsi/u14-34f.cHD(j)->cp_stat[i] = IN_USE;
i652drivers/scsi/u14-34f.cunsigned int i, j, flags;
i664drivers/scsi/u14-34f.ci = *(unsigned int *)SCarg->host_scribble;
i666drivers/scsi/u14-34f.cBN(j), i, SCarg->target, SCarg->pid);
i668drivers/scsi/u14-34f.cif (i >= sh[j]->can_queue)
i677drivers/scsi/u14-34f.cif (HD(j)->cp_stat[i] == FREE) {
i678drivers/scsi/u14-34f.cprintk("%s: abort, mbox %d is free.\n", BN(j), i);
i683drivers/scsi/u14-34f.cif (HD(j)->cp_stat[i] == IN_USE) {
i684drivers/scsi/u14-34f.cprintk("%s: abort, mbox %d is in use.\n", BN(j), i);
i686drivers/scsi/u14-34f.cif (SCarg != HD(j)->cp[i].SCpnt)
i688drivers/scsi/u14-34f.cBN(j), i, SCarg, HD(j)->cp[i].SCpnt);
i694drivers/scsi/u14-34f.cif (HD(j)->cp_stat[i] == IN_RESET) {
i695drivers/scsi/u14-34f.cprintk("%s: abort, mbox %d is in reset.\n", BN(j), i);
i700drivers/scsi/u14-34f.cif (HD(j)->cp_stat[i] == LOCKED) {
i701drivers/scsi/u14-34f.cprintk("%s: abort, mbox %d is locked.\n", BN(j), i);
i706drivers/scsi/u14-34f.cpanic("%s: abort, mbox %d, invalid cp_stat.\n", BN(j), i);
i710drivers/scsi/u14-34f.cunsigned int i, j, flags, time, k, limit = 0;
i739drivers/scsi/u14-34f.cfor (i = 0; i < sh[j]->can_queue; i++) {
i741drivers/scsi/u14-34f.cif (HD(j)->cp_stat[i] == FREE) continue;
i743drivers/scsi/u14-34f.cif (HD(j)->cp_stat[i] == LOCKED) {
i744drivers/scsi/u14-34f.cHD(j)->cp_stat[i] = FREE;
i745drivers/scsi/u14-34f.cprintk("%s: reset, locked mbox %d forced free.\n", BN(j), i);
i749drivers/scsi/u14-34f.cSCpnt = HD(j)->cp[i].SCpnt;
i750drivers/scsi/u14-34f.cHD(j)->cp_stat[i] = IN_RESET;
i752drivers/scsi/u14-34f.cBN(j), i, SCpnt->pid);
i755drivers/scsi/u14-34f.cpanic("%s: reset, mbox %d, SCpnt == NULL.\n", BN(j), i);
i758drivers/scsi/u14-34f.cpanic("%s: reset, mbox %d, garbled SCpnt.\n", BN(j), i);
i760drivers/scsi/u14-34f.cif (*(unsigned int *)SCpnt->host_scribble != i) 
i761drivers/scsi/u14-34f.cpanic("%s: reset, mbox %d, index mismatch.\n", BN(j), i);
i764drivers/scsi/u14-34f.cpanic("%s: reset, mbox %d, SCpnt->scsi_done == NULL.\n", BN(j), i);
i789drivers/scsi/u14-34f.cfor (i = 0; i < sh[j]->can_queue; i++) {
i792drivers/scsi/u14-34f.cif (HD(j)->cp_stat[i] != IN_RESET) continue;
i794drivers/scsi/u14-34f.cSCpnt = HD(j)->cp[i].SCpnt;
i799drivers/scsi/u14-34f.cHD(j)->cp_stat[i] = LOCKED;
i802drivers/scsi/u14-34f.cBN(j), i, SCpnt->pid);
i834drivers/scsi/u14-34f.cunsigned int i, j, k, flags, status, tstatus, loops, total_loops = 0;
i869drivers/scsi/u14-34f.ci = spp - HD(j)->cp;
i871drivers/scsi/u14-34f.cif (i >= sh[j]->can_queue)
i874drivers/scsi/u14-34f.cif (HD(j)->cp_stat[i] == IGNORE) {
i875drivers/scsi/u14-34f.cHD(j)->cp_stat[i] = FREE;
i878drivers/scsi/u14-34f.celse if (HD(j)->cp_stat[i] == LOCKED) {
i879drivers/scsi/u14-34f.cHD(j)->cp_stat[i] = FREE;
i881drivers/scsi/u14-34f.cBN(j), i, HD(j)->iocount);
i884drivers/scsi/u14-34f.celse if (HD(j)->cp_stat[i] == FREE) {
i886drivers/scsi/u14-34f.cBN(j), i, HD(j)->iocount);
i889drivers/scsi/u14-34f.celse if (HD(j)->cp_stat[i] == IN_RESET)
i890drivers/scsi/u14-34f.cprintk("%s: ihdlr, mbox %d is in reset.\n", BN(j), i);
i891drivers/scsi/u14-34f.celse if (HD(j)->cp_stat[i] != IN_USE) 
i892drivers/scsi/u14-34f.cpanic("%s: ihdlr, mbox %d, invalid cp_stat.\n", BN(j), i);
i894drivers/scsi/u14-34f.cHD(j)->cp_stat[i] = FREE;
i898drivers/scsi/u14-34f.cpanic("%s: ihdlr, mbox %d, SCpnt == NULL.\n", BN(j), i);
i902drivers/scsi/u14-34f.cBN(j), i, SCpnt->pid, SCpnt);
i904drivers/scsi/u14-34f.cif (*(unsigned int *)SCpnt->host_scribble != i) 
i906drivers/scsi/u14-34f.c" irq %d.\n", BN(j), i, SCpnt->pid, 
i997drivers/scsi/u14-34f.cBN(j), i, spp->adapter_status, spp->target_status,
i329drivers/scsi/ultrastor.cregister int i;
i334drivers/scsi/ultrastor.cfor (i = 0; i < ULTRASTOR_MAX_CMDS; i++)
i336drivers/scsi/ultrastor.cfmt[20 + i*2] = ' ';
i337drivers/scsi/ultrastor.cif (! (config->mscp_free & (1 << i)))
i338drivers/scsi/ultrastor.cfmt[21 + i*2] = '0' + config->mscp[i].target_id;
i340drivers/scsi/ultrastor.cfmt[21 + i*2] = '-';
i351drivers/scsi/ultrastor.csize_t i;
i381drivers/scsi/ultrastor.cfor (i = 0; i < ARRAY_SIZE(ultrastor_ports_14f); i++) {
i382drivers/scsi/ultrastor.cif(check_region(ultrastor_ports_14f[i], 0x0c)) continue;
i383drivers/scsi/ultrastor.cconfig.port_address = ultrastor_ports_14f[i];
i425drivers/scsi/ultrastor.cif (i == ARRAY_SIZE(ultrastor_ports_14f)) {
i524drivers/scsi/ultrastor.cregister int i;
i532drivers/scsi/ultrastor.cfor (i = 1; i < 15; i++)
i535drivers/scsi/ultrastor.cunsigned short addr = (i << 12) | ULTRASTOR_24F_PORT;
i543drivers/scsi/ultrastor.cconfig.slot = i;
i547drivers/scsi/ultrastor.cprintk("U24F: found disabled card in slot %u\n", i);
i552drivers/scsi/ultrastor.cprintk("U24F: found card in slot %u\n", i);
i653drivers/scsi/ultrastor.cint i, max;
i657drivers/scsi/ultrastor.cfor (i = 0; i < max; i++) {
i658drivers/scsi/ultrastor.cmscp->sglist[i].address = (unsigned int)sl[i].address;
i659drivers/scsi/ultrastor.cmscp->sglist[i].num_bytes = sl[i].length;
i660drivers/scsi/ultrastor.ctransfer_length += sl[i].length;
i848drivers/scsi/ultrastor.cint i;
i853drivers/scsi/ultrastor.cfor (i = 0; i < 16; i++)
i855drivers/scsi/ultrastor.cunsigned char p = inb(port0 + i);
i856drivers/scsi/ultrastor.cout[28 + i * 3] = "0123456789abcdef"[p >> 4];
i857drivers/scsi/ultrastor.cout[29 + i * 3] = "0123456789abcdef"[p & 15];
i858drivers/scsi/ultrastor.cout[30 + i * 3] = ' ';
i860drivers/scsi/ultrastor.cout[28 + i * 3] = '\n';
i861drivers/scsi/ultrastor.cout[29 + i * 3] = 0;
i950drivers/scsi/ultrastor.cregister int i;
i978drivers/scsi/ultrastor.cfor (i = 0; i < ULTRASTOR_MAX_CMDS; i++)
i980drivers/scsi/ultrastor.cif (! (config.mscp_free & (1 << i)) &&
i981drivers/scsi/ultrastor.cconfig.mscp[i].done && config.mscp[i].SCint)
i983drivers/scsi/ultrastor.cconfig.mscp[i].SCint->result = DID_RESET << 16;
i984drivers/scsi/ultrastor.cconfig.mscp[i].done(config.mscp[i].SCint);
i985drivers/scsi/ultrastor.cconfig.mscp[i].done = 0;
i987drivers/scsi/ultrastor.cconfig.mscp[i].SCint = 0;
i494drivers/scsi/wd7000.cint i;
i511drivers/scsi/wd7000.cresult.i = 0;  /* clears unused bytes */
i515drivers/scsi/wd7000.creturn result.i;
i606drivers/scsi/wd7000.cint i;
i638drivers/scsi/wd7000.cfor (i = 0; i < needed; i++)  { p = scbfree;  scbfree = p->next; }
i666drivers/scsi/wd7000.cint i;
i674drivers/scsi/wd7000.cfor (i = 0;  i < MAX_SCBS-1;  i++)  {
i675drivers/scsi/wd7000.cscbs[i].next = &(scbs[i+1]);  scbs[i].SCpnt = NULL;
i689drivers/scsi/wd7000.cregister int i, ogmb;
i701drivers/scsi/wd7000.cfor (i = 0; i < OGMB_CNT; i++) {
i718drivers/scsi/wd7000.cif (i >= OGMB_CNT) {
i915drivers/scsi/wd7000.cunsigned i;
i929drivers/scsi/wd7000.cfor (i = 0;  i < SCpnt->use_sg;  i++)  {
i930drivers/scsi/wd7000.cany2scsi(sgb[i].ptr, (int) sg[i].address);
i931drivers/scsi/wd7000.cany2scsi(sgb[i].len, sg[i].length);
i1101drivers/scsi/wd7000.cint i,j, present = 0;
i1111drivers/scsi/wd7000.cfor (i = 0; i < NUM_CONFIGS; i++)  {
i183drivers/sound/ad1848.cint             i;
i189drivers/sound/ad1848.cfor (i = 6; i < 8; i++)
i191drivers/sound/ad1848.cprev = devc->saved_regs[i] = ad_read (devc, i);
i192drivers/sound/ad1848.cad_write (devc, i, prev | 0x80);
i199drivers/sound/ad1848.cint             i;
i204drivers/sound/ad1848.cfor (i = 6; i < 8; i++)
i206drivers/sound/ad1848.cad_write (devc, i, devc->saved_regs[i] & ~0x80);
i266drivers/sound/ad1848.cint             i, n;
i271drivers/sound/ad1848.cfor (i = 0; i < 32; i++)  /* Count selected device bits */
i272drivers/sound/ad1848.cif (mask & (1 << i))
i282drivers/sound/ad1848.cfor (i = 0; i < 32; i++)  /* Count selected device bits */
i283drivers/sound/ad1848.cif (mask & (1 << i))
i399drivers/sound/ad1848.cint             i;
i409drivers/sound/ad1848.cfor (i = 0; i < SOUND_MIXER_NRDEVICES; i++)
i410drivers/sound/ad1848.cad1848_mixer_set (devc, i, devc->levels[i] = default_mixer_levels[i]);
i644drivers/sound/ad1848.cint             i, n, selected = -1;
i653drivers/sound/ad1848.cfor (i = 1 /*really */ ; selected == -1 && i < n; i++)
i654drivers/sound/ad1848.cif (speed_table[i].speed == arg)
i655drivers/sound/ad1848.cselected = i;
i656drivers/sound/ad1848.celse if (speed_table[i].speed > arg)
i660drivers/sound/ad1848.cdiff1 = arg - speed_table[i - 1].speed;
i661drivers/sound/ad1848.cdiff2 = speed_table[i].speed - arg;
i664drivers/sound/ad1848.cselected = i - 1;
i666drivers/sound/ad1848.cselected = i;
i741drivers/sound/ad1848.cint             i, n = sizeof (format2bits) / sizeof (struct format_tbl);
i748drivers/sound/ad1848.cfor (i = 0; i < n; i++)
i749drivers/sound/ad1848.cif (format2bits[i].format == arg)
i751drivers/sound/ad1848.cif ((devc->format_bits = format2bits[i].bits) == 0)
i1050drivers/sound/ad1848.cint             i;
i1137drivers/sound/ad1848.cfor (i = 0; i < 16; i++)
i1138drivers/sound/ad1848.cif ((tmp1 = ad_read (devc, i)) != (tmp2 = ad_read (devc, i + 16)))
i1140drivers/sound/ad1848.cDDB (printk ("ad1848 detect error - step F(%d/%x/%x)\n", i, tmp1, tmp2));
i1224drivers/sound/ad1848.cint             i, my_dev;
i1247drivers/sound/ad1848.cfor (i = 0; i < 16; i++)
i1248drivers/sound/ad1848.cad_write (devc, i, init_values[i]);
i1256drivers/sound/ad1848.cfor (i = 16; i < 32; i++)
i1257drivers/sound/ad1848.cad_write (devc, i, init_values[i]);
i161drivers/sound/audio.cunsigned long   i;
i163drivers/sound/audio.cfor (i = 0; i < n; ++i)
i164drivers/sound/audio.cbuff[i] = table[buff[i]];
i283drivers/sound/configure.cint             i, num, def_size, full_driver = 1;
i327drivers/sound/configure.cfor (i = 0; i <= OPT_LAST; i++)
i328drivers/sound/configure.cif (can_select_option (i))
i330drivers/sound/configure.cif (!(selected_options & B (i)))  /*
i333drivers/sound/configure.cif (!hw_table[i].verify)
i335drivers/sound/configure.cif (hw_table[i].alias)
i336drivers/sound/configure.cselected_options |= B (hw_table[i].alias);
i338drivers/sound/configure.cselected_options |= B (i);
i342drivers/sound/configure.cint             def_answ = hw_table[i].default_answ;
i346drivers/sound/configure.cquestions[i]);
i348drivers/sound/configure.cif (hw_table[i].alias)
i349drivers/sound/configure.cselected_options |= B (hw_table[i].alias);
i351drivers/sound/configure.cselected_options |= B (i);
i546drivers/sound/configure.cfor (i = 0; i <= OPT_LAST; i++)
i547drivers/sound/configure.cif (!hw_table[i].alias)
i548drivers/sound/configure.cif (selected_options & B (i))
i549drivers/sound/configure.cprintf ("#undef  EXCLUDE_%s\n", hw_table[i].macro);
i551drivers/sound/configure.cprintf ("#define EXCLUDE_%s\n", hw_table[i].macro);
i1328drivers/sound/configure.cint             i = 0;
i1341drivers/sound/configure.cif (i != 0 && (i % 10) == 0)
i1344drivers/sound/configure.ci++;
i1347drivers/sound/configure.c"#define %sLen %d\n", varname, i);
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);
i57drivers/sound/dev_table.cfor (i = 0; i < (n - 1); i++)
i58drivers/sound/dev_table.cif (snd_installed_cards[i].enabled)
i59drivers/sound/dev_table.cif ((drv = snd_find_driver (snd_installed_cards[i].card_type)) == -1)
i60drivers/sound/dev_table.csnd_installed_cards[i].enabled = 0;  /*
i63drivers/sound/dev_table.celse if (sound_drivers[drv].probe (&snd_installed_cards[i].config))
i67drivers/sound/dev_table.csnd_installed_cards[i].card_type);
i70drivers/sound/dev_table.cmem_start = sound_drivers[drv].attach (mem_start, &snd_installed_cards[i].config);
i73drivers/sound/dev_table.csnd_installed_cards[i].config.io_base,
i74drivers/sound/dev_table.csnd_installed_cards[i].config.irq,
i75drivers/sound/dev_table.csnd_installed_cards[i].config.dma);
i79drivers/sound/dev_table.csnd_installed_cards[i].enabled = 0;  /*
i89drivers/sound/dev_table.cint             i, n = sizeof (snd_installed_cards) / sizeof (struct card_info);
i94drivers/sound/dev_table.cfor (i = 0; i < (n - 1); i++)
i95drivers/sound/dev_table.cif (snd_installed_cards[i].enabled)
i96drivers/sound/dev_table.cif (snd_installed_cards[i].card_type == unit)
i100drivers/sound/dev_table.csnd_installed_cards[i].config.io_base = hw_config->io_base;
i101drivers/sound/dev_table.csnd_installed_cards[i].config.irq = hw_config->irq;
i102drivers/sound/dev_table.csnd_installed_cards[i].config.dma = hw_config->dma;
i103drivers/sound/dev_table.cif ((drv = snd_find_driver (snd_installed_cards[i].card_type)) == -1)
i104drivers/sound/dev_table.csnd_installed_cards[i].enabled = 0;    /*
i110drivers/sound/dev_table.csnd_installed_cards[i].enabled = 0;  /*
i122drivers/sound/dev_table.cint             i, n = sizeof (snd_installed_cards) / sizeof (struct card_info);
i131drivers/sound/dev_table.cfor (i = 0; i < (n - 1); i++)
i132drivers/sound/dev_table.cif (snd_installed_cards[i].card_type == unit)
i136drivers/sound/dev_table.csnd_installed_cards[i].config.io_base = hw_config->io_base;
i137drivers/sound/dev_table.csnd_installed_cards[i].config.irq = hw_config->irq;
i138drivers/sound/dev_table.csnd_installed_cards[i].config.dma = hw_config->dma;
i140drivers/sound/dev_table.cif ((drv = snd_find_driver (snd_installed_cards[i].card_type)) == -1)
i141drivers/sound/dev_table.csnd_installed_cards[i].enabled = 0;  /*
i162drivers/sound/dev_table.cint             i, n = sizeof (snd_installed_cards) / sizeof (struct card_info);
i168drivers/sound/dev_table.cfor (i = 0; i < n; i++)
i169drivers/sound/dev_table.csnd_installed_cards[i].enabled = 0;
i177drivers/sound/dev_table.cfor (i = 1; i <= ints[0]; i++)
i182drivers/sound/dev_table.cval = (unsigned int) ints[i];
i222drivers/sound/dev_table.cint             i, n = sizeof (snd_installed_cards) / sizeof (struct card_info);
i59drivers/sound/dmabuf.cunsigned        i, p, n;
i124drivers/sound/dmabuf.cfor (i = 0; i < dmap->raw_count &&
i126drivers/sound/dmabuf.cn < MAX_SUB_BUFFERS; i++)
i134drivers/sound/dmabuf.cdmap->buf[n] = dmap->raw_buf[i] + p;
i135drivers/sound/dmabuf.cdmap->buf_phys[n] = dmap->raw_buf_phys[i] + p;
i144drivers/sound/dmabuf.cfor (i = 0; i < dmap->nbufs; i++)
i146drivers/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);
i182drivers/sound/gus_wave.cint             i;
i184drivers/sound/gus_wave.cfor (i = 0; i <= MAX_SAMPLE; i++)
i185drivers/sound/gus_wave.csample_ptrs[i] = -1;
i186drivers/sound/gus_wave.cfor (i = 0; i < 32; i++)
i187drivers/sound/gus_wave.csample_map[i] = -1;
i188drivers/sound/gus_wave.cfor (i = 0; i < 32; i++)
i189drivers/sound/gus_wave.cpatch_map[i] = -1;
i197drivers/sound/gus_wave.cfor (i = 0; i < MAX_PATCH; i++)
i198drivers/sound/gus_wave.cpatch_table[i] = -1;
i204drivers/sound/gus_wave.cint             i;
i206drivers/sound/gus_wave.cfor (i = 0; i < 7; i++)
i652drivers/sound/gus_wave.cint             i;
i659drivers/sound/gus_wave.cfor (i = 0; i < 32; i++)
i661drivers/sound/gus_wave.cgus_voice_init (i);  /* Turn voice off */
i662drivers/sound/gus_wave.cgus_voice_init2 (i);
i821drivers/sound/gus_wave.cunsigned long   i;
i841drivers/sound/gus_wave.cfor (i = 1L; i < 1024L; i++)
i848drivers/sound/gus_wave.cloc = i << 10;
i864drivers/sound/gus_wave.cgus_mem_size = i << 10;
i1283drivers/sound/gus_wave.cint             i;
i1285drivers/sound/gus_wave.cfor (i = 0; i < 6; i++)
i1287drivers/sound/gus_wave.cvoices[voice].env_rate[i] = samples[sample].env_rate[i];
i1288drivers/sound/gus_wave.cvoices[voice].env_offset[i] = samples[sample].env_offset[i];
i1461drivers/sound/gus_wave.cint             i;
i1463drivers/sound/gus_wave.cfor (i = 0; i < 32; i++)
i1465drivers/sound/gus_wave.cgus_voice_init (i);
i1466drivers/sound/gus_wave.cgus_voice_init2 (i);
i1661drivers/sound/gus_wave.clong            i;
i1664drivers/sound/gus_wave.cfor (i = 0; i < blk_size; i++)
i1666drivers/sound/gus_wave.cGET_BYTE_FROM_USER (data, addr, sizeof_patch + i);
i1669drivers/sound/gus_wave.cif (!(patch.mode & WAVE_16_BITS) || (i & 0x01))
i1671drivers/sound/gus_wave.cgus_poke (target + i, data);
i2354drivers/sound/gus_wave.cint             i;
i2371drivers/sound/gus_wave.cfor (i = 0; i < pcm_nblk; i++)
i2372drivers/sound/gus_wave.cpcm_datasize[i] = 0;
i2401drivers/sound/gus_wave.cint             i;
i2408drivers/sound/gus_wave.cfor (i = 0; i < len; i++)
i2421drivers/sound/gus_wave.cint             i;
i2429drivers/sound/gus_wave.cfor (i = 0; i < len; i++)
i2495drivers/sound/gus_wave.cint             i, n;
i2512drivers/sound/gus_wave.cfor (i = 0; i < MAX_PATCH; i++)
i2514drivers/sound/gus_wave.cint             ptr = patch_table[i];
i2516drivers/sound/gus_wave.crec->data.data8[i] = 0;
i2520drivers/sound/gus_wave.crec->data.data8[i]++;
i2678drivers/sound/gus_wave.cint             i, p, best = -1, best_time = 0x7fffffff;
i2685drivers/sound/gus_wave.cfor (i = 0; i < alloc->max_voice; i++)
i2704drivers/sound/gus_wave.cfor (i = 0; i < alloc->max_voice; i++)
i19drivers/sound/hex2hex.hint i,l, c;
i62drivers/sound/hex2hex.hfor (i=0;i<n;i++)
i86drivers/sound/hex2hex.hfor (i=0;i<l;i++)
i88drivers/sound/hex2hex.hif (i) fprintf(outf, ",");
i89drivers/sound/hex2hex.hif (i && !(i % 16)) fprintf(outf, "\n");
i90drivers/sound/hex2hex.hfprintf(outf, "0x%02x", buf[i]);
i234drivers/sound/ics2101.cint             i;
i247drivers/sound/ics2101.cfor (i = 0; i < ICS_MIXDEVS; i++)
i248drivers/sound/ics2101.cleft_fix[i] = 1;
i249drivers/sound/ics2101.cfor (i = 0; i < ICS_MIXDEVS; i++)
i250drivers/sound/ics2101.cright_fix[i] = 2;
i195drivers/sound/mad16.cint             i;
i211drivers/sound/mad16.cfor (i = 0xf8d; i <= 0xf93; i++)
i212drivers/sound/mad16.cif (INB (i) != 0xff)
i214drivers/sound/mad16.cDDB (printk ("port 0x%03x != 0xff (0x%02x)\n", i, INB (i)));
i240drivers/sound/mad16.cfor (i = 0xf8d; i <= 0xf93; i++)
i241drivers/sound/mad16.cDDB (printk ("port %03x = %03x\n", i, mad_read (i)));
i249drivers/sound/mad16.cfor (i = 0; i < 5; i++)
i251drivers/sound/mad16.cif (i > 3)    /* Not a valid port */
i257drivers/sound/mad16.cif (valid_ports[i] == hw_config->io_base)
i259drivers/sound/mad16.ctmp |= i << 4;  /* WSS port select bits */
i298drivers/sound/mad16.cfor (i = 0xf8d; i <= 0xf93; i++)
i299drivers/sound/mad16.cDDB (printk ("port %03x after init = %03x\n", i, mad_read (i)));
i340drivers/sound/mad16.cint             i;    /* A variable with secret power */
i361drivers/sound/mad16.cfor (i = 0; i < 5; i++)
i363drivers/sound/mad16.cif (i > 3)    /* Out of array bounds */
i369drivers/sound/mad16.cif (valid_ports[i] == hw_config->io_base)
i371drivers/sound/mad16.ctmp |= i << 5;
i380drivers/sound/mad16.cfor (i = 0; i < 5; i++)
i382drivers/sound/mad16.cif (i > 3)    /* Out of array bounds */
i388drivers/sound/mad16.cif (valid_irqs[i] == hw_config->irq)
i390drivers/sound/mad16.ctmp |= i << 3;
i466drivers/sound/midi_synth.cint             i;
i507drivers/sound/midi_synth.cfor (i = 0; i < left && !PROCESS_ABORTING (sysex_sleeper, sysex_sleep_flag); i++)
i511drivers/sound/midi_synth.cGET_BYTE_FROM_USER (data, addr, hdr_size + i);
i513drivers/sound/midi_synth.ceox_seen = (i > 0 && data & 0x80);  /* End of sysex */
i518drivers/sound/midi_synth.cif (i == 0)
i282drivers/sound/midibuf.cint             c, n, i;
i315drivers/sound/midibuf.cfor (i = 0; i < n; i++)
i595drivers/sound/mpu401.cint             i, timeout, ok;
i654drivers/sound/mpu401.cfor (i = 0; i < cmd->nr_args; i++)
i658drivers/sound/mpu401.cif (!mpu401_out (dev, cmd->data[i]))
i670drivers/sound/mpu401.cfor (i = 0; i < cmd->nr_returns; i++)
i676drivers/sound/mpu401.ccmd->data[i] = read_data (devc->base);
i110drivers/sound/opl3.cint             i;
i117drivers/sound/opl3.cfor (i = 0; i < 3; i++)
i118drivers/sound/opl3.cphysical_voices[i].voice_mode = 4;
i119drivers/sound/opl3.cfor (i = 3; i < 6; i++)
i120drivers/sound/opl3.cphysical_voices[i].voice_mode = 0;
i122drivers/sound/opl3.cfor (i = 9; i < 12; i++)
i123drivers/sound/opl3.cphysical_voices[i].voice_mode = 4;
i124drivers/sound/opl3.cfor (i = 12; i < 15; i++)
i125drivers/sound/opl3.cphysical_voices[i].voice_mode = 0;
i127drivers/sound/opl3.cfor (i = 0; i < 12; i++)
i128drivers/sound/opl3.clogical_voices[i] = voices_4op[i];
i194drivers/sound/opl3.cint             i;
i232drivers/sound/opl3.cfor (i = 0; i < 50; i++)
i291drivers/sound/opl3.cfor (i = 0; i < 9; i++)
i292drivers/sound/opl3.copl3_command (ioaddr, KEYON_BLOCK + i, 0);  /*
i797drivers/sound/opl3.cint             i;
i812drivers/sound/opl3.cfor (i = 0; i < 2; i++)
i827drivers/sound/opl3.cfor (i = 0; i < 2; i++)
i834drivers/sound/opl3.cint             i;
i836drivers/sound/opl3.cfor (i = 0; i < nr_voices; i++)
i838drivers/sound/opl3.copl3_command (physical_voices[logical_voices[i]].ioaddr,
i839drivers/sound/opl3.cKSL_LEVEL + physical_voices[logical_voices[i]].op[0], 0xff);
i841drivers/sound/opl3.copl3_command (physical_voices[logical_voices[i]].ioaddr,
i842drivers/sound/opl3.cKSL_LEVEL + physical_voices[logical_voices[i]].op[1], 0xff);
i844drivers/sound/opl3.cif (physical_voices[logical_voices[i]].voice_mode == 4)
i846drivers/sound/opl3.copl3_command (physical_voices[logical_voices[i]].ioaddr,
i847drivers/sound/opl3.cKSL_LEVEL + physical_voices[logical_voices[i]].op[2], 0xff);
i849drivers/sound/opl3.copl3_command (physical_voices[logical_voices[i]].ioaddr,
i850drivers/sound/opl3.cKSL_LEVEL + physical_voices[logical_voices[i]].op[3], 0xff);
i853drivers/sound/opl3.copl3_kill_note (dev, i, 0, 64);
i860drivers/sound/opl3.cfor (i = 0; i < 18; i++)
i861drivers/sound/opl3.clogical_voices[i] = i;
i863drivers/sound/opl3.cfor (i = 0; i < 18; i++)
i864drivers/sound/opl3.cphysical_voices[i].voice_mode = 2;
i873drivers/sound/opl3.cint             i;
i884drivers/sound/opl3.cfor (i = 0; i < 18; i++)
i886drivers/sound/opl3.cvoice_alloc->map[i] = 0;
i887drivers/sound/opl3.cvoice_alloc->alloc_times[i] = 0;
i1103drivers/sound/opl3.cint             i, p, best, first, avail_voices, best_time = 0x7fffffff;
i1141drivers/sound/opl3.cfor (i = 0; i < avail_voices; i++)
i1207drivers/sound/opl3.cint             i;
i1236drivers/sound/opl3.cfor (i = 0; i < 18; i++)
i1237drivers/sound/opl3.cif (physical_voices[i].ioaddr == USE_LEFT)
i1238drivers/sound/opl3.cphysical_voices[i].ioaddr = left_address;
i1240drivers/sound/opl3.cphysical_voices[i].ioaddr = right_address;
i1263drivers/sound/opl3.cfor (i = 0; i < 18; i++)
i1264drivers/sound/opl3.cphysical_voices[i].ioaddr = left_address;
i1268drivers/sound/opl3.cfor (i = 0; i < SBFM_MAXINSTR; i++)
i1269drivers/sound/opl3.cinstrmap[i].channel = -1;
i275drivers/sound/pas2_midi.cint             i, incount;
i290drivers/sound/pas2_midi.cfor (i = 0; i < incount; i++)
i137drivers/sound/pas2_mixer.cint             left, right, devmask, changed, i, mixer = 0;
i201drivers/sound/pas2_mixer.ci = 0;
i204drivers/sound/pas2_mixer.ci = (level / 20) - 1;
i210drivers/sound/pas2_mixer.cif (i)
i211drivers/sound/pas2_mixer.ci = (i + 1) * 20;
i212drivers/sound/pas2_mixer.creturn i;
i229drivers/sound/pas2_mixer.cfor (i = 0; i < SOUND_MIXER_NRDEVICES; i++)
i230drivers/sound/pas2_mixer.cif (changed & (1 << i))
i232drivers/sound/pas2_mixer.cpas_mixer_set (i, levels[i]);
i181drivers/sound/pss.cunsigned long   i, limit = GET_TIME () + 10;
i185drivers/sound/pss.cfor (i = 0; i < 32768 && GET_TIME () < limit; i++)
i196drivers/sound/pss.cint             i, val;
i198drivers/sound/pss.cfor (i = 0; i < 327680; i++)
i213drivers/sound/pss.cint             i, val;
i215drivers/sound/pss.cfor (i = 0; i < 327680; i++)
i231drivers/sound/pss.cint             i, limit, val, count;
i240drivers/sound/pss.cfor (i = 0; i < 32768 && GET_TIME () < limit; i++)
i284drivers/sound/pss.cfor (i = 0; i < 32768 && GET_TIME () < limit; i++)
i288drivers/sound/pss.cfor (i = 0; i < 32768 && GET_TIME () < limit; i++)
i296drivers/sound/pss.cfor (i = 0; i < 32000; i++)
i302drivers/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)
i123drivers/sound/sb_dsp.cint             i;
i138drivers/sound/sb_dsp.cfor (i = 0; i < 500000 && GET_TIME () < limit; i++)
i866drivers/sound/sb_dsp.cint             i;
i868drivers/sound/sb_dsp.cfor (i = 1000; i; i--)
i930drivers/sound/sb_dsp.cint             i;
i941drivers/sound/sb_dsp.cfor (i = 0; i < 300; i++)  /* Wait at least 1ms */
i976drivers/sound/sb_dsp.cfor (i = 0; i < 8192; i++)
i977drivers/sound/sb_dsp.csmw_putmem (mp_base, i, smw_ucode[i]);
i983drivers/sound/sb_dsp.cfor (i = 0; i < 8192; i++)
i984drivers/sound/sb_dsp.cif (smw_getmem (mp_base, i) != smw_ucode[i])
i1118drivers/sound/sb_dsp.cint             i;
i1126drivers/sound/sb_dsp.cfor (i = 1000; i; i--)
i226drivers/sound/sb_mixer.cint             i;
i232drivers/sound/sb_mixer.cfor (i = 0; i < sizeof (smw_mix_regs); i++)
i233drivers/sound/sb_mixer.cif (smw_mix_regs[i] != 0)
i234drivers/sound/sb_mixer.csupported_devices |= (1 << i);
i368drivers/sound/sb_mixer.cint             devmask, i;
i429drivers/sound/sb_mixer.cfor (i = 0; i < SOUND_MIXER_NRDEVICES; i++)
i430drivers/sound/sb_mixer.cif ((1 << i) & devmask)
i432drivers/sound/sb_mixer.cregimageL |= sb16_recmasks_L[i];
i433drivers/sound/sb_mixer.cregimageR |= sb16_recmasks_R[i];
i507drivers/sound/sb_mixer.cint             i;
i509drivers/sound/sb_mixer.cfor (i = 0; i < SOUND_MIXER_NRDEVICES; i++)
i510drivers/sound/sb_mixer.csb_mixer_set (i, levels[i]);
i458drivers/sound/sequencer.cint             i;
i462drivers/sound/sequencer.cfor (i = 0; i < synth_devs[dev]->alloc.max_voice; i++)
i463drivers/sound/sequencer.cif (synth_devs[dev]->alloc.map[i] == key)
i464drivers/sound/sequencer.creturn i;
i611drivers/sound/sequencer.cint             i, key;
i626drivers/sound/sequencer.cfor (i = 0; i < synth_devs[dev]->alloc.max_voice; i++)
i627drivers/sound/sequencer.cif ((synth_devs[dev]->alloc.map[i] & 0xff00) == key)
i628drivers/sound/sequencer.csynth_devs[dev]->controller (dev, i, p1, val);
i644drivers/sound/sequencer.cint             i, key;
i648drivers/sound/sequencer.cfor (i = 0; i < synth_devs[dev]->alloc.max_voice; i++)
i649drivers/sound/sequencer.cif ((synth_devs[dev]->alloc.map[i] & 0xff00) == key)
i650drivers/sound/sequencer.csynth_devs[dev]->bender (dev, i, w14);
i953drivers/sound/sequencer.cint             i;
i955drivers/sound/sequencer.cfor (i = 0; i < 128; i++)
i956drivers/sound/sequencer.ccontroller[i] = ctrl_def_values[i];
i994drivers/sound/sequencer.cint             retval, mode, i;
i1050drivers/sound/sequencer.cint             i, best;
i1053drivers/sound/sequencer.cfor (i = 0; i < num_sound_timers; i++)
i1054drivers/sound/sequencer.cif (sound_timer_devs[i]->priority > best)
i1056drivers/sound/sequencer.ctmr_no = i;
i1057drivers/sound/sequencer.cbest = sound_timer_devs[i]->priority;
i1088drivers/sound/sequencer.cfor (i = 0; i < max_mididev; i++)
i1090drivers/sound/sequencer.cmidi_opened[i] = 0;
i1091drivers/sound/sequencer.cmidi_written[i] = 0;
i1097drivers/sound/sequencer.cfor (i = 0; i < max_synthdev; i++)  /*
i1100drivers/sound/sequencer.cif ((tmp = synth_devs[i]->open (i, mode)) < 0)
i1102drivers/sound/sequencer.cprintk ("Sequencer: Warning! Cannot open synth device #%d (%d)\n", i, tmp);
i1103drivers/sound/sequencer.cif (synth_devs[i]->midi_dev)
i1104drivers/sound/sequencer.cprintk ("(Maps to MIDI dev #%d)\n", synth_devs[i]->midi_dev);
i1108drivers/sound/sequencer.csynth_open_mask |= (1 << i);
i1109drivers/sound/sequencer.cif (synth_devs[i]->midi_dev)  /*
i1112drivers/sound/sequencer.cmidi_opened[synth_devs[i]->midi_dev] = 1;
i1123drivers/sound/sequencer.cfor (i = 0; i < max_mididev; i++)
i1124drivers/sound/sequencer.cif (!midi_opened[i])
i1126drivers/sound/sequencer.cif ((retval = midi_devs[i]->open (i, mode,
i1128drivers/sound/sequencer.cmidi_opened[i] = 1;
i1142drivers/sound/sequencer.cfor (i = 0; i < num_synths; i++)
i1143drivers/sound/sequencer.cif (pmgr_present[i])
i1144drivers/sound/sequencer.cpmgr_inform (i, PM_E_OPENED, 0, 0, 0, 0);
i1152drivers/sound/sequencer.cint             i, n;
i1164drivers/sound/sequencer.cfor (i = 0; i < max_mididev; i++)
i1165drivers/sound/sequencer.cif (midi_opened[i] && midi_written[i])
i1166drivers/sound/sequencer.cif (midi_devs[i]->buffer_status != NULL)
i1167drivers/sound/sequencer.cif (midi_devs[i]->buffer_status (i))
i1183drivers/sound/sequencer.cint             i;
i1220drivers/sound/sequencer.cfor (i = 0; i < max_synthdev; i++)
i1221drivers/sound/sequencer.cif (synth_open_mask & (1 << i))  /*
i1224drivers/sound/sequencer.cif (synth_devs[i])
i1226drivers/sound/sequencer.csynth_devs[i]->close (i);
i1228drivers/sound/sequencer.cif (synth_devs[i]->midi_dev)
i1229drivers/sound/sequencer.cmidi_opened[synth_devs[i]->midi_dev] = 0;
i1232drivers/sound/sequencer.cfor (i = 0; i < num_synths; i++)
i1233drivers/sound/sequencer.cif (pmgr_present[i])
i1234drivers/sound/sequencer.cpmgr_inform (i, PM_E_CLOSED, 0, 0, 0, 0);
i1236drivers/sound/sequencer.cfor (i = 0; i < max_mididev; i++)
i1237drivers/sound/sequencer.cif (midi_opened[i])
i1238drivers/sound/sequencer.cmidi_devs[i]->close (i);
i1298drivers/sound/sequencer.cint             i;
i1310drivers/sound/sequencer.cfor (i = 0; i < max_synthdev; i++)
i1311drivers/sound/sequencer.cif (synth_open_mask & (1 << i))
i1312drivers/sound/sequencer.cif (synth_devs[i])
i1313drivers/sound/sequencer.csynth_devs[i]->reset (i);
i1319drivers/sound/sequencer.cfor (i = 0; i < max_synthdev; i++)
i1320drivers/sound/sequencer.cif (synth_open_mask & (1 << i))
i1321drivers/sound/sequencer.cif (synth_devs[i])
i1323drivers/sound/sequencer.csynth_devs[i]->controller (i, chn, 123, 0);  /* All notes off */
i1324drivers/sound/sequencer.csynth_devs[i]->controller (i, chn, 121, 0);  /* Reset all ctl */
i1325drivers/sound/sequencer.csynth_devs[i]->bender (i, chn, 1 << 13);  /* Bender off */
i1332drivers/sound/sequencer.cfor (i = 0; i < max_mididev; i++)
i1333drivers/sound/sequencer.cif (midi_written[i])  /*
i1342drivers/sound/sequencer.cmidi_outc (i, 0xfe);
i1346drivers/sound/sequencer.cmidi_outc (i,
i1348drivers/sound/sequencer.cmidi_outc (i, 0x7b);  /* All notes off */
i1349drivers/sound/sequencer.cmidi_outc (i, 0);  /* Dummy parameter */
i1352drivers/sound/sequencer.cmidi_devs[i]->close (i);
i1354drivers/sound/sequencer.cmidi_written[i] = 0;
i1355drivers/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)
i194drivers/sound/sound_switch.cfor (i = 0; i < num_audiodevs; i++)
i196drivers/sound/sound_switch.cif (!put_status_int (i, 10))
i200drivers/sound/sound_switch.cif (!put_status (audio_devs[i]->name))
i214drivers/sound/sound_switch.cfor (i = 0; i < num_synths; i++)
i216drivers/sound/sound_switch.cif (!put_status_int (i, 10))
i220drivers/sound/sound_switch.cif (!put_status (synth_devs[i]->info->name))
i234drivers/sound/sound_switch.cfor (i = 0; i < num_midis; i++)
i236drivers/sound/sound_switch.cif (!put_status_int (i, 10))
i240drivers/sound/sound_switch.cif (!put_status (midi_devs[i]->info.name))
i250drivers/sound/sound_switch.cfor (i = 0; i < num_sound_timers; i++)
i252drivers/sound/sound_switch.cif (!put_status_int (i, 10))
i256drivers/sound/sound_switch.cif (!put_status (sound_timer_devs[i]->info.name))
i265drivers/sound/sound_switch.cfor (i = 0; i < num_mixers; i++)
i267drivers/sound/sound_switch.cif (!put_status_int (i, 10))
i271drivers/sound/sound_switch.cif (!put_status (mixer_devs[i]->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++)
i272drivers/sound/soundcard.cint             i;
i274drivers/sound/soundcard.cfor (i = 0; i < 31; i++)
i275drivers/sound/soundcard.cif (irqs & (1ul << i))
i276drivers/sound/soundcard.csnd_release_irq (i);
i349drivers/sound/soundcard.cint             i;
i351drivers/sound/soundcard.cfor (i = 0; i < 16; i++)
i538drivers/sound/soundcard.cint             i;
i540drivers/sound/soundcard.cfor (i = 0; i < dma_last; i++)
i543drivers/sound/soundcard.cprintk ("sound: freeing 0x%lx\n", (long) dma_list[i]);
i544drivers/sound/soundcard.ckfree (dma_list[i]);
i547drivers/sound/soundcard.cint             dev, i;
i552drivers/sound/soundcard.cfor (i = 0; i < audio_devs[dev]->buffcount; i++)
i553drivers/sound/soundcard.cif (audio_devs[dev]->dmap->raw_buf[i])
i557drivers/sound/soundcard.c(long) (audio_devs[dev]->dmap->raw_buf[i]));
i558drivers/sound/soundcard.ckfree (audio_devs[dev]->dmap->raw_buf[i]);
i569drivers/sound/soundcard.cint             i, dev;
i616drivers/sound/soundcard.cfor (i = MAP_NR (start_addr); i <= MAP_NR (end_addr); i++)
i618drivers/sound/soundcard.cif (mem_map[i])
i621drivers/sound/soundcard.cmem_map[i] = MAP_PAGE_RESERVED;
i158drivers/sound/sscape.cint             i, timeout;
i166drivers/sound/sscape.cfor (i = 0; i < count; i++)
i178drivers/sound/sscape.cOUTB (data[i], PORT (HOST_DATA));
i382drivers/sound/sscape.cint             i;
i384drivers/sound/sscape.cfor (i = 0; i < 10; i++)
i564drivers/sound/sscape.cint             i;
i566drivers/sound/sscape.cfor (i = 0; i < 13; i++)
i567drivers/sound/sscape.cprintk ("I%d = %02x (new value)\n", i, sscape_read (devc, i));
i666drivers/sound/sscape.cint             i;
i668drivers/sound/sscape.cfor (i = 0; i < 13; i++)
i669drivers/sound/sscape.cprintk ("I%d = %02x\n", i, sscape_read (devc, i));
i850drivers/sound/sscape.cint             i, irq_bits = 0xff;
i863drivers/sound/sscape.cfor (i = 0; i < sizeof (valid_interrupts); i++)
i864drivers/sound/sscape.cif (hw_config->irq == valid_interrupts[i])
i866drivers/sound/sscape.cirq_bits = i;
i878drivers/sound/sscape.cfor (i = 1; i < 10; i++)
i879drivers/sound/sscape.cswitch (i)
i882drivers/sound/sscape.csscape_write (devc, i, 0xf0);  /* All interrupts enabled */
i887drivers/sound/sscape.csscape_write (devc, i, 0x20);  /* DMA channel disabled */
i891drivers/sound/sscape.csscape_write (devc, i, 0xf0 | (irq_bits << 2) | irq_bits);
i895drivers/sound/sscape.csscape_write (devc, i, (regs[i] & 0x3f) |
i896drivers/sound/sscape.c(sscape_read (devc, i) & 0xc0));
i903drivers/sound/sscape.csscape_write (devc, i,
i904drivers/sound/sscape.c(sscape_read (devc, i) & 0xf0) | 0x00);
i908drivers/sound/sscape.csscape_write (devc, i, regs[i]);
i919drivers/sound/sscape.cint             i;
i921drivers/sound/sscape.cfor (i = 0; i < 13; i++)
i922drivers/sound/sscape.cprintk ("I%d = %02x (new value)\n", i, sscape_read (devc, i));
i1014drivers/sound/sscape.cint             i;
i1016drivers/sound/sscape.cfor (i = 0; i < 13; i++)
i1017drivers/sound/sscape.cprintk ("I%d = %02x (old value)\n", i, sscape_read (devc, i));
i1043drivers/sound/sscape.cint             i, irq_bits = 0xff;
i1051drivers/sound/sscape.cfor (i = 0; i < sizeof (valid_interrupts); i++)
i1052drivers/sound/sscape.cif (hw_config->irq == valid_interrupts[i])
i1054drivers/sound/sscape.cirq_bits = i;
i1075drivers/sound/sscape.cint             i, irq_bits = 0xff;
i1096drivers/sound/sscape.cfor (i = 0; i < sizeof (valid_interrupts); i++)
i1097drivers/sound/sscape.cif (hw_config->irq == valid_interrupts[i])
i1099drivers/sound/sscape.cirq_bits = i;
i1124drivers/sound/sscape.cint             i;
i1126drivers/sound/sscape.cfor (i = 0; i < 13; i++)
i1127drivers/sound/sscape.cprintk ("I%d = %02x\n", i, sscape_read (devc, i));
i61drivers/sound/trix.cint             i = 0, n = sizeof (trix_boot);
i74drivers/sound/trix.cfor (i = 0; i < n; i++)
i75drivers/sound/trix.cOUTB (trix_boot[i], 0x391);
i76drivers/sound/trix.cfor (i = n; i < 10016; i++)  /* Clear up to first 16 bytes of data RAM */
i186fs/binfmt_elf.cint i, k;
i218fs/binfmt_elf.cfor(i=0; i<interp_elf_ex->e_phnum; i++, eppnt++)
i345fs/binfmt_elf.cint i;
i416fs/binfmt_elf.cfor(i=0;i < elf_ex.e_phnum; i++){
i537fs/binfmt_elf.cfor(i=0;i < elf_ex.e_phnum; i++){
i687fs/binfmt_elf.cint i,j, k;
i731fs/binfmt_elf.cfor(i=0; i<elf_ex.e_phnum; i++)
i732fs/binfmt_elf.cif((elf_phdata + i)->p_type == PT_LOAD) j++;
i843fs/binfmt_elf.cint i;
i850fs/binfmt_elf.cfor(i = 0; i < ELF_NGREG; i++)
i852fs/binfmt_elf.cunsigned long val = r[i];
i853fs/binfmt_elf.cprintk("   %-2d %-5s=%08lx %lu\n", i, regs[i], val, val);
i904fs/binfmt_elf.cint i;
i1049fs/binfmt_elf.cint i, len;
i1057fs/binfmt_elf.cfor(i = 0; i < len; i++)
i1058fs/binfmt_elf.cif (psinfo.pr_psargs[i] == 0)
i1059fs/binfmt_elf.cpsinfo.pr_psargs[i] = ' ';
i1090fs/binfmt_elf.cfor(i = 0; i < numnote; i++)
i1091fs/binfmt_elf.csz += notesize(&notes[i]);
i1110fs/binfmt_elf.cfor(vma = current->mm->mmap, i = 0;
i1111fs/binfmt_elf.ci < segs && vma != NULL; vma = vma->vm_next) {
i1117fs/binfmt_elf.ci++;
i1136fs/binfmt_elf.cfor(i = 0; i < numnote; i++)
i1137fs/binfmt_elf.cif (!writenote(&notes[i], &file))
i1144fs/binfmt_elf.cfor(i = 0, vma = current->mm->mmap;
i1145fs/binfmt_elf.ci < segs && vma != NULL;
i1152fs/binfmt_elf.ci++;
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 = nrbuf ; --i >= 0 ; ) {
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]);
i1169fs/buffer.cint i, j;
i1171fs/buffer.cfor (i=0, j=0; j<PAGE_SIZE ; i++, j+= size) {
i1172fs/buffer.cbh[i] = NULL;
i1173fs/buffer.cif (b[i])
i1174fs/buffer.cbh[i] = getblk(dev, b[i], size);
i1176fs/buffer.cfor (i=0, j=0; j<PAGE_SIZE ; i++, j += size, address += size) {
i1177fs/buffer.cif (bh[i]) {
i1178fs/buffer.cmemcpy(bh[i]->b_data, (void *) address, size);
i1179fs/buffer.cbh[i]->b_uptodate = 1;
i1180fs/buffer.cmark_buffer_dirty(bh[i], 0);
i1181fs/buffer.cbrelse(bh[i]);
i1366fs/buffer.cint i, isize, isize1;
i1379fs/buffer.cfor (i=0 ; !i || bh != free_list[isize]; bh = bh->b_next_free, i++) {
i1396fs/buffer.ci = 2*nr_buffers_type[nlist] >> priority;
i1397fs/buffer.cfor ( ; i-- > 0 ; bh = bh->b_next_free) {
i1530fs/buffer.cint i;
i1540fs/buffer.cfor (i=0 ; !i || bh != free_list[isize] ; bh = bh->b_next_free, i++) {
i1611fs/buffer.cint i, offset;
i1613fs/buffer.cfor (i = 0, offset = 0 ; offset < PAGE_SIZE ; i++, offset += size) {
i1614fs/buffer.cif(i && b[i]-1 != b[i-1]) return 0;  /* No need to cluster */
i1615fs/buffer.cif(find_buffer(dev, b[i], size)) return 0;
i1647fs/buffer.cint i;
i1665fs/buffer.cfor (i = 0 ; i < MAP_NR(high_memory) ; i++)
i1666fs/buffer.cbuffer_pages[i] = NULL;
i1668fs/buffer.cfor (i = 0 ; i < nr_hash ; i++)
i1669fs/buffer.chash_table[i] = NULL;
i1715fs/buffer.cint i, isize;
i1736fs/buffer.cfor (i = nr_buffers_type[nlist]; i-- > 0; bh = next) {
i1741fs/buffer.cprintk("Dirty list empty %d\n", i);
i1790fs/buffer.cint i, error;
i1804fs/buffer.ci = (func-2) >> 1;
i1805fs/buffer.cif (i < 0 || i >= N_PARAM)
i1811fs/buffer.cput_user(bdf_prm.data[i], (int*)data);
i1814fs/buffer.cif (data < bdflush_min[i] || data > bdflush_max[i])
i1816fs/buffer.cbdf_prm.data[i] = data;
i1842fs/buffer.cfor (i = nr_buffers_type[nlist]; i-- > 0 && ndirty < bdf_prm.b_un.ndirty; 
i1848fs/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);
i513fs/exec.cint i;
i520fs/exec.cfor (i=0; (ch = *(name++)) != '\0';) {
i522fs/exec.ci = 0;
i524fs/exec.cif (i < 15)
i525fs/exec.ccurrent->comm[i++] = ch;
i527fs/exec.ccurrent->comm[i] = '\0';
i538fs/exec.cfor (i=0 ; i<32 ; i++) {
i539fs/exec.ccurrent->sigaction[i].sa_mask = 0;
i540fs/exec.ccurrent->sigaction[i].sa_flags = 0;
i541fs/exec.cif (current->sigaction[i].sa_handler != SIG_IGN)
i542fs/exec.ccurrent->sigaction[i].sa_handler = NULL;
i544fs/exec.cfor (i=0 ; i<NR_OPEN ; i++)
i545fs/exec.cif (FD_ISSET(i,&current->files->close_on_exec))
i546fs/exec.csys_close(i);
i561fs/exec.cint i;
i566fs/exec.cfor (i=0 ; i<MAX_ARG_PAGES ; i++)  /* clear page-table */
i567fs/exec.cbprm.page[i] = 0;
i592fs/exec.ci = bprm.inode->i_mode;
i593fs/exec.cif (IS_NOSUID(bprm.inode) && (((i & S_ISUID) && bprm.inode->i_uid != current->
i594fs/exec.ceuid) || ((i & S_ISGID) && !in_group_p(bprm.inode->i_gid))) && !suser()) {
i603fs/exec.cbprm.e_uid = (i & S_ISUID) ? bprm.inode->i_uid : current->euid;
i604fs/exec.cbprm.e_gid = (i & S_ISGID) ? bprm.inode->i_gid : current->egid;
i722fs/exec.cfor (i=0 ; i<MAX_ARG_PAGES ; i++)
i723fs/exec.cfree_page(bprm.page[i]);
i68fs/ext/dir.cunsigned int i;
i85fs/ext/dir.cfor (i = 0; i < 1024 && i < offset; ) {
i86fs/ext/dir.cde = (struct ext_dir_entry *) (bh->b_data + i);
i89fs/ext/dir.ci += de->rec_len;
i91fs/ext/dir.coffset = i;
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,
i177fs/ext/inode.cint i;
i191fs/ext/inode.ci = inode_bmap(inode,9);
i192fs/ext/inode.cif (!i)
i194fs/ext/inode.creturn block_bmap(bread(inode->i_dev,i,BLOCK_SIZE),block);
i198fs/ext/inode.ci = inode_bmap(inode,10);
i199fs/ext/inode.cif (!i)
i201fs/ext/inode.ci = block_bmap(bread(inode->i_dev,i,BLOCK_SIZE),block>>8);
i202fs/ext/inode.cif (!i)
i204fs/ext/inode.creturn block_bmap(bread(inode->i_dev,i,BLOCK_SIZE),block & 255);
i207fs/ext/inode.ci = inode_bmap(inode,11);
i208fs/ext/inode.cif (!i)
i210fs/ext/inode.ci = block_bmap(bread(inode->i_dev,i,BLOCK_SIZE),block>>16);
i211fs/ext/inode.cif (!i)
i213fs/ext/inode.ci = block_bmap(bread(inode->i_dev,i,BLOCK_SIZE),(block>>8) & 255);
i214fs/ext/inode.cif (!i)
i216fs/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)
i98fs/ext2/balloc.cint i, j;
i122fs/ext2/balloc.cfor (i = 0; i < sb->u.ext2_sb.s_loaded_block_bitmaps &&
i123fs/ext2/balloc.csb->u.ext2_sb.s_block_bitmap_number[i] != block_group; i++)
i125fs/ext2/balloc.cif (i < sb->u.ext2_sb.s_loaded_block_bitmaps &&
i126fs/ext2/balloc.csb->u.ext2_sb.s_block_bitmap_number[i] == block_group) {
i127fs/ext2/balloc.cblock_bitmap_number = sb->u.ext2_sb.s_block_bitmap_number[i];
i128fs/ext2/balloc.cblock_bitmap = sb->u.ext2_sb.s_block_bitmap[i];
i129fs/ext2/balloc.cfor (j = i; j > 0; j--) {
i175fs/ext2/balloc.cunsigned long i;
i221fs/ext2/balloc.cfor (i = 0; i < count; i++) {
i222fs/ext2/balloc.cif (!clear_bit (bit + i, bh->b_data))
i259fs/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);
i351fs/ext2/balloc.cext2_debug ("Bit not found in block group %d.\n", i);
i358fs/ext2/balloc.ci++;
i359fs/ext2/balloc.cif (i >= sb->u.ext2_sb.s_groups_count)
i360fs/ext2/balloc.ci = 0;
i361fs/ext2/balloc.cgdp = get_group_desc (sb, i, &bh2);
i369fs/ext2/balloc.cbitmap_nr = load_block_bitmap (sb, i);
i380fs/ext2/balloc.c"Free blocks count corrupted for block group %d", i);
i395fs/ext2/balloc.cext2_debug ("using block group %d(%d)\n", i, gdp->bg_free_blocks_count);
i397fs/ext2/balloc.ctmp = j + i * EXT2_BLOCKS_PER_GROUP(sb) + es->s_first_data_block;
i446fs/ext2/balloc.c"block_group = %d, block=%d", i, j);
i479fs/ext2/balloc.cint i;
i486fs/ext2/balloc.cfor (i = 0; i < sb->u.ext2_sb.s_groups_count; i++) {
i487fs/ext2/balloc.cgdp = get_group_desc (sb, i, NULL);
i489fs/ext2/balloc.cbitmap_nr = load_block_bitmap (sb, i);
i493fs/ext2/balloc.ci, gdp->bg_free_blocks_count, x);
i521fs/ext2/balloc.cint i, j;
i530fs/ext2/balloc.cfor (i = 0; i < sb->u.ext2_sb.s_groups_count; i++) {
i531fs/ext2/balloc.cgdp = get_group_desc (sb, i, NULL);
i533fs/ext2/balloc.cbitmap_nr = load_block_bitmap (sb, i);
i538fs/ext2/balloc.c"Superblock in group %d is marked free", i);
i544fs/ext2/balloc.c"%d is marked free", j, i);
i549fs/ext2/balloc.ci);
i554fs/ext2/balloc.ci);
i560fs/ext2/balloc.c"group %d is marked free", j, i);
i566fs/ext2/balloc.c"stored = %d, counted = %lu", i,
i17fs/ext2/bitmap.cunsigned int i;
i22fs/ext2/bitmap.cfor (i = 0; i < numchars; i++)
i23fs/ext2/bitmap.csum += nibblemap[map->b_data[i] & 0xf] +
i24fs/ext2/bitmap.cnibblemap[(map->b_data[i] >> 4) & 0xf];
i103fs/ext2/dir.cint i, num, stored;
i132fs/ext2/dir.cfor (i = 16 >> (EXT2_BLOCK_SIZE_BITS(sb) - 9), num = 0;
i133fs/ext2/dir.ci > 0; i--) {
i142fs/ext2/dir.cfor (i = 0; i < num; i++)
i143fs/ext2/dir.cbrelse (bha[i]);
i153fs/ext2/dir.cfor (i = 0; i < sb->s_blocksize && i < offset; ) {
i155fs/ext2/dir.c(bh->b_data + i);
i164fs/ext2/dir.ci += de->rec_len;
i166fs/ext2/dir.coffset = i;
i243fs/ext2/file.cint i,buffercount,write_error;
i318fs/ext2/file.cfor(i=0; i<buffercount; i++){
i319fs/ext2/file.cwait_on_buffer(bufferlist[i]);
i320fs/ext2/file.cif (!bufferlist[i]->b_uptodate)
i322fs/ext2/file.cbrelse(bufferlist[i]);
i334fs/ext2/file.cfor(i=0; i<buffercount; i++){
i335fs/ext2/file.cwait_on_buffer(bufferlist[i]);
i336fs/ext2/file.cif (!bufferlist[i]->b_uptodate)
i338fs/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,
i97fs/ext2/ialloc.cint i, j;
i122fs/ext2/ialloc.cfor (i = 0; i < sb->u.ext2_sb.s_loaded_inode_bitmaps &&
i123fs/ext2/ialloc.csb->u.ext2_sb.s_inode_bitmap_number[i] != block_group;
i124fs/ext2/ialloc.ci++)
i126fs/ext2/ialloc.cif (i < sb->u.ext2_sb.s_loaded_inode_bitmaps &&
i127fs/ext2/ialloc.csb->u.ext2_sb.s_inode_bitmap_number[i] == block_group) {
i128fs/ext2/ialloc.cinode_bitmap_number = sb->u.ext2_sb.s_inode_bitmap_number[i];
i129fs/ext2/ialloc.cinode_bitmap = sb->u.ext2_sb.s_inode_bitmap[i];
i130fs/ext2/ialloc.cfor (j = i; j > 0; j--) {
i311fs/ext2/ialloc.cint i, j, avefreei;
i326fs/ext2/ialloc.cgdp = NULL; i=0;
i352fs/ext2/ialloc.ci = j;
i364fs/ext2/ialloc.ci = dir->u.ext2_i.i_block_group;
i365fs/ext2/ialloc.ctmp = get_group_desc (sb, i, &bh2);
i375fs/ext2/ialloc.ci += j;
i376fs/ext2/ialloc.cif (i >= sb->u.ext2_sb.s_groups_count)
i377fs/ext2/ialloc.ci -= sb->u.ext2_sb.s_groups_count;
i378fs/ext2/ialloc.ctmp = get_group_desc (sb, i, &bh2);
i389fs/ext2/ialloc.ci = dir->u.ext2_i.i_block_group + 1;
i391fs/ext2/ialloc.cif (++i >= sb->u.ext2_sb.s_groups_count)
i392fs/ext2/ialloc.ci = 0;
i393fs/ext2/ialloc.ctmp = get_group_desc (sb, i, &bh2);
i407fs/ext2/ialloc.cbitmap_nr = load_inode_bitmap (sb, i);
i426fs/ext2/ialloc.ci);
i433fs/ext2/ialloc.cj += i * EXT2_INODES_PER_GROUP(sb) + 1;
i437fs/ext2/ialloc.c"block_group = %d,inode=%d", i, j);
i477fs/ext2/ialloc.cinode->u.ext2_i.i_block_group = i;
i497fs/ext2/ialloc.cint i;
i504fs/ext2/ialloc.cfor (i = 0; i < sb->u.ext2_sb.s_groups_count; i++) {
i505fs/ext2/ialloc.cgdp = get_group_desc (sb, i, NULL);
i507fs/ext2/ialloc.cbitmap_nr = load_inode_bitmap (sb, i);
i511fs/ext2/ialloc.ci, gdp->bg_free_inodes_count, x);
i529fs/ext2/ialloc.cint i;
i536fs/ext2/ialloc.cfor (i = 0; i < sb->u.ext2_sb.s_groups_count; i++) {
i537fs/ext2/ialloc.cgdp = get_group_desc (sb, i, NULL);
i539fs/ext2/ialloc.cbitmap_nr = load_inode_bitmap (sb, i);
i545fs/ext2/ialloc.c"stored = %d, counted = %lu", i,
i66fs/ext2/inode.cint i = inode->u.ext2_i.i_prealloc_count;
i70fs/ext2/inode.ci);
i130fs/ext2/inode.cint i;
i148fs/ext2/inode.ci = inode_bmap (inode, EXT2_IND_BLOCK);
i149fs/ext2/inode.cif (!i)
i151fs/ext2/inode.creturn block_bmap (bread (inode->i_dev, i,
i156fs/ext2/inode.ci = inode_bmap (inode, EXT2_DIND_BLOCK);
i157fs/ext2/inode.cif (!i)
i159fs/ext2/inode.ci = block_bmap (bread (inode->i_dev, i,
i162fs/ext2/inode.cif (!i)
i164fs/ext2/inode.creturn block_bmap (bread (inode->i_dev, i,
i169fs/ext2/inode.ci = inode_bmap (inode, EXT2_TIND_BLOCK);
i170fs/ext2/inode.cif (!i)
i172fs/ext2/inode.ci = block_bmap (bread (inode->i_dev, i, inode->i_sb->s_blocksize),
i174fs/ext2/inode.cif (!i)
i176fs/ext2/inode.ci = block_bmap (bread (inode->i_dev, i, inode->i_sb->s_blocksize),
i178fs/ext2/inode.cif (!i)
i180fs/ext2/inode.creturn block_bmap (bread (inode->i_dev, i, inode->i_sb->s_blocksize),
i333fs/ext2/inode.cint i;
i343fs/ext2/inode.cfor(i=0; i< (PAGE_SIZE >> EXT2_BLOCK_SIZE_BITS(inode->i_sb)); i++) {
i344fs/ext2/inode.cp = (u32 *) bh->b_data + nr + i;
i350fs/ext2/inode.cif(i==0) firstblock = *p;
i351fs/ext2/inode.celse if(*p != firstblock + i) goto out;
i76fs/ext2/namei.cint block, toread, i, err;
i136fs/ext2/namei.cfor (i = 0; i < NAMEI_RA_SIZE; ++i) {
i137fs/ext2/namei.cif (bh_use[i] != bh)
i138fs/ext2/namei.cbrelse (bh_use[i]);
i160fs/ext2/namei.cfor (i = 0; i < NAMEI_RA_SIZE; ++i)
i161fs/ext2/namei.cbrelse (bh_use[i]);
i345fs/ext2/namei.cint i;
i347fs/ext2/namei.ci = 0;
i350fs/ext2/namei.cwhile (i < bh->b_size) {
i352fs/ext2/namei.cde, bh, i))
i360fs/ext2/namei.ci += de->rec_len;
i756fs/ext2/namei.cint i, err;
i788fs/ext2/namei.ci = 0;
i789fs/ext2/namei.cwhile (i < inode->i_sb->s_blocksize - 1 && (c = *(symname++)))
i790fs/ext2/namei.clink[i++] = c;
i791fs/ext2/namei.clink[i] = 0;
i796fs/ext2/namei.cinode->i_size = i;
i95fs/ext2/super.cint i;
i104fs/ext2/super.cfor (i = 0; i < db_count; i++)
i105fs/ext2/super.cif (sb->u.ext2_sb.s_group_desc[i])
i106fs/ext2/super.cbrelse (sb->u.ext2_sb.s_group_desc[i]);
i109fs/ext2/super.cfor (i = 0; i < EXT2_MAX_GROUP_LOADED; i++)
i110fs/ext2/super.cif (sb->u.ext2_sb.s_inode_bitmap[i])
i111fs/ext2/super.cbrelse (sb->u.ext2_sb.s_inode_bitmap[i]);
i112fs/ext2/super.cfor (i = 0; i < EXT2_MAX_GROUP_LOADED; i++)
i113fs/ext2/super.cif (sb->u.ext2_sb.s_block_bitmap[i])
i114fs/ext2/super.cbrelse (sb->u.ext2_sb.s_block_bitmap[i]);
i141fs/ext2/super.cint i;
i156fs/ext2/super.cfor (i = 0; i < groups_count; i++) {
i157fs/ext2/super.cgdp[i].bg_block_bitmap = old_group_desc[i].bg_block_bitmap;
i158fs/ext2/super.cgdp[i].bg_inode_bitmap = old_group_desc[i].bg_inode_bitmap;
i159fs/ext2/super.cgdp[i].bg_inode_table = old_group_desc[i].bg_inode_table;
i160fs/ext2/super.cgdp[i].bg_free_blocks_count = old_group_desc[i].bg_free_blocks_count;
i161fs/ext2/super.cgdp[i].bg_free_inodes_count = old_group_desc[i].bg_free_inodes_count;
i347fs/ext2/super.cint i;
i354fs/ext2/super.cfor (i = 0; i < sb->u.ext2_sb.s_groups_count; i++)
i356fs/ext2/super.cif ((i % EXT2_DESC_PER_BLOCK(sb)) == 0)
i364fs/ext2/super.ci, (unsigned long) gdp->bg_block_bitmap);
i373fs/ext2/super.ci, (unsigned long) gdp->bg_inode_bitmap);
i383fs/ext2/super.ci, (unsigned long) gdp->bg_inode_table);
i405fs/ext2/super.cint i, j;
i603fs/ext2/super.cfor (i = 0; i < db_count; i++) {
i604fs/ext2/super.csb->u.ext2_sb.s_group_desc[i] = bread (dev, logic_sb_block + i + 1,
i606fs/ext2/super.cif (!sb->u.ext2_sb.s_group_desc[i]) {
i609fs/ext2/super.cfor (j = 0; j < i; j++)
i629fs/ext2/super.cfor (i = 0; i < EXT2_MAX_GROUP_LOADED; i++) {
i630fs/ext2/super.csb->u.ext2_sb.s_inode_bitmap_number[i] = 0;
i631fs/ext2/super.csb->u.ext2_sb.s_inode_bitmap[i] = NULL;
i632fs/ext2/super.csb->u.ext2_sb.s_block_bitmap_number[i] = 0;
i633fs/ext2/super.csb->u.ext2_sb.s_block_bitmap[i] = NULL;
i646fs/ext2/super.cfor (i = 0; i < db_count; i++)
i647fs/ext2/super.cif (sb->u.ext2_sb.s_group_desc[i])
i648fs/ext2/super.cbrelse (sb->u.ext2_sb.s_group_desc[i]);
i657fs/ext2/super.cfor (i = 0; i < db_count; i++)
i658fs/ext2/super.cmark_buffer_dirty(sb->u.ext2_sb.s_group_desc[i], 1);
i100fs/ext2/symlink.cint i, err;
i119fs/ext2/symlink.ci = 0;
i120fs/ext2/symlink.cwhile (i < buflen && (c = link[i])) {
i121fs/ext2/symlink.ci++;
i127fs/ext2/symlink.creturn i;
i50fs/ext2/truncate.cint i, tmp;
i61fs/ext2/truncate.cfor (i = direct_block ; i < EXT2_NDIR_BLOCKS ; i++) {
i62fs/ext2/truncate.cp = inode->u.ext2_i.i_data + i;
i72fs/ext2/truncate.cif (i < direct_block) {
i108fs/ext2/truncate.cint i, tmp;
i133fs/ext2/truncate.cfor (i = indirect_block ; i < addr_per_block ; i++) {
i134fs/ext2/truncate.cif (i < 0)
i135fs/ext2/truncate.ci = 0;
i136fs/ext2/truncate.cif (i < indirect_block)
i138fs/ext2/truncate.cind = i + (u32 *) ind_bh->b_data;
i148fs/ext2/truncate.cif (i < indirect_block) {
i181fs/ext2/truncate.cfor (i = 0; i < addr_per_block; i++)
i184fs/ext2/truncate.cif (i >= addr_per_block)
i205fs/ext2/truncate.cint i, tmp;
i227fs/ext2/truncate.cfor (i = dindirect_block ; i < addr_per_block ; i++) {
i228fs/ext2/truncate.cif (i < 0)
i229fs/ext2/truncate.ci = 0;
i230fs/ext2/truncate.cif (i < dindirect_block)
i232fs/ext2/truncate.cdind = i + (u32 *) dind_bh->b_data;
i236fs/ext2/truncate.cretry |= trunc_indirect (inode, offset + (i * addr_per_block),
i241fs/ext2/truncate.cfor (i = 0; i < addr_per_block; i++)
i244fs/ext2/truncate.cif (i >= addr_per_block)
i264fs/ext2/truncate.cint i, tmp;
i288fs/ext2/truncate.cfor (i = tindirect_block ; i < addr_per_block ; i++) {
i289fs/ext2/truncate.cif (i < 0)
i290fs/ext2/truncate.ci = 0;
i291fs/ext2/truncate.cif (i < tindirect_block)
i293fs/ext2/truncate.ctind = i + (u32 *) tind_bh->b_data;
i295fs/ext2/truncate.caddr_per_block + (i + 1) * addr_per_block * addr_per_block,
i300fs/ext2/truncate.cfor (i = 0; i < addr_per_block; i++)
i303fs/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)
i842fs/hpfs/hpfs_fs.cunsigned i, count;
i850fs/hpfs/hpfs_fs.cfor (i = 0; i < 8 * 2048; i++)
i851fs/hpfs/hpfs_fs.ccount += (test_bit(i, bits) != 0);
i1034fs/hpfs/hpfs_fs.cint i;
i1044fs/hpfs/hpfs_fs.cfor (i = 0; i < b->n_used_nodes; i++) {
i1045fs/hpfs/hpfs_fs.cunsigned t = file_secno - n[i].file_secno;
i1046fs/hpfs/hpfs_fs.cif (t < n[i].length) {
i1047fs/hpfs/hpfs_fs.cinode->i_hpfs_file_sec = n[i].file_secno;
i1048fs/hpfs/hpfs_fs.cinode->i_hpfs_disk_sec = n[i].disk_secno;
i1049fs/hpfs/hpfs_fs.cinode->i_hpfs_n_secs = n[i].length;
i1050fs/hpfs/hpfs_fs.creturn n[i].disk_secno + t;
i1062fs/hpfs/hpfs_fs.cfor (i = 0; i < b->n_used_nodes; i++) {
i1063fs/hpfs/hpfs_fs.cif (file_secno < n[i].file_secno) {
i1065fs/hpfs/hpfs_fs.canode_secno ano = n[i].down;
i1546fs/hpfs/hpfs_fs.cint i;
i1553fs/hpfs/hpfs_fs.cfor (i = 1; de < de_end; i++, de = de_next_de(de)) {
i1554fs/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) {
i422fs/inode.cint i;
i429fs/inode.cfor (i = 0; i<nr_inodes; inode = inode->i_next, i++) {
i82fs/isofs/dir.cint i, c;
i84fs/isofs/dir.cfor (i = 0; i < len; i++) {
i85fs/isofs/dir.cc = old[i];
i92fs/isofs/dir.cif (c == '.' && i == len - 3 && old[i + 1] == ';' && old[i + 2] == '1')
i96fs/isofs/dir.cif (c == ';' && i == len - 2 && old[i + 1] == '1')
i103fs/isofs/dir.cnew[i] = c;
i105fs/isofs/dir.creturn i;
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++){
i162fs/isofs/inode.cint i;
i174fs/isofs/inode.ci=get_blkfops(MAJOR(dev))->ioctl(&inode_fake,
i180fs/isofs/inode.cprintk("isofs.inode: CDROMMULTISESSION: rc=%d\n",i);
i181fs/isofs/inode.cif (i==0)
i187fs/isofs/inode.cif ((i==0)&&(ms_info.xa_flag)) vol_desc_start=ms_info.addr.lba;
i233fs/isofs/inode.cint i = opt.blocksize;
i234fs/isofs/inode.cwhile (i != 1){
i236fs/isofs/inode.ci >>=1;
i430fs/isofs/inode.cint i;
i479fs/isofs/inode.cfor(i=0; i< raw_inode->name_len[0]; i++)
i480fs/isofs/inode.cif(raw_inode->name[i]=='.' || raw_inode->name[i]==';')
i482fs/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;
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]);
i257fs/minix/inode.cint i;
i271fs/minix/inode.ci = inode_bmap(inode,7);
i272fs/minix/inode.cif (!i)
i274fs/minix/inode.creturn block_bmap(bread(inode->i_dev,i,BLOCK_SIZE),block);
i277fs/minix/inode.ci = inode_bmap(inode,8);
i278fs/minix/inode.cif (!i)
i280fs/minix/inode.ci = block_bmap(bread(inode->i_dev,i,BLOCK_SIZE),block>>9);
i281fs/minix/inode.cif (!i)
i283fs/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;
i69fs/msdos/dir.cint ino,i,i2,last;
i96fs/msdos/dir.cfor (i = last = 0; i < 8; i++) {
i97fs/msdos/dir.cif (!(c = de->name[i])) break;
i100fs/msdos/dir.clast = i+1;
i101fs/msdos/dir.cptname[i] = c;
i103fs/msdos/dir.ci = last;
i104fs/msdos/dir.cptname[i] = '.';
i105fs/msdos/dir.ci++;
i110fs/msdos/dir.clast = i+1;
i111fs/msdos/dir.cptname[i] = c;
i112fs/msdos/dir.ci++;
i114fs/msdos/dir.cif ((i = last) != 0) {
i119fs/msdos/dir.cif (filldir(dirent, bufname, i, oldpos, ino) < 0) {
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) {
i99fs/nfs/dir.cint i, index = 0;
i110fs/nfs/dir.ci = sizeof (struct nfs_entry)*NFS_READDIR_CACHE_SIZE;
i111fs/nfs/dir.cc_entry = (struct nfs_entry *) kmalloc(i, GFP_KERNEL);
i112fs/nfs/dir.cfor (i = 0; i < NFS_READDIR_CACHE_SIZE; i++) {
i113fs/nfs/dir.cc_entry[i].name = (char *) kmalloc(NFS_MAXNAMLEN + 1,
i122fs/nfs/dir.cfor (i = 0; i < c_size; i++) {
i123fs/nfs/dir.cif (filp->f_pos == c_entry[i].cookie) {
i124fs/nfs/dir.cif (i == c_size - 1) {
i125fs/nfs/dir.cif (c_entry[i].eof)
i129fs/nfs/dir.centry = c_entry + (index = i + 1);
i199fs/nfs/dir.cint i;
i201fs/nfs/dir.cfor (i = 0; i < NFS_LOOKUP_CACHE_SIZE; i++) {
i202fs/nfs/dir.centry = nfs_lookup_cache + i;
i265fs/nfs/dir.cint i;
i277fs/nfs/dir.cfor (i = 0; i < NFS_LOOKUP_CACHE_SIZE; i++) {
i278fs/nfs/dir.centry = nfs_lookup_cache + i;
i290fs/nfs/dir.cint i;
i292fs/nfs/dir.cfor (i = 0; i < NFS_LOOKUP_CACHE_SIZE; i++) {
i293fs/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;
i378fs/pipe.cint i,j;
i394fs/pipe.cfor(i=0;j<2 && i<NR_OPEN && i<current->rlim[RLIMIT_NOFILE].rlim_cur;i++)
i395fs/pipe.cif (!current->files->fd[i]) {
i396fs/pipe.ccurrent->files->fd[ fd[j]=i ] = f[j];
i151fs/proc/array.cint i=prof_len;
i153fs/proc/array.cwhile (i--)
i154fs/proc/array.cprof_buffer[i]=0UL;
i187fs/proc/array.cint i, len;
i190fs/proc/array.cfor (i = 0 ; i < 16 ; i++)
i191fs/proc/array.csum += kstat.interrupts[i];
i211fs/proc/array.cfor (i = 0 ; i < 16 ; i++)
i212fs/proc/array.clen += sprintf(buffer + len, " %u", kstat.interrupts[i]);
i256fs/proc/array.cstruct sysinfo i;
i258fs/proc/array.csi_meminfo(&i);
i259fs/proc/array.csi_swapinfo(&i);
i263fs/proc/array.ci.totalram, i.totalram-i.freeram, i.freeram, i.sharedram, i.bufferram,
i264fs/proc/array.ci.totalswap, i.totalswap-i.freeswap, i.freeswap);
i402fs/proc/array.cint i,tty_pgrp;
i421fs/proc/array.cfor(i=0; i<32; ++i) {
i422fs/proc/array.cswitch((unsigned long) (*p)->sigaction[i].sa_handler) {
i613fs/proc/array.cint i;
i626fs/proc/array.cfor (map = (*p)->mm->mmap, i = 0; map && (i < lineno); map = map->vm_next, i++)
i667fs/proc/array.ci = len-column;
i668fs/proc/array.cif (i > count)
i669fs/proc/array.ci = count;
i670fs/proc/array.cmemcpy_tofs(destptr, line+column, i);
i671fs/proc/array.cdestptr += i; count -= i;
i672fs/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;
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)
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)
i126fs/proc/fd.cunsigned long i,j;
i157fs/proc/fd.ci = fd;
i160fs/proc/fd.cbuf[j] = '0' + (i % 10);
i161fs/proc/fd.ci /= 10;
i162fs/proc/fd.c} while (i);
i115fs/proc/inode.cint i;
i129fs/proc/inode.cfor (i = 0; i < NR_TASKS ; i++)
i130fs/proc/inode.cif ((p = task[i]) && (p->pid == pid))
i132fs/proc/inode.cif (!p || i >= NR_TASKS)
i137fs/proc/inode.cfor (i = 1 ; i < NR_TASKS ; i++)
i138fs/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_user(buf[i++],buffer++);
i195fs/proc/link.creturn i;
i35fs/proc/mem.cint i;
i42fs/proc/mem.cfor (i = 1 ; i < NR_TASKS ; i++)
i43fs/proc/mem.cif (task[i] && task[i]->pid == pid) {
i44fs/proc/mem.ctsk = task[i];
i74fs/proc/mem.ci = PAGE_SIZE-(addr & ~PAGE_MASK);
i75fs/proc/mem.cif (i > count)
i76fs/proc/mem.ci = count;
i77fs/proc/mem.cmemcpy_tofs(tmp, page, i);
i78fs/proc/mem.caddr += i;
i79fs/proc/mem.ctmp += i;
i80fs/proc/mem.ccount -= i;
i97fs/proc/mem.cint i;
i105fs/proc/mem.cfor (i = 1 ; i < NR_TASKS ; i++)
i106fs/proc/mem.cif (task[i] && task[i]->pid == pid) {
i107fs/proc/mem.ctsk = task[i];
i138fs/proc/mem.ci = PAGE_SIZE-(addr & ~PAGE_MASK);
i139fs/proc/mem.cif (i > count)
i140fs/proc/mem.ci = count;
i141fs/proc/mem.cmemcpy_fromfs(page, tmp, i);
i142fs/proc/mem.caddr += i;
i143fs/proc/mem.ctmp += i;
i144fs/proc/mem.ccount -= i;
i182fs/proc/mem.cint i;
i187fs/proc/mem.cfor (i = 1 ; i < NR_TASKS ; i++)
i188fs/proc/mem.cif (task[i] && task[i]->pid == (inode->i_ino >> 16)) {
i189fs/proc/mem.ctsk = task[i];
i92fs/proc/root.cint i, ino;
i101fs/proc/root.ci = NR_ROOT_DIRENTRY;
i102fs/proc/root.cwhile (i-- > 0 && !proc_match(len,name,root_dir+i))
i104fs/proc/root.cif (i >= 0) {
i105fs/proc/root.cino = root_dir[i].low_ino;
i128fs/proc/root.cfor (i = 0 ; i < NR_TASKS ; i++)
i129fs/proc/root.cif (task[i] && task[i]->pid == pid)
i131fs/proc/root.cif (!pid || i >= NR_TASKS) {
i152fs/proc/root.cunsigned long i,j;
i174fs/proc/root.ci = pid;
i177fs/proc/root.cbuf[j] = '0' + (i % 10);
i178fs/proc/root.ci /= 10;
i179fs/proc/root.c} while (i);
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);
i159fs/select.cint error, i;
i169fs/select.cfor (i = __FDSET_LONGS; i > 0; i--) {
i182fs/select.cint i;
i186fs/select.cfor (i = __FDSET_LONGS; i > 0; i--) {
i212fs/select.cint i;
i222fs/select.cif ((i = get_fd_set(n, inp, &in)) ||
i223fs/select.c(i = get_fd_set(n, outp, &out)) ||
i224fs/select.c(i = get_fd_set(n, exp, &ex))) return i;
i227fs/select.ci = verify_area(VERIFY_WRITE, tvp, sizeof(*tvp));
i228fs/select.cif (i)
i229fs/select.creturn i;
i236fs/select.ci = do_select(n, &in, &out, &ex, &res_in, &res_out, &res_ex);
i247fs/select.cif (i < 0)
i248fs/select.creturn i;
i249fs/select.cif (!i && (current->signal & ~current->blocked))
i254fs/select.creturn i;
i165fs/smbfs/dir.cint result, i = 0;
i180fs/smbfs/dir.ci = sizeof (struct smb_dirent) * SMB_READDIR_CACHE_SIZE;
i181fs/smbfs/dir.cc_entry = (struct smb_dirent *) smb_kmalloc(i, GFP_KERNEL);
i182fs/smbfs/dir.cfor (i = 0; i < SMB_READDIR_CACHE_SIZE; i++) {
i183fs/smbfs/dir.cc_entry[i].path =
i186fs/smbfs/dir.cif (c_entry[i].path == NULL) {
i197fs/smbfs/dir.cfor (i = 0; i < c_size; i++) {
i198fs/smbfs/dir.cif (filp->f_pos == c_entry[i].f_pos) {
i199fs/smbfs/dir.centry = &c_entry[i];
i200fs/smbfs/dir.cc_last_returned_index = i;
i225fs/smbfs/dir.cfor (i = 0; i < c_size; i++) {
i230fs/smbfs/dir.cstr_upper(c_entry[i].path); break;
i232fs/smbfs/dir.cstr_lower(c_entry[i].path); break;
i253fs/smbfs/dir.ci = strlen(entry->path);
i254fs/smbfs/dir.cif ((result = get_pname_static(inode, entry->path, i,
i318fs/smbfs/dir.cint i;
i325fs/smbfs/dir.cfor (i = 0; i < SMB_READDIR_CACHE_SIZE; i++) {
i326fs/smbfs/dir.csmb_kfree_s(c_entry[i].path, NAME_MAX + 1);
i533fs/smbfs/dir.csmb_free_inode_info(struct smb_inode_info *i)
i535fs/smbfs/dir.cif (i == NULL) {
i540fs/smbfs/dir.ci->state = INODE_CACHED;
i541fs/smbfs/dir.cwhile ((i->nused == 0) && (i->state == INODE_CACHED)) {
i542fs/smbfs/dir.cstruct smb_inode_info *dir = i->dir;
i544fs/smbfs/dir.ci->next->prev = i->prev;
i545fs/smbfs/dir.ci->prev->next = i->next;
i547fs/smbfs/dir.csmb_kfree_s(i->finfo.path, i->finfo.len+1);
i548fs/smbfs/dir.csmb_kfree_s(i, sizeof(struct smb_inode_info));
i553fs/smbfs/dir.ci = dir;
i720fs/smbfs/dir.cint i;
i726fs/smbfs/dir.ci = first;
i729fs/smbfs/dir.ci, c_entry[i].path);
i730fs/smbfs/dir.cif (strcmp(c_entry[i].path, __name) == 0) {
i732fs/smbfs/dir.cfinfo = c_entry[i];
i737fs/smbfs/dir.ci = (i + 1) % c_size;
i739fs/smbfs/dir.c} while (i != first);
i33fs/smbfs/file.csmb_make_open(struct inode *i, int right)
i38fs/smbfs/file.cif (i == NULL) {
i43fs/smbfs/file.cdirent = &(SMB_INOP(i)->finfo);
i49fs/smbfs/file.copen_result = smb_proc_open(SMB_SERVER(i),
i40fs/smbfs/mmap.cint i;
i60fs/smbfs/mmap.cfor (i = 0; i < (PAGE_SIZE - clear); i += n) {
i63fs/smbfs/mmap.chunk = PAGE_SIZE - i;
i71fs/smbfs/mmap.c(char *) (page + i), 0);
i77fs/smbfs/mmap.ci += result;
i362fs/smbfs/proc.cint i, j, len;
i382fs/smbfs/proc.cfor (i = 0; i < len; i += 10) {
i383fs/smbfs/proc.cprintk("%03d:", i);
i384fs/smbfs/proc.cfor (j = i; j < i+10; j++)
i390fs/smbfs/proc.cfor (j = i; j < i+10; j++)
i876fs/smbfs/proc.cint i;
i960fs/smbfs/proc.cfor (i = 0; i < count; i ++) {
i966fs/smbfs/proc.ctotal_count, i, fpos);
i1082fs/smbfs/proc.cint i;
i1246fs/smbfs/proc.cfor (i = 0; i < ff_searchcount; i ++) {
i1253fs/smbfs/proc.ctotal_count, i, fpos);
i1539fs/smbfs/proc.cint i, plength;
i1608fs/smbfs/proc.cfor (i = 0; prots[i].name != NULL; i++) {
i1609fs/smbfs/proc.cplength += strlen(prots[i].name) + 2;
i1616fs/smbfs/proc.cfor (i = 0; prots[i].name != NULL; i++) {
i1617fs/smbfs/proc.cp = smb_encode_dialect(p,prots[i].name, strlen(prots[i].name));
i1631fs/smbfs/proc.cp = smb_decode_word(p, (word *)&i);
i1632fs/smbfs/proc.cserver->protocol = prots[i].prot;
i1635fs/smbfs/proc.cprots[i].name);
i1874fs/smbfs/proc.cint i,j;
i1877fs/smbfs/proc.cfor (i=0; err_classes[i].class; i++) {
i1878fs/smbfs/proc.cif (err_classes[i].code != class)
i1880fs/smbfs/proc.cif (!err_classes[i].err_msgs) {
i1881fs/smbfs/proc.cprintk("%s - %d", err_classes[i].class, num);
i1885fs/smbfs/proc.cerr = err_classes[i].err_msgs;
i1890fs/smbfs/proc.cerr_classes[i].class, err[j].name,
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)
i72fs/sysv/dir.cunsigned int offset,i;
i101fs/sysv/dir.ci = strnlen(sde.name, SYSV_NAMELEN);
i102fs/sysv/dir.cif (filldir(dirent, sde.name, i, filp->f_pos, sde.inode) < 0) {
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;
i585fs/sysv/inode.cint i;
i593fs/sysv/inode.ci = inode_bmap(sb,inode,10);
i594fs/sysv/inode.cif (!i)
i596fs/sysv/inode.cbh = bread(inode->i_dev,i,sb->sv_block_size);
i601fs/sysv/inode.ci = inode_bmap(sb,inode,11);
i602fs/sysv/inode.cif (!i)
i604fs/sysv/inode.cbh = bread(inode->i_dev,i,sb->sv_block_size);
i605fs/sysv/inode.ci = block_bmap(sb, bh, block >> sb->sv_ind_per_block_bits, convert);
i606fs/sysv/inode.cif (!i)
i608fs/sysv/inode.cbh = bread(inode->i_dev,i,sb->sv_block_size);
i613fs/sysv/inode.ci = inode_bmap(sb,inode,12);
i614fs/sysv/inode.cif (!i)
i616fs/sysv/inode.cbh = bread(inode->i_dev,i,sb->sv_block_size);
i617fs/sysv/inode.ci = block_bmap(sb, bh, block >> sb->sv_ind_per_block_2_bits, convert);
i618fs/sysv/inode.cif (!i)
i620fs/sysv/inode.cbh = bread(inode->i_dev,i,sb->sv_block_size);
i621fs/sysv/inode.ci = block_bmap(sb, bh, (block >> sb->sv_ind_per_block_bits) & sb->sv_ind_per_block_1,convert);
i622fs/sysv/inode.cif (!i)
i624fs/sysv/inode.cbh = bread(inode->i_dev,i,sb->sv_block_size);
i986fs/sysv/inode.cint i;
i988fs/sysv/inode.cfor (i = 0; i < 3; i++)
i989fs/sysv/inode.cregister_filesystem(&sysv_fs_type[i]);
i996fs/sysv/inode.cint i;
i998fs/sysv/inode.cfor (i = 0; i < 3; i++)
i999fs/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;
i72fs/xiafs/dir.cu_int offset, i;
i87fs/xiafs/dir.cfor (i = 0; i < XIAFS_ZSIZE(inode->i_sb) && i < offset; ) {
i88fs/xiafs/dir.cde = (struct xiafs_direct *) (bh->b_data + i);
i91fs/xiafs/dir.ci += de->d_rec_len;
i93fs/xiafs/dir.coffset = i;
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]);
i202fs/xiafs/inode.cint i;
i220fs/xiafs/inode.ci = inode->u.xiafs_i.i_ind_zone;
i221fs/xiafs/inode.cif (i)
i222fs/xiafs/inode.ci = zone_bmap(bread(inode->i_dev, i, XIAFS_ZSIZE(inode->i_sb)), zone);
i223fs/xiafs/inode.creturn i;
i226fs/xiafs/inode.ci = inode->u.xiafs_i.i_dind_zone;
i227fs/xiafs/inode.cif (i)
i228fs/xiafs/inode.ci = zone_bmap(bread(inode->i_dev, i, XIAFS_ZSIZE(inode->i_sb)), 
i230fs/xiafs/inode.cif (i)
i231fs/xiafs/inode.ci= zone_bmap(bread(inode->i_dev,i, XIAFS_ZSIZE(inode->i_sb)),
i233fs/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)) {
i134include/asm-alpha/types.hint i;
i147include/asm-alpha/types.hi = __FDSET_LONGS;
i148include/asm-alpha/types.hwhile (i) {
i149include/asm-alpha/types.hi--;
i116include/asm-alpha/unistd.hint i;
i120include/asm-alpha/unistd.hi = do_execve(file, argvp, envp, &regs);
i121include/asm-alpha/unistd.hif (!i) {
i102include/asm-i386/io.h#define __IN(s,s1,i...) \
i103include/asm-i386/io.h__IN1(s) __IN2(s,s1,"w") : "=a" (_v) : "d" (port) ,##i ); return _v; } \
i104include/asm-i386/io.h__IN1(s##c) __IN2(s,s1,"") : "=a" (_v) : "i" (port) ,##i ); return _v; } \
i105include/asm-i386/io.h__IN1(s##_p) __IN2(s,s1,"w") : "=a" (_v) : "d" (port) ,##i ); SLOW_DOWN_IO; return _v; } \
i106include/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) \
i110include/asm-sparc/pgtable.hint i;
i112include/asm-sparc/pgtable.hfor(i=0; i<num_contexts; i++)
i113include/asm-sparc/pgtable.hif(ctx_tasks[i] == NULL) break;
i115include/asm-sparc/pgtable.hif(i<num_contexts) {
i116include/asm-sparc/pgtable.hp->tss.context = i;
i117include/asm-sparc/pgtable.hctx_tasks[i] = p;
i118include/asm-sparc/pgtable.hreturn i;
i295include/asm-sparc/pgtable.hint oldseg, i;
i297include/asm-sparc/pgtable.hfor(i=0; i<PSEG_ENTRIES; i++)
i298include/asm-sparc/pgtable.hif(phys_seg_map[i]==PSEG_AVL) return i;
i302include/asm-sparc/pgtable.hfor(i=0; i<PSEG_ENTRIES; i++) {
i304include/asm-sparc/pgtable.hif(phys_seg_map[i]!=PSEG_USED) continue;
i306include/asm-sparc/pgtable.holdseg = (phys_seg_life[i]>oldseg) ? phys_seg_life[i] : oldseg;
i315include/asm-sparc/pgtable.hint i;
i317include/asm-sparc/pgtable.hfor(i=0; i<pseg_skip; i++) phys_seg_life[i]++;
i318include/asm-sparc/pgtable.hi++;
i319include/asm-sparc/pgtable.hwhile(i<PSEG_ENTRIES) phys_seg_life[i++]++;
i189include/asm-sparc/unistd.hlong retval, i;
i193include/asm-sparc/unistd.hfor (i = 0; i < 1000000000; i++);
i43include/linux/msdos_fs.h#define MSDOS_I(i) (&((i)->u.msdos_i))
i101include/linux/smb_fs.hint smb_make_open(struct inode *i, int right);
i105include/linux/smb_fs.hvoid smb_free_inode_info(struct smb_inode_info *i);
i136init/main.cint i=1;
i138init/main.cwhile (cur && isdigit(*cur) && i <= 10) {
i139init/main.cints[i++] = simple_strtoul(cur,NULL,0);
i143init/main.cints[0] = i-1;
i253init/main.cint i = 0;
i256init/main.cwhile (bootsetups[i].str) {
i257init/main.cint n = strlen(bootsetups[i].str);
i258init/main.cif (!strncmp(line,bootsetups[i].str,n)) {
i259init/main.cbootsetups[i].setup_func(get_options(line+n,ints), ints);
i262init/main.ci++;
i445init/main.cint i;
i448init/main.cwrite(1,printbuf,i=vsprintf(printbuf, fmt, args));
i450init/main.creturn i;
i455init/main.cint pid,i;
i491init/main.cwhile (pid != wait(&i))
i507init/main.cif (pid == wait(&i))
i509init/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];
i77ipc/shm.cint id, i;
i108ipc/shm.cfor (i = 0; i < numpages; shp->shm_pages[i++] = 0);
i165ipc/shm.cint i, numpages;
i183ipc/shm.cfor (i = 0; i < numpages ; i++) {
i185ipc/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) {
i95kernel/exit.ctask[i] = NULL;
i113kernel/exit.cint   i;
i117kernel/exit.cfor (i=0 ; i<NR_TASKS ; i++)
i118kernel/exit.cif (task[i] == p)
i134kernel/exit.cint  i;
i136kernel/exit.cfor (i=1 ; i<NR_TASKS ; i++) {
i137kernel/exit.cif (!task[i])
i139kernel/exit.cif (bad_task_ptr(task[i]->p_pptr))
i141kernel/exit.ctask[i]->pid);
i142kernel/exit.cif (bad_task_ptr(task[i]->p_cptr))
i144kernel/exit.ctask[i]->pid);
i145kernel/exit.cif (bad_task_ptr(task[i]->p_ysptr))
i147kernel/exit.ctask[i]->pid);
i148kernel/exit.cif (bad_task_ptr(task[i]->p_osptr))
i150kernel/exit.ctask[i]->pid);
i151kernel/exit.cif (task[i]->p_pptr == task[i])
i153kernel/exit.ctask[i]->pid);
i154kernel/exit.cif (task[i]->p_cptr == task[i])
i156kernel/exit.ctask[i]->pid);
i157kernel/exit.cif (task[i]->p_ysptr == task[i])
i159kernel/exit.ctask[i]->pid);
i160kernel/exit.cif (task[i]->p_osptr == task[i])
i162kernel/exit.ctask[i]->pid);
i163kernel/exit.cif (task[i]->p_osptr) {
i164kernel/exit.cif (task[i]->p_pptr != task[i]->p_osptr->p_pptr)
i167kernel/exit.ctask[i]->pid, task[i]->p_osptr->pid,
i168kernel/exit.ctask[i]->p_osptr->p_pptr->pid);
i169kernel/exit.cif (task[i]->p_osptr->p_ysptr != task[i])
i172kernel/exit.ctask[i]->pid, task[i]->p_osptr->pid);
i174kernel/exit.cif (task[i]->p_ysptr) {
i175kernel/exit.cif (task[i]->p_pptr != task[i]->p_ysptr->p_pptr)
i178kernel/exit.ctask[i]->pid, task[i]->p_osptr->pid,
i179kernel/exit.ctask[i]->p_osptr->p_pptr->pid);
i180kernel/exit.cif (task[i]->p_ysptr->p_osptr != task[i])
i183kernel/exit.ctask[i]->pid, task[i]->p_ysptr->pid);
i185kernel/exit.cif (task[i]->p_cptr) {
i186kernel/exit.cif (task[i]->p_cptr->p_pptr != task[i])
i189kernel/exit.ctask[i]->pid, task[i]->p_cptr->pid);
i190kernel/exit.cif (task[i]->p_cptr->p_ysptr)
i193kernel/exit.ctask[i]->pid, task[i]->p_cptr->pid);
i360kernel/exit.cint i;
i362kernel/exit.cfor (i=0 ; i<NR_OPEN ; i++)
i363kernel/exit.cif (current->files->fd[i])
i364kernel/exit.csys_close(i);
i34kernel/fork.cint i, tasks_free;
i43kernel/fork.ci = NR_TASKS;
i44kernel/fork.cwhile (--i > 0) {
i45kernel/fork.cif (!task[i]) {
i46kernel/fork.cfree_task = i;
i50kernel/fork.cif (task[i]->uid == current->uid)
i52kernel/fork.cif (task[i]->pid == last_pid || task[i]->pgrp == last_pid ||
i53kernel/fork.ctask[i]->session == last_pid)
i121kernel/fork.cint i;
i125kernel/fork.cfor (i=0; i<NR_OPEN;i++)
i126kernel/fork.cif ((f = p->files->fd[i]) != NULL)
i127kernel/fork.cp->files->fd[i] = copy_fd(f);
i129kernel/fork.cfor (i=0; i<NR_OPEN;i++)
i130kernel/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) {
i234kernel/module.cint i;
i264kernel/module.cfor (sym = &(newtab->symbol[0]), i = 0;
i265kernel/module.ci < newtab->n_symbols; ++sym, ++i) {
i284kernel/module.cfor (ref = (struct module_ref *)sym, i = 0;
i285kernel/module.ci < newtab->n_refs; ++ref, ++i) {
i368kernel/module.cint i;
i384kernel/module.cif ((i = verify_area(VERIFY_WRITE, to, nmodsyms * sizeof(*table))))
i385kernel/module.creturn i;
i397kernel/module.cfor (i = mp->symtab->n_symbols,
i399kernel/module.ci > 0; --i, ++from, ++to) {
i420kernel/module.cint i;
i422kernel/module.ci = 0;
i423kernel/module.cfor (i = 0 ; (buf[i] = get_user(user_name + i)) != '\0' ; ) {
i424kernel/module.cif (++i >= MOD_MAX_NAME)
i516kernel/module.cint i;
i527kernel/module.ci = 20;
i530kernel/module.ci--;
i533kernel/module.ci -= strlen(size);
i534kernel/module.cif (i <= 0)
i535kernel/module.ci = 1;
i536kernel/module.cwhile (--i >= 0)
i577kernel/module.cint i;
i583kernel/module.cfor (i = mp->symtab->n_symbols,
i585kernel/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");
i776kernel/sched.cint i;
i787kernel/sched.cfor (i=0 ; i<NR_TASKS ; i++)
i788kernel/sched.cif (task[i])
i789kernel/sched.cshow_task(i,task[i]);
i546kernel/sys.cint i;
i550kernel/sys.ci = verify_area(VERIFY_WRITE, grouplist, sizeof(gid_t) * gidsetsize);
i551kernel/sys.cif (i)
i552kernel/sys.creturn i;
i555kernel/sys.cfor (i = 0 ; (i < NGROUPS) && (*groups != NOGROUP) ; i++, groups++) {
i558kernel/sys.cif (i >= gidsetsize)
i563kernel/sys.creturn(i);
i568kernel/sys.cint  i;
i574kernel/sys.ci = verify_area(VERIFY_READ, grouplist, sizeof(gid_t) * gidsetsize);
i575kernel/sys.cif (i)
i576kernel/sys.creturn i;
i577kernel/sys.cfor (i = 0; i < gidsetsize; i++, grouplist++) {
i578kernel/sys.ccurrent->groups[i] = get_user(grouplist);
i580kernel/sys.cif (i < NGROUPS)
i581kernel/sys.ccurrent->groups[i] = NOGROUP;
i587kernel/sys.cint  i;
i592kernel/sys.cfor (i = 0; i < NGROUPS; i++) {
i593kernel/sys.cif (current->groups[i] == NOGROUP)
i595kernel/sys.cif (current->groups[i] == grp)
i673kernel/sys.cint i;
i677kernel/sys.ci = verify_area(VERIFY_WRITE, name, len);
i678kernel/sys.cif (i)
i679kernel/sys.creturn i;
i680kernel/sys.ci = 1+strlen(system_utsname.nodename);
i681kernel/sys.cif (i > len)
i682kernel/sys.ci = len;
i683kernel/sys.cmemcpy_tofs(name, system_utsname.nodename, i);
i75kernel/time.cint i;
i83kernel/time.cfor (i = 0 ; i < 1000000 ; i++)  /* may take up to 1 second... */
i86kernel/time.cfor (i = 0 ; i < 1000000 ; i++)  /* must try at least 2.228 ms */
i127kernel/time.cint i, error;
i129kernel/time.ci = CURRENT_TIME;
i134kernel/time.cput_user(i,tloc);
i136kernel/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;
i33mm/filemap.cint i = PAGE_SIZE >> shift;
i37mm/filemap.ci--;
i40mm/filemap.c} while (i > 0);
i185mm/kmalloc.cint order,tries,i,sz;
i275mm/kmalloc.cfor (i=NBLOCKS(order),p=BH (page+1);i > 1;i--,p=p->bh_next) 
i152mm/memory.cint i;
i171mm/memory.cfor (i = USER_PTRS_PER_PGD ; i < PTRS_PER_PGD ; i++)
i172mm/memory.cnew_pg[i] = page_dir[i];
i177mm/memory.cfor (i = 0 ; i < USER_PTRS_PER_PGD ; i++)
i178mm/memory.cfree_one_pgd(page_dir + i);
i188mm/memory.cint i;
i207mm/memory.cfor (i = 0 ; i < PTRS_PER_PGD ; i++)
i208mm/memory.cfree_one_pgd(page_dir + i);
i320mm/memory.cint i;
i329mm/memory.cfor (i = 0 ; i < PTRS_PER_PGD ; i++) {
i144mm/swap.cint i;
i162mm/swap.cfor (i=0, j=0; j< PAGE_SIZE ; i++, j += 512){
i163mm/swap.cif (!(zones[i] = swapf->i_op->smap(swapf,block++))) {
i173mm/swap.cfor (i=0, j=0; j< PAGE_SIZE ; i++, j +=swapf->i_sb->s_blocksize)
i174mm/swap.cif (!(zones[i] = bmap(swapf,block++))) {
i179mm/swap.cll_rw_swap_file(rw,swapf->i_dev, zones, i,buf);
i620mm/swap.cint i=6;
i625mm/swap.cif (priority != GFP_NOBUFFER && shrink_buffers(i, limit))
i629mm/swap.cif (shm_swap(i, limit))
i633mm/swap.cif (swap_out(i, limit))
i636mm/swap.c} while(i--);
i991mm/swap.cint i, type, prev;
i995mm/swap.ci = namei(specialfile,&inode);
i996mm/swap.cif (i)
i997mm/swap.creturn i;
i1027mm/swap.ci = try_to_unuse(type);
i1028mm/swap.cif (i) {
i1031mm/swap.creturn i;
i1069mm/swap.cint i, j, prev;
i1123mm/swap.cfor (i = 0 ; i < nr_swapfiles ; i++) {
i1124mm/swap.cif (i == type)
i1126mm/swap.cif (p->swap_device == swap_info[i].swap_device)
i1147mm/swap.cfor (i = 1 ; i < 8*PAGE_SIZE ; i++) {
i1148mm/swap.cif (test_bit(i,p->swap_lockmap)) {
i1150mm/swap.cp->lowest_bit = i;
i1151mm/swap.cp->highest_bit = i;
i1152mm/swap.cp->max = i+1;
i1166mm/swap.cfor (i = 1 ; i < p->max ; i++) {
i1167mm/swap.cif (test_bit(i,p->swap_lockmap))
i1168mm/swap.cp->swap_map[i] = 0;
i1170mm/swap.cp->swap_map[i] = 0x80;
i1181mm/swap.cfor (i = swap_list.head; i >= 0; i = swap_info[i].next) {
i1182mm/swap.cif (p->prio >= swap_info[i].prio) {
i1185mm/swap.cprev = i;
i1187mm/swap.cp->next = i;
i1211mm/swap.cunsigned int i, j;
i1214mm/swap.cfor (i = 0; i < nr_swapfiles; i++) {
i1215mm/swap.cif ((swap_info[i].flags & SWP_WRITEOK) != SWP_WRITEOK)
i1217mm/swap.cfor (j = 0; j < swap_info[i].max; ++j)
i1218mm/swap.cswitch (swap_info[i].swap_map[j]) {
i1244mm/swap.cint i;
i1250mm/swap.ci = (end_mem - PAGE_OFFSET) >> (PAGE_SHIFT+6);
i1251mm/swap.cif (i < 16)
i1252mm/swap.ci = 16;
i1253mm/swap.cmin_free_pages = i;
i1261mm/swap.cfor (i = 0 ; i < NR_MEM_LISTS ; i++) {
i1263mm/swap.cfree_area_list[i].prev = free_area_list[i].next = &free_area_list[i];
i1266mm/swap.cbitmap_size = (end_mem - PAGE_OFFSET) >> (PAGE_SHIFT + i);
i1269mm/swap.cfree_area_map[i] = (unsigned char *) start_mem;
i121net/802/tr.cint i;
i132net/802/tr.cfor(i=0,hash=0;i<TR_ALEN;hash+=trh->daddr[i++]);
i162net/802/tr.cint i;
i168net/802/tr.cfor(i=0,hash=0;i<TR_ALEN;hash+=trh->saddr[i++]);
i215net/802/tr.cint i;
i221net/802/tr.cfor(i=0; i < RIF_TABLE_SIZE;i++) {
i223net/802/tr.crif_cache entry, *pentry=rif_table+i;  
i246net/802/tr.cint size,i;
i255net/802/tr.cfor(i=0;i < RIF_TABLE_SIZE;i++) {
i256net/802/tr.cfor(entry=rif_table[i];entry;entry=entry->next) {
i1233net/ax25/af_ax25.cunsigned char ndigi, i;
i1255net/ax25/af_ax25.cfor (i = 0; i < ndigi; i++)
i1256net/ax25/af_ax25.cmemcpy(&sax->fsa_digipeater[i], &sk->ax25->digipeat->calls[i], sizeof(ax25_address));
i749net/core/dev.cint i;
i758net/core/dev.cfor(i = 0;i < DEV_NUMBUFFS; i++) 
i766net/core/dev.cwhile((skb=skb_dequeue(&dev->buffs[i]))!=NULL)
i777net/core/dev.cdev_queue_xmit(skb,dev,-i - 1);
i98net/core/skbuff.cint i = 0;
i99net/core/skbuff.cwhile (skb2 != skb && i < 5) {
i104net/core/skbuff.ci++;
i123net/ipv4/af_inet.cint i, j;
i136net/ipv4/af_inet.cfor(i=0; i < SOCK_ARRAY_SIZE; i++) 
i139net/ipv4/af_inet.csk = prot->sock_array[(i+base+1) &(SOCK_ARRAY_SIZE -1)];
i147net/ipv4/af_inet.cstart =(i+1+start )%1024;
i148net/ipv4/af_inet.creturn(i+base+1);
i152net/ipv4/af_inet.cbest = i;
i1550net/ipv4/af_inet.cint i;
i1567net/ipv4/af_inet.cfor(i = 0; i < SOCK_ARRAY_SIZE; i++) 
i1569net/ipv4/af_inet.ctcp_prot.sock_array[i] = NULL;
i1570net/ipv4/af_inet.cudp_prot.sock_array[i] = NULL;
i1571net/ipv4/af_inet.craw_prot.sock_array[i] = NULL;
i203net/ipv4/arp.cint i;
i209net/ipv4/arp.cfor (i = 0; i < FULL_ARP_TABLE_SIZE; i++)
i212net/ipv4/arp.cstruct arp_table **pentry = &arp_tables[i];
i271net/ipv4/arp.cint i;
i282net/ipv4/arp.cfor (i = 0; i < FULL_ARP_TABLE_SIZE; i++)
i285net/ipv4/arp.cstruct arp_table **pentry = &arp_tables[i];
i1008net/ipv4/arp.cint i,j,k;
i1017net/ipv4/arp.cfor(i=0; i<FULL_ARP_TABLE_SIZE; i++)
i1019net/ipv4/arp.cfor(entry=arp_tables[i]; entry!=NULL; entry=entry->next)
i233net/ipv4/igmp.cstruct ip_mc_list *i;
i234net/ipv4/igmp.cfor(i=dev->ip_mc_list;i!=NULL;i=i->next)
i236net/ipv4/igmp.cif(i->multiaddr==addr)
i238net/ipv4/igmp.ci->users++;
i242net/ipv4/igmp.ci=(struct ip_mc_list *)kmalloc(sizeof(*i), GFP_KERNEL);
i243net/ipv4/igmp.cif(!i)
i245net/ipv4/igmp.ci->users=1;
i246net/ipv4/igmp.ci->interface=dev;
i247net/ipv4/igmp.ci->multiaddr=addr;
i248net/ipv4/igmp.ci->next=dev->ip_mc_list;
i249net/ipv4/igmp.cigmp_group_added(i);
i250net/ipv4/igmp.cdev->ip_mc_list=i;
i259net/ipv4/igmp.cstruct ip_mc_list **i;
i260net/ipv4/igmp.cfor(i=&(dev->ip_mc_list);(*i)!=NULL;i=&(*i)->next)
i262net/ipv4/igmp.cif((*i)->multiaddr==addr)
i264net/ipv4/igmp.cif(--((*i)->users))
i268net/ipv4/igmp.cstruct ip_mc_list *tmp= *i;
i270net/ipv4/igmp.c*i=(*i)->next;
i283net/ipv4/igmp.cstruct ip_mc_list *i;
i285net/ipv4/igmp.cfor(i=dev->ip_mc_list;i!=NULL;i=j)
i287net/ipv4/igmp.cj=i->next;
i288net/ipv4/igmp.ckfree_s(i,sizeof(*i));
i299net/ipv4/igmp.cstruct ip_mc_list *i;
i300net/ipv4/igmp.cfor(i=dev->ip_mc_list;i!=NULL;i=i->next)
i301net/ipv4/igmp.cif(i->multiaddr==IGMP_ALL_HOSTS)
i303net/ipv4/igmp.ci=(struct ip_mc_list *)kmalloc(sizeof(*i), GFP_KERNEL);
i304net/ipv4/igmp.cif(!i)
i306net/ipv4/igmp.ci->users=1;
i307net/ipv4/igmp.ci->interface=dev;
i308net/ipv4/igmp.ci->multiaddr=IGMP_ALL_HOSTS;
i309net/ipv4/igmp.ci->next=dev->ip_mc_list;
i310net/ipv4/igmp.cdev->ip_mc_list=i;
i311net/ipv4/igmp.cip_mc_filter_add(i->interface, i->multiaddr);
i322net/ipv4/igmp.cint i;
i333net/ipv4/igmp.cfor(i=0;i<IP_MAX_MEMBERSHIPS;i++)
i335net/ipv4/igmp.cif(sk->ip_mc_list->multiaddr[i]==addr && sk->ip_mc_list->multidev[i]==dev)
i337net/ipv4/igmp.cif(sk->ip_mc_list->multidev[i]==NULL)
i338net/ipv4/igmp.cunused=i;
i355net/ipv4/igmp.cint i;
i363net/ipv4/igmp.cfor(i=0;i<IP_MAX_MEMBERSHIPS;i++)
i365net/ipv4/igmp.cif(sk->ip_mc_list->multiaddr[i]==addr && sk->ip_mc_list->multidev[i]==dev)
i367net/ipv4/igmp.csk->ip_mc_list->multidev[i]=NULL;
i381net/ipv4/igmp.cint i;
i386net/ipv4/igmp.cfor(i=0;i<IP_MAX_MEMBERSHIPS;i++)
i388net/ipv4/igmp.cif(sk->ip_mc_list->multidev[i])
i390net/ipv4/igmp.cip_mc_dec_group(sk->ip_mc_list->multidev[i], sk->ip_mc_list->multiaddr[i]);
i391net/ipv4/igmp.csk->ip_mc_list->multidev[i]=NULL;
i654net/ipv4/ip.cint i, ihl, end;
i743net/ipv4/ip.ci = prev->end - offset;
i744net/ipv4/ip.coffset += i;  /* ptr into datagram */
i745net/ipv4/ip.cptr += i;  /* ptr into fragment data */
i759net/ipv4/ip.ci = end - next->offset;      /* overlap is 'i' bytes */
i760net/ipv4/ip.ctmp->len -= i;        /* so reduce size of  */
i761net/ipv4/ip.ctmp->offset += i;      /* next fragment  */
i762net/ipv4/ip.ctmp->ptr += i;
i1373net/ipv4/ip_fw.cstruct ip_fw *i;
i1382net/ipv4/ip_fw.ci = ip_fw_blk_chain;
i1387net/ipv4/ip_fw.ci = ip_fw_fwd_chain;
i1394net/ipv4/ip_fw.ci = ip_acct_chain;
i1400net/ipv4/ip_fw.ci = NULL;
i1408net/ipv4/ip_fw.cwhile(i!=NULL)
i1411net/ipv4/ip_fw.cntohl(i->fw_src.s_addr),ntohl(i->fw_smsk.s_addr),
i1412net/ipv4/ip_fw.cntohl(i->fw_dst.s_addr),ntohl(i->fw_dmsk.s_addr),
i1413net/ipv4/ip_fw.cntohl(i->fw_via.s_addr),i->fw_flg);
i1415net/ipv4/ip_fw.ci->fw_nsp,i->fw_ndp, i->fw_pcnt,i->fw_bcnt);
i1417net/ipv4/ip_fw.clen+=sprintf(buffer+len, " %u", i->fw_pts[p]);
i1429net/ipv4/ip_fw.ci->fw_pcnt=0L;
i1430net/ipv4/ip_fw.ci->fw_bcnt=0L;
i1434net/ipv4/ip_fw.ci=i->fw_next;
i62net/ipv4/proc.cint i;
i80net/ipv4/proc.cfor(i = 0; i < SOCK_ARRAY_SIZE; i++) 
i83net/ipv4/proc.csp = s_array[i];
i111net/ipv4/proc.ci, src, srcp, dest, destp, sp->state, 
i69net/ipv4/utils.cint i;
i72net/ipv4/utils.cfor (i = 0; i < 4; i++) 
i204net/ipx/af_ipx.cipx_interface  *i;
i206net/ipx/af_ipx.cfor (i=ipx_interfaces; 
i207net/ipx/af_ipx.ci && ((i->if_dev!=dev) || (i->if_dlink_type!=datalink)); 
i208net/ipx/af_ipx.ci=i->if_next)
i210net/ipx/af_ipx.creturn i;
i216net/ipx/af_ipx.cipx_interface  *i;
i221net/ipx/af_ipx.cfor (i=ipx_interfaces; i && (i->if_netnum!=net); i=i->if_next)
i224net/ipx/af_ipx.creturn i;
i262net/ipx/af_ipx.cipx_interface  *i;
i285net/ipx/af_ipx.cfor (i = ipx_interfaces; 
i286net/ipx/af_ipx.c(i != NULL) && (i->if_next != intrfc);
i287net/ipx/af_ipx.ci = i->if_next)
i289net/ipx/af_ipx.cif ((i != NULL) && (i->if_next == intrfc)) 
i290net/ipx/af_ipx.ci->if_next = intrfc->if_next;
i306net/ipx/af_ipx.cipx_interface *i, *tmp;
i311net/ipx/af_ipx.cfor (i = ipx_interfaces; i != NULL; ) {
i313net/ipx/af_ipx.ctmp = i->if_next;
i314net/ipx/af_ipx.cif (i->if_dev == dev) 
i315net/ipx/af_ipx.cipxitf_down(i);
i316net/ipx/af_ipx.ci = tmp;
i558net/ipx/af_ipx.cipx_interface  *i;
i568net/ipx/af_ipx.cif ((i=ipxitf_find_using_net(ipx->ipx_source.net))==NULL) {
i574net/ipx/af_ipx.cipx_device_name(i),
i575net/ipx/af_ipx.cipx_frame_name(i->if_dlink_type),
i610net/ipx/af_ipx.cipx_interface  *i;
i616net/ipx/af_ipx.cfor (i = ipx_interfaces; i->if_next != NULL; i = i->if_next)
i618net/ipx/af_ipx.ci->if_next = intrfc;
i1043net/ipx/af_ipx.cipx_interface  *i;
i1051net/ipx/af_ipx.ci = r->ir_intrfc;
i1052net/ipx/af_ipx.c(void)ipxitf_send(i, skb, (r->ir_routed) ? 
i1123net/ipx/af_ipx.cipx_interface *i;
i1132net/ipx/af_ipx.cfor (i = ipx_interfaces; i != NULL; i = i->if_next) {
i1133net/ipx/af_ipx.clen += sprintf(buffer+len, "%08lX   ", ntohl(i->if_netnum));
i1135net/ipx/af_ipx.ci->if_node[0], i->if_node[1], i->if_node[2],
i1136net/ipx/af_ipx.ci->if_node[3], i->if_node[4], i->if_node[5]);
i1137net/ipx/af_ipx.clen += sprintf(buffer+len, "%-9s", (i == ipx_primary_net) ?
i1139net/ipx/af_ipx.clen += sprintf (buffer+len, "%-11s", ipx_device_name(i));
i1141net/ipx/af_ipx.cipx_frame_name(i->if_dlink_type));
i1167net/ipx/af_ipx.cipx_interface *i;
i1177net/ipx/af_ipx.cfor (i = ipx_interfaces; i != NULL; i = i->if_next) {
i1178net/ipx/af_ipx.cfor (s = i->if_sklist; s != NULL; s = s->next) {
i1180net/ipx/af_ipx.chtonl(i->if_netnum),
i1593net/ipx/af_ipx.cint l,i;
i1597net/ipx/af_ipx.cfor (i=0; i < 8 ; i++) {
i1598net/ipx/af_ipx.c*(p++) = h2c[d[i] & 0x0f];
i1599net/ipx/af_ipx.c*(p++) = h2c[(d[i] >> 4) & 0x0f];
i1604net/ipx/af_ipx.cfor (i=0; i < 8 ; i++)  *(p++) = ' '<= d[i] && d[i]<'\177' ? d[i] : '.';
i1606net/ipx/af_ipx.cd += i;
i205net/netrom/nr_dev.cint i;
i236net/netrom/nr_dev.cfor (i = 0; i < DEV_NUMBUFFS; i++)
i237net/netrom/nr_dev.cskb_queue_head_init(&dev->buffs[i]);
i71net/netrom/nr_route.cint i, found;
i141net/netrom/nr_route.cfor (found = 0, i = 0; i < nr_node->count; i++) {
i142net/netrom/nr_route.cif (nr_node->routes[i].neighbour == nr_neigh->number) {
i143net/netrom/nr_route.cnr_node->routes[i].quality   = quality;
i144net/netrom/nr_route.cnr_node->routes[i].obs_count = obs_count;
i212net/netrom/nr_route.cfor (i = 0; i < nr_node->count; i++) {
i213net/netrom/nr_route.cif (nr_node->routes[i].neighbour == nr_neigh->number) {
i214net/netrom/nr_route.cif (i < nr_node->which)
i215net/netrom/nr_route.cnr_node->which = i;
i293net/netrom/nr_route.cint i;
i307net/netrom/nr_route.cfor (i = 0; i < nr_node->count; i++) {
i308net/netrom/nr_route.cif (nr_node->routes[i].neighbour == nr_neigh->number) {
i319net/netrom/nr_route.cswitch (i) {
i407net/netrom/nr_route.cint i;
i415net/netrom/nr_route.cfor (i = 0; i < s->count; i++) {
i416net/netrom/nr_route.cswitch (s->routes[i].obs_count) {
i428net/netrom/nr_route.cif (t->number == s->routes[i].neighbour) {
i440net/netrom/nr_route.cswitch (i) {
i451net/netrom/nr_route.cs->routes[i].obs_count--;
i471net/netrom/nr_route.cint i;
i484net/netrom/nr_route.cfor (i = 0; i < t->count; i++) {
i485net/netrom/nr_route.cif (t->routes[i].neighbour == s->number) {
i488net/netrom/nr_route.cswitch (i) {
i690net/netrom/nr_route.cint i;
i703net/netrom/nr_route.cfor (i = 0; i < nr_node->count; i++) {
i705net/netrom/nr_route.cnr_node->routes[i].quality,
i706net/netrom/nr_route.cnr_node->routes[i].obs_count,
i707net/netrom/nr_route.cnr_node->routes[i].neighbour);
i564net/socket.cint i, fd;
i569net/socket.cfor (i = 0; i < NPROTO; ++i) 
i571net/socket.cif (pops[i] == NULL) continue;
i572net/socket.cif (pops[i]->family == family) 
i576net/socket.cif (i == NPROTO) 
i581net/socket.cops = pops[i];
i609net/socket.cif ((i = sock->ops->create(sock, protocol)) < 0) 
i612net/socket.creturn(i);
i630net/socket.cint fd1, fd2, i;
i659net/socket.cif ((i = sock1->ops->socketpair(sock1, sock2)) < 0) 
i663net/socket.creturn(i);
i696net/socket.cint i;
i709net/socket.cif ((i = sock->ops->bind(sock, (struct sockaddr *)address, addrlen)) < 0) 
i711net/socket.creturn(i);
i756net/socket.cint i;
i781net/socket.cif ((i = sock->ops->dup(newsock, sock)) < 0) 
i784net/socket.creturn(i);
i787net/socket.ci = newsock->ops->accept(sock, newsock, file->f_flags);
i788net/socket.cif ( i < 0) 
i791net/socket.creturn(i);
i818net/socket.cint i;
i852net/socket.ci = sock->ops->connect(sock, (struct sockaddr *)address, addrlen, file->f_flags);
i853net/socket.cif (i < 0) 
i855net/socket.creturn(i);
i1213net/socket.cint i;
i1216net/socket.cfor(i = 0; i < NPROTO; i++) 
i1218net/socket.cif (pops[i] != NULL) 
i1220net/socket.cpops[i] = ops;
i1221net/socket.cpops[i]->family = family;
i1223net/socket.creturn(i);
i1237net/socket.cint i;
i1240net/socket.cfor(i = 0; i < NPROTO; i++) 
i1242net/socket.cif (pops[i] == NULL) 
i1244net/socket.cif(pops[i]->family == family)
i1246net/socket.cpops[i]=NULL;
i1248net/socket.creturn(i);
i1273net/socket.cint i;
i1281net/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, 2, 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, 2, 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);