taglinefilesource code
i28arch/alpha/boot/main.cint i, j, written, remaining, num_nl;
i33arch/alpha/boot/main.ci = vsprintf(buf, fmt, args);
i39arch/alpha/boot/main.cfor (j = 0; j < i; ++j) {
i43arch/alpha/boot/main.cremaining = i + num_nl;
i44arch/alpha/boot/main.cfor (j = i - 1; j >= 0; --j) {
i58arch/alpha/boot/main.creturn i;
i102arch/alpha/boot/main.cunsigned long i, rev, sum;
i129arch/alpha/boot/main.ci = switch_to_osf_pal(
i135arch/alpha/boot/main.cif (i) {
i136arch/alpha/boot/main.cprintk("failed, code %ld\n", i);
i204arch/alpha/boot/main.clong i;
i222arch/alpha/boot/main.ci = load(dev, START_ADDR, START_SIZE);
i224arch/alpha/boot/main.cif (i != START_SIZE) {
i225arch/alpha/boot/main.cprintk("Failed (%lx)\n", i);
i238arch/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;
i89arch/alpha/boot/tools/mkbb.cint      i;
i134arch/alpha/boot/tools/mkbb.cfor(i = 0; i < 63; i++) {
i136arch/alpha/boot/tools/mkbb.cbootloader_image.bootblock_quadwords[i];
i447arch/alpha/kernel/alcor.cint i;
i450arch/alpha/kernel/alcor.cfor (i = 0; i < mchk_header->size / sizeof(long); i += 2) {
i451arch/alpha/kernel/alcor.cprintk(" +%lx %lx %lx\n", i*sizeof(long), ptr[i], ptr[i+1]);
i493arch/alpha/kernel/apecs.cint i;
i496arch/alpha/kernel/apecs.cfor (i = 0; i < mchk_header->size / sizeof(long); i += 2) {
i497arch/alpha/kernel/apecs.cprintk(" +%lx %lx %lx\n", i*sizeof(long), ptr[i], ptr[i+1]);
i134arch/alpha/kernel/irq.cint i, len = 0;
i137arch/alpha/kernel/irq.cfor (i = 0 ; i < NR_IRQS ; i++) {
i138arch/alpha/kernel/irq.caction = irq_action[i];
i142arch/alpha/kernel/irq.ci, kstat.interrupts[i],
i262arch/alpha/kernel/irq.cint i;
i267arch/alpha/kernel/irq.cfor (i = 0; i < 16; i++)
i268arch/alpha/kernel/irq.cif ((action = irq_action[i]))
i270arch/alpha/kernel/irq.cprintk("[%s:%d] ", action->name, i);
i417arch/alpha/kernel/irq.cunsigned int i;
i435arch/alpha/kernel/irq.ci = ffz(~pld);
i437arch/alpha/kernel/irq.cif (i == 4) {
i440arch/alpha/kernel/irq.cdevice_interrupt(16 + i, 16 + i, regs);
i450arch/alpha/kernel/irq.cunsigned int i;
i463arch/alpha/kernel/irq.ci = ffz(~pld);
i466arch/alpha/kernel/irq.cif (i == 5) {
i469arch/alpha/kernel/irq.cdevice_interrupt(16 + i, 16 + i, regs);
i546arch/alpha/kernel/irq.cunsigned int i;
i548arch/alpha/kernel/irq.cfor (i = NR_IRQS - 1; i > 0; i--) {
i549arch/alpha/kernel/irq.caction = irq_action[i];
i551arch/alpha/kernel/irq.cenable_irq(i);
i552arch/alpha/kernel/irq.cirqs |= (1 << i);
i580arch/alpha/kernel/irq.cint i;
i595arch/alpha/kernel/irq.ci = ffz(~irqs);
i596arch/alpha/kernel/irq.cif (irqs != (1UL << i))
i597arch/alpha/kernel/irq.ci = -i;
i598arch/alpha/kernel/irq.creturn i;
i480arch/alpha/kernel/osf_sys.cint i, error;
i490arch/alpha/kernel/osf_sys.cfor (i = 0; i < len; ++i) {
i491arch/alpha/kernel/osf_sys.cput_user(system_utsname.domainname[i], name + i);
i492arch/alpha/kernel/osf_sys.cif (system_utsname.domainname[i] == '\0')
i112arch/alpha/kernel/ptrace.cint i;
i114arch/alpha/kernel/ptrace.cfor (i = 1; i < NR_TASKS; i++) {
i115arch/alpha/kernel/ptrace.cif (task[i] != NULL && (task[i]->pid == pid))
i116arch/alpha/kernel/ptrace.creturn task[i];
i417arch/alpha/kernel/ptrace.cint displ, i, res, reg_b, nsaved = 0;
i451arch/alpha/kernel/ptrace.cfor (i = 0; i < nsaved; ++i) {
i452arch/alpha/kernel/ptrace.cres = read_int(child, child->debugreg[i], &insn);
i455arch/alpha/kernel/ptrace.cchild->debugreg[i + 2] = insn;
i456arch/alpha/kernel/ptrace.cDBG(DBG_BPT, ("    -> next_pc=%lx\n", child->debugreg[i]));
i457arch/alpha/kernel/ptrace.cres = write_int(child, child->debugreg[i], BREAKINST);
i471arch/alpha/kernel/ptrace.cint i, nsaved = child->debugreg[4];
i480arch/alpha/kernel/ptrace.cfor (i = 0; i < nsaved; ++i) {
i481arch/alpha/kernel/ptrace.cwrite_int(child, child->debugreg[i], child->debugreg[i + 2]);
i98arch/alpha/kernel/setup.cint i;
i106arch/alpha/kernel/setup.cfor (i = memdesc->numclusters ; i > 0; i--, cluster++) {
i75arch/alpha/kernel/signal.cint i;
i122arch/alpha/kernel/signal.cfor (i = 0; i < 31; i++)
i123arch/alpha/kernel/signal.csw->fp[i] = get_fs_quad(sc->sc_fpregs+i);
i138arch/alpha/kernel/signal.cint i;
i182arch/alpha/kernel/signal.cfor (i = 0; i < 31; i++)
i183arch/alpha/kernel/signal.cput_fs_quad(sw->fp[i], sc->sc_fpregs+i);
i72arch/alpha/kernel/time.cint i, missed_ticks;
i75arch/alpha/kernel/time.cfor (i = 0; i < missed_ticks; ++i) {
i129arch/alpha/kernel/time.cint i;
i137arch/alpha/kernel/time.cfor (i = 0 ; i < 1000000 ; i++)  /* may take up to 1 second... */
i140arch/alpha/kernel/time.cfor (i = 0 ; i < 1000000 ; i++)  /* must try at least 2.228 ms */
i22arch/alpha/kernel/traps.clong i;
i45arch/alpha/kernel/traps.cfor (i = -3; i < 6; i++)
i46arch/alpha/kernel/traps.cprintk("%c%08x%c",i?' ':'<',pc[i],i?' ':'>');
i56arch/alpha/mm/init.cint i,free = 0,total = 0,reserved = 0;
i62arch/alpha/mm/init.ci = MAP_NR(high_memory);
i63arch/alpha/mm/init.cwhile (i-- > 0) {
i65arch/alpha/mm/init.cif (mem_map[i].reserved)
i67arch/alpha/mm/init.celse if (!mem_map[i].count)
i70arch/alpha/mm/init.cshared += mem_map[i].count-1;
i101arch/alpha/mm/init.cint i;
i112arch/alpha/mm/init.cfor (i = memdesc->numclusters ; i > 0; i--, cluster++) {
i174arch/alpha/mm/init.cint i;
i176arch/alpha/mm/init.ci = MAP_NR(high_memory);
i181arch/alpha/mm/init.cwhile (i-- > 0)  {
i182arch/alpha/mm/init.cif (mem_map[i].reserved)
i185arch/alpha/mm/init.cif (!mem_map[i].count)
i187arch/alpha/mm/init.cval->sharedram += mem_map[i].count-1;
i171arch/i386/boot/compressed/misc.cint i;
i174arch/i386/boot/compressed/misc.cfor ( i = ( lines - 1 ) * cols * 2; i < lines * cols * 2; i += 2 )
i175arch/i386/boot/compressed/misc.cvidmem[i] = ' ';
i217arch/i386/boot/compressed/misc.cint i;
i220arch/i386/boot/compressed/misc.cfor (i=0;i<n;i++) ss[i] = c;
i226arch/i386/boot/compressed/misc.cint i;
i229arch/i386/boot/compressed/misc.cfor (i=0;i<__n;i++) d[i] = s[i];
i39arch/i386/boot/compressed/xtract.cint i,c,id, sz;
i97arch/i386/boot/tools/build.cint i,c,id, sz;
i133arch/i386/boot/tools/build.cfor (i=0;i<sizeof buf; i++) buf[i]=0;
i150arch/i386/boot/tools/build.ci=read(id,buf,sizeof buf);
i151arch/i386/boot/tools/build.cfprintf(stderr,"Boot sector %d bytes.\n",i);
i152arch/i386/boot/tools/build.cif (i != 512)
i158arch/i386/boot/tools/build.ci=write(1,buf,512);
i159arch/i386/boot/tools/build.cif (i!=512)
i179arch/i386/boot/tools/build.cfor (i=0 ; (c=read(id,buf,sizeof buf))>0 ; i+=c )
i182arch/i386/boot/tools/build.cif (!i) {
i199arch/i386/boot/tools/build.csetup_sectors = (unsigned char)((i + 511) / 512);
i203arch/i386/boot/tools/build.cfprintf(stderr,"Setup is %d bytes.\n",i);
i206arch/i386/boot/tools/build.cwhile (i < setup_sectors * 512) {
i207arch/i386/boot/tools/build.cc = setup_sectors * 512 - i;
i212arch/i386/boot/tools/build.ci += c;
i411arch/i386/kernel/bios32.cint i, length;
i427arch/i386/kernel/bios32.cfor (i = 0; i < length ; ++i)
i428arch/i386/kernel/bios32.csum += check->chars[i];
i228arch/i386/kernel/irq.cint i, len = 0;
i231arch/i386/kernel/irq.cfor (i = 0 ; i < 16 ; i++) {
i232arch/i386/kernel/irq.caction = irq_action[i];
i236arch/i386/kernel/irq.ci, kstat.interrupts[i],
i259arch/i386/kernel/irq.cint i,j, len = 0;
i266arch/i386/kernel/irq.cfor (i=0;i<smp_num_cpus;i++) {
i267arch/i386/kernel/irq.cint cpunum = cpu_logical_map[i];
i276arch/i386/kernel/irq.cfor (i=0;i<smp_num_cpus;i++)
i277arch/i386/kernel/irq.clen += sprintf(buf+len,"        P%1d ",cpu_logical_map[i]);
i279arch/i386/kernel/irq.cfor (i = 0 ; i < NR_IRQS ; i++) {
i280arch/i386/kernel/irq.caction = *(i + irq_action);
i284arch/i386/kernel/irq.ci, kstat.interrupts[i]);
i287arch/i386/kernel/irq.cint_count[cpu_logical_map[j]][i]);
i300arch/i386/kernel/irq.cfor (i=0;i<smp_num_cpus;i++)
i301arch/i386/kernel/irq.clen+=sprintf(buf+len," %10lu",smp_spins[cpu_logical_map[i]]);
i308arch/i386/kernel/irq.cfor (i=0;i<smp_num_cpus;i++)
i309arch/i386/kernel/irq.clen+=sprintf(buf+len," %10lu",smp_spins_syscall[cpu_logical_map[i]]);
i316arch/i386/kernel/irq.cfor (i=0;i<smp_num_cpus;i++)
i317arch/i386/kernel/irq.clen+=sprintf(buf+len," %10lu",smp_spins_sys_idle[cpu_logical_map[i]]);
i322arch/i386/kernel/irq.cfor (i=0;i<smp_num_cpus;i++)
i323arch/i386/kernel/irq.clen+=sprintf(buf+len," %10lu",smp_idle_count[cpu_logical_map[i]]);
i492arch/i386/kernel/irq.cunsigned int i, irqs = 0, irqmask;
i496arch/i386/kernel/irq.cfor (i = 15; i > 0; i--) {
i497arch/i386/kernel/irq.cif (!irq_action[i]) {
i498arch/i386/kernel/irq.cenable_irq(i);
i499arch/i386/kernel/irq.cirqs |= (1 << i);
i514arch/i386/kernel/irq.cunsigned int i, irqmask;
i523arch/i386/kernel/irq.ci = ffz(~irqs);
i524arch/i386/kernel/irq.cif (irqs != (irqs & (1 << i)))
i525arch/i386/kernel/irq.ci = -i;
i526arch/i386/kernel/irq.creturn i;
i531arch/i386/kernel/irq.cint i;
i541arch/i386/kernel/irq.cfor (i = 0; i < 16 ; i++)
i542arch/i386/kernel/irq.cset_intr_gate(0x20+i,bad_interrupt[i]);
i546arch/i386/kernel/irq.cset_intr_gate(0x20+i, interrupt[i]);  /* IRQ '16' - IPI for rescheduling */
i66arch/i386/kernel/ldt.cint error, i;
i83arch/i386/kernel/ldt.cfor (i=1 ; i<NR_TASKS ; i++) {
i84arch/i386/kernel/ldt.cif (task[i] == current) {
i88arch/i386/kernel/ldt.cset_ldt_desc(gdt+(i<<1)+FIRST_LDT_ENTRY, current->ldt, LDT_ENTRIES);
i89arch/i386/kernel/ldt.cload_ldt(i);
i188arch/i386/kernel/process.cint i;
i190arch/i386/kernel/process.cfor (i=0; i<0x10000; i++)
i197arch/i386/kernel/process.cint i, j;
i204arch/i386/kernel/process.cfor (i=0; i<100; i++) {
i253arch/i386/kernel/process.cint i;
i258arch/i386/kernel/process.cfor (i=1 ; i<NR_TASKS ; i++) {
i259arch/i386/kernel/process.cif (task[i] == current)  {
i260arch/i386/kernel/process.cset_ldt_desc(gdt+(i<<1)+
i262arch/i386/kernel/process.cload_ldt(i);
i267arch/i386/kernel/process.cfor (i=0 ; i<8 ; i++)
i268arch/i386/kernel/process.ccurrent->debugreg[i] = 0;
i278arch/i386/kernel/process.cint i;
i310arch/i386/kernel/process.cfor (i = 0; i < IO_BITMAP_SIZE+1 ; i++) /* IO bitmap is actually SIZE+1 */
i311arch/i386/kernel/process.cp->tss.io_bitmap[i] = ~0;
i346arch/i386/kernel/process.cint i;
i356arch/i386/kernel/process.cfor (i = 0; i < 8; i++)
i357arch/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];
i302arch/i386/kernel/ptrace.cint i;
i445arch/i386/kernel/ptrace.cfor(i=0; i<4; i++)
i446arch/i386/kernel/ptrace.cif ((0x5f54 >> ((data >> (16 + 4*i)) & 0xf)) & 1)
i262arch/i386/kernel/setup.cint i, len = 0;
i322arch/i386/kernel/setup.cfor ( i = 0 ; i < 32 ; i++ ) {
i323arch/i386/kernel/setup.cif ( CD(x86_capability) & (1 << i) ) {
i325arch/i386/kernel/setup.cx86_cap_flags[i]);
i583arch/i386/kernel/smp.cint i;
i593arch/i386/kernel/smp.cfor (i = 0; i < NR_CPUS; i++)
i594arch/i386/kernel/smp.ccpu_number_map[i] = -1;
i679arch/i386/kernel/smp.cfor(i=0;i<NR_CPUS;i++)
i684arch/i386/kernel/smp.cif (i == boot_cpu_id)
i687arch/i386/kernel/smp.cif (cpu_present_map & (1 << i))
i699arch/i386/kernel/smp.ckernel_stacks[i]=stack;
i702arch/i386/kernel/smp.cprintk("Booting processor %d stack %p: ",i,stack);      /* So we set whats up   */
i734arch/i386/kernel/smp.cif ( apic_version[i] & 0xF0 )
i759arch/i386/kernel/smp.capic_write(APIC_ICR2, cfg|SET_APIC_DEST_FIELD(i));       /* Target chip       */
i771arch/i386/kernel/smp.capic_write(APIC_ICR2, cfg|SET_APIC_DEST_FIELD(i));      /* Target chip       */
i786arch/i386/kernel/smp.cif ( apic_version[i] & 0xF0 )
i808arch/i386/kernel/smp.capic_write(APIC_ICR2, cfg|SET_APIC_DEST_FIELD(i));      /* Target chip       */
i835arch/i386/kernel/smp.cif(cpu_callin_map[0]&(1<<i))
i839arch/i386/kernel/smp.cif(cpu_callin_map[0]&(1<<i))
i843arch/i386/kernel/smp.ccpu_number_map[i] = cpucount;
i844arch/i386/kernel/smp.ccpu_logical_map[cpucount] = i;
i863arch/i386/kernel/smp.cif (cpu_number_map[i] == -1)
i864arch/i386/kernel/smp.ccpu_present_map &= ~(1 << i);
i907arch/i386/kernel/smp.cfor(i=0;i<32;i++)
i909arch/i386/kernel/smp.cif(cpu_present_map&(1<<i))
i910arch/i386/kernel/smp.cbogosum+=cpu_data[i].udelay_val;
i1162arch/i386/kernel/smp.cint i=smp_processor_id();
i1176arch/i386/kernel/smp.cif(clear_bit(i,(unsigned long *)&smp_invalidate_needed))
i1178arch/i386/kernel/smp.cset_bit(i, (unsigned long *)&cpu_callin_map[0]);
i322arch/i386/kernel/time.cint i;
i330arch/i386/kernel/time.cfor (i = 0 ; i < 1000000 ; i++)  /* may take up to 1 second... */
i333arch/i386/kernel/time.cfor (i = 0 ; i < 1000000 ; i++)  /* must try at least 2.228 ms */
i99arch/i386/kernel/traps.cint i;
i123arch/i386/kernel/traps.cstore_TR(i);
i127arch/i386/kernel/traps.ccurrent->comm, current->pid, 0xffff & i, current->kernel_stack_page);
i129arch/i386/kernel/traps.cfor(i=0; i < kstack_depth_to_print; i++) {
i132arch/i386/kernel/traps.cif (i && ((i % 8) == 0))
i138arch/i386/kernel/traps.ci = 1;
i154arch/i386/kernel/traps.cif (i && ((i % 8) == 0))
i157arch/i386/kernel/traps.ci++;
i161arch/i386/kernel/traps.cfor(i=0;i<20;i++)
i162arch/i386/kernel/traps.cprintk("%02x ",0xff & get_seg_byte(regs->cs,(i+(char *)regs->eip)));
i350arch/i386/kernel/traps.cint i;
i382arch/i386/kernel/traps.cfor (i=18;i<48;i++)
i383arch/i386/kernel/traps.cset_trap_gate(i,&reserved);
i391arch/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);
i78arch/i386/mm/init.cint i,free = 0,total = 0,reserved = 0;
i84arch/i386/mm/init.ci = high_memory >> PAGE_SHIFT;
i85arch/i386/mm/init.cwhile (i-- > 0) {
i87arch/i386/mm/init.cif (mem_map[i].reserved)
i89arch/i386/mm/init.celse if (!mem_map[i].count)
i92arch/i386/mm/init.cshared += mem_map[i].count-1;
i282arch/i386/mm/init.cint i;
i284arch/i386/mm/init.ci = high_memory >> PAGE_SHIFT;
i289arch/i386/mm/init.cwhile (i-- > 0)  {
i290arch/i386/mm/init.cif (mem_map[i].reserved)
i293arch/i386/mm/init.cif (!mem_map[i].count)
i295arch/i386/mm/init.cval->sharedram += mem_map[i].count-1;
i141arch/mips/kernel/gdb-stub.cint i;
i194arch/mips/kernel/gdb-stub.cfor (i=3; i <= count; i++)
i195arch/mips/kernel/gdb-stub.cbuffer[i-3] = buffer[i];
i277arch/mips/kernel/gdb-stub.cint i;
i282arch/mips/kernel/gdb-stub.cfor (i=0; i<count; i++)
i115arch/mips/kernel/irq.cint i, len = 0;
i118arch/mips/kernel/irq.cfor (i = 0 ; i < 16 ; i++) {
i119arch/mips/kernel/irq.caction = *(i + irq_action);
i123arch/mips/kernel/irq.ci, kstat.interrupts[i],
i310arch/mips/kernel/irq.cunsigned int i, irqs = 0, irqmask;
i314arch/mips/kernel/irq.cfor (i = 15; i > 0; i--) {
i315arch/mips/kernel/irq.cif (!request_irq(i, no_action, SA_PROBE, "probe", NULL)) {
i316arch/mips/kernel/irq.cenable_irq(i);
i317arch/mips/kernel/irq.cirqs |= (1 << i);
i326arch/mips/kernel/irq.cfor (i = 15; i > 0; i--) {
i327arch/mips/kernel/irq.cif (irqs & (1 << i) & irqmask) {
i328arch/mips/kernel/irq.cirqs ^= (1 << i);
i329arch/mips/kernel/irq.cfree_irq(i, NULL);
i340arch/mips/kernel/irq.cunsigned int i, irqmask;
i343arch/mips/kernel/irq.cfor (i = 15; i > 0; i--) {
i344arch/mips/kernel/irq.cif (irqs & (1 << i)) {
i345arch/mips/kernel/irq.cfree_irq(i, NULL);
i354arch/mips/kernel/irq.ci = ffz(~irqs);
i355arch/mips/kernel/irq.cif (irqs != (irqs & (1 << i)))
i356arch/mips/kernel/irq.ci = -i;
i357arch/mips/kernel/irq.creturn i;
i362arch/mips/kernel/irq.cint i;
i391arch/mips/kernel/irq.cfor (i = 0; i < 16 ; i++)
i392arch/mips/kernel/irq.cset_int_vector(i, bad_interrupt);
i395arch/mips/kernel/irq.cfor (i = 0; i < 32; i++) {
i396arch/mips/kernel/irq.cbh_base[i].routine = NULL;
i397arch/mips/kernel/irq.cbh_base[i].data = NULL;
i77arch/mips/kernel/jazzdma.cint i;
i118arch/mips/kernel/jazzdma.cfor (i=first; i<last; i++)
i120arch/mips/kernel/jazzdma.centry[i].frame = frame;
i121arch/mips/kernel/jazzdma.centry[i].owner = laddr;
i138arch/mips/kernel/jazzdma.cfor (i=first; i<last; i++)
i139arch/mips/kernel/jazzdma.cprintk("%08x ",i<<12);
i141arch/mips/kernel/jazzdma.cfor (i=first; i<last; i++)
i142arch/mips/kernel/jazzdma.cprintk("%08x ",entry[i].frame);
i144arch/mips/kernel/jazzdma.cfor (i=first; i<last; i++)
i145arch/mips/kernel/jazzdma.cprintk("%08x ",entry[i].owner);
i160arch/mips/kernel/jazzdma.cint i;
i162arch/mips/kernel/jazzdma.ci = laddr >> 12;
i164arch/mips/kernel/jazzdma.cif (pgtbl[i].owner != laddr)
i171arch/mips/kernel/jazzdma.cwhile (pgtbl[i].owner == laddr && i < VDMA_PGTBL_ENTRIES)
i173arch/mips/kernel/jazzdma.cpgtbl[i].owner = VDMA_PAGE_EMPTY;
i174arch/mips/kernel/jazzdma.ci++;
i179arch/mips/kernel/jazzdma.ci-(laddr>>12),laddr);
i239arch/mips/kernel/jazzdma.cint i;
i243arch/mips/kernel/jazzdma.cfor (i=first; i<first+pages; i++)
i244arch/mips/kernel/jazzdma.cprintk("%08x ",i<<12);
i246arch/mips/kernel/jazzdma.cfor (i=first; i<first+pages; i++)
i247arch/mips/kernel/jazzdma.cprintk("%08x ",pgtbl[i].frame);
i249arch/mips/kernel/jazzdma.cfor (i=first; i<first+pages; i++)
i250arch/mips/kernel/jazzdma.cprintk("%08x ",pgtbl[i].owner);
i264arch/mips/kernel/jazzdma.cint i;
i270arch/mips/kernel/jazzdma.cfor (i=0; i<VDMA_PGTBL_ENTRIES; i++)
i272arch/mips/kernel/jazzdma.cif (pgtbl[i].frame == frame)
i276arch/mips/kernel/jazzdma.cif (i == VDMA_PGTBL_ENTRIES)
i279arch/mips/kernel/jazzdma.creturn (i<<12) + (paddr & (VDMA_PAGESIZE-1));
i300arch/mips/kernel/jazzdma.cint i;
i304arch/mips/kernel/jazzdma.cfor (i=0; i<VDMA_PGTBL_ENTRIES; i++)
i306arch/mips/kernel/jazzdma.cpgtbl[i].frame = paddr;
i307arch/mips/kernel/jazzdma.cpgtbl[i].owner = VDMA_PAGE_EMPTY;
i319arch/mips/kernel/jazzdma.cint i;
i338arch/mips/kernel/jazzdma.cfor (i=0; i<8; i++)
i340arch/mips/kernel/jazzdma.c(unsigned)r4030_read_reg32(JAZZ_R4030_CHNL_MODE+(i<<5)));
i343arch/mips/kernel/jazzdma.cfor (i=0; i<8; i++)
i345arch/mips/kernel/jazzdma.c(unsigned)r4030_read_reg32(JAZZ_R4030_CHNL_ENABLE+(i<<5)));
i43arch/mips/kernel/process.cint i;
i45arch/mips/kernel/process.cfor (i=0; i<0x10000; i++)
i56arch/mips/kernel/process.cint i, j;
i60arch/mips/kernel/process.cfor (i=0; i<100; i++) {
i39arch/mips/kernel/ptrace.cint i;
i41arch/mips/kernel/ptrace.cfor (i = 1; i < NR_TASKS; i++) {
i42arch/mips/kernel/ptrace.cif (task[i] != NULL && (task[i]->pid == pid))
i43arch/mips/kernel/ptrace.creturn task[i];
i283arch/mips/kernel/ptrace.cint i;
i427arch/mips/kernel/ptrace.cfor(i=0; i<4; i++)
i428arch/mips/kernel/ptrace.cif ((0x5f54 >> ((data >> (16 + 4*i)) & 0xf)) & 1)
i245arch/mips/kernel/time.cint i;
i253arch/mips/kernel/time.cfor (i = 0 ; i < 1000000 ; i++)  /* may take up to 1 second... */
i256arch/mips/kernel/time.cfor (i = 0 ; i < 1000000 ; i++)  /* must try at least 2.228 ms */
i85arch/mips/kernel/traps.cint  i;
i108arch/mips/kernel/traps.cfor(i=0;i<5;i++)
i111arch/mips/kernel/traps.cfor(i=0; i < kstack_depth_to_print; i++) {
i114arch/mips/kernel/traps.cif (i && ((i % 8) == 0))
i120arch/mips/kernel/traps.ci = 1;
i136arch/mips/kernel/traps.cif (i && ((i % 8) == 0))
i139arch/mips/kernel/traps.ci++;
i149arch/mips/kernel/traps.cfor(i=0;i<5;i++)
i182arch/mips/kernel/traps.cint  i;
i190arch/mips/kernel/traps.cfor(i=0; i<NR_TASKS;i++)
i191arch/mips/kernel/traps.cif(task[i] && task[i]->pid >= 2)
i193arch/mips/kernel/traps.cprintk("Process %d\n", task[i]->pid);
i194arch/mips/kernel/traps.cdump_list_process(task[i], pc);
i254arch/mips/kernel/traps.cint  i;
i256arch/mips/kernel/traps.cfor(i=0; i<NR_TASKS;i++)
i257arch/mips/kernel/traps.cif(task[i] && task[i]->pid >= 2)
i259arch/mips/kernel/traps.cprintk("Process %d\n", task[i]->pid);
i260arch/mips/kernel/traps.cdump_list_process(task[i], 0x7ffff000);
i323arch/mips/kernel/traps.cunsigned long  i;
i332arch/mips/kernel/traps.cfor (i=0;i<=31;i++)
i333arch/mips/kernel/traps.cset_except_vector(i, handle_reserved);
i395arch/mips/kernel/traps.ci = read_32bit_cp0_register(CP0_CONFIG);
i396arch/mips/kernel/traps.ci = (i >> 26) & 7;
i397arch/mips/kernel/traps.cpage_colour_mask = 1 << (12 + i);
i200arch/mips/mm/init.cint i, free = 0, total = 0, reserved = 0;
i206arch/mips/mm/init.ci = (high_memory - PAGE_OFFSET) >> PAGE_SHIFT;
i207arch/mips/mm/init.cwhile (i-- > 0) {
i209arch/mips/mm/init.cif (mem_map[i].reserved)
i211arch/mips/mm/init.celse if (!mem_map[i].count)
i214arch/mips/mm/init.cshared += mem_map[i].count-1;
i286arch/mips/mm/init.cint i;
i288arch/mips/mm/init.ci = high_memory >> PAGE_SHIFT;
i293arch/mips/mm/init.cwhile (i-- > 0)  {
i294arch/mips/mm/init.cif (mem_map[i].reserved)
i297arch/mips/mm/init.cif (!mem_map[i].count)
i299arch/mips/mm/init.cval->sharedram += mem_map[i].count-1;
i21arch/ppc/boot/cortstrip.cint i, n, skip;
i51arch/ppc/boot/cortstrip.ci = lseek(fd, skip, SEEK_SET);
i52arch/ppc/boot/cortstrip.cprintf("lseek'd %d bytes\n", i);
i53arch/ppc/boot/cortstrip.cif ( i == -1 )
i61arch/ppc/boot/cortstrip.ci = write(fdo, data, n);
i62arch/ppc/boot/cortstrip.cprintf("Wrote %d bytes\n", i);    
i16arch/ppc/kernel/cortstrip.cint i, n, skip;
i42arch/ppc/kernel/cortstrip.ci = lseek(fd, skip, SEEK_SET);
i43arch/ppc/kernel/cortstrip.cprintf("lseek'd %d bytes\n", i);
i44arch/ppc/kernel/cortstrip.cif ( i == -1 )
i52arch/ppc/kernel/cortstrip.ci = write(fdo, data, n);
i53arch/ppc/kernel/cortstrip.cprintf("Wrote %d bytes\n", i);    
i87arch/ppc/kernel/irq.cint i, len = 0;
i90arch/ppc/kernel/irq.cfor (i = 0 ; i < 16 ; i++) {
i91arch/ppc/kernel/irq.caction = *(i + irq_action);
i95arch/ppc/kernel/irq.ci, kstat.interrupts[i],
i344arch/ppc/kernel/irq.cunsigned int i, irqs = 0, irqmask;
i348arch/ppc/kernel/irq.cfor (i = 15; i > 0; i--) {
i349arch/ppc/kernel/irq.cif (!request_irq(i, no_action, SA_PROBE, "probe", NULL)) {
i350arch/ppc/kernel/irq.cenable_irq(i);
i351arch/ppc/kernel/irq.cirqs |= (1 << i);
i360arch/ppc/kernel/irq.cfor (i = 15; i > 0; i--) {
i361arch/ppc/kernel/irq.cif (irqs & (1 << i) & irqmask) {
i362arch/ppc/kernel/irq.cirqs ^= (1 << i);
i363arch/ppc/kernel/irq.cfree_irq(i, NULL);
i374arch/ppc/kernel/irq.cunsigned int i, irqmask;
i377arch/ppc/kernel/irq.cfor (i = 15; i > 0; i--) {
i378arch/ppc/kernel/irq.cif (irqs & (1 << i)) {
i379arch/ppc/kernel/irq.cfree_irq(i, NULL);
i388arch/ppc/kernel/irq.ci = ffz(~irqs);
i389arch/ppc/kernel/irq.cif (irqs != (irqs & (1 << i)))
i390arch/ppc/kernel/irq.ci = -i;
i391arch/ppc/kernel/irq.creturn i;
i403arch/ppc/kernel/irq.cint i;
i8arch/ppc/kernel/mk_ramdisk.cint i, cnt, pos;
i39arch/ppc/kernel/mk_ramdisk.cfor (i = 0;  i < sizeof(buf);  i += 4)
i50arch/ppc/kernel/mk_ramdisk.cfprintf(out, " # %x \n", pos+i-12);
i17arch/ppc/kernel/mkboot.cint i, n, skip;
i47arch/ppc/kernel/mkboot.ci = lseek(fd, skip, SEEK_SET);
i48arch/ppc/kernel/mkboot.cprintf("lseek'd %d bytes\n", i);
i49arch/ppc/kernel/mkboot.cif ( i == -1 )
i57arch/ppc/kernel/mkboot.ci = write(fdo, data, n);
i58arch/ppc/kernel/mkboot.cprintf("Wrote %d bytes\n", i);    
i21arch/ppc/kernel/mmu.hunsigned long i:1;  /* Cache inhibited */
i61arch/ppc/kernel/mmu.hunsigned long i:1;  /* Cache inhibit */
i101arch/ppc/kernel/process.cint i;
i109arch/ppc/kernel/process.cfor (i = 0;  i < 8;  i++)
i111arch/ppc/kernel/process.csegs[i].ks = 0;
i112arch/ppc/kernel/process.csegs[i].kp = 1;
i113arch/ppc/kernel/process.csegs[i].vsid = i | (nr << 4);
i116arch/ppc/kernel/process.cfor (i = 8;  i < 16;  i++)
i118arch/ppc/kernel/process.csegs[i].ks = 0;
i119arch/ppc/kernel/process.csegs[i].kp = 1;
i120arch/ppc/kernel/process.csegs[i].vsid = i;
i170arch/ppc/kernel/process.cint i;
i173arch/ppc/kernel/process.cfor ( i = 0 ; i <= 0x400 ; i++)
i175arch/ppc/kernel/process.cprintk("going to do kmalloc(%d)\n",i);
i176arch/ppc/kernel/process.ca = kmalloc(i,GFP_KERNEL);
i177arch/ppc/kernel/process.ca = kmalloc(i,GFP_KERNEL);
i212arch/ppc/kernel/process.cint i;
i682arch/ppc/kernel/raw_printf.ci = (d->cp - base) / COL;
i687arch/ppc/kernel/raw_printf.cfillw(d->color|(' '<<8), base + i * COL, COL);
i691arch/ppc/kernel/raw_printf.ci = (d->cp - base) / COL;
i692arch/ppc/kernel/raw_printf.cpp = base + i * COL;
i693arch/ppc/kernel/raw_printf.cbcopy(pp + COL, pp, (ROW-1 - i)*COL*CHR);
i1094arch/ppc/kernel/raw_printf.cint i, c;
i1108arch/ppc/kernel/raw_printf.cfor (i = 0;  i < 16;  i++)
i1110arch/ppc/kernel/raw_printf.cif (i < s)
i1112arch/ppc/kernel/raw_printf.c_printk("%02X", p[i] & 0xFF);
i1117arch/ppc/kernel/raw_printf.cif ((i % 2) == 1) _printk(" ");
i1118arch/ppc/kernel/raw_printf.cif ((i % 8) == 7) _printk(" ");
i1121arch/ppc/kernel/raw_printf.cfor (i = 0;  i < 16;  i++)
i1123arch/ppc/kernel/raw_printf.cif (i < s)
i1125arch/ppc/kernel/raw_printf.cc = p[i] & 0xFF;
i1147arch/ppc/kernel/raw_printf.cint i, c;
i1161arch/ppc/kernel/raw_printf.cfor (i = 0;  i < 16;  i++)
i1163arch/ppc/kernel/raw_printf.cif (i < s)
i1165arch/ppc/kernel/raw_printf.cprintk("%02X", p[i] & 0xFF);
i1170arch/ppc/kernel/raw_printf.cif ((i % 2) == 1) printk(" ");
i1171arch/ppc/kernel/raw_printf.cif ((i % 8) == 7) printk(" ");
i1174arch/ppc/kernel/raw_printf.cfor (i = 0;  i < 16;  i++)
i1176arch/ppc/kernel/raw_printf.cif (i < s)
i1178arch/ppc/kernel/raw_printf.cc = p[i] & 0xFF;
i96arch/ppc/kernel/traps.cint i;
i100arch/ppc/kernel/traps.cfor (i = 0;  i < 32;  i++)
i102arch/ppc/kernel/traps.cif ((i % 8) == 0)
i104arch/ppc/kernel/traps.cprintk("GPR%02d: ", i);
i106arch/ppc/kernel/traps.cprintk("%08X ", regs->gpr[i]);
i107arch/ppc/kernel/traps.cif ((i % 8) == 7)
i127arch/ppc/mm/init.cint i,free = 0,total = 0,reserved = 0;
i133arch/ppc/mm/init.ci = high_memory >> PAGE_SHIFT;
i134arch/ppc/mm/init.cwhile (i-- > 0) {
i136arch/ppc/mm/init.cif (mem_map[i].reserved)
i138arch/ppc/mm/init.celse if (!mem_map[i].count)
i141arch/ppc/mm/init.cshared += mem_map[i].count-1;
i265arch/ppc/mm/init.cint i;
i267arch/ppc/mm/init.ci = high_memory >> PAGE_SHIFT;
i272arch/ppc/mm/init.cwhile (i-- > 0)  {
i273arch/ppc/mm/init.cif (mem_map[i] & MAP_PAGE_RESERVED)
i276arch/ppc/mm/init.cif (!mem_map[i])
i278arch/ppc/mm/init.cval->sharedram += mem_map[i]-1;
i465arch/ppc/mm/init.cint i, p;
i474arch/ppc/mm/init.cfor (i = 0;  i < MAX_MMU_PAGES;  i++)
i485arch/ppc/mm/init.cfor (i = 0;  i < 16;  i++)
i487arch/ppc/mm/init.csegs[i].ks = 0;
i488arch/ppc/mm/init.csegs[i].kp = 1;
i489arch/ppc/mm/init.csegs[i].vsid = i;
i493arch/ppc/mm/init.cfor (i = (int)_start;  i <= (int)_end;  i += MMU_PAGE_SIZE)
i496arch/ppc/mm/init.cfor (i = (int)_start;  i <= (int)Hash;  i += MMU_PAGE_SIZE)
i499arch/ppc/mm/init.cMMU_map_page(&init_task.tss, i, i & 0x00FFFFFF, PAGE_KERNEL);
i502arch/ppc/mm/init.cfor (i = (int)Hash;  i < (int)Hash+Hash_size;  i += MMU_PAGE_SIZE)
i504arch/ppc/mm/init.cMMU_map_page(&init_task.tss, i, i & 0x00FFFFFF, PAGE_KERNEL);
i558arch/ppc/mm/init.cint hash, page_index, segment, i, h, _h, api, vsid, perms;
i595arch/ppc/mm/init.cfor (i = 0;  i < 8;  i++, _pte++)
i621arch/ppc/mm/init.cfor (i = 0;  i < 8;  i++, _pte++)
i627arch/ppc/mm/init.cfor (i = 0;  i < 8;  i++, _pte++)
i633arch/ppc/mm/init.cfor (i = 0;  i < NUM_MAPPINGS;  i++)
i666arch/ppc/mm/init.cslot->i = 0;
i723arch/ppc/mm/init.cint i, j, flags;
i733arch/ppc/mm/init.cfor (i = 0 ; (i < PTRS_PER_PGD) && (address < KERNELBASE); i++)
i21arch/ppc/mm/mmu.hunsigned long i:1;  /* Cache inhibited */
i61arch/ppc/mm/mmu.hunsigned long i:1;  /* Cache inhibit */
i122arch/sparc/kernel/cpu.cint i, cpuid;
i131arch/sparc/kernel/cpu.cfor(i = 0; i<NSPARCCHIPS; i++) {
i132arch/sparc/kernel/cpu.cif(linux_sparc_chips[i].psr_impl == psr_impl)
i133arch/sparc/kernel/cpu.cif(linux_sparc_chips[i].psr_vers == psr_vers) {
i134arch/sparc/kernel/cpu.csparc_cpu_type[cpuid] = linux_sparc_chips[i].cpu_name;
i139arch/sparc/kernel/cpu.cif(i==NSPARCCHIPS)
i143arch/sparc/kernel/cpu.cfor(i = 0; i<NSPARCFPU; i++) {
i144arch/sparc/kernel/cpu.cif(linux_sparc_fpu[i].psr_impl == psr_impl)
i145arch/sparc/kernel/cpu.cif(linux_sparc_fpu[i].fp_vers == fpu_vers) {
i146arch/sparc/kernel/cpu.csparc_fpu_type[cpuid] = linux_sparc_fpu[i].fp_name;
i151arch/sparc/kernel/cpu.cif(i == NSPARCFPU) {
i51arch/sparc/kernel/idprom.cint i;
i53arch/sparc/kernel/idprom.cfor(i = 0; i<NUM_SUN_MACHINES; i++) {
i54arch/sparc/kernel/idprom.cif(Sun_Machines[i].id_machtype == machtyp) {
i56arch/sparc/kernel/idprom.cprintk("TYPE: %s\n", Sun_Machines[i].name);
i66arch/sparc/kernel/idprom.cif(i == NUM_SUN_MACHINES)
i169arch/sparc/kernel/irq.cint i, len = 0;
i172arch/sparc/kernel/irq.cfor (i = 0 ; i < 16 ; i++) {
i173arch/sparc/kernel/irq.caction = *(i + irq_action);
i177arch/sparc/kernel/irq.ci, kstat.interrupts[i],
i233arch/sparc/kernel/irq.cint i;
i240arch/sparc/kernel/irq.cfor (i = 0; i < 16; i++)
i242arch/sparc/kernel/irq.cprom_printf("[%s:%d:0x%x] ", action->name, (int) i,
i156arch/sparc/kernel/probe.cint i, cpuid;
i165arch/sparc/kernel/probe.cfor(i = 0; i<NSPARCCHIPS; i++) {
i166arch/sparc/kernel/probe.cif(linux_sparc_chips[i].psr_impl == psr_impl)
i167arch/sparc/kernel/probe.cif(linux_sparc_chips[i].psr_vers == psr_vers) {
i168arch/sparc/kernel/probe.csparc_cpu_type[cpuid] = linux_sparc_chips[i].cpu_name;
i173arch/sparc/kernel/probe.cif(i==NSPARCCHIPS)
i177arch/sparc/kernel/probe.cfor(i = 0; i<NSPARCFPU; i++) {
i178arch/sparc/kernel/probe.cif(linux_sparc_fpu[i].psr_impl == psr_impl)
i179arch/sparc/kernel/probe.cif(linux_sparc_fpu[i].fp_vers == fpu_vers) {
i180arch/sparc/kernel/probe.csparc_fpu_type[cpuid] = linux_sparc_fpu[i].fp_name;
i185arch/sparc/kernel/probe.cif(i == NSPARCFPU) {
i420arch/sparc/kernel/probe.cint nd, i, prom_node_cpu, thismid;
i452arch/sparc/kernel/probe.cfor(i=0; i<cpu_ctr; i++) {
i453arch/sparc/kernel/probe.cprom_getstring(cpu_nds[i], "name", node_str, sizeof(node_str));
i455arch/sparc/kernel/probe.cprintk("cpu%d: %s \n", i, node_str);
i114arch/sparc/kernel/setup.cint i;
i115arch/sparc/kernel/setup.cfor(i=0; i<strlen(commands); i++) {
i116arch/sparc/kernel/setup.cif(commands[i]=='-') {
i117arch/sparc/kernel/setup.cswitch(commands[i+1]) {
i130arch/sparc/kernel/setup.ccommands[i+1]);
i134arch/sparc/kernel/setup.cif(commands[i]=='k' && commands[i+1]=='g' &&
i135arch/sparc/kernel/setup.ccommands[i+2]=='d' && commands[i+3]=='b' &&
i136arch/sparc/kernel/setup.ccommands[i+4]=='=' && commands[i+5]=='t' &&
i137arch/sparc/kernel/setup.ccommands[i+6]=='t' && commands[i+7]=='y') {
i139arch/sparc/kernel/setup.c"session\n", commands[i+8]);
i141arch/sparc/kernel/setup.cif(commands[i+8]=='a')
i143arch/sparc/kernel/setup.celse if(commands[i+8]=='b')
i180arch/sparc/kernel/setup.cint total, i, panic_stuff[2];
i246arch/sparc/kernel/setup.cfor(i=0; sp_banks[i].num_bytes != 0; i++) {
i248arch/sparc/kernel/setup.cprintk("Bank %d:  base 0x%x  bytes %d\n", i,
i249arch/sparc/kernel/setup.c(unsigned int) sp_banks[i].base_addr, 
i250arch/sparc/kernel/setup.c(int) sp_banks[i].num_bytes);
i252arch/sparc/kernel/setup.cend_of_phys_memory = sp_banks[i].base_addr + sp_banks[i].num_bytes;
i203arch/sparc/kernel/smp.cint i=smp_processor_id();
i217arch/sparc/kernel/smp.cif(clear_bit(i,(unsigned long *)&smp_invalidate_needed))
i219arch/sparc/kernel/smp.cset_bit(i, (unsigned long *)&cpu_callin_map[0]);
i182arch/sparc/kernel/sparc-stub.cint i, flags;
i185arch/sparc/kernel/sparc-stub.cfor(i=0; i < 256; i++)
i186arch/sparc/kernel/sparc-stub.ccopy_ttentry(&sparc_ttable[i], &kgdb_savettable[i]);
i229arch/sparc/kernel/sparc-stub.cint i;
i270arch/sparc/kernel/sparc-stub.cfor (i=3; i <= count; i++)
i271arch/sparc/kernel/sparc-stub.cbuffer[i-3] = buffer[i];
i335arch/sparc/kernel/sparc-stub.cint i;
i338arch/sparc/kernel/sparc-stub.cfor (i=0; i<count; i++) {
i46arch/sparc/kernel/traps.cunsigned long i;
i55arch/sparc/kernel/traps.cfor(i = -3; i < 6; i++)
i56arch/sparc/kernel/traps.cprintk("%c%08lx%c",i?' ':'<',pc[i],i?' ':'>');
i263arch/sparc/kernel/traps.cint i;
i285arch/sparc/kernel/traps.cfor(i=0; i<linux_num_cpus; i++) {
i286arch/sparc/kernel/traps.cif((linux_cpus[i].mid & (~8)) != 0x0) {
i288arch/sparc/kernel/traps.ccpuid = (linux_cpus[i].mid & (~8));
i290arch/sparc/kernel/traps.cthiscpus_mid = linux_cpus[i].mid;
i293arch/sparc/kernel/traps.cprom_startcpu(linux_cpus[i].prom_node, &ctx_reg, 0x0,
i295arch/sparc/kernel/traps.cprom_printf("Waiting for cpu %d to start up...\n", i);
i21arch/sparc/kernel/windows.cint i;
i23arch/sparc/kernel/windows.cfor(i = first_win; i < last_win; i++) {
i24arch/sparc/kernel/windows.ctp->rwbuf_stkptrs[i] = tp->rwbuf_stkptrs[i+1];
i25arch/sparc/kernel/windows.cmemcpy(&tp->reg_window[i], &tp->reg_window[i+1], sizeof(struct reg_window));
i53arch/sparc/mm/fault.cregister int i;
i55arch/sparc/mm/fault.ci = 0;
i64arch/sparc/mm/fault.ci++;
i68arch/sparc/mm/fault.cif (i >= SPARC_PHYS_BANKS-1) {
i72arch/sparc/mm/fault.ci = SPARC_PHYS_BANKS-1;
i76arch/sparc/mm/fault.csp_banks[i].base_addr = (unsigned long) mlist->start_adr;
i77arch/sparc/mm/fault.csp_banks[i].num_bytes = mlist->num_bytes;
i80arch/sparc/mm/fault.ci++;
i81arch/sparc/mm/fault.csp_banks[i].base_addr = 0xdeadbeef;
i82arch/sparc/mm/fault.csp_banks[i].num_bytes = 0;
i58arch/sparc/mm/init.cint i,free = 0,total = 0,reserved = 0;
i64arch/sparc/mm/init.ci = MAP_NR(high_memory);
i65arch/sparc/mm/init.cwhile (i-- > 0) {
i67arch/sparc/mm/init.cif (mem_map[i].reserved)
i69arch/sparc/mm/init.celse if (!mem_map[i].count)
i72arch/sparc/mm/init.cshared += mem_map[i].count-1;
i240arch/sparc/mm/init.cint i;
i242arch/sparc/mm/init.ci = MAP_NR(high_memory);
i247arch/sparc/mm/init.cwhile (i-- > 0)  {
i248arch/sparc/mm/init.cif (mem_map[i].reserved)
i251arch/sparc/mm/init.cif (!mem_map[i].count)
i253arch/sparc/mm/init.cval->sharedram += mem_map[i].count-1;
i1053arch/sparc/mm/srmmu.cint i, cpunode;
i1085arch/sparc/mm/srmmu.cfor(i = 0; i < num_contexts; i++)
i1086arch/sparc/mm/srmmu.csrmmu_ctxd_set(&srmmu_context_table[i], swapper_pg_dir);
i232arch/sparc/mm/sun4c.cint i;
i234arch/sparc/mm/sun4c.cfor(i=0; i < 256; i++) {
i235arch/sparc/mm/sun4c.cmmu_entry_pool[i].pseg = i;
i236arch/sparc/mm/sun4c.cmmu_entry_pool[i].next = 0;
i237arch/sparc/mm/sun4c.cmmu_entry_pool[i].prev = 0;
i238arch/sparc/mm/sun4c.cmmu_entry_pool[i].vaddr = 0;
i239arch/sparc/mm/sun4c.cmmu_entry_pool[i].locked = 0;
i283arch/sparc/mm/sun4c.cint i, ctx;
i286arch/sparc/mm/sun4c.cfor(i=0; i < invalid_segment; i++)
i287arch/sparc/mm/sun4c.cif(!mmu_entry_pool[i].locked)
i289arch/sparc/mm/sun4c.cmmu_entry_pool[i].locked = 1;
i290arch/sparc/mm/sun4c.csun4c_init_clean_segmap(i);
i292arch/sparc/mm/sun4c.cprom_putsegment(ctx, start, mmu_entry_pool[i].pseg);
i308arch/sparc/mm/sun4c.cint i;
i309arch/sparc/mm/sun4c.cfor(i=0; i<16; i++) {
i310arch/sparc/mm/sun4c.csun4c_context_ring[i].ringhd.next =
i311arch/sparc/mm/sun4c.csun4c_context_ring[i].ringhd.prev =
i312arch/sparc/mm/sun4c.c&sun4c_context_ring[i].ringhd;
i313arch/sparc/mm/sun4c.csun4c_context_ring[i].num_entries = 0;
i385arch/sparc/mm/sun4c.cint i;
i388arch/sparc/mm/sun4c.cfor(i=0; i < invalid_segment; i++)
i389arch/sparc/mm/sun4c.cif(!mmu_entry_pool[i].locked)
i391arch/sparc/mm/sun4c.cmmu_entry_pool[i].locked = 1;
i392arch/sparc/mm/sun4c.csun4c_init_clean_segmap(i);
i393arch/sparc/mm/sun4c.cadd_ring(&sun4c_kfree_ring, &mmu_entry_pool[i]);
i400arch/sparc/mm/sun4c.cint i;
i402arch/sparc/mm/sun4c.cfor(i=0; i < invalid_segment; i++) {
i403arch/sparc/mm/sun4c.cif(mmu_entry_pool[i].locked)
i405arch/sparc/mm/sun4c.csun4c_init_clean_segmap(i);
i406arch/sparc/mm/sun4c.cadd_ring(&sun4c_ufree_ring, &mmu_entry_pool[i]);
i491arch/sparc/mm/sun4c.cunsigned char mmuhog, i, ctx = 0;
i499arch/sparc/mm/sun4c.cfor(i=0; i < num_contexts; i++) {
i500arch/sparc/mm/sun4c.cif(sun4c_context_ring[i].num_entries > mmuhog) {
i501arch/sparc/mm/sun4c.crp = &sun4c_context_ring[i];
i503arch/sparc/mm/sun4c.cctx = i;
i1064arch/sparc/mm/sun4c.cint used_user_entries, i;
i1067arch/sparc/mm/sun4c.cfor(i=0; i < num_contexts; i++)
i1068arch/sparc/mm/sun4c.cused_user_entries += sun4c_context_ring[i].num_entries;
i1316arch/sparc/mm/sun4c.cint i, cnt;
i1346arch/sparc/mm/sun4c.cfor(i = 0; i < num_segmaps; i++)
i1347arch/sparc/mm/sun4c.cif(mmu_entry_pool[i].locked)
i40arch/sparc/prom/memory.cint i, mitr, tmpsize;
i44arch/sparc/prom/memory.cfor(i=0; thislist[i].theres_more != 0; i++) {
i45arch/sparc/prom/memory.clowest = thislist[i].start_adr;
i46arch/sparc/prom/memory.cfor(mitr = i+1; thislist[mitr-1].theres_more != 0; mitr++)
i51arch/sparc/prom/memory.cif(lowest == thislist[i].start_adr) continue;
i54arch/sparc/prom/memory.cfor(mitr = swapi; mitr > i; mitr--) {
i58arch/sparc/prom/memory.cthislist[i].start_adr = tmpaddr;
i59arch/sparc/prom/memory.cthislist[i].num_bytes = tmpsize;
i23arch/sparc/prom/printf.cint i;
i26arch/sparc/prom/printf.ci = vsprintf(ppbuf, fmt, args);
i168drivers/block/ali14xx.cint i;
i174drivers/block/ali14xx.cfor (i = 0; i < ALI_NUM_PORTS; ++i) {
i175drivers/block/ali14xx.cbasePort = ports[i];
i234drivers/block/cmd640.cint i;
i238drivers/block/cmd640.cfor (i = 0xc000; i <= 0xcf00; i += 0x100) {
i240drivers/block/cmd640.cv_id = inw(i);
i241drivers/block/cmd640.cd_id = inw(i + 2);
i247drivers/block/cmd640.ccmd640_key = i;
i530drivers/block/cmd640.cint i;
i532drivers/block/cmd640.cfor (i = 0; drives_ra[i].name != NULL; i++) {
i533drivers/block/cmd640.cif (strmatch(drives_ra[i].name, name) == 0) {
i534drivers/block/cmd640.creturn drives_ra[i].mode;
i657drivers/block/cmd640.cint i;
i664drivers/block/cmd640.cfor (i = 0; (i < 100) && (inb (p_base + 7) & 0x80); i++)
i53drivers/block/dtc2278.cint i;
i55drivers/block/dtc2278.cfor(i = 0; i < 3; ++i) {
i442drivers/block/floppy.c#define _WAIT(x,i) CALL(ret=wait_til_done((x),i))
i887drivers/block/floppy.cint i, drive, saved_drive;
i893drivers/block/floppy.cfor (i=0; i < N_DRIVE; i++){
i894drivers/block/floppy.cdrive = (saved_drive + i + 1) % N_DRIVE;
i990drivers/block/floppy.cint i;
i993drivers/block/floppy.cfor (i=0; i < raw_cmd->cmd_count; i++)
i994drivers/block/floppy.cprintk("%x,", raw_cmd->cmd[i]);
i1065drivers/block/floppy.cint i = 0, counter, status = 0;
i1077drivers/block/floppy.cresultsize = i;
i1079drivers/block/floppy.creturn i;
i1084drivers/block/floppy.cif (i >= MAX_REPLIES) {
i1088drivers/block/floppy.creply_buffer[i++] = fd_inb(FD_DATA);
i1094drivers/block/floppy.cstatus, fdc, i);
i1355drivers/block/floppy.cint i,ready_date,r, flags,dflags;
i1387drivers/block/floppy.cfor (i=0; i< raw_cmd->cmd_count; i++)
i1388drivers/block/floppy.cr|=output_byte(raw_cmd->cmd[i]);
i1596drivers/block/floppy.cint i;
i1602drivers/block/floppy.cfor (i=0; i<inr; i++)
i1603drivers/block/floppy.cprintk("%d %x\n", i, reply_buffer[i]);
i1612drivers/block/floppy.cfor (i=0; i<inr; i++)
i1613drivers/block/floppy.cprintk("%d %x\n", i, reply_buffer[i]);
i1713drivers/block/floppy.cint i;
i1725drivers/block/floppy.cfor (i=0; i < OLOGSIZE; i++)
i1727drivers/block/floppy.coutput_log[(i+output_log_pos) % OLOGSIZE].data,
i1728drivers/block/floppy.coutput_log[(i+output_log_pos) % OLOGSIZE].status,
i1729drivers/block/floppy.coutput_log[(i+output_log_pos) % OLOGSIZE].jiffies);
i1732drivers/block/floppy.cfor (i=0; i<resultsize; i++){
i1733drivers/block/floppy.cprintk("%2x ", reply_buffer[i]);
i2836drivers/block/floppy.cint i;
i2843drivers/block/floppy.cfor (i=0; i< raw_cmd->reply_count; i++)
i2844drivers/block/floppy.craw_cmd->reply[i] = reply_buffer[i];
i2939drivers/block/floppy.cint i;
i2972drivers/block/floppy.cfor (i=0; i< 16; i++)
i2973drivers/block/floppy.cptr->reply[i] = 0;
i3164drivers/block/floppy.cint i;
i3166drivers/block/floppy.cfor (i=0; i < ARRAY_SIZE(translation_table); i++) {
i3167drivers/block/floppy.cif ((*cmd & 0xffff) == (translation_table[i].newcmd & 0xffff)){
i3169drivers/block/floppy.c*cmd = translation_table[i].newcmd;
i3182drivers/block/floppy.cint i;
i3195drivers/block/floppy.cfor (i=0; i < ARRAY_SIZE(translation_table); i++) {
i3196drivers/block/floppy.cif (*cmd == translation_table[i].oldcmd) {
i3197drivers/block/floppy.c*size = translation_table[i].oldsize;
i3198drivers/block/floppy.c*cmd = translation_table[i].newcmd;
i3214drivers/block/floppy.cint i,drive,type;
i3368drivers/block/floppy.cCALL(i = raw_cmd_ioctl(cmd,(void *) param));
i3370drivers/block/floppy.creturn i;
i3782drivers/block/floppy.cint i;
i3784drivers/block/floppy.cfor (i=0; i < ARRAY_SIZE(default_drive_params); i++){
i3786drivers/block/floppy.cdefault_drive_params[i].params.flags |= 0x80;
i3788drivers/block/floppy.cdefault_drive_params[i].params.flags &= ~0x80;
i3795drivers/block/floppy.cint i;
i3797drivers/block/floppy.cfor (i=0; i < ARRAY_SIZE(default_drive_params); i++){
i3799drivers/block/floppy.cdefault_drive_params[i].params.select_delay = 0;
i3800drivers/block/floppy.cdefault_drive_params[i].params.flags |= FD_SILENT_DCL_CLEAR;
i3802drivers/block/floppy.cdefault_drive_params[i].params.select_delay = 2*HZ/100;
i3803drivers/block/floppy.cdefault_drive_params[i].params.flags &= ~FD_SILENT_DCL_CLEAR;
i3879drivers/block/floppy.cint i;
i3882drivers/block/floppy.cfor (i=0; i< ARRAY_SIZE(config_params); i++){
i3883drivers/block/floppy.cif (strcmp(str,config_params[i].name) == 0){
i3887drivers/block/floppy.cparam = config_params[i].def_param;
i3888drivers/block/floppy.cconfig_params[i].fn(ints,param);
i3896drivers/block/floppy.cfor (i=0; i< ARRAY_SIZE(config_params); i++)
i3897drivers/block/floppy.cprintk(" %s",config_params[i].name);
i3906drivers/block/floppy.cint i,unit,drive;
i3918drivers/block/floppy.cfor (i=0; i<256; i++)
i3919drivers/block/floppy.cif (ITYPE(i))
i3920drivers/block/floppy.cfloppy_sizes[i] = floppy_type[ITYPE(i)].size >> 1;
i3922drivers/block/floppy.cfloppy_sizes[i] = MAX_DISK_SIZE;
i3933drivers/block/floppy.cfor (i = 0; i < N_FDC; i++) {
i3934drivers/block/floppy.cfdc = i;
i3960drivers/block/floppy.cfor (i = 0; i < N_FDC; i++) {
i3961drivers/block/floppy.cfdc = i;
i4007drivers/block/floppy.cint i;
i4015drivers/block/floppy.cfor (i=0; i< N_FDC; i++){
i4017drivers/block/floppy.cfdc = i;
i4099drivers/block/floppy.cunsigned long i;
i4110drivers/block/floppy.cfor (i=current->mm->env_start; i< current->mm->env_end; i ++){
i4111drivers/block/floppy.cc= get_fs_byte(i);
i130drivers/block/genhd.cint i;
i166drivers/block/genhd.cfor (i=0; i<4; i++, p++) {
i172drivers/block/genhd.cif (i >= 2
i195drivers/block/genhd.cfor (i=0; i<4; i++, p++)
i198drivers/block/genhd.cif (i == 4)
i213drivers/block/genhd.cint i, minor = current_minor;
i295drivers/block/genhd.cfor (i = 0; i < 4 ; i++) {
i296drivers/block/genhd.cstruct partition *q = &p[i];
i311drivers/block/genhd.cfor (i=1 ; i<=4 ; minor++,i++,p++) {
i338drivers/block/genhd.cfor (i = 4 ; i < 16 ; i++, current_minor++) {
i358drivers/block/genhd.cint i;
i411drivers/block/genhd.cfor (i = 0 ; i < label->d_npartitions; i++, partition++) {
i431drivers/block/genhd.cint i, csum;
i480drivers/block/genhd.cfor(i=0; i < 8; i++, p++) {
i544drivers/block/genhd.cint i;
i557drivers/block/genhd.cfor (i = first_minor; i < end_minor; i++)
i558drivers/block/genhd.cdev->sizes[i] = dev->part[i].nr_sects >> (BLOCK_SIZE_BITS - 9);
i565drivers/block/genhd.cint i, drive;
i569drivers/block/genhd.cfor (i = 0 ; i < end_minor; i++) {
i570drivers/block/genhd.cdev->part[i].start_sect = 0;
i571drivers/block/genhd.cdev->part[i].nr_sects = 0;
i580drivers/block/genhd.cfor (i = 0; i < end_minor; i++)
i581drivers/block/genhd.cdev->sizes[i] = dev->part[i].nr_sects >> (BLOCK_SIZE_BITS - 9);
i99drivers/block/hd.cint i;
i105drivers/block/hd.ci = inb_p(0x40);
i106drivers/block/hd.ci |= inb(0x40) << 8;
i108drivers/block/hd.creturn(t - i);
i172drivers/block/hd.cint i = inb_p(HD_STATUS);
i174drivers/block/hd.cif (!OK_STATUS(i)) {
i175drivers/block/hd.cdump_status("check_status", i);
i359drivers/block/hd.cunsigned int i;
i362drivers/block/hd.cfor (i = 0; i < 500000 ; i++) {
i373drivers/block/hd.cint  i;
i376drivers/block/hd.cfor(i = 0; i < 1000; i++) barrier();
i378drivers/block/hd.cfor(i = 0; i < 1000; i++) barrier();
i387drivers/block/hd.cstatic int i;
i392drivers/block/hd.ci = -1;
i399drivers/block/hd.cif (++i < NR_HD) {
i400drivers/block/hd.cspecial_op[i] = recalibrate[i] = 1;
i401drivers/block/hd.cif (unmask_intr[i]) {
i402drivers/block/hd.cunmask_intr[i] = DEFAULT_UNMASK_INTR;
i403drivers/block/hd.cprintk("hd%c: reset irq-unmasking to %d\n",i+'a',
i406drivers/block/hd.cif (mult_req[i] || mult_count[i]) {
i407drivers/block/hd.cmult_count[i] = 0;
i408drivers/block/hd.cmult_req[i] = DEFAULT_MULT_COUNT;
i409drivers/block/hd.cprintk("hd%c: reset multiple mode to %d\n",i+'a',
i412drivers/block/hd.chd_out(i,hd_info[i].sect,hd_info[i].sect,hd_info[i].head-1,
i413drivers/block/hd.chd_info[i].cyl,WIN_SPECIFY,&reset_hd);
i475drivers/block/hd.cint i, retries = 100000, msect = mult_count[dev], nsect;
i480drivers/block/hd.ci = (unsigned) inb_p(HD_STATUS);
i481drivers/block/hd.cif (i & BUSY_STAT)
i483drivers/block/hd.cif (!OK_STATUS(i))
i485drivers/block/hd.cif (i & DRQ_STAT)
i488drivers/block/hd.cdump_status("read_intr", i);
i503drivers/block/hd.ci = (CURRENT->nr_sectors -= nsect);
i512drivers/block/hd.cif (i > 0) {
i548drivers/block/hd.cint i;
i553drivers/block/hd.cif (OK_STATUS(i=inb_p(HD_STATUS))) {
i554drivers/block/hd.cif (i & DRQ_STAT) {
i562drivers/block/hd.cfor (i = CURRENT->nr_sectors; i > 0;){
i563drivers/block/hd.ci -= CURRENT->current_nr_sectors;
i575drivers/block/hd.cdump_status("multwrite_intr", i);
i582drivers/block/hd.cint i;
i588drivers/block/hd.ci = (unsigned) inb_p(HD_STATUS);
i589drivers/block/hd.cif (i & BUSY_STAT)
i591drivers/block/hd.cif (!OK_STATUS(i))
i593drivers/block/hd.cif ((CURRENT->nr_sectors <= 1) || (i & DRQ_STAT))
i596drivers/block/hd.cdump_status("write_intr", i);
i602drivers/block/hd.ci = --CURRENT->nr_sectors;
i605drivers/block/hd.cif (!i || (CURRENT->bh && !SUBSECTOR(i)))
i607drivers/block/hd.cif (i > 0) {
i956drivers/block/hd.cint i;
i1007drivers/block/hd.ci = NR_HD;
i1008drivers/block/hd.cwhile (i-- > 0) {
i1017drivers/block/hd.chd[i<<6].nr_sects = bios_info[i].head *
i1018drivers/block/hd.cbios_info[i].sect * bios_info[i].cyl;
i1019drivers/block/hd.chd_ident_info[i] = (struct hd_driveid *) kmalloc(512,GFP_KERNEL);
i1020drivers/block/hd.cspecial_op[i] = 1;
i1033drivers/block/hd.cfor(i=0;i<(MAX_HD << 6);i++) hd_blocksizes[i] = 1024;
i1086drivers/block/hd.cint i;
i1104drivers/block/hd.cfor (i=max_p - 1; i >=0 ; i--) {
i1105drivers/block/hd.cint minor = start + i;
i167drivers/block/ht6560b.cint i;
i173drivers/block/ht6560b.cfor (i=3;i>0;i--) {
i434drivers/block/ide-cd.cint i;
i489drivers/block/ide-cd.cfor (i=0; i<sizeof (failed_command->c); i++)
i490drivers/block/ide-cd.cprintk ("%02x ", failed_command->c[i]);
i1644drivers/block/ide-cd.cint stat, ntracks, i;
i1704drivers/block/ide-cd.cfor (i=0; i<=ntracks; i++) {
i1708drivers/block/ide-cd.ctoc->ent[i].track = bcd2bin (toc->ent[i].track);
i1709drivers/block/ide-cd.cmsf_from_bcd (&toc->ent[i].addr.msf);
i1712drivers/block/ide-cd.ctoc->ent[i].addr.lba = msf_to_lba (toc->ent[i].addr.msf.minute,
i1713drivers/block/ide-cd.ctoc->ent[i].addr.msf.second,
i1714drivers/block/ide-cd.ctoc->ent[i].addr.msf.frame);
i1846drivers/block/ide-cd.cint i, stat;
i1857drivers/block/ide-cd.cfor (i=0; i<75; i++) {
i1026drivers/block/ide-tape.cunsigned short mask,i;
i1080drivers/block/ide-tape.cfor (i=0,mask=1;i<8;i++,mask=mask << 1) {
i1082drivers/block/ide-tape.cprintk ("%d ",i);
i1089drivers/block/ide-tape.cfor (i=0,mask=1;i<8;i++,mask=mask << 1) {
i1091drivers/block/ide-tape.cprintk ("%d ",i);
i2262drivers/block/ide-tape.cunsigned long i;
i2264drivers/block/ide-tape.cfor (i=0;i<bcount;i++)
i3467drivers/block/ide-tape.cint i;
i3469drivers/block/ide-tape.cfor (i=0;i<12;i++)
i3470drivers/block/ide-tape.cpc->c[i]=0;
i3925drivers/block/ide-tape.cint i,retval;
i3960drivers/block/ide-tape.cfor (i=0;i<mt_count;i++) {
i4282drivers/block/ide-tape.cint buffers_num,i;
i4315drivers/block/ide-tape.cfor (i=1;i<buffers_num;i++) {
i285drivers/block/ide.cint i;
i291drivers/block/ide.ci = inb_p(0x40);
i292drivers/block/ide.ci |= inb(0x40) << 8;
i294drivers/block/ide.creturn (t - i);
i874drivers/block/ide.cint i = (drive->mult_count ? drive->mult_count : 1) * SECTOR_WORDS;
i876drivers/block/ide.cwhile (i > 0) {
i878drivers/block/ide.cunsigned int wcount = (i > 16) ? 16 : i;
i879drivers/block/ide.ci -= wcount;
i944drivers/block/ide.cint i;
i970drivers/block/ide.ci = (rq->nr_sectors -= nsect);
i973drivers/block/ide.cif (i > 0) {
i986drivers/block/ide.cint i;
i1000drivers/block/ide.ci = --rq->nr_sectors;
i1004drivers/block/ide.cif (i > 0) {
i1056drivers/block/ide.cint i;
i1070drivers/block/ide.cfor (i = rq->nr_sectors; i > 0;){
i1071drivers/block/ide.ci -= rq->current_nr_sectors;
i2558drivers/block/ide.cchar *i = strchr(s, c);
i2559drivers/block/ide.creturn (i && c) ? i - s : -1;
i2578drivers/block/ide.cint i, n;
i2585drivers/block/ide.cfor (i = 0; *keywords != NULL; ++i) {
i2587drivers/block/ide.creturn -(i+1);
i2595drivers/block/ide.cfor (n = 0; (i = stridx(decimal, *s)) >= 0;) {
i2596drivers/block/ide.cvals[n] = i;
i2597drivers/block/ide.cwhile ((i = stridx(decimal, *++s)) >= 0)
i2598drivers/block/ide.cvals[n] = (vals[n] * 10) + i;
i2600drivers/block/ide.cwhile ((i = stridx(hex, *++s)) >= 0)
i2601drivers/block/ide.cvals[n] = (vals[n] * 0x10) + i;
i2663drivers/block/ide.cint i, vals[3];
i2730drivers/block/ide.ci = match_parm(&s[4], ide_words, vals, 3);
i2735drivers/block/ide.cif (i != -1 && i != -2) {
i2738drivers/block/ide.cif (i < 0 && ide_hwifs[1].chipset != ide_unknown)
i2744drivers/block/ide.cif (i <= -6 && hw != 0)
i2747drivers/block/ide.cswitch (i) {
i3229drivers/block/ide.cint index, i, rc = -1;
i3247drivers/block/ide.cfor (i = 0; i < hwif->gd->nr_real; i++)
i3248drivers/block/ide.crevalidate_disk(MKDEV(hwif->major, i<<PARTN_BITS));
i34drivers/block/linear.cint cur=0, i, size, dev0_size, nb_zone;
i49drivers/block/linear.cfor (i=1; i<mddev->nb_dev; i++)
i50drivers/block/linear.cif (data->smallest->size > devices[minor][i].size)
i51drivers/block/linear.cdata->smallest=devices[minor]+i;
i61drivers/block/linear.ci=0;
i64drivers/block/linear.cdata->hash_table[i].dev0=devices[minor]+cur;
i68drivers/block/linear.cdata->hash_table[i++].dev1=NULL;
i82drivers/block/linear.cdata->hash_table[i].dev1=NULL;
i88drivers/block/linear.cdata->hash_table[i++].dev1=devices[minor]+cur;
i486drivers/block/ll_rw_blk.cint i;
i508drivers/block/ll_rw_blk.ci = blksize_size[major][MINOR(bh[0]->b_dev)];
i509drivers/block/ll_rw_blk.cif (i)
i510drivers/block/ll_rw_blk.ccorrect_size = i;
i514drivers/block/ll_rw_blk.cfor (i = 0; i < nr; i++) {
i515drivers/block/ll_rw_blk.cif (bh[i] && bh[i]->b_size != correct_size) {
i519drivers/block/ll_rw_blk.ccorrect_size, bh[i]->b_size);
i530drivers/block/ll_rw_blk.cfor (i = 0; i < nr; i++) {
i531drivers/block/ll_rw_blk.cif (bh[i]) {
i532drivers/block/ll_rw_blk.cset_bit(BH_Req, &bh[i]->b_state);
i535drivers/block/ll_rw_blk.cbh[i]->b_rdev = bh[i]->b_dev;
i537drivers/block/ll_rw_blk.cmake_request(major, rw, bh[i]);
i543drivers/block/ll_rw_blk.cfor (i = 0; i < nr; i++) {
i544drivers/block/ll_rw_blk.cif (bh[i]) {
i545drivers/block/ll_rw_blk.cclear_bit(BH_Dirty, &bh[i]->b_state);
i546drivers/block/ll_rw_blk.cclear_bit(BH_Uptodate, &bh[i]->b_state);
i554drivers/block/ll_rw_blk.cint i, j;
i579drivers/block/ll_rw_blk.cfor (j=0, i=0; i<nb;)
i581drivers/block/ll_rw_blk.cfor (; j < 8 && i < nb; j++, i++, buf += buffersize)
i594drivers/block/ll_rw_blk.creq[j]->sector = (b[i] * buffersize) >> 9;
i60drivers/block/loop.cint  i, keysize;
i71drivers/block/loop.cfor (i=0; i < size; i++)
i72drivers/block/loop.c*out++ = *in++ ^ key[(i & 511) % keysize];
i478drivers/block/loop.cint  i;
i490drivers/block/loop.cfor (i=0; i < MAX_LOOP; i++) {
i491drivers/block/loop.cmemset(&loop_dev[i], 0, sizeof(struct loop_device));
i492drivers/block/loop.cloop_dev[i].lo_number = i;
i117drivers/block/md.cint i, j, minra=INT_MAX;
i119drivers/block/md.cfor (i=0; i<MAX_MD_DEV; i++)
i121drivers/block/md.cif (!md_dev[i].pers)
i124drivers/block/md.cfor (j=0; j<md_dev[i].nb_dev; j++)
i125drivers/block/md.cif (read_ahead[MAJOR(devices[i][j].dev)]<minra)
i126drivers/block/md.cminra=read_ahead[MAJOR(devices[i][j].dev)];
i453drivers/block/md.cint i, j, max_req, major=0, rw, found;
i463drivers/block/md.cfor (i=0; i<n; i++)
i465drivers/block/md.cif (!pending[i].bh)
i469drivers/block/md.crw=pending[i].cmd;
i470drivers/block/md.cbh=pending[i].bh;
i471drivers/block/md.cmajor=MAJOR(dev=pending[i].rq_dev);
i497drivers/block/md.creq->sector + req->nr_sectors == pending[i].sector &&
i498drivers/block/md.c(req->nr_sectors + pending[i].nr_sectors) < 245)
i501drivers/block/md.creq->bhtail = pending[i].bhtail;
i502drivers/block/md.creq->nr_sectors += pending[i].nr_sectors;
i511drivers/block/md.creq->sector - pending[i].nr_sectors == pending[i].sector &&
i512drivers/block/md.c(req->nr_sectors + pending[i].nr_sectors) < 245)
i514drivers/block/md.creq->nr_sectors += pending[i].nr_sectors;
i515drivers/block/md.cpending[i].bhtail->b_reqnext = req->bh;
i518drivers/block/md.creq->sector = pending[i].sector;
i541drivers/block/md.creq->sector = pending[i].sector;
i542drivers/block/md.creq->nr_sectors = pending[i].nr_sectors;
i547drivers/block/md.creq->bhtail = pending[i].bhtail;
i599drivers/block/md.cint i;
i601drivers/block/md.cfor(i=0;i<MAX_MD_DEV;i++)
i603drivers/block/md.cmd_blocksizes[i] = 1024;
i604drivers/block/md.cmd_gendisk.part[i].start_sect=-1;
i605drivers/block/md.cmd_dev[i].pers=NULL;
i607drivers/block/md.cmd_dev[i].smallest_count=md_dev[i].biggest_count=md_dev[i].equal_count=0;
i625drivers/block/md.cint sz=0, i, j;
i628drivers/block/md.cfor (i=0; i<MAX_PERSONALITY; i++)
i629drivers/block/md.cif (pers[i])
i630drivers/block/md.csz+=sprintf (page+sz, "[%d %s] ", i, pers[i]->name);
i640drivers/block/md.cfor (i=0; i<MAX_MD_DEV; i++)
i642drivers/block/md.csz+=sprintf (page+sz, "md%d : %sactive", i, md_dev[i].pers ? "" : "in");
i644drivers/block/md.cif (md_dev[i].pers)
i645drivers/block/md.csz+=sprintf (page+sz, " %s", md_dev[i].pers->name);
i647drivers/block/md.cfor (j=0; j<md_dev[i].nb_dev; j++)
i649drivers/block/md.c(devices[i][j].invalid==VALID) ? "" : "(",
i650drivers/block/md.cpartition_name(devices[i][j].dev),
i651drivers/block/md.c(devices[i][j].invalid==VALID) ? "" : ")");
i653drivers/block/md.cif (md_dev[i].nb_dev)
i654drivers/block/md.csz+=sprintf (page+sz, " %d blocks", md_size[i]);
i656drivers/block/md.cif (!md_dev[i].pers)
i662drivers/block/md.cif (md_dev[i].pers->max_invalid_dev)
i663drivers/block/md.csz+=sprintf (page+sz, " maxfault=%ld", MAX_FAULT(md_dev+i));
i665drivers/block/md.cif (md_dev[i].pers != pers[(LINEAR>>PERSONALITY_SHIFT)])
i667drivers/block/md.csz+=sprintf (page+sz, " %dk chunks", 1<<FACTOR_SHIFT(FACTOR(md_dev+i)));
i670drivers/block/md.cmd_dev[i].smallest_count,
i671drivers/block/md.cmd_dev[i].equal_count,
i672drivers/block/md.cmd_dev[i].biggest_count);
i676drivers/block/md.csz+=md_dev[i].pers->status (page+sz, i, md_dev+i);
i686drivers/block/md.cint i;
i688drivers/block/md.cfor (i=0; i<md_dev[minor].nb_dev; i++)
i689drivers/block/md.cif (devices[minor][i].dev==dev)
i692drivers/block/md.cif (i>md_dev[minor].nb_dev)
i704drivers/block/md.cif (devices[minor][i].invalid==INVALID_ALWAYS)
i706drivers/block/md.cdevices[minor][i].fault_count=0; /* reset fault count */
i713drivers/block/md.cif (devices[minor][i].invalid != VALID )
i716drivers/block/md.cif (++devices[minor][i].fault_count > MAX_FAULT(md_dev+minor) &&
i741drivers/block/md.cdevices[minor][i].invalid=mode;
i768drivers/block/md.cint i=(p_num >> PERSONALITY_SHIFT);
i770drivers/block/md.cif (i >= MAX_PERSONALITY)
i773drivers/block/md.cif (pers[i])
i776drivers/block/md.cpers[i]=p;
i783drivers/block/md.cint i=(p_num >> PERSONALITY_SHIFT);
i785drivers/block/md.cif (i >= MAX_PERSONALITY)
i788drivers/block/md.cprintk ("%s personality unregistered\n", pers[i]->name);
i789drivers/block/md.cpers[i]=NULL;
i135drivers/block/promise.cint i;
i180drivers/block/promise.cfor (i=0; i<2 ; i++) {
i181drivers/block/promise.chwif->drives[i].io_32bit = 3;
i182drivers/block/promise.csecond_hwif->drives[i].io_32bit = 3;
i183drivers/block/promise.cif(!ident.current_tm[i+2].cyl) second_hwif->drives[i].noprobe=1;
i194drivers/block/promise.cint i;
i225drivers/block/promise.ci = (rq->nr_sectors -= nsect);
i228drivers/block/promise.cif (i > 0) {
i248drivers/block/promise.cint i;
i264drivers/block/promise.cfor (i = rq->nr_sectors; i > 0;) {
i265drivers/block/promise.ci -= rq->current_nr_sectors;
i283drivers/block/promise.cint i;
i293drivers/block/promise.cfor (i = rq->nr_sectors; i > 0;) {
i294drivers/block/promise.ci -= rq->current_nr_sectors;
i34drivers/block/raid0.cint i, j, c=0;
i41drivers/block/raid0.cfor (i=1; i<mddev->nb_dev; i++)
i43drivers/block/raid0.cfor (j=0; j<i; j++)
i44drivers/block/raid0.cif (devices[minor][i].size==devices[minor][j].size)
i61drivers/block/raid0.cfor (i=0; i<data->nr_strip_zones; i++)
i63drivers/block/raid0.cdata->strip_zone[i].dev_offset=current_offset;
i70drivers/block/raid0.cdata->strip_zone[i].dev[c++]=devices[minor]+j;
i76drivers/block/raid0.cdata->strip_zone[i].nb_dev=c;
i77drivers/block/raid0.cdata->strip_zone[i].size=(smallest_by_zone->size-current_offset)*c;
i80drivers/block/raid0.cdata->smallest->size > data->strip_zone[i].size)
i81drivers/block/raid0.cdata->smallest=data->strip_zone+i;
i83drivers/block/raid0.cdata->strip_zone[i].zone_offset=i ? (data->strip_zone[i-1].zone_offset+
i84drivers/block/raid0.cdata->strip_zone[i-1].size) : 0;
i91drivers/block/raid0.cint cur=0, i=0, size, zone0_size, nb_zone, min;
i96drivers/block/raid0.cfor (i=0; i<mddev->nb_dev; i++)
i97drivers/block/raid0.cif (devices[minor][i].size<min)
i100drivers/block/raid0.cpartition_name (devices[minor][i].dev));
i109drivers/block/raid0.cfor (i=0; i<mddev->nb_dev; i++)
i111drivers/block/raid0.cdevices[minor][i].size &= ~((1 << FACTOR_SHIFT(FACTOR(mddev))) - 1);
i112drivers/block/raid0.cmd_size[minor] += devices[minor][i].size;
i128drivers/block/raid0.ci=0;
i131drivers/block/raid0.cdata->hash_table[i].zone0=data->strip_zone+cur;
i135drivers/block/raid0.cdata->hash_table[i++].zone1=NULL;
i149drivers/block/raid0.cdata->hash_table[i].zone1=NULL;
i155drivers/block/raid0.cdata->hash_table[i++].zone1=data->strip_zone+cur;
i188drivers/block/raid0.cint i, queue, blk_in_chunk, factor, chunk;
i227drivers/block/raid0.cfor (i=blk_in_chunk;
i228drivers/block/raid0.ci<(1UL << FACTOR_SHIFT(factor)) && req->bh;
i229drivers/block/raid0.ci+=bh->b_size >> 10)
i194drivers/block/rd.cunsigned long i;
i197drivers/block/rd.cfor (i = initrd_start; i < initrd_end; i += PAGE_SIZE)
i198drivers/block/rd.cfree_page(i);
i265drivers/block/rd.cint    i;
i274drivers/block/rd.cfor (i = 0; i < NUM_RAMDISKS; i++) {
i275drivers/block/rd.crd_length[i] = (RD_DEFAULTSIZE * 1024);
i276drivers/block/rd.crd_blocksizes[i] = 1024;
i299drivers/block/rd.cint i;
i301drivers/block/rd.cfor (i = 0 ; i < NUM_RAMDISKS; i++)
i302drivers/block/rd.cinvalidate_buffers(MKDEV(MAJOR_NR, i));
i423drivers/block/rd.cint nblocks, i;
i480drivers/block/rd.cfor (i=0; i < nblocks; i++) {
i485drivers/block/rd.cif (!(i % 16)) {
i153drivers/block/triton.cint i;
i163drivers/block/triton.cfor (i = rq->nr_sectors; i > 0;) {
i164drivers/block/triton.ci -= rq->current_nr_sectors;
i83drivers/block/umc8672.cint i, tmp;
i93drivers/block/umc8672.cfor (i = 3; i >= 0; i--)
i95drivers/block/umc8672.ctmp = (tmp << 2) | speedtab[1][speeds[i]];
i98drivers/block/umc8672.cfor (i = 0;i < 4; i++)
i100drivers/block/umc8672.cout_umc (0xd0+i,speedtab[2][speeds[i]]);
i101drivers/block/umc8672.cout_umc (0xd8+i,speedtab[2][speeds[i]]);
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;
i521drivers/block/xd.cu_char cmdblk[6],i,count = 0;
i523drivers/block/xd.cfor (i = 0; i < XD_MAXDRIVES; i++) {
i524drivers/block/xd.cxd_build(cmdblk,CMD_TESTREADY,i,0,0,0,0,0);
i679drivers/block/xd.cu_char cmdblk[6],i;
i681drivers/block/xd.cfor (i = 0; i < 3; i++) {
i682drivers/block/xd.cwhile (min[i] != max[i] - 1) {
i683drivers/block/xd.ctest[i] = (min[i] + max[i]) / 2;
i686drivers/block/xd.cmin[i] = test[i];
i688drivers/block/xd.cmax[i] = test[i];
i690drivers/block/xd.ctest[i] = min[i];
i612drivers/cdrom/aztcd.c{       int i, st;
i629drivers/cdrom/aztcd.c{ if ((i=aztUpdateToc())<0) RETURNM("aztcd_ioctl 3", i); /* error reading TOC */
i664drivers/cdrom/aztcd.ci = aztPlay(&azt_Play);
i665drivers/cdrom/aztcd.cif (i < 0)
i723drivers/cdrom/aztcd.ci = aztPlay(&azt_Play);
i724drivers/cdrom/aztcd.cif (i < 0)
i758drivers/cdrom/aztcd.ci = aztPlay(&azt_Play);
i759drivers/cdrom/aztcd.cif (i < 0)
i966drivers/cdrom/aztcd.cint i;
i967drivers/cdrom/aztcd.cfor (i = 0; i < AZT_BUF_SIZ && azt_buf_bn[i] != bn; ++i)
i969drivers/cdrom/aztcd.cif (i < AZT_BUF_SIZ) {
i970drivers/cdrom/aztcd.cint offs = (i * 4 + (CURRENT -> sector & 3)) * 512;
i972drivers/cdrom/aztcd.cif (azt_buf_out != i) {
i973drivers/cdrom/aztcd.cazt_buf_out = i;
i974drivers/cdrom/aztcd.cif (azt_buf_bn[i] != bn) {
i1182drivers/cdrom/aztcd.cint i;
i1185drivers/cdrom/aztcd.ci = 0;
i1187drivers/cdrom/aztcd.cwhile (azt_msf2hsg(&msf.start)>azt_msf2hsg(&Toc[++i].trackTime)) {};
i1188drivers/cdrom/aztcd.cif (azt_msf2hsg(&msf.start)<azt_msf2hsg(&Toc[i].trackTime)-AZT_BUF_SIZ)
i1194drivers/cdrom/aztcd.c{ azt_read_count=(azt_msf2hsg(&Toc[i].trackTime)/4)*4-azt_msf2hsg(&msf.start);  
i1362drivers/cdrom/aztcd.cint i;
i1365drivers/cdrom/aztcd.cfor (i=0; i<CD_FRAMESIZE_RAW; i++) inb(DATA_PORT);
i1367drivers/cdrom/aztcd.cfor (i=0; i<CD_FRAMESIZE; i++) inb(DATA_PORT);
i1442drivers/cdrom/aztcd.c{ int i;
i1447drivers/cdrom/aztcd.cfor (i = 0; i < AZT_BUF_SIZ; ++i)
i1448drivers/cdrom/aztcd.cazt_buf_bn[i] = -1;
i2016drivers/cdrom/aztcd.c{ int i, px;
i2024drivers/cdrom/aztcd.c{ for (i = 0; i < MAX_TRACKS; i++)
i2025drivers/cdrom/aztcd.cToc[i].pointIndex = 0;
i2026drivers/cdrom/aztcd.ci = DiskInfo.last + 3;
i2029drivers/cdrom/aztcd.c{ for (i = DiskInfo.next; i < MAX_TRACKS; i++)
i2030drivers/cdrom/aztcd.cToc[i].pointIndex = 0; 
i2031drivers/cdrom/aztcd.ci = DiskInfo.last + 4 - DiskInfo.next;
i2060drivers/cdrom/aztcd.ci--;
i2063drivers/cdrom/aztcd.cif (i <= 0)
i2072drivers/cdrom/aztcd.cfor (i = 1; i <= DiskInfo.last+1; i++)
i2074drivers/cdrom/aztcd.ci, Toc[i].ctrl_addr, Toc[i].track, Toc[i].pointIndex,
i2075drivers/cdrom/aztcd.cToc[i].trackTime.min, Toc[i].trackTime.sec, Toc[i].trackTime.frame,
i2076drivers/cdrom/aztcd.cToc[i].diskTime.min, Toc[i].diskTime.sec, Toc[i].diskTime.frame);
i2077drivers/cdrom/aztcd.cfor (i = 100; i < 103; i++)
i2079drivers/cdrom/aztcd.ci, Toc[i].ctrl_addr, Toc[i].track, Toc[i].pointIndex,
i2080drivers/cdrom/aztcd.cToc[i].trackTime.min, Toc[i].trackTime.sec, Toc[i].trackTime.frame,
i2081drivers/cdrom/aztcd.cToc[i].diskTime.min, Toc[i].diskTime.sec, Toc[i].diskTime.frame);
i687drivers/cdrom/cdu31a.cint i;
i746drivers/cdrom/cdu31a.cfor (i=0; i<8; i++)
i774drivers/cdrom/cdu31a.cfor (i=0; i<10; i++)
i1211drivers/cdrom/cdu31a.cint i;
i1219drivers/cdrom/cdu31a.cfor(i=0; i<CD_XA_HEAD; i++)
i1258drivers/cdrom/cdu31a.cfor(i=0; i<CD_XA_TAIL; i++)
i1910drivers/cdrom/cdu31a.cint i;
i1915drivers/cdrom/cdu31a.cfor (i = 0; i < num_tracks; i++)
i1917drivers/cdrom/cdu31a.cif (sony_toc.tracks[i].track == track)
i1919drivers/cdrom/cdu31a.creturn i;
i2386drivers/cdrom/cdu31a.cint i;
i2448drivers/cdrom/cdu31a.ci=verify_area(VERIFY_READ, (char *) arg, 6);
i2449drivers/cdrom/cdu31a.cif(i)
i2450drivers/cdrom/cdu31a.creturn i;
i2455drivers/cdrom/cdu31a.cfor (i=1; i<7; i++)
i2457drivers/cdrom/cdu31a.cparams[i] = int_to_bcd(params[i]);
i2482drivers/cdrom/cdu31a.ci=verify_area(VERIFY_WRITE, hdr, sizeof(*hdr));
i2483drivers/cdrom/cdu31a.cif(i<0)
i2484drivers/cdrom/cdu31a.creturn i;
i2505drivers/cdrom/cdu31a.ci=verify_area(VERIFY_READ, entry, sizeof(*entry));
i2506drivers/cdrom/cdu31a.cif(i<0)
i2507drivers/cdrom/cdu31a.creturn i;
i2508drivers/cdrom/cdu31a.ci=verify_area(VERIFY_WRITE, entry, sizeof(*entry));
i2509drivers/cdrom/cdu31a.cif(i<0)
i2510drivers/cdrom/cdu31a.creturn i;
i2561drivers/cdrom/cdu31a.ci=verify_area(VERIFY_READ, (char *) arg, sizeof(ti));
i2562drivers/cdrom/cdu31a.cif(i<0)
i2563drivers/cdrom/cdu31a.creturn i;
i2630drivers/cdrom/cdu31a.ci=verify_area(VERIFY_READ, (char *) arg, sizeof(volctrl));
i2631drivers/cdrom/cdu31a.cif(i<0)
i2632drivers/cdrom/cdu31a.creturn i;
i2659drivers/cdrom/cdu31a.ci=verify_area(VERIFY_READ, (char *) arg, sizeof(ra));
i2660drivers/cdrom/cdu31a.cif(i<0)
i2661drivers/cdrom/cdu31a.creturn i;
i2664drivers/cdrom/cdu31a.ci=verify_area(VERIFY_WRITE, ra.buf, CD_FRAMESIZE_RAW * ra.nframes);
i2665drivers/cdrom/cdu31a.cif(i<0)
i2666drivers/cdrom/cdu31a.creturn i;
i2999drivers/cdrom/cdu31a.cint i;
i3041drivers/cdrom/cdu31a.ci = 0;
i3042drivers/cdrom/cdu31a.cwhile (   (cdu31a_addresses[i].base != 0)
i3045drivers/cdrom/cdu31a.cif (check_region(cdu31a_addresses[i].base, 4)) {
i3046drivers/cdrom/cdu31a.ci++;
i3049drivers/cdrom/cdu31a.cget_drive_configuration(cdu31a_addresses[i].base,
i3055drivers/cdrom/cdu31a.ccdu31a_irq = cdu31a_addresses[i].int_num;
i3059drivers/cdrom/cdu31a.ci++;
i129drivers/cdrom/cm206.c#define stats(i) ++cd->stats[st_ ## i]; \
i130drivers/cdrom/cm206.ccd->last_stat[st_ ## i] = cd->stat_counter++;
i132drivers/cdrom/cm206.c#define stats(i) (void) 0
i374drivers/cdrom/cm206.cint i;
i376drivers/cdrom/cm206.cfor(i=0; i<bytes; i++) 
i377drivers/cdrom/cm206.cstatus[i] = send_receive(c_gimme);
i411drivers/cdrom/cm206.cint i, e;
i414drivers/cdrom/cm206.cfor (i=0; i<4; i++) 
i415drivers/cdrom/cm206.cif (read_sector[i] != (e=send_receive(read_sector[i]))) {
i416drivers/cdrom/cm206.cdebug(("read_sector: %x echoes %x\n", read_sector[i], e));
i541drivers/cdrom/cm206.cint i=0;
i543drivers/cdrom/cm206.cwhile (i++<10 && cd->dsb & dsb_drive_not_ready) {
i636drivers/cdrom/cm206.clong int i, cd_sec_no;
i650drivers/cdrom/cm206.cfor (i=0; i<CURRENT->nr_sectors; i++) {
i651drivers/cdrom/cm206.ccd_sec_no = (CURRENT->sector+i)/4; /* 4 times 512 bytes */
i652drivers/cdrom/cm206.cquarter = (CURRENT->sector+i) % 4; 
i653drivers/cdrom/cm206.cdest = CURRENT->buffer + i*512;
i709drivers/cdrom/cm206.cint i;
i713drivers/cdrom/cm206.cfor (i=0; i<4; i++) type_0_command(seek_command[i], 0);
i735drivers/cdrom/cm206.cint i, lba, l, old_lba=0;
i741drivers/cdrom/cm206.cfor (i=track; i>0; i--) if (cd->toc[i].track) {
i742drivers/cdrom/cm206.cmin = fsm2lba(cd->toc[i].fsm);
i789drivers/cdrom/cm206.cint i;
i793drivers/cdrom/cm206.cfor (i=0; i<3; i++) cd->toc[1].fsm[i] = cd->disc_status[3+i];
i805drivers/cdrom/cm206.cint i;
i806drivers/cdrom/cm206.cfor (i=0; i<9; i++) type_0_command(play_command[i], 0);
i807drivers/cdrom/cm206.cfor (i=0; i<3; i++) 
i808drivers/cdrom/cm206.cPLAY_TO.fsm[i] = play_command[i+4];
i816drivers/cdrom/cm206.cint i;
i819drivers/cdrom/cm206.cfor (i=0; i<3; i++) { 
i820drivers/cdrom/cm206.cplay_command[i+1] = cd->audio_status[i+2];
i821drivers/cdrom/cm206.cplay_command[i+4] = PLAY_TO.fsm[i];
i825drivers/cdrom/cm206.cfor (i=0; i<3; i++) {
i826drivers/cdrom/cm206.cplay_command[i+1] = cd->toc[from].fsm[i];
i827drivers/cdrom/cm206.cPLAY_TO.fsm[i] = play_command[i+4] = cd->toc[to+1].fsm[i];
i831drivers/cdrom/cm206.cfor (i=0; i<7; i++) type_0_command(play_command[i],0);
i832drivers/cdrom/cm206.cfor (i=0; i<2; i++) type_0_command(0x2, 0); /* volume */
i838drivers/cdrom/cm206.cint i;
i842drivers/cdrom/cm206.cfor (i=2; i<6; i++) q[i]=bcdbin(q[i]); 
i1190drivers/cdrom/cm206.cint i;
i1191drivers/cdrom/cm206.cfor (i=0; i<2; i++) {
i1192drivers/cdrom/cm206.cif (0x300 <= cm206[i] && i<= 0x370 && cm206[i] % 0x10 == 0) {
i1193drivers/cdrom/cm206.ccm206_base = cm206[i];
i1196drivers/cdrom/cm206.celse if (3 <= cm206[i] && cm206[i] <= 15) {
i1197drivers/cdrom/cm206.ccm206_irq = cm206[i];
i1224drivers/cdrom/cm206.cint i;
i1226drivers/cdrom/cm206.cfor(i=1; i<=p[0]; i++) {
i1227drivers/cdrom/cm206.cif (0x300 <= p[i] && i<= 0x370 && p[i] % 0x10 == 0) {
i1228drivers/cdrom/cm206.ccm206_base = p[i];
i1231drivers/cdrom/cm206.celse if (3 <= p[i] && p[i] <= 15) {
i1232drivers/cdrom/cm206.ccm206_irq = p[i];
i528drivers/cdrom/gscd.cint           i,dummy;
i546drivers/cdrom/gscd.cfor ( i=1,dummy=1 ; i<0xFFFF ; i++ )
i548drivers/cdrom/gscd.cdummy *= i;
i657drivers/cdrom/gscd.cint  i,j;
i668drivers/cdrom/gscd.cfor ( i=0 ; i<j ; i++ )
i737drivers/cdrom/gscd.cint  i;
i763drivers/cdrom/gscd.cfor ( i=0 ; i< size ; i++ )
i814drivers/cdrom/gscd.cint  i;
i835drivers/cdrom/gscd.cfor ( i=0 ; i<size ; i++ )
i853drivers/cdrom/gscd.cint i;
i861drivers/cdrom/gscd.cfor ( i=0 ; i<8 ; i++ )
i902drivers/cdrom/gscd.cint  i;
i908drivers/cdrom/gscd.cfor ( i=0 ; i<0x1E; i++ )
i910drivers/cdrom/gscd.cprintk ( "%c", resp[i] );
i1001drivers/cdrom/gscd.cint i;
i1025drivers/cdrom/gscd.ci = find_drives ();
i1026drivers/cdrom/gscd.cif ( i == 0 )
i1040drivers/cdrom/gscd.ci = 0;
i1041drivers/cdrom/gscd.cwhile ( drv_states[i] != 0 )
i1043drivers/cdrom/gscd.ccurr_drv_state = drv_states[i];
i1044drivers/cdrom/gscd.cprintk (KERN_INFO "GSCD: Reset unit %d ... ",i );
i1047drivers/cdrom/gscd.ci++;
i157drivers/cdrom/isp16.cshort i = -1;
i176drivers/cdrom/isp16.ci = 0;
i180drivers/cdrom/isp16.ci = 1;
i187drivers/cdrom/isp16.creturn(i); /* -> not detected: possibly incorrect conclusion */
i191drivers/cdrom/isp16.ci = 0;
i193drivers/cdrom/isp16.ci = 1;
i197drivers/cdrom/isp16.creturn(i);
i233drivers/cdrom/isp16.cu_char i;
i290drivers/cdrom/isp16.ci = ISP16_IN(ISP16_DRIVE_SET_PORT) & ISP16_DRIVE_SET_MASK;  /* clear some bits */
i291drivers/cdrom/isp16.cISP16_OUT( ISP16_DRIVE_SET_PORT, i|drive_type );
i298drivers/cdrom/isp16.ci = ISP16_IN(ISP16_IO_SET_PORT) & ISP16_IO_SET_MASK;  /* keep some bits */
i299drivers/cdrom/isp16.cISP16_OUT( ISP16_IO_SET_PORT, i|base_code|irq_code|dma_code );
i289drivers/cdrom/mcd.cint i, st;
i308drivers/cdrom/mcd.ci = updateToc();
i309drivers/cdrom/mcd.cif (i < 0)
i310drivers/cdrom/mcd.creturn i;  /* error reading TOC */
i325drivers/cdrom/mcd.ci = getMcdStatus(MCD_STATUS_DELAY);
i337drivers/cdrom/mcd.ci = getMcdStatus(MCD_STATUS_DELAY);
i358drivers/cdrom/mcd.ci = mcdPlay(&mcd_Play);
i359drivers/cdrom/mcd.cif (i < 0)
i395drivers/cdrom/mcd.ci = mcdPlay(&mcd_Play);
i396drivers/cdrom/mcd.cif (i < 0)
i409drivers/cdrom/mcd.ci = getMcdStatus(MCD_STATUS_DELAY);
i441drivers/cdrom/mcd.ci = mcdPlay(&mcd_Play);
i442drivers/cdrom/mcd.cif (i < 0)
i550drivers/cdrom/mcd.ci = getMcdStatus(MCD_STATUS_DELAY);
i551drivers/cdrom/mcd.cif (i < 0)
i569drivers/cdrom/mcd.ci = getMcdStatus(MCD_STATUS_DELAY);
i580drivers/cdrom/mcd.ci = getMcdStatus(MCD_STATUS_DELAY);
i599drivers/cdrom/mcd.cint i;
i600drivers/cdrom/mcd.cfor (i = 0; i < MCD_BUF_SIZ && mcd_buf_bn[i] != bn; ++i)
i602drivers/cdrom/mcd.cif (i < MCD_BUF_SIZ) {
i603drivers/cdrom/mcd.cint offs = (i * 4 + (CURRENT -> sector & 3)) * 512;
i605drivers/cdrom/mcd.cif (mcd_buf_out != i) {
i606drivers/cdrom/mcd.cmcd_buf_out = i;
i607drivers/cdrom/mcd.cif (mcd_buf_bn[i] != bn) {
i993drivers/cdrom/mcd.cint i = 4096;
i996drivers/cdrom/mcd.c} while ((inb(MCDPORT(1)) & MFL_STATUSorDATA) == MFL_STATUS && --i);
i999drivers/cdrom/mcd.ci = 4096;
i1002drivers/cdrom/mcd.c} while ((inb(MCDPORT(1)) & MFL_STATUSorDATA) == MFL_STATUS && --i);
i1083drivers/cdrom/mcd.cint i;
i1084drivers/cdrom/mcd.cfor (i = 0; i < MCD_BUF_SIZ; ++i)
i1085drivers/cdrom/mcd.cmcd_buf_bn[i] = -1;
i1309drivers/cdrom/mcd.cint i;
i1315drivers/cdrom/mcd.ci = inb(MCDPORT(0)) & 0xFF;
i1316drivers/cdrom/mcd.creturn i;
i1540drivers/cdrom/mcd.cint i, px;
i1545drivers/cdrom/mcd.cfor (i = 0; i < MAX_TRACKS; i++)
i1546drivers/cdrom/mcd.cToc[i].pointIndex = 0;
i1548drivers/cdrom/mcd.ci = DiskInfo.last + 3;
i1582drivers/cdrom/mcd.ci--;
i1585drivers/cdrom/mcd.cif (i <= 0)
i1601drivers/cdrom/mcd.cfor (i = 1; i <= DiskInfo.last; i++)
i1603drivers/cdrom/mcd.ci, Toc[i].ctrl_addr, Toc[i].track, Toc[i].pointIndex,
i1604drivers/cdrom/mcd.cToc[i].trackTime.min, Toc[i].trackTime.sec, Toc[i].trackTime.frame,
i1605drivers/cdrom/mcd.cToc[i].diskTime.min, Toc[i].diskTime.sec, Toc[i].diskTime.frame);
i1606drivers/cdrom/mcd.cfor (i = 100; i < 103; i++)
i1608drivers/cdrom/mcd.ci, Toc[i].ctrl_addr, Toc[i].track, Toc[i].pointIndex,
i1609drivers/cdrom/mcd.cToc[i].trackTime.min, Toc[i].trackTime.sec, Toc[i].trackTime.frame,
i1610drivers/cdrom/mcd.cToc[i].diskTime.min, Toc[i].diskTime.sec, Toc[i].diskTime.frame);
i587drivers/cdrom/mcdx.cint i;
i589drivers/cdrom/mcdx.cif (-1 == (i = mcdx_transfer(
i604drivers/cdrom/mcdx.cCURRENT->sector += i;
i605drivers/cdrom/mcdx.cCURRENT->nr_sectors -= i;
i606drivers/cdrom/mcdx.cCURRENT->buffer += (i * 512);
i943drivers/cdrom/mcdx.cunsigned char i;
i946drivers/cdrom/mcdx.cfor (i = 1; i < cmdlen; i++) printk(" 0x%02x", cmd[i]);
i1023drivers/cdrom/mcdx.cint i;
i1027drivers/cdrom/mcdx.cfor (i = 0; i < MCDX_NDRIVES; i++)  {
i1028drivers/cdrom/mcdx.cif (mcdx_stuffp[i]) {
i1030drivers/cdrom/mcdx.ci, mcdx_stuffp[i]));
i1044drivers/cdrom/mcdx.cint i;
i1048drivers/cdrom/mcdx.cfor (i = 0; i < MCDX_NDRIVES; i++) {
i1050drivers/cdrom/mcdx.cstuffp = mcdx_stuffp[i];
i1059drivers/cdrom/mcdx.cmcdx_stuffp[i] = NULL;
i1238drivers/cdrom/mcdx.cint i;
i1240drivers/cdrom/mcdx.cfor (i = 100; i; i--) (void) inb((unsigned int) stuffp->rreg_status);
i733drivers/cdrom/optcd.cvoid toc_debug_info(int i)
i737drivers/cdrom/optcd.ci, toc[i].cdsc_ctrl, toc[i].cdsc_adr,
i738drivers/cdrom/optcd.ctoc[i].cdsc_trk, toc[i].cdsc_ind,
i739drivers/cdrom/optcd.ctoc[i].cdsc_reladdr.msf.minute,
i740drivers/cdrom/optcd.ctoc[i].cdsc_reladdr.msf.second,
i741drivers/cdrom/optcd.ctoc[i].cdsc_reladdr.msf.frame,
i742drivers/cdrom/optcd.ctoc[i].cdsc_absaddr.msf.minute,
i743drivers/cdrom/optcd.ctoc[i].cdsc_absaddr.msf.second,
i744drivers/cdrom/optcd.ctoc[i].cdsc_absaddr.msf.frame);
i755drivers/cdrom/optcd.cint i;
i836drivers/cdrom/optcd.cfor (i = 1; i <= disk_info.last + 1; i++)
i837drivers/cdrom/optcd.ctoc_debug_info(i);
i980drivers/cdrom/optcd.cint i;
i984drivers/cdrom/optcd.cfor (i = 0; i < N_BUFS; i++)
i985drivers/cdrom/optcd.cbuf_bn[i] = NOBUF;
i1002drivers/cdrom/optcd.cint i, offs, nr_sectors;
i1003drivers/cdrom/optcd.cfor (i = 0; i < N_BUFS && buf_bn[i] != bn; ++i);
i1005drivers/cdrom/optcd.cDEBUG((DEBUG_REQUEST, "found %d", i));
i1007drivers/cdrom/optcd.cif (i >= N_BUFS) {
i1012drivers/cdrom/optcd.coffs = (i * 4 + (CURRENT -> sector & 3)) * 512;
i1015drivers/cdrom/optcd.cif (buf_out != i) {
i1016drivers/cdrom/optcd.cbuf_out = i;
i1017drivers/cdrom/optcd.cif (buf_bn[i] != bn) {
i1964drivers/cdrom/optcd.cint count, i, ch, status;
i1975drivers/cdrom/optcd.cfor (i = 0, ch = -1; count > 0; count--) {
i1980drivers/cdrom/optcd.cif (i < 99)
i1981drivers/cdrom/optcd.cdevname[i++] = ch;
i1983drivers/cdrom/optcd.cdevname[i] = '\0';
i765drivers/cdrom/sbpcd.cstatic void mark_timeout_delay(u_long i)
i773drivers/cdrom/sbpcd.cstatic void mark_timeout_data(u_long i)
i782drivers/cdrom/sbpcd.cstatic void mark_timeout_audio(u_long i)
i847drivers/cdrom/sbpcd.cstatic INLINE u_char swap_nibbles(u_char i)
i849drivers/cdrom/sbpcd.creturn ((i<<4)|(i>>4));
i852drivers/cdrom/sbpcd.cstatic INLINE u_char byt2bcd(u_char i)
i854drivers/cdrom/sbpcd.creturn (((i/10)<<4)+i%10);
i865drivers/cdrom/sbpcd.cint i;
i868drivers/cdrom/sbpcd.ci=(msf.c[2] * CD_SECS + msf.c[1]) * CD_FRAMES + msf.c[0] - CD_MSF_OFFSET;
i869drivers/cdrom/sbpcd.cif (i<0) return (0);
i870drivers/cdrom/sbpcd.creturn (i);
i878drivers/cdrom/sbpcd.cint i;
i880drivers/cdrom/sbpcd.ci=(msf[0] * CD_SECS + msf[1]) * CD_FRAMES + msf[2] - CD_MSF_OFFSET;
i881drivers/cdrom/sbpcd.cif (i<0) return (0);
i882drivers/cdrom/sbpcd.creturn (i);
i923drivers/cdrom/sbpcd.cint i;
i925drivers/cdrom/sbpcd.cfor (i=0;i<10;i++) drvcmd[i]=0;
i931drivers/cdrom/sbpcd.cint i;
i934drivers/cdrom/sbpcd.cfor (i=maxtim_data;i!=0;i--) inb(CDi_status);
i939drivers/cdrom/sbpcd.cint i,j;
i941drivers/cdrom/sbpcd.cfor(timeout = jiffies + 10*HZ, i=maxtim_data; timeout > jiffies; )
i943drivers/cdrom/sbpcd.cfor ( ;i!=0;i--)
i951drivers/cdrom/sbpcd.ci = 1;
i961drivers/cdrom/sbpcd.cint i;
i963drivers/cdrom/sbpcd.ci=inb(CDi_status);
i964drivers/cdrom/sbpcd.cif (i&s_not_data_ready) return (0);
i970drivers/cdrom/sbpcd.cint i;
i972drivers/cdrom/sbpcd.ci=inb(CDi_status);
i973drivers/cdrom/sbpcd.cif (i&s_not_result_ready) return (0);
i979drivers/cdrom/sbpcd.cint i;
i981drivers/cdrom/sbpcd.ci=inb(CDi_status);
i982drivers/cdrom/sbpcd.cif (i&s_attention) return (1);
i990drivers/cdrom/sbpcd.cint i,j,st=0;
i993drivers/cdrom/sbpcd.cfor (i=0,timeout=jiffies+HZ;i<response_count;i++) 
i1007drivers/cdrom/sbpcd.cinfobuf[i]=inb(CDi_info);
i1012drivers/cdrom/sbpcd.cinfobuf[i++]=inb(CDi_info);
i1014drivers/cdrom/sbpcd.cj=i-response_count;
i1017drivers/cdrom/sbpcd.cfor (j=0;j<i;j++)
i1020drivers/cdrom/sbpcd.cmsg(DBG_CMD,"ResponseInfo:%s (%d,%d)\n",msgbuf,response_count,i);
i1021drivers/cdrom/sbpcd.cj=response_count-i;
i1023drivers/cdrom/sbpcd.celse return (i);
i1079drivers/cdrom/sbpcd.cint i;
i1086drivers/cdrom/sbpcd.ci=cmd_out_T();
i1087drivers/cdrom/sbpcd.cif (i>=0) i=infobuf[0];
i1090drivers/cdrom/sbpcd.cmsg(DBG_TEA,"get_state_T error %d\n", i);
i1091drivers/cdrom/sbpcd.creturn (i);
i1093drivers/cdrom/sbpcd.cif (i>=0)
i1122drivers/cdrom/sbpcd.cint i,j;
i1135drivers/cdrom/sbpcd.ci=inb(CDi_status);
i1136drivers/cdrom/sbpcd.cif (!(i&s_not_result_ready)) break;
i1150drivers/cdrom/sbpcd.ci=inb(CDi_info);
i1151drivers/cdrom/sbpcd.cmsg(DBG_STA,"ResponseStatus: response %02X.\n", i);
i1152drivers/cdrom/sbpcd.cEvaluateStatus(i);
i1153drivers/cdrom/sbpcd.cmsg(DBG_STA,"status_bits=%02X, i=%02X\n",D_S[d].status_bits,i);
i1159drivers/cdrom/sbpcd.cint i;
i1167drivers/cdrom/sbpcd.cif (!fam0LV_drive) for (i=0;i<6;i++) OUT(CDo_command,0);
i1173drivers/cdrom/sbpcd.cint i;
i1203drivers/cdrom/sbpcd.ci=cmd_out();
i1205drivers/cdrom/sbpcd.cmsg(DBG_ERR,"cc_ReadError: cmd_out(CMDx_READ_ERR) returns %d (%02X)\n",i,i);
i1206drivers/cdrom/sbpcd.cif (i<0) return (i);
i1207drivers/cdrom/sbpcd.cif (fam0V_drive) i=1;
i1208drivers/cdrom/sbpcd.celse i=2;
i1209drivers/cdrom/sbpcd.cD_S[d].error_byte=infobuf[i];
i1210drivers/cdrom/sbpcd.cmsg(DBG_ERR,"cc_ReadError: infobuf[%d] is %d (%02X)\n",i,D_S[d].error_byte,D_S[d].error_byte);
i1211drivers/cdrom/sbpcd.ci=sta2err(infobuf[i]);
i1212drivers/cdrom/sbpcd.creturn (i);
i1222drivers/cdrom/sbpcd.cint i, j, l=0, m, ntries;
i1229drivers/cdrom/sbpcd.cfor (i=0;i<10;i++) sprintf(&msgbuf[i*3]," %02X",drvcmd[i]);
i1230drivers/cdrom/sbpcd.cmsgbuf[i*3]=0;
i1235drivers/cdrom/sbpcd.ci=inb(CDi_status);
i1237drivers/cdrom/sbpcd.cif ((f_16bit)&&(!(i&0x80)))
i1242drivers/cdrom/sbpcd.cif (!(i&s_not_result_ready))
i1246drivers/cdrom/sbpcd.ci=inb(CDi_status);
i1250drivers/cdrom/sbpcd.cwhile (!(i&s_not_result_ready));
i1252drivers/cdrom/sbpcd.cfor (i=0;i<10;i++) OUT(CDo_command,drvcmd[i]);
i1258drivers/cdrom/sbpcd.ci=inb(CDi_status);
i1259drivers/cdrom/sbpcd.cif (!(i&s_not_data_ready)) /* f.e. CMDT_DISKINFO */
i1270drivers/cdrom/sbpcd.ci=inw(CDi_data);
i1271drivers/cdrom/sbpcd.cinfobuf[l++]=i&0x0ff;
i1272drivers/cdrom/sbpcd.cinfobuf[l++]=i>>8;
i1283drivers/cdrom/sbpcd.ci=inb(CDi_status);
i1285drivers/cdrom/sbpcd.cwhile (!(i&s_not_data_ready));
i1297drivers/cdrom/sbpcd.cif (do_16bit) i=inw(CDi_data);
i1298drivers/cdrom/sbpcd.celse i=inb(CDi_data);
i1300drivers/cdrom/sbpcd.ci=inb(CDi_status);
i1302drivers/cdrom/sbpcd.cwhile (!(i&s_not_data_ready));
i1307drivers/cdrom/sbpcd.ci=inb(CDi_status);
i1308drivers/cdrom/sbpcd.cif (!(i&s_not_result_ready))
i1316drivers/cdrom/sbpcd.ci=inb(CDi_status);
i1318drivers/cdrom/sbpcd.cwhile (!(i&s_not_result_ready));
i1363drivers/cdrom/sbpcd.cint i=0;
i1369drivers/cdrom/sbpcd.cfor (i=0;i<7;i++)
i1370drivers/cdrom/sbpcd.csprintf(&msgbuf[i*3], " %02X", drvcmd[i]);
i1371drivers/cdrom/sbpcd.cmsgbuf[i*3]=0;
i1374drivers/cdrom/sbpcd.cfor (i=0;i<7;i++) OUT(CDo_command,drvcmd[i]);
i1386drivers/cdrom/sbpcd.celse i=ResponseInfo();
i1387drivers/cdrom/sbpcd.cif (i<0) return (i);
i1392drivers/cdrom/sbpcd.ci=CDi_stat_loop();
i1393drivers/cdrom/sbpcd.cif ((i<0)||!(i&s_attention)) return (-8);
i1405drivers/cdrom/sbpcd.ci=ResponseStatus();
i1407drivers/cdrom/sbpcd.cif (i<0) return (i);
i1412drivers/cdrom/sbpcd.cif ((flags_cmd_out&f_bit1)&&(i&p_success)) goto LOC_232;
i1421drivers/cdrom/sbpcd.ci=cc_ReadError();
i1423drivers/cdrom/sbpcd.cmsg(DBG_000,"cmd_out: cc_ReadError=%d\n", i);
i1424drivers/cdrom/sbpcd.creturn (i);
i1429drivers/cdrom/sbpcd.cint i;
i1479drivers/cdrom/sbpcd.ci=cmd_out();
i1480drivers/cdrom/sbpcd.creturn (i);
i1485drivers/cdrom/sbpcd.cint i;
i1516drivers/cdrom/sbpcd.ci=cmd_out();
i1518drivers/cdrom/sbpcd.creturn (i);
i1523drivers/cdrom/sbpcd.cint i;
i1555drivers/cdrom/sbpcd.ci=cmd_out();
i1556drivers/cdrom/sbpcd.creturn (i);
i1561drivers/cdrom/sbpcd.cint i;
i1567drivers/cdrom/sbpcd.ci=cmd_out_T();
i1568drivers/cdrom/sbpcd.creturn (i);
i1573drivers/cdrom/sbpcd.cint i;
i1587drivers/cdrom/sbpcd.ci=cmd_out_T();
i1588drivers/cdrom/sbpcd.creturn (i);
i1593drivers/cdrom/sbpcd.cint i, j;
i1595drivers/cdrom/sbpcd.ci=cc_get_mode_T();
i1596drivers/cdrom/sbpcd.cif (i<0) return (i);
i1597drivers/cdrom/sbpcd.cfor (i=0;i<10;i++)
i1598drivers/cdrom/sbpcd.csprintf(&msgbuf[i*3], " %02X", infobuf[i]);
i1599drivers/cdrom/sbpcd.cmsgbuf[i*3]=0;
i1611drivers/cdrom/sbpcd.ci=cc_get_mode_T();
i1612drivers/cdrom/sbpcd.cfor (i=0;i<10;i++)
i1613drivers/cdrom/sbpcd.csprintf(&msgbuf[i*3], " %02X", infobuf[i]);
i1614drivers/cdrom/sbpcd.cmsgbuf[i*3]=0;
i1621drivers/cdrom/sbpcd.cint i;
i1654drivers/cdrom/sbpcd.ci=cmd_out();
i1655drivers/cdrom/sbpcd.creturn (i);
i1660drivers/cdrom/sbpcd.cint i;
i1759drivers/cdrom/sbpcd.ci=channel1;
i1761drivers/cdrom/sbpcd.cchannel0=i;
i1762drivers/cdrom/sbpcd.ci=volume1;
i1764drivers/cdrom/sbpcd.cvolume0=i;
i1812drivers/cdrom/sbpcd.ci=cc_prep_mode_T();
i1813drivers/cdrom/sbpcd.cif (i<0) return (i);
i1818drivers/cdrom/sbpcd.ci=cmd_out();
i1819drivers/cdrom/sbpcd.cif (i<0) return (i);
i1827drivers/cdrom/sbpcd.cint i;
i1833drivers/cdrom/sbpcd.ci=cmd_out();
i1834drivers/cdrom/sbpcd.creturn (i);
i1839drivers/cdrom/sbpcd.cint i;
i1849drivers/cdrom/sbpcd.ci=cmd_out();
i1855drivers/cdrom/sbpcd.ci=cmd_out();
i1863drivers/cdrom/sbpcd.cfor (i=1;i<10;i++) OUT(CDo_command,0);
i1875drivers/cdrom/sbpcd.ci=GetStatus();
i1876drivers/cdrom/sbpcd.cif (i<0) return i;
i1884drivers/cdrom/sbpcd.cint i, speed;
i1893drivers/cdrom/sbpcd.ci=cc_SetSpeed(speed,0,0);
i1894drivers/cdrom/sbpcd.creturn (i);
i1899drivers/cdrom/sbpcd.cint i;
i1901drivers/cdrom/sbpcd.ci=cc_DriveReset();
i1902drivers/cdrom/sbpcd.cif (i<0) return (-22);
i1905drivers/cdrom/sbpcd.ci=GetStatus();
i1906drivers/cdrom/sbpcd.cif ((i<0)&&(i!=-615)) return (-2); /* i!=-615 is from sta2err */
i1916drivers/cdrom/sbpcd.ci=DiskInfo();
i1917drivers/cdrom/sbpcd.cif (i<0) return (-23);
i1924drivers/cdrom/sbpcd.cint i, j, n;
i1932drivers/cdrom/sbpcd.ci=msf2blk(pos_audio_start);
i1933drivers/cdrom/sbpcd.cn=msf2blk(pos_audio_end)+1-i;
i1934drivers/cdrom/sbpcd.cdrvcmd[1]=(i>>16)&0x00FF;
i1935drivers/cdrom/sbpcd.cdrvcmd[2]=(i>>8)&0x00FF;
i1936drivers/cdrom/sbpcd.cdrvcmd[3]=i&0x00FF;
i1979drivers/cdrom/sbpcd.ci=cmd_out();
i1980drivers/cdrom/sbpcd.creturn (i);
i1985drivers/cdrom/sbpcd.cint i;
i2020drivers/cdrom/sbpcd.ci=cmd_out();
i2021drivers/cdrom/sbpcd.creturn (i);
i2026drivers/cdrom/sbpcd.cint i;
i2059drivers/cdrom/sbpcd.ci=cmd_out();
i2061drivers/cdrom/sbpcd.creturn (i);
i2067drivers/cdrom/sbpcd.cint i,j;
i2072drivers/cdrom/sbpcd.ci=cc_LockDoor(0);
i2076drivers/cdrom/sbpcd.cwhile ((i<0)&&(j));
i2077drivers/cdrom/sbpcd.cif (i<0)
i2087drivers/cdrom/sbpcd.cint i,j;
i2092drivers/cdrom/sbpcd.ci=cc_LockDoor(1);
i2096drivers/cdrom/sbpcd.cwhile ((i<0)&&(j));
i2103drivers/cdrom/sbpcd.ci=cc_LockDoor(1);
i2107drivers/cdrom/sbpcd.cwhile ((i<0)&&(j));
i2109drivers/cdrom/sbpcd.creturn (i);
i2114drivers/cdrom/sbpcd.cint i;
i2148drivers/cdrom/sbpcd.ci=cmd_out();
i2150drivers/cdrom/sbpcd.creturn (i);
i2155drivers/cdrom/sbpcd.cint i,j;
i2194drivers/cdrom/sbpcd.ci=cmd_out();
i2195drivers/cdrom/sbpcd.cif (i<0) return (i);
i2196drivers/cdrom/sbpcd.cfor (i=0;i<response_count;i++)
i2198drivers/cdrom/sbpcd.csprintf(&msgbuf[i*3], " %02X", infobuf[i]);
i2199drivers/cdrom/sbpcd.cmsgbuf[i*3]=0;
i2215drivers/cdrom/sbpcd.cif (fam0LV_drive) i=5;
i2216drivers/cdrom/sbpcd.celse if (fam12_drive) i=4;
i2217drivers/cdrom/sbpcd.celse if (famT_drive) i=8;
i2218drivers/cdrom/sbpcd.cD_S[d].SubQ_run_tot=make32(make16(0,infobuf[i]),make16(infobuf[i+1],infobuf[i+2])); /* msf-bin */
i2219drivers/cdrom/sbpcd.ci=7;
i2220drivers/cdrom/sbpcd.cif (fam0LV_drive) i=9;
i2221drivers/cdrom/sbpcd.celse if (fam12_drive) i=7;
i2222drivers/cdrom/sbpcd.celse if (famT_drive) i=4;
i2223drivers/cdrom/sbpcd.cD_S[d].SubQ_run_trk=make32(make16(0,infobuf[i]),make16(infobuf[i+1],infobuf[i+2])); /* msf-bin */
i2224drivers/cdrom/sbpcd.cD_S[d].SubQ_whatisthis=infobuf[i+3];
i2231drivers/cdrom/sbpcd.cint i;
i2256drivers/cdrom/sbpcd.ci=cmd_out();
i2257drivers/cdrom/sbpcd.cif (i<0) return (i);
i2258drivers/cdrom/sbpcd.ci=0;
i2260drivers/cdrom/sbpcd.cif (fam1_drive) D_S[d].sense_byte=infobuf[i++];
i2265drivers/cdrom/sbpcd.ci=2;
i2267drivers/cdrom/sbpcd.cD_S[d].frame_size=make16(infobuf[i],infobuf[i+1]);
i2268drivers/cdrom/sbpcd.cfor (i=0;i<response_count;i++)
i2269drivers/cdrom/sbpcd.csprintf(&msgbuf[i*3], " %02X", infobuf[i]);
i2270drivers/cdrom/sbpcd.cmsgbuf[i*3]=0;
i2280drivers/cdrom/sbpcd.cint i;
i2319drivers/cdrom/sbpcd.ci=cmd_out();
i2320drivers/cdrom/sbpcd.cif (i<0) return (i);
i2327drivers/cdrom/sbpcd.cint i;
i2363drivers/cdrom/sbpcd.ci=cc_get_mode_T();
i2364drivers/cdrom/sbpcd.cif (i<0) return (i);
i2368drivers/cdrom/sbpcd.ci=cmd_out();
i2369drivers/cdrom/sbpcd.cif (i<0) return (i);
i2462drivers/cdrom/sbpcd.cint i, j;
i2491drivers/cdrom/sbpcd.ci=cmd_out();
i2492drivers/cdrom/sbpcd.cif (i>=0) break;
i2493drivers/cdrom/sbpcd.cmsg(DBG_000,"cc_ReadCapacity: cmd_out: err %d\n", i);
i2496drivers/cdrom/sbpcd.cif (j==0) return (i);
i2509drivers/cdrom/sbpcd.cint i;
i2549drivers/cdrom/sbpcd.ci=cmd_out();
i2550drivers/cdrom/sbpcd.cif (i<0) return (i);
i2551drivers/cdrom/sbpcd.cif ((famT_drive)&&(i<response_count)) return (-100-i);
i2579drivers/cdrom/sbpcd.ci=cmd_out();
i2580drivers/cdrom/sbpcd.cif (i<0) return (i);
i2592drivers/cdrom/sbpcd.ci=cmd_out();
i2593drivers/cdrom/sbpcd.cif (i<0) return (i);
i2625drivers/cdrom/sbpcd.cint i;
i2664drivers/cdrom/sbpcd.ci=cmd_out();
i2665drivers/cdrom/sbpcd.cif (i<0) return (i);
i2666drivers/cdrom/sbpcd.cif ((famT_drive)&&(i<response_count)) return (-100-i);
i2670drivers/cdrom/sbpcd.ci=1;
i2672drivers/cdrom/sbpcd.celse if (fam2_drive) i=0;
i2673drivers/cdrom/sbpcd.celse if (famT_drive) i=5;
i2674drivers/cdrom/sbpcd.cD_S[d].TocEnt_ctl_adr=swap_nibbles(infobuf[i++]);
i2677drivers/cdrom/sbpcd.cD_S[d].TocEnt_number=infobuf[i++];
i2678drivers/cdrom/sbpcd.cD_S[d].TocEnt_format=infobuf[i];
i2685drivers/cdrom/sbpcd.cif (fam1_drive) i=4;
i2686drivers/cdrom/sbpcd.celse if (fam0LV_drive) i=5;
i2687drivers/cdrom/sbpcd.celse if (fam2_drive) i=2;
i2688drivers/cdrom/sbpcd.celse if (famT_drive) i=9;
i2689drivers/cdrom/sbpcd.cD_S[d].TocEnt_address=make32(make16(0,infobuf[i]),
i2690drivers/cdrom/sbpcd.cmake16(infobuf[i+1],infobuf[i+2]));
i2691drivers/cdrom/sbpcd.cfor (i=0;i<response_count;i++)
i2692drivers/cdrom/sbpcd.csprintf(&msgbuf[i*3], " %02X", infobuf[i]);
i2693drivers/cdrom/sbpcd.cmsgbuf[i*3]=0;
i2704drivers/cdrom/sbpcd.cint i;
i2717drivers/cdrom/sbpcd.ci=cmd_out();
i2718drivers/cdrom/sbpcd.creturn (i);
i2723drivers/cdrom/sbpcd.cint i;
i2727drivers/cdrom/sbpcd.cfor (i=0;i<7;i++)
i2729drivers/cdrom/sbpcd.cif (fam1_drive) D_S[d].UPC_buf[i]=swap_nibbles(*p++);
i2732drivers/cdrom/sbpcd.cD_S[d].UPC_buf[i]=((*p++)<<4)&0xFF;
i2733drivers/cdrom/sbpcd.cD_S[d].UPC_buf[i] |= *p++;
i2750drivers/cdrom/sbpcd.cint i;
i2798drivers/cdrom/sbpcd.ci=cmd_out();
i2799drivers/cdrom/sbpcd.cif (i<0)
i2801drivers/cdrom/sbpcd.cmsg(DBG_000,"cc_ReadUPC cmd_out: err %d\n", i);
i2802drivers/cdrom/sbpcd.creturn (i);
i2808drivers/cdrom/sbpcd.ci=cc_ReadPacket();
i2809drivers/cdrom/sbpcd.cif (i<0)
i2811drivers/cdrom/sbpcd.cmsg(DBG_000,"cc_ReadUPC ReadPacket: err %d\n", i);
i2812drivers/cdrom/sbpcd.creturn (i);
i2818drivers/cdrom/sbpcd.cfor (i=0;i<(fam1_drive?8:16);i++)
i2821drivers/cdrom/sbpcd.cchecksum |= infobuf[i];
i2823drivers/cdrom/sbpcd.csprintf(&msgbuf[i*3], " %02X", infobuf[i]);
i2825drivers/cdrom/sbpcd.cmsgbuf[i*3]=0;
i2832drivers/cdrom/sbpcd.cif (fam1_drive) i=0;
i2833drivers/cdrom/sbpcd.celse i=2;
i2834drivers/cdrom/sbpcd.cif ((infobuf[i]&0x80)!=0)
i2836drivers/cdrom/sbpcd.cconvert_UPC(&infobuf[i]);
i2839drivers/cdrom/sbpcd.cfor (i=0;i<7;i++)
i2840drivers/cdrom/sbpcd.csprintf(&msgbuf[i*3], " %02X", D_S[d].UPC_buf[i]);
i2841drivers/cdrom/sbpcd.csprintf(&msgbuf[i*3], " (%02X)", D_S[d].UPC_ctl_adr);
i2842drivers/cdrom/sbpcd.cmsgbuf[i*3+5]=0;
i2850drivers/cdrom/sbpcd.cint i;
i2862drivers/cdrom/sbpcd.ci=cmd_out();
i2863drivers/cdrom/sbpcd.cif (i<0) return (i);
i2878drivers/cdrom/sbpcd.ci=cmd_out();
i2879drivers/cdrom/sbpcd.cif (i<0) return (i);
i2891drivers/cdrom/sbpcd.ci=cmd_out();
i2892drivers/cdrom/sbpcd.cif (i<0) return (i);
i2893drivers/cdrom/sbpcd.cif (i<response_count) return (-100-i);
i2903drivers/cdrom/sbpcd.cfor (i=0;i<response_count;i++)
i2904drivers/cdrom/sbpcd.csprintf(&msgbuf[i*3], " %02X", infobuf[i]);
i2905drivers/cdrom/sbpcd.cmsgbuf[i*3]=0;
i2919drivers/cdrom/sbpcd.cint i;
i2939drivers/cdrom/sbpcd.ci=cmd_out(); /* which buffer to use? */
i2940drivers/cdrom/sbpcd.creturn (i);
i2946drivers/cdrom/sbpcd.cint i=0;
i2951drivers/cdrom/sbpcd.cfor (i=0;i<=1000;i++) printk(".");
i2965drivers/cdrom/sbpcd.ci=inb(CDi_status);
i2994drivers/cdrom/sbpcd.cint i;
i3002drivers/cdrom/sbpcd.ci=do_cmd(f_putcmd|f_lopsta|f_getsta|f_ResponseStatus);
i3007drivers/cdrom/sbpcd.ci=do_cmd(f_putcmd);
i3010drivers/cdrom/sbpcd.creturn (i);
i3016drivers/cdrom/sbpcd.cint i;
i3023drivers/cdrom/sbpcd.cfor (i=0;i<12;i++)
i3024drivers/cdrom/sbpcd.csprintf(&msgbuf[i*3], " %02X", infobuf[i]);
i3025drivers/cdrom/sbpcd.cmsgbuf[i*3]=0;
i3027drivers/cdrom/sbpcd.cfor (i=0;i<12;i++)
i3028drivers/cdrom/sbpcd.csprintf(&msgbuf[i*3], " %c ", infobuf[i]);
i3029drivers/cdrom/sbpcd.cmsgbuf[i*3]=0;
i3035drivers/cdrom/sbpcd.cint i, j, l;
i3047drivers/cdrom/sbpcd.ci=cmd_out();
i3048drivers/cdrom/sbpcd.cif (i<0) msg(DBG_INI,"CMD0_READ_ERR returns %d (ok anyway).\n",i);
i3051drivers/cdrom/sbpcd.cfor (i=0;i<12;i++) infobuf[i]=0;
i3055drivers/cdrom/sbpcd.ci=cmd_out();
i3056drivers/cdrom/sbpcd.cif (i<-1) msg(DBG_INI,"CMD0_READ_VER returns %d\n",i);
i3057drivers/cdrom/sbpcd.cif (i==-11) teac_possible++;
i3059drivers/cdrom/sbpcd.cfor (i=0;i<12;i++) j+=infobuf[i];
i3062drivers/cdrom/sbpcd.cfor (i=0;i<12;i++)
i3063drivers/cdrom/sbpcd.csprintf(&msgbuf[i*3], " %02X", infobuf[i]);
i3064drivers/cdrom/sbpcd.cmsgbuf[i*3]=0;
i3066drivers/cdrom/sbpcd.cfor (i=0;i<12;i++)
i3067drivers/cdrom/sbpcd.csprintf(&msgbuf[i*3], " %c ", infobuf[i]);
i3068drivers/cdrom/sbpcd.cmsgbuf[i*3]=0;
i3071drivers/cdrom/sbpcd.cfor (i=0;i<4;i++) if (infobuf[i]!=family1[i]) break;
i3072drivers/cdrom/sbpcd.cif (i==4)
i3078drivers/cdrom/sbpcd.cD_S[d].drive_model[4]=infobuf[i++];
i3079drivers/cdrom/sbpcd.cD_S[d].drive_model[5]=infobuf[i++];
i3085drivers/cdrom/sbpcd.cfor (i=0;i<8;i++) if (infobuf[i]!=family0[i]) break;
i3086drivers/cdrom/sbpcd.cif (i==8)
i3100drivers/cdrom/sbpcd.cfor (i=0;i<8;i++) if (infobuf[i]!=familyL[i]) break;
i3101drivers/cdrom/sbpcd.cif (i==8)
i3111drivers/cdrom/sbpcd.cfor (i=0;i<6;i++) if (infobuf[i]!=familyV[i]) break;
i3112drivers/cdrom/sbpcd.cif (i==6)
i3118drivers/cdrom/sbpcd.ci+=2; /* 2 blanks before version */
i3128drivers/cdrom/sbpcd.ci=cmd_out();
i3129drivers/cdrom/sbpcd.cif (i<0) msg(DBG_INI,"CMD2_READERR returns %d (ok anyway).\n",i);
i3130drivers/cdrom/sbpcd.cif (i<0) msg(DBG_000,"CMD2_READERR returns %d (ok anyway).\n",i);
i3133drivers/cdrom/sbpcd.cfor (i=0;i<12;i++) infobuf[i]=0;
i3143drivers/cdrom/sbpcd.ci=cmd_out();
i3144drivers/cdrom/sbpcd.cif (i<0) msg(DBG_INI,"CMD2_READ_VER returns %d\n",i);
i3145drivers/cdrom/sbpcd.cif (i==-7) teac_possible++;
i3147drivers/cdrom/sbpcd.cfor (i=0;i<12;i++) j+=infobuf[i];
i3150drivers/cdrom/sbpcd.cfor (i=0;i<12;i++)
i3151drivers/cdrom/sbpcd.csprintf(&msgbuf[i*3], " %02X", infobuf[i]);
i3152drivers/cdrom/sbpcd.cmsgbuf[i*3]=0;
i3154drivers/cdrom/sbpcd.cfor (i=0;i<12;i++)
i3155drivers/cdrom/sbpcd.csprintf(&msgbuf[i*3], " %c ", infobuf[i]);
i3156drivers/cdrom/sbpcd.cmsgbuf[i*3]=0;
i3159drivers/cdrom/sbpcd.cif (i>=0)
i3161drivers/cdrom/sbpcd.cfor (i=0;i<5;i++) if (infobuf[i]!=family2[i]) break;
i3162drivers/cdrom/sbpcd.cif (i==5)
i3169drivers/cdrom/sbpcd.cD_S[d].drive_model[5]=infobuf[i++];
i3170drivers/cdrom/sbpcd.cD_S[d].drive_model[6]=infobuf[i++];
i3191drivers/cdrom/sbpcd.cfor (i=0;i<9;i++) OUT(CDo_command,0);
i3196drivers/cdrom/sbpcd.ci=inb(CDi_status);
i3197drivers/cdrom/sbpcd.cmsg(DBG_TEA,"TEAC CDi_status: %02X.\n",i);
i3199drivers/cdrom/sbpcd.cif (i&s_not_result_ready) continue; /* drive not present or ready */
i3201drivers/cdrom/sbpcd.ci=inb(CDi_info);
i3202drivers/cdrom/sbpcd.cmsg(DBG_TEA,"TEAC CDi_info: %02X.\n",i);
i3203drivers/cdrom/sbpcd.cif (i==0x55) break; /* drive found */
i3205drivers/cdrom/sbpcd.cif (i==0x55) break; /* drive found */
i3207drivers/cdrom/sbpcd.cif (i==0x55) /* drive found */
i3215drivers/cdrom/sbpcd.cfor (i=0;i<12;i++) infobuf[i]=0;
i3216drivers/cdrom/sbpcd.ci=cmd_out_T();
i3217drivers/cdrom/sbpcd.cif (i!=0) msg(DBG_TEA,"cmd_out_T(CMDT_READ_VER) returns %d.\n",i);
i3218drivers/cdrom/sbpcd.cfor (i=1;i<6;i++) if (infobuf[i]!=familyT[i-1]) break;
i3219drivers/cdrom/sbpcd.cif (i==6)
i3236drivers/cdrom/sbpcd.cfor (j=0;j<4;j++) D_S[d].firmware_version[j]=infobuf[i+j];
i3319drivers/cdrom/sbpcd.cstatic void switch_drive(int i)
i3321drivers/cdrom/sbpcd.cd=i;
i3323drivers/cdrom/sbpcd.cmsg(DBG_DID,"drive %d (ID=%d) activated.\n", i, D_S[d].drv_id);
i3335drivers/cdrom/sbpcd.cint i, j, k;
i3348drivers/cdrom/sbpcd.cfor (i=10;i>0;i--) OUT(port+0,0);
i3352drivers/cdrom/sbpcd.cfor (i=10000;i>0;i--)
i3359drivers/cdrom/sbpcd.cfor (i=0;i<N_RESPO;i++)
i3360drivers/cdrom/sbpcd.csprintf(&msgbuf[i*3], " %02X", response[i]);
i3361drivers/cdrom/sbpcd.cmsgbuf[i*3]=0;
i3364drivers/cdrom/sbpcd.cfor (i=10;i>0;i--) OUT(port+0,0);
i3368drivers/cdrom/sbpcd.cfor (i=10000;i>0;i--)
i3375drivers/cdrom/sbpcd.cfor (i=0;i<N_RESPO;i++)
i3376drivers/cdrom/sbpcd.csprintf(&msgbuf[i*3], " %02X", response[i]);
i3377drivers/cdrom/sbpcd.cmsgbuf[i*3]=0;
i3388drivers/cdrom/sbpcd.cfor (i=10;i>0;i--) OUT(port+0,0);
i3392drivers/cdrom/sbpcd.cfor (i=1000000;i>0;i--)
i3399drivers/cdrom/sbpcd.cfor (i=0;i<N_RESPO;i++)
i3400drivers/cdrom/sbpcd.csprintf(&msgbuf[i*3], " %02X", response[i]);
i3401drivers/cdrom/sbpcd.cmsgbuf[i*3]=0;
i3405drivers/cdrom/sbpcd.cfor (i=10;i>0;i--) OUT(port+0,0);
i3409drivers/cdrom/sbpcd.cfor (i=1000000;i>0;i--)
i3416drivers/cdrom/sbpcd.cfor (i=0;i<N_RESPO;i++)
i3417drivers/cdrom/sbpcd.csprintf(&msgbuf[i*3], " %02X", response[i]);
i3418drivers/cdrom/sbpcd.cmsgbuf[i*3]=0;
i3437drivers/cdrom/sbpcd.cint i, j;
i3449drivers/cdrom/sbpcd.ci=check_version();
i3450drivers/cdrom/sbpcd.cif (i<0) msg(DBG_INI,"check_version returns %d.\n",i);
i3593drivers/cdrom/sbpcd.cint i;
i3595drivers/cdrom/sbpcd.ci=msf2blk(D_S[d].pos_audio_end)-1;
i3596drivers/cdrom/sbpcd.cif (i<0) return (-1);
i3597drivers/cdrom/sbpcd.ci=cc_Seek(i,0);
i3598drivers/cdrom/sbpcd.creturn (i);
i3604drivers/cdrom/sbpcd.cint i, j;
i3609drivers/cdrom/sbpcd.ci=cc_ReadTocEntry(j);
i3610drivers/cdrom/sbpcd.cif (i<0)
i3612drivers/cdrom/sbpcd.cmsg(DBG_INF,"cc_ReadTocEntry(%d) returns %d.\n",j,i);
i3613drivers/cdrom/sbpcd.creturn (i);
i3635drivers/cdrom/sbpcd.cint i, j;
i3645drivers/cdrom/sbpcd.ci=SetSpeed();
i3646drivers/cdrom/sbpcd.cif (i<0)
i3648drivers/cdrom/sbpcd.cmsg(DBG_INF,"DiskInfo: SetSpeed returns %d\n", i);
i3651drivers/cdrom/sbpcd.ci=cc_ModeSense();
i3652drivers/cdrom/sbpcd.cif (i<0)
i3654drivers/cdrom/sbpcd.cmsg(DBG_INF,"DiskInfo: cc_ModeSense returns %d\n", i);
i3657drivers/cdrom/sbpcd.ci=cc_ReadCapacity();
i3658drivers/cdrom/sbpcd.cif (i>=0) break;
i3659drivers/cdrom/sbpcd.cmsg(DBG_INF,"DiskInfo: ReadCapacity #%d returns %d\n", j, i);
i3660drivers/cdrom/sbpcd.ci=cc_DriveReset();
i3664drivers/cdrom/sbpcd.ci=cc_ReadTocDescr();
i3665drivers/cdrom/sbpcd.cif (i<0)
i3667drivers/cdrom/sbpcd.cmsg(DBG_INF,"DiskInfo: ReadTocDescr returns %d\n", i);
i3668drivers/cdrom/sbpcd.creturn (i);
i3670drivers/cdrom/sbpcd.ci=ReadToC();
i3671drivers/cdrom/sbpcd.cif (i<0)
i3673drivers/cdrom/sbpcd.cmsg(DBG_INF,"DiskInfo: ReadToC returns %d\n", i);
i3674drivers/cdrom/sbpcd.creturn (i);
i3676drivers/cdrom/sbpcd.ci=cc_CheckMultiSession();
i3677drivers/cdrom/sbpcd.cif (i<0)
i3679drivers/cdrom/sbpcd.cmsg(DBG_INF,"DiskInfo: cc_CheckMultiSession returns %d\n", i);
i3680drivers/cdrom/sbpcd.creturn (i);
i3684drivers/cdrom/sbpcd.ci=cc_ReadTocEntry(D_S[d].n_first_track);
i3685drivers/cdrom/sbpcd.cif (i<0)
i3687drivers/cdrom/sbpcd.cmsg(DBG_INF,"DiskInfo: cc_ReadTocEntry(1) returns %d\n", i);
i3688drivers/cdrom/sbpcd.creturn (i);
i3690drivers/cdrom/sbpcd.ci=cc_ReadUPC();
i3691drivers/cdrom/sbpcd.cif (i<0) msg(DBG_INF,"DiskInfo: cc_ReadUPC returns %d\n", i);
i3710drivers/cdrom/sbpcd.cint i;
i3714drivers/cdrom/sbpcd.ci=inb(CDi_status);
i3715drivers/cdrom/sbpcd.cif (i&s_attention) GetStatus();
i3726drivers/cdrom/sbpcd.ci=check_allowed1(func,subfunc);
i3727drivers/cdrom/sbpcd.cif (i<0) return (-2);
i3731drivers/cdrom/sbpcd.ci=check_allowed3(func,subfunc);
i3732drivers/cdrom/sbpcd.cif (i<0)
i3745drivers/cdrom/sbpcd.ci=check_allowed1(func,subfunc);
i3746drivers/cdrom/sbpcd.cif (i<0) return (-2);
i3754drivers/cdrom/sbpcd.ci=check_allowed2(func,subfunc);
i3755drivers/cdrom/sbpcd.cif (i<0) return (-2);
i3765drivers/cdrom/sbpcd.ci=DiskInfo();
i3766drivers/cdrom/sbpcd.cif (i<0)
i3770drivers/cdrom/sbpcd.ci=check_allowed1(func,subfunc);
i3771drivers/cdrom/sbpcd.cif (i<0) return (-2);
i3834drivers/cdrom/sbpcd.cint i, st;
i3839drivers/cdrom/sbpcd.ci=MINOR(inode->i_rdev);
i3840drivers/cdrom/sbpcd.cif ((i<0) || (i>=NR_SBPCD) || (D_S[i].drv_id==-1))
i3845drivers/cdrom/sbpcd.cif (d!=i) switch_drive(i);
i3853drivers/cdrom/sbpcd.ci=DiskInfo();
i3854drivers/cdrom/sbpcd.cif (i<0) return (-EIO);  /* error reading TOC */
i3858drivers/cdrom/sbpcd.cmsg(DBG_IO2,"ioctl: device %d, request %04X\n",i,cmd);
i3863drivers/cdrom/sbpcd.ci=sbpcd_dbg_ioctl(arg,1);
i3864drivers/cdrom/sbpcd.creturn (i);
i3875drivers/cdrom/sbpcd.cif (famL_drive) i=cc_ReadSubQ();
i3876drivers/cdrom/sbpcd.celse i=cc_Pause_Resume(1);
i3877drivers/cdrom/sbpcd.cif (i<0) return (-EIO);
i3878drivers/cdrom/sbpcd.cif (famL_drive) i=cc_Pause_Resume(1);
i3879drivers/cdrom/sbpcd.celse i=cc_ReadSubQ();
i3880drivers/cdrom/sbpcd.cif (i<0) return (-EIO);
i3885drivers/cdrom/sbpcd.ci=cc_Seek(D_S[d].pos_audio_start,1);
i3886drivers/cdrom/sbpcd.cif (i<0) return (-EIO);
i3899drivers/cdrom/sbpcd.ci=cc_PlayAudio(D_S[d].pos_audio_start,
i3901drivers/cdrom/sbpcd.celse i=cc_Pause_Resume(3);
i3902drivers/cdrom/sbpcd.cif (i<0) return (-EIO);
i3910drivers/cdrom/sbpcd.ci=cc_Pause_Resume(1);
i3911drivers/cdrom/sbpcd.cif (i<0) return (-EIO);
i3912drivers/cdrom/sbpcd.ci=cc_ReadSubQ();
i3913drivers/cdrom/sbpcd.cif (i<0) return (-EIO);
i3915drivers/cdrom/sbpcd.ci=cc_Seek(D_S[d].pos_audio_start,1);
i3929drivers/cdrom/sbpcd.ci=cc_PlayAudio(D_S[d].pos_audio_start,D_S[d].pos_audio_end);
i3930drivers/cdrom/sbpcd.cmsg(DBG_IOC,"ioctl: cc_PlayAudio returns %d\n",i);
i3932drivers/cdrom/sbpcd.cif (i<0) return (-EIO);
i3960drivers/cdrom/sbpcd.ci=cc_PlayAudio(D_S[d].pos_audio_start,D_S[d].pos_audio_end);
i3962drivers/cdrom/sbpcd.cif (i<0) return (-EIO);
i3981drivers/cdrom/sbpcd.ci=tocentry.cdte_track;
i3982drivers/cdrom/sbpcd.cif (i==CDROM_LEADOUT) i=D_S[d].n_last_track+1;
i3983drivers/cdrom/sbpcd.celse if (i<D_S[d].n_first_track||i>D_S[d].n_last_track) return (-EINVAL);
i3984drivers/cdrom/sbpcd.ctocentry.cdte_adr=D_S[d].TocBuffer[i].ctl_adr&0x0F;
i3985drivers/cdrom/sbpcd.ctocentry.cdte_ctrl=(D_S[d].TocBuffer[i].ctl_adr>>4)&0x0F;
i3986drivers/cdrom/sbpcd.ctocentry.cdte_datamode=D_S[d].TocBuffer[i].format;
i3989drivers/cdrom/sbpcd.ctocentry.cdte_addr.msf.minute=(D_S[d].TocBuffer[i].address>>16)&0x00FF;
i3990drivers/cdrom/sbpcd.ctocentry.cdte_addr.msf.second=(D_S[d].TocBuffer[i].address>>8)&0x00FF;
i3991drivers/cdrom/sbpcd.ctocentry.cdte_addr.msf.frame=D_S[d].TocBuffer[i].address&0x00FF;
i3994drivers/cdrom/sbpcd.ctocentry.cdte_addr.lba=msf2blk(D_S[d].TocBuffer[i].address);
i4003drivers/cdrom/sbpcd.ci=DriveReset();
i4005drivers/cdrom/sbpcd.creturn (i);
i4009drivers/cdrom/sbpcd.ci=cc_Pause_Resume(1);
i4011drivers/cdrom/sbpcd.creturn (i);
i4023drivers/cdrom/sbpcd.ci=UnLockDoor();
i4025drivers/cdrom/sbpcd.ci=cc_SpinDown();
i4026drivers/cdrom/sbpcd.cmsg(DBG_IOX,"ioctl: cc_SpinDown returned %d.\n", i);
i4027drivers/cdrom/sbpcd.cmsg(DBG_TEA,"ioctl: cc_SpinDown returned %d.\n", i);
i4028drivers/cdrom/sbpcd.cif (i<0) return (-EIO);
i4049drivers/cdrom/sbpcd.ci=cc_SetVolume();
i4067drivers/cdrom/sbpcd.cif ((st_spinning)||(!subq_valid)) { i=cc_ReadSubQ();
i4068drivers/cdrom/sbpcd.cif (i<0) return (-EIO);
i4146drivers/cdrom/sbpcd.cint i=0, j=0, frame, block;
i4162drivers/cdrom/sbpcd.ci=verify_area(VERIFY_READ, (void *) arg, sizeof(struct cdrom_read_audio));
i4163drivers/cdrom/sbpcd.cif (i) return (i);
i4166drivers/cdrom/sbpcd.ci=verify_area(VERIFY_WRITE, read_audio.buf,
i4168drivers/cdrom/sbpcd.cif (i) return (i);
i4176drivers/cdrom/sbpcd.ci=cc_SetSpeed(speed_150,0,0);
i4177drivers/cdrom/sbpcd.cif (i) msg(DBG_AUD,"read_audio: SetSpeed error %d\n", i);
i4241drivers/cdrom/sbpcd.ci=cmd_out();
i4242drivers/cdrom/sbpcd.cif (i<0) msg(DBG_INF,"error giving READ AUDIO command: %0d\n", i);
i4290drivers/cdrom/sbpcd.ci=cc_DriveReset();                /* ugly fix to prevent a hang */
i4292drivers/cdrom/sbpcd.ci=cc_ReadError();
i4298drivers/cdrom/sbpcd.ci=maxtim_data;
i4301drivers/cdrom/sbpcd.cfor ( ;i!=0;i--)
i4308drivers/cdrom/sbpcd.cif (i != 0 || timeout <= jiffies) break;
i4310drivers/cdrom/sbpcd.ci = 1;
i4312drivers/cdrom/sbpcd.cif (i==0) msg(DBG_AUD,"read_audio: STATUS TIMEOUT AFTER READ");
i4316drivers/cdrom/sbpcd.ci=cc_DriveReset();  /* ugly fix to prevent a hang */
i4323drivers/cdrom/sbpcd.ci=ResponseStatus();  /* builds status_bits, returns orig. status (old) or faked p_success (new) */
i4324drivers/cdrom/sbpcd.cif (i<0) { msg(DBG_AUD,
i4330drivers/cdrom/sbpcd.cwhile ((fam0L_drive)&&(!st_check)&&(!(i&p_success)));
i4333drivers/cdrom/sbpcd.ci=cc_ReadError();
i4334drivers/cdrom/sbpcd.cmsg(DBG_AUD,"read_audio: cc_ReadError was necessary after read: %02X\n",i);
i4414drivers/cdrom/sbpcd.cint i, status_tries, data_tries;
i4429drivers/cdrom/sbpcd.ci = MINOR(CURRENT->rq_dev);
i4430drivers/cdrom/sbpcd.cif ( (i<0) || (i>=NR_SBPCD) || (D_S[i].drv_id==-1))
i4439drivers/cdrom/sbpcd.cif (D_S[i].audio_state==audio_playing) goto err_done;
i4440drivers/cdrom/sbpcd.cif (d!=i) switch_drive(i);
i4459drivers/cdrom/sbpcd.ci=prepare(0,0); /* at moment not really a hassle check, but ... */
i4460drivers/cdrom/sbpcd.cif (i!=0)
i4461drivers/cdrom/sbpcd.cmsg(DBG_INF,"\"prepare\" tells error %d -- ignored\n", i);
i4505drivers/cdrom/sbpcd.cint i;
i4599drivers/cdrom/sbpcd.ci=cmd_out();
i4600drivers/cdrom/sbpcd.cif (i<0) msg(DBG_INF,"error giving READ command: %0d\n", i);
i4610drivers/cdrom/sbpcd.cint i=0, j=0, l, frame;
i4733drivers/cdrom/sbpcd.ci=inb(CDi_status);
i4734drivers/cdrom/sbpcd.cif (!(i&s_not_data_ready))
i4740drivers/cdrom/sbpcd.cif (do_16bit) i=inw(CDi_data);
i4741drivers/cdrom/sbpcd.celse i=inb(CDi_data);
i4743drivers/cdrom/sbpcd.ci=inb(CDi_status);
i4745drivers/cdrom/sbpcd.cwhile (!(i&s_not_data_ready));
i4748drivers/cdrom/sbpcd.cif (!(i&s_not_result_ready))
i4755drivers/cdrom/sbpcd.ci=inb(CDi_status);
i4757drivers/cdrom/sbpcd.cwhile (!(i&s_not_result_ready));
i4801drivers/cdrom/sbpcd.ci=cc_DriveReset(); /* ugly fix to prevent a hang */
i4803drivers/cdrom/sbpcd.ci=cc_ReadError();
i4811drivers/cdrom/sbpcd.ci=maxtim_data;
i4814drivers/cdrom/sbpcd.cfor ( ;i!=0;i--)
i4821drivers/cdrom/sbpcd.cif (i != 0 || timeout <= jiffies) break;
i4823drivers/cdrom/sbpcd.ci = 1;
i4825drivers/cdrom/sbpcd.cif (i==0) msg(DBG_INF,"status timeout after READ.\n");
i4829drivers/cdrom/sbpcd.ci=cc_DriveReset();  /* ugly fix to prevent a hang */
i4843drivers/cdrom/sbpcd.cif (famT_drive) msg(DBG_TEA, "================before ResponseStatus=================.\n", i);
i4845drivers/cdrom/sbpcd.ci=ResponseStatus();  /* builds status_bits, returns orig. status (old) or faked p_success (new) */
i4847drivers/cdrom/sbpcd.cif (famT_drive)  msg(DBG_TEA, "================ResponseStatus: %d=================.\n", i);
i4849drivers/cdrom/sbpcd.cif (i<0)
i4855drivers/cdrom/sbpcd.cwhile ((fam0LV_drive)&&(!st_check)&&(!(i&p_success)));
i4858drivers/cdrom/sbpcd.ci=cc_ReadError();
i4859drivers/cdrom/sbpcd.cmsg(DBG_INF,"cc_ReadError was necessary after read: %d\n",i);
i4883drivers/cdrom/sbpcd.cint i;
i4885drivers/cdrom/sbpcd.ci = MINOR(ip->i_rdev);
i4886drivers/cdrom/sbpcd.cif ((i<0) || (i>=NR_SBPCD) || (D_S[i].drv_id==-1))
i4894drivers/cdrom/sbpcd.cswitch_drive(i);
i4896drivers/cdrom/sbpcd.ci=cc_ReadError();
i4899drivers/cdrom/sbpcd.ci=ResponseStatus();
i4900drivers/cdrom/sbpcd.cif (famT_drive&&(i<0))
i4903drivers/cdrom/sbpcd.ci=ResponseStatus();
i4904drivers/cdrom/sbpcd.ci=ResponseStatus();
i4906drivers/cdrom/sbpcd.cif (i<0)
i4908drivers/cdrom/sbpcd.cmsg(DBG_INF,"sbpcd_open: ResponseStatus timed out (%d).\n",i);
i4911drivers/cdrom/sbpcd.cif (famT_drive)  msg(DBG_TEA,"sbpcd_open: ResponseStatus=%02X\n", i);
i4918drivers/cdrom/sbpcd.ci=ResponseStatus();
i4927drivers/cdrom/sbpcd.ci=ResponseStatus();
i4937drivers/cdrom/sbpcd.ci=UnLockDoor();
i4951drivers/cdrom/sbpcd.ci=LockDoor();
i4954drivers/cdrom/sbpcd.ci=DiskInfo();
i4968drivers/cdrom/sbpcd.cint i;
i4970drivers/cdrom/sbpcd.ci = MINOR(ip->i_rdev);
i4971drivers/cdrom/sbpcd.cif ((i<0) || (i>=NR_SBPCD) || (D_S[i].drv_id==-1))
i4976drivers/cdrom/sbpcd.cswitch_drive(i);
i4992drivers/cdrom/sbpcd.ci=UnLockDoor();
i5116drivers/cdrom/sbpcd.cint i;
i5122drivers/cdrom/sbpcd.ci=inb(SPEA_REG_1);
i5123drivers/cdrom/sbpcd.cif (i!=0x0F)
i5144drivers/cdrom/sbpcd.ci=(inb(SPEA_REG_2)&0xCF)|n_ports;
i5145drivers/cdrom/sbpcd.cOUT(SPEA_REG_2,i);
i5162drivers/cdrom/sbpcd.cint i=0, j=0;
i5210drivers/cdrom/sbpcd.ci=config_spea();
i5211drivers/cdrom/sbpcd.cif (i<0) continue;
i5216drivers/cdrom/sbpcd.ci=check_drives();
i5218drivers/cdrom/sbpcd.cif (i>=0) break; /* drive found */
i5263drivers/cdrom/sbpcd.ci=ResponseStatus();  /* returns orig. status or p_busy_new */
i5264drivers/cdrom/sbpcd.cif (famT_drive) i=ResponseStatus();  /* returns orig. status or p_busy_new */
i5265drivers/cdrom/sbpcd.cif (i<0)
i5266drivers/cdrom/sbpcd.cif (i!=-402)
i5267drivers/cdrom/sbpcd.cmsg(DBG_INF,"init: ResponseStatus returns %d.\n",i);
i5272drivers/cdrom/sbpcd.ci=cc_ReadError();
i5273drivers/cdrom/sbpcd.cmsg(DBG_INI,"init: cc_ReadError returns %d\n",i);
i5276drivers/cdrom/sbpcd.cmsg(DBG_INI,"init: first GetStatus: %d\n",i);
i5284drivers/cdrom/sbpcd.ci=GetStatus();
i5285drivers/cdrom/sbpcd.cmsg(DBG_INI,"init: second GetStatus: %02X\n",i);
i5289drivers/cdrom/sbpcd.cif (i<0) break;
i5294drivers/cdrom/sbpcd.ci=SetSpeed();
i5295drivers/cdrom/sbpcd.cif (i>=0) D_S[d].CD_changed=1;
i5401drivers/cdrom/sbpcd.cint i, st;
i5406drivers/cdrom/sbpcd.ci=MINOR(full_dev);
i5407drivers/cdrom/sbpcd.cif ( (i<0) || (i>=NR_SBPCD) || (D_S[i].drv_id==-1) )
i5413drivers/cdrom/sbpcd.cswitch_drive(i);
i263drivers/cdrom/sjcd.cint i;
i264drivers/cdrom/sjcd.cfor( i = 200; i-- && !SJCD_STATUS_AVAILABLE( inb( SJCDPORT( 1 ) ) ); );
i265drivers/cdrom/sjcd.cif( i > 0 ) *resp++ = ( unsigned char )inb( SJCDPORT( 0 ) );
i378drivers/cdrom/sjcd.cint i;
i385drivers/cdrom/sjcd.cfor( i = 200; i-- && ( sjcd_check_status() == 0 ); );
i386drivers/cdrom/sjcd.cif( i < 0 ){
i392drivers/cdrom/sjcd.celse i = 0;
i394drivers/cdrom/sjcd.creturn( i );
i434drivers/cdrom/sjcd.cint i;
i501drivers/cdrom/sjcd.cfor( i = sjcd_first_track_no; i <= sjcd_last_track_no; i++ ){
i505drivers/cdrom/sjcd.csjcd_send_1_cmd( SCMD_GET_DISK_INFO, bin2bcd( i ) );
i519drivers/cdrom/sjcd.cif( sjcd_load_response( &sjcd_table_of_contents[ i ],
i521drivers/cdrom/sjcd.cprintk( "SJCD: cannot load info for %d track\n", i );
i525drivers/cdrom/sjcd.cprintk( "SJCD: get info %d failed\n", i );
i909drivers/cdrom/sjcd.cint i;
i910drivers/cdrom/sjcd.cfor( i = 0; i < SJCD_BUF_SIZ; sjcd_buf_bn[ i++ ] = -1 );
i929drivers/cdrom/sjcd.cint i, bn = CURRENT->sector / 4;
i930drivers/cdrom/sjcd.cfor( i = 0; i < SJCD_BUF_SIZ && sjcd_buf_bn[ i ] != bn; i++ );
i931drivers/cdrom/sjcd.cif( i < SJCD_BUF_SIZ ){
i932drivers/cdrom/sjcd.cint offs = ( i * 4 + ( CURRENT->sector & 3 ) ) * 512;
i934drivers/cdrom/sjcd.cif( sjcd_buf_out != i ){
i935drivers/cdrom/sjcd.csjcd_buf_out = i;
i936drivers/cdrom/sjcd.cif( sjcd_buf_bn[ i ] != bn ){
i1220drivers/cdrom/sjcd.cint i;
i1227drivers/cdrom/sjcd.cfor( i = 2048; i--; ( void )inb( SJCDPORT( 2 ) ) );
i1448drivers/cdrom/sjcd.cint i;
i1478drivers/cdrom/sjcd.cfor( i = 1000; i > 0 && !sjcd_status_valid; --i ){
i1485drivers/cdrom/sjcd.cif ( (i % 100) == 0 ) printk( "." );
i1488drivers/cdrom/sjcd.cif( i == 0 || sjcd_command_failed ){
i1499drivers/cdrom/sjcd.cfor( i = 1000; i > 0 && !sjcd_status_valid; --i ){
i1506drivers/cdrom/sjcd.cif ( (i % 100) == 0 ) printk( "." );
i1509drivers/cdrom/sjcd.cif( i == 0 || sjcd_command_failed ){
i1530drivers/cdrom/sjcd.cfor( i = 1000; i > 0 && !sjcd_status_valid; --i ){
i1537drivers/cdrom/sjcd.cif ( (i % 100) == 0 ) printk( "." );
i1540drivers/cdrom/sjcd.cif( i == 0 || sjcd_command_failed ){
i531drivers/cdrom/sonycd535.cint i;
i534drivers/cdrom/sonycd535.cfor (i = 0; i < n_cmd; i++)
i535drivers/cdrom/sonycd535.coutb(cmd[i], command_reg);
i557drivers/cdrom/sonycd535.cfor (i = 0; 0 < n_response; n_response--, i++)
i558drivers/cdrom/sonycd535.cif (read_result_reg(response + i) != 0)
i598drivers/cdrom/sonycd535.cint  i;
i611drivers/cdrom/sonycd535.cfor (i = 0; i < 6; i++)
i612drivers/cdrom/sonycd535.ccmd_buff[i + 1] = params[i];
i613drivers/cdrom/sonycd535.cfor (i = 0; i < 7; i++)
i614drivers/cdrom/sonycd535.coutb(cmd_buff[i], command_reg);
i629drivers/cdrom/sonycd535.cfor (i = 0; i < block_size; i++)
i640drivers/cdrom/sonycd535.cif ((i = read_exec_status(status)) != 0)
i641drivers/cdrom/sonycd535.creturn i;
i655drivers/cdrom/sonycd535.cint  i, j, n_tracks, track_no;
i670drivers/cdrom/sonycd535.cfor (i = 0; i < n_tracks; i++) {
i679drivers/cdrom/sonycd535.cmemcpy(toc->tracks + i, track_address_buffer, 5);
i957drivers/cdrom/sonycd535.cint i;
i963drivers/cdrom/sonycd535.cfor (i = 0; i < num_tracks; i++) {
i964drivers/cdrom/sonycd535.cif (sony_toc->tracks[i].track == track) {
i965drivers/cdrom/sonycd535.creturn i;
i1079drivers/cdrom/sonycd535.cint  i;
i1179drivers/cdrom/sonycd535.cfor (i = 0; i < 3; i++) {
i1180drivers/cdrom/sonycd535.ccmd_buff[2 + i] = int_to_bcd(params[i]);
i1181drivers/cdrom/sonycd535.ccmd_buff[7 + i] = int_to_bcd(params[i + 3]);
i1494drivers/cdrom/sonycd535.cint  i;
i1616drivers/cdrom/sonycd535.cfor (i = 0; i < sony_buffer_sectors; i++) {
i1617drivers/cdrom/sonycd535.csony_buffer[i] = (Byte *)kmalloc(2048, GFP_KERNEL);
i1618drivers/cdrom/sonycd535.cif (sony_buffer[i] == NULL) {
i1619drivers/cdrom/sonycd535.cwhile (--i>=0)
i1620drivers/cdrom/sonycd535.ckfree(sony_buffer[i]);
i1676drivers/cdrom/sonycd535.cint i;
i1679drivers/cdrom/sonycd535.cfor (i = 0; i < sony_buffer_sectors; i++)
i1680drivers/cdrom/sonycd535.ckfree_s(sony_buffer[i], 2048);
i491drivers/char/apm_bios.cint  i;
i493drivers/char/apm_bios.cfor (i = 0; i < ERROR_COUNT; i++)
i494drivers/char/apm_bios.cif (error_table[i].key == err) break;
i495drivers/char/apm_bios.cif (i < ERROR_COUNT)
i496drivers/char/apm_bios.cprintk("apm_bios: %s: %s\n", str, error_table[i].msg);
i810drivers/char/apm_bios.cint      i;
i833drivers/char/apm_bios.ci = count;
i834drivers/char/apm_bios.cwhile ((i >= sizeof(event)) && !queue_empty(as)) {
i838drivers/char/apm_bios.ci -= sizeof(event);
i840drivers/char/apm_bios.cif (i < count)
i841drivers/char/apm_bios.creturn count - i;
i144drivers/char/atixlmouse.cint i;
i163drivers/char/atixlmouse.cfor(i = 3; i < count; i++)
i164drivers/char/atixlmouse.cput_user(0x00, buffer + i);
i170drivers/char/atixlmouse.creturn i; /* i data bytes returned */
i54drivers/char/conmakehash.cint i;
i61drivers/char/conmakehash.cfor ( i = 0 ; i < unicount[fp] ; i++ )
i62drivers/char/conmakehash.cif ( unitable[fp][i] == un )
i86drivers/char/conmakehash.cint i, nuni, nent;
i113drivers/char/conmakehash.cfor ( i = 0 ; i < fontlen ; i++ )
i114drivers/char/conmakehash.cunicount[i] = 0;
i190drivers/char/conmakehash.cfor (i=fp0; i<=fp1; i++)
i191drivers/char/conmakehash.caddpair(i,i);
i222drivers/char/conmakehash.cfor(i=fp0; i<=fp1; i++)
i223drivers/char/conmakehash.caddpair(i,un0-fp0+i);
i246drivers/char/conmakehash.cfor ( i = 0 ; i < fontlen ; i++ )
i247drivers/char/conmakehash.cnuni += unicount[i];
i265drivers/char/conmakehash.cfor ( i = 0 ; i < fontlen ; i++ )
i267drivers/char/conmakehash.cprintf("%3d", unicount[i]);
i268drivers/char/conmakehash.cif ( i == fontlen-1 )
i270drivers/char/conmakehash.celse if ( i % 8 == 7 )
i280drivers/char/conmakehash.cfor ( i = 0 ; i < nuni ; i++ )
i288drivers/char/conmakehash.cif ( i == nuni-1 )
i290drivers/char/conmakehash.celse if ( i % 8 == 7 )
i220drivers/char/console.cint     i;
i233drivers/char/console.cfor (i = 0; *s; i++, s++) {
i301drivers/char/console.cint vc_cons_allocated(unsigned int i)
i303drivers/char/console.creturn (i < MAX_NR_CONSOLES && vc_cons[i].d);
i306drivers/char/console.cint vc_allocate(unsigned int i)    /* return 0 on success */
i308drivers/char/console.cif (i >= MAX_NR_CONSOLES)
i310drivers/char/console.cif (!vc_cons[i].d) {
i314drivers/char/console.cif (i >= MAX_NR_USER_CONSOLES && !suser())
i329drivers/char/console.cvc_cons[i].d = (struct vc_data *) p;
i331drivers/char/console.cvt_cons[i] = (struct vt_struct *) p;
i332drivers/char/console.cvc_scrbuf[i] = (unsigned short *) q;
i333drivers/char/console.cvc_cons[i].d->vc_kmalloced = 1;
i334drivers/char/console.cvc_cons[i].d->vc_screenbuf_size = video_screen_size;
i335drivers/char/console.cvc_init (i, video_num_lines, video_num_columns, 1);
i350drivers/char/console.cunsigned int currcons, i;
i374drivers/char/console.cfor (i = 0; i< currcons; i++)
i375drivers/char/console.cif (newscreens[i])
i376drivers/char/console.ckfree_s(newscreens[i], ss);
i833drivers/char/console.cint i;
i835drivers/char/console.cfor (i=0;i<=npar;i++)
i836drivers/char/console.cswitch (par[i]) {
i915drivers/char/console.cif (par[i] >= 30 && par[i] <= 37)
i916drivers/char/console.ccolor = color_table[par[i]-30]
i918drivers/char/console.celse if (par[i] >= 40 && par[i] <= 47)
i919drivers/char/console.ccolor = (color_table[par[i]-40]<<4)
i1051drivers/char/console.cint i;
i1053drivers/char/console.cfor (i=0; i<=npar; i++)
i1054drivers/char/console.cif (ques) switch(par[i]) {  /* DEC private modes set/reset */
i1099drivers/char/console.c} else switch(par[i]) {    /* ANSI modes set/reset */
i1169drivers/char/console.cunsigned int i = x;
i1173drivers/char/console.cwhile (i++ < video_num_columns) {
i1190drivers/char/console.cunsigned int i = x;
i1193drivers/char/console.cwhile (++i < video_num_columns) {
i1600drivers/char/console.cint i = par[0]*3, j = 1;
i1601drivers/char/console.cpalette[i] = 16*par[j++];
i1602drivers/char/console.cpalette[i++] += par[j++];
i1603drivers/char/console.cpalette[i] = 16*par[j++];
i1604drivers/char/console.cpalette[i++] += par[j++];
i1605drivers/char/console.cpalette[i] = 16*par[j++];
i1606drivers/char/console.cpalette[i] += par[j];
i2247drivers/char/console.cint i;
i2251drivers/char/console.ci = vc_allocate(idx);
i2252drivers/char/console.cif (i)
i2253drivers/char/console.creturn i;
i2300drivers/char/console.cint i;
i2302drivers/char/console.ci = set_get_font (arg,1,ch512);
i2303drivers/char/console.cif ( !i ) {
i2308drivers/char/console.creturn i;
i169drivers/char/consolemap.cstatic void set_inverse_transl(int i)
i172drivers/char/consolemap.cunsigned short *p = translations[i];
i173drivers/char/consolemap.cunsigned char *q = inverse_translations[i];
i177drivers/char/consolemap.cq = inverse_translations[i] = ((i == LAT1_MAP)
i229drivers/char/consolemap.cint i;
i232drivers/char/consolemap.ci = verify_area(VERIFY_READ, (void *)arg, E_TABSZ);
i233drivers/char/consolemap.cif (i)
i234drivers/char/consolemap.creturn i;
i236drivers/char/consolemap.cfor (i=0; i<E_TABSZ ; i++)
i237drivers/char/consolemap.cp[i] = UNI_DIRECT_BASE | get_user(arg+i);
i245drivers/char/consolemap.cint i, ch;
i248drivers/char/consolemap.ci = verify_area(VERIFY_WRITE, (void *)arg, E_TABSZ);
i249drivers/char/consolemap.cif (i)
i250drivers/char/consolemap.creturn i;
i252drivers/char/consolemap.cfor (i=0; i<E_TABSZ ; i++)
i254drivers/char/consolemap.cch = conv_uni_to_pc(p[i]);
i255drivers/char/consolemap.cput_user((ch & ~0xff) ? 0 : ch, arg+i);
i262drivers/char/consolemap.cint i;
i265drivers/char/consolemap.ci = verify_area(VERIFY_READ, (void *)arg,
i267drivers/char/consolemap.cif (i)
i268drivers/char/consolemap.creturn i;
i270drivers/char/consolemap.cfor (i=0; i<E_TABSZ ; i++)
i271drivers/char/consolemap.cp[i] = get_user(arg+i);
i279drivers/char/consolemap.cint i;
i282drivers/char/consolemap.ci = verify_area(VERIFY_WRITE, (void *)arg,
i284drivers/char/consolemap.cif (i)
i285drivers/char/consolemap.creturn i;
i287drivers/char/consolemap.cfor (i=0; i<E_TABSZ ; i++)
i288drivers/char/consolemap.cput_user(p[i], arg+i);
i318drivers/char/consolemap.cint i, n;
i327drivers/char/consolemap.cfor ( i = 0 ; i < 32 ; i++ )
i328drivers/char/consolemap.cp1[i] = NULL;
i337drivers/char/consolemap.cfor ( i = 0 ; i < 64 ; i++ )
i338drivers/char/consolemap.cp2[i] = 0xffff;    /* No glyph for this character (yet) */
i350drivers/char/consolemap.cint i, j;
i353drivers/char/consolemap.cfor ( i = 0 ; i < 32 ; i++ )
i355drivers/char/consolemap.cif ( (p1 = uni_pagedir[i]) != NULL )
i364drivers/char/consolemap.cuni_pagedir[i] = NULL;
i373drivers/char/consolemap.cint err = 0, err1, i;
i383drivers/char/consolemap.cfor ( i = 0 ; i <= 3 ; i++ )
i384drivers/char/consolemap.cset_inverse_transl(i); /* Update all inverse translations */
i397drivers/char/consolemap.cint i, j;
i405drivers/char/consolemap.cfor ( i = 0 ; i < 256 ; i++ )
i406drivers/char/consolemap.cfor ( j = dfont_unicount[i] ; j ; j-- )
i407drivers/char/consolemap.ccon_insert_unipair(*(p++), i);
i409drivers/char/consolemap.cfor ( i = 0 ; i <= 3 ; i++ )
i410drivers/char/consolemap.cset_inverse_transl(i);  /* Update all inverse translations */
i415drivers/char/consolemap.cint i, j, k, ect;
i421drivers/char/consolemap.cfor ( i = 0 ; i < 32 ; i++ )
i422drivers/char/consolemap.cif ( (p1 = uni_pagedir[i]) != NULL )
i429drivers/char/consolemap.cput_user((u_short)((i<<11)+(j<<6)+k),
i499drivers/char/cyclades.cvolatile int  i;
i503drivers/char/cyclades.cfor(i = 0 ; i < 100 ; i++){
i511drivers/char/cyclades.cif ( i == 100 ) {
i658drivers/char/cyclades.cint i,j,index;
i696drivers/char/cyclades.ci = channel + chip * 4 + cinfo->first_line;
i697drivers/char/cyclades.cinfo = &cy_port[i];
i812drivers/char/cyclades.ci = channel + chip * 4 + cinfo->first_line;
i817drivers/char/cyclades.cif( (i < 0) || (NR_PORTS <= i) ){
i821drivers/char/cyclades.cinfo = &cy_port[i];
i1042drivers/char/cyclades.cint i, mask;
i1044drivers/char/cyclades.cfor (i = 0, mask = 1; i < 16; i++, mask <<= 1) {
i1046drivers/char/cyclades.c&& !request_irq(i, cy_probe, SA_INTERRUPT, "serial probe", NULL)) {
i1059drivers/char/cyclades.cint i;
i1061drivers/char/cyclades.cfor (i = 0; i < 16; i++) {
i1062drivers/char/cyclades.cif (irq_lines & (1 << i))
i1063drivers/char/cyclades.cfree_irq(i,NULL);
i1074drivers/char/cyclades.cint  i, mask;
i1099drivers/char/cyclades.cfor (i = 0, mask = 1; i < 16; i++, mask <<= 1) {
i1100drivers/char/cyclades.cif ((cy_triggered & (1 << i)) &&
i1101drivers/char/cyclades.c(irq_lines & (1 << i))) {
i1360drivers/char/cyclades.cint   i;
i1371drivers/char/cyclades.ci = cflag & CBAUD;
i1381drivers/char/cyclades.cif (i & CBAUDEX) {
i1382drivers/char/cyclades.cif (i == B57600)
i1383drivers/char/cyclades.ci = 16;
i1384drivers/char/cyclades.celse if(i == B115200) 
i1385drivers/char/cyclades.ci = 18;
i1387drivers/char/cyclades.celse if(i == B78600) 
i1388drivers/char/cyclades.ci = 17;
i1394drivers/char/cyclades.cif (i == 15) {
i1396drivers/char/cyclades.ci += 1;
i1398drivers/char/cyclades.ci += 3;
i1400drivers/char/cyclades.cinfo->tbpr = baud_bpr[i]; /* Tx BPR */
i1401drivers/char/cyclades.cinfo->tco = baud_co[i]; /* Tx CO */
i1402drivers/char/cyclades.cinfo->rbpr = baud_bpr[i]; /* Rx BPR */
i1403drivers/char/cyclades.cinfo->rco = baud_co[i]; /* Rx CO */
i1404drivers/char/cyclades.cif (baud_table[i] == 134) {
i1407drivers/char/cyclades.c} else if (baud_table[i]) {
i1408drivers/char/cyclades.cinfo->timeout = (info->xmit_fifo_size*HZ*15/baud_table[i]) + 2;
i1422drivers/char/cyclades.c: baud_cor3[i]); /* receive threshold */
i1524drivers/char/cyclades.cif(i == 0){ /* baud rate is zero, turn off line */
i2773drivers/char/cyclades.cint      board,port,i;
i2827drivers/char/cyclades.cfor (i = 0; i < 16; i++) {
i2828drivers/char/cyclades.cIRQ_cards[i] = 0;
i2831drivers/char/cyclades.cfor (i = 0; i < NR_CARDS; i++) {
i2833drivers/char/cyclades.ccy_card[i].base_addr = 0;
i2852drivers/char/cyclades.cfor (i = 0 ; i < NR_CARDS ; i++) {
i2853drivers/char/cyclades.cif (cy_card[i].base_addr == 0) {
i2854drivers/char/cyclades.ccy_card[i].first_line = -1;
i2858drivers/char/cyclades.cfor (i = cy_next_channel ; i < NR_PORTS ; i++) {
i2859drivers/char/cyclades.ccy_port[i].line = -1;
i2860drivers/char/cyclades.ccy_port[i].magic = -1;
i2924drivers/char/cyclades.cint i;
i2932drivers/char/cyclades.cfor (i = 0; i < NR_CARDS; i++) {
i2933drivers/char/cyclades.cif (cy_card[i].base_addr != 0)
i2935drivers/char/cyclades.cfree_irq(cy_card[i].irq,NULL);
i2952drivers/char/cyclades.cunsigned short  i,j,cy_isa_nchan;
i2957drivers/char/cyclades.cfor (i = 0 ; i < NR_ISA_ADDRESSES ; i++) {
i2958drivers/char/cyclades.ccy_isa_address = cy_isa_addresses[i];
i3033drivers/char/cyclades.cunsigned short  i,j,cy_pci_nchan;
i3042drivers/char/cyclades.cfor (i = 0; i < NR_CARDS; i++) {
i3045drivers/char/cyclades.cPCI_DEVICE_ID_CYCLOMY,i,
i3071drivers/char/cyclades.creturn(i);
i3075drivers/char/cyclades.ci+1,cyy_bus,cyy_dev_fn,cyy_rev_id);
i3086drivers/char/cyclades.creturn(i);
i3094drivers/char/cyclades.creturn(i);
i3117drivers/char/cyclades.creturn(i);
i66drivers/char/ftape/calibr.cint i;
i74drivers/char/ftape/calibr.cfor (i = 0; i < 1000; ++i) {
i94drivers/char/ftape/calibr.cint i;
i96drivers/char/ftape/calibr.cfor (i = 0; i < 1000; ++i) {
i115drivers/char/ftape/calibr.cint i;
i131drivers/char/ftape/calibr.cfor (i = 0; i < 15; ++i) {
i72drivers/char/ftape/ecc.c#define TRACEi(l,m,i) TRACE_(l,printk(m" %d.\n",i))
i73drivers/char/ftape/ecc.c#define TRACElx(l,m,i) TRACE_(l,printk(m" 0x%08lx.\n",i))
i466drivers/char/ftape/ecc.cint i, j;
i469drivers/char/ftape/ecc.cfor (i = 0; i < n; ++i) {
i472drivers/char/ftape/ecc.cdot_prod = gfadd(dot_prod, gfmul(A[i][j], s[j]));
i474drivers/char/ftape/ecc.cb[i] = dot_prod;
i630drivers/char/ftape/ecc.cint i;
i704drivers/char/ftape/ecc.cfor (i = 0; i < nbad; ++i) {
i705drivers/char/ftape/ecc.ce = error_mag[i];
i708drivers/char/ftape/ecc.cl = bad_loc[i];
i758drivers/char/ftape/ecc.cint i;
i762drivers/char/ftape/ecc.cfor (i = 0; i < SECTOR_SIZE; i += sizeof(long)) {
i763drivers/char/ftape/ecc.cset_parity((unsigned long *) &mseg->data[i], mseg->blocks - 3,
i764drivers/char/ftape/ecc.c(unsigned long *) &parity_bytes[i],
i767drivers/char/ftape/ecc.cif (!sanity_check((unsigned long *) &mseg->data[i], mseg->blocks)) {
i783drivers/char/ftape/ecc.cint col, i, result;
i808drivers/char/ftape/ecc.cfor (i = 0; i < mseg->blocks; i++) {
i809drivers/char/ftape/ecc.cif (BAD_CHECK(mseg->read_bad, i)) {
i816drivers/char/ftape/ecc.cerasure_loc[nerasures++] = i;
i843drivers/char/ftape/ecc.cfor (i = 0; i < sizeof(long); ++i) {
i849drivers/char/ftape/ecc.cresult = correct_block(&mseg->data[col + sizeof(long) - 1 - i],
i854drivers/char/ftape/ecc.cresult = correct_block(&mseg->data[col + i], mseg->blocks,
i81drivers/char/ftape/fc-10.cint i;
i87drivers/char/ftape/fc-10.cfor (i = 0; i < NR_ITEMS(inbs_magic); i++) {
i88drivers/char/ftape/fc-10.cinb(FDC_BASE + inbs_magic[i]);
i94drivers/char/ftape/fc-10.cfor (i = 1; i < 8; i++) {
i95drivers/char/ftape/fc-10.cif (inb(FDC_BASE + i) != x) {
i105drivers/char/ftape/fc-10.cfor (i = 0; i < 8; i++) {
i106drivers/char/ftape/fc-10.cif (inb(FDC_BASE + i) != 0x0) {
i112drivers/char/ftape/fc-10.cfor (i = 0; i < 8; i++) {
i113drivers/char/ftape/fc-10.cif (inb(FDC_BASE + i) != 0xff) {
i124drivers/char/ftape/fc-10.cfor (i = 0; i < NR_ITEMS(inbs_magic); i++) {
i125drivers/char/ftape/fc-10.cinb(FDC_BASE + inbs_magic[i]);
i128drivers/char/ftape/fc-10.cfor (i = 0; i < NR_ITEMS(fc10_ports); i++)
i129drivers/char/ftape/fc-10.cif (FDC_BASE == fc10_ports[i])
i130drivers/char/ftape/fc-10.ccardConfig = i + 1;
i494drivers/char/ftape/fdc-io.cint i;
i522drivers/char/ftape/fdc-io.cfor (i = 0; i < 4; ++i) {  /* clear disk-change status */
i524drivers/char/ftape/fdc-io.cif (i == unit) {
i860drivers/char/ftape/fdc-io.cint i;
i862drivers/char/ftape/fdc-io.cfor (i = 0; i < 1; ++i) {
i902drivers/char/ftape/fdc-io.cint i;
i916drivers/char/ftape/fdc-io.cfor (i = 0; i < NR_ITEMS(reg); ++i) {
i917drivers/char/ftape/fdc-io.cfdc_read(&reg[i]);
i918drivers/char/ftape/fdc-io.cTRACEx2(6, "Register %d = 0x%02x", i, reg[i]);
i1007drivers/char/ftape/fdc-io.cint i;
i1020drivers/char/ftape/fdc-io.cfor (i = 0; i < 4; ++i) {
i1021drivers/char/ftape/fdc-io.coutb_p(i, fdc.tdr);
i1022drivers/char/ftape/fdc-io.cif ((inb_p(fdc.tdr) & 0x03) != i) {
i489drivers/char/ftape/fdc-isr.cint i = 0;
i510drivers/char/ftape/fdc-isr.cwhile ((map & (1 << i)) == 0) {
i511drivers/char/ftape/fdc-isr.c++i;
i513drivers/char/ftape/fdc-isr.cTRACEx1(4, "at sector %d", SECTOR(i));
i516drivers/char/ftape/fdc-isr.ci = buff->sector_offset - 1;
i518drivers/char/ftape/fdc-isr.cwhile ((map & (1 << i)) == 0) {
i519drivers/char/ftape/fdc-isr.c--i;
i521drivers/char/ftape/fdc-isr.cTRACEx1(4, "after sector %d", SECTOR(i));
i522drivers/char/ftape/fdc-isr.c++i;  /* first sector after last hard error */
i529drivers/char/ftape/fdc-isr.creturn i;
i568drivers/char/ftape/fdc-isr.cint i;
i572drivers/char/ftape/fdc-isr.cfor (i = 0; i < NR_BUFFERS; ++i) {
i574drivers/char/ftape/fdc-isr.ci, buffer[i].status, buffer[i].segment_id);
i61drivers/char/ftape/ftape-bsm.cint i;
i72drivers/char/ftape/ftape-bsm.cfor (i = 0; i < SECTORS_PER_SEGMENT; ++i) {
i187drivers/char/ftape/ftape-bsm.cfor (i = first_data_segment; i <= ftape_last_segment.id - 7; ++i) {
i188drivers/char/ftape/ftape-bsm.c((unsigned long *) bad_sector_map)[i] = EMPTY_SEGMENT;
i194drivers/char/ftape/ftape-bsm.cfor (i = first_data_segment; i <= ftape_last_segment.id; ++i) {
i195drivers/char/ftape/ftape-bsm.c((unsigned long *) bad_sector_map)[i] |= 0x00ff00ff;
i203drivers/char/ftape/ftape-bsm.cint i;
i231drivers/char/ftape/ftape-bsm.cfor (i = first_data_segment;
i232drivers/char/ftape/ftape-bsm.ci < segments_per_track * tracks_per_tape; ++i) {
i233drivers/char/ftape/ftape-bsm.cmap = ((unsigned long *) bad_sector_map)[i];
i236drivers/char/ftape/ftape-bsm.cTRACEx2(6, "bsm for segment %4d: 0x%08x", i, map);
i370drivers/char/ftape/ftape-bsm.cint i = 0;
i374drivers/char/ftape/ftape-bsm.cput_sector(&ptr, 1 + segment_id * SECTORS_PER_SEGMENT + i);
i376drivers/char/ftape/ftape-bsm.c++i;
i144drivers/char/ftape/ftape-ctl.cint i;
i167drivers/char/ftape/ftape-ctl.cfor (i = 0; i < NR_BUFFERS; ++i) {
i168drivers/char/ftape/ftape-ctl.cbuffer[i].status = waiting;
i177drivers/char/ftape/ftape-ctl.cint i = 0;
i179drivers/char/ftape/ftape-ctl.cwhile (vendors[i].vendor_id != vendor_id) {
i180drivers/char/ftape/ftape-ctl.cif (++i >= NR_ITEMS(vendors)) {
i184drivers/char/ftape/ftape-ctl.creturn i;
i315drivers/char/ftape/ftape-eof.cint i;
i335drivers/char/ftape/ftape-eof.cfor (i = 0; i < nr_of_eof_marks; ++i) {
i336drivers/char/ftape/ftape-eof.cunsigned failing_segment = eof_map[i].mark.segment;
i343drivers/char/ftape/ftape-eof.ci, failing_segment);
i369drivers/char/ftape/ftape-eof.cint i;
i399drivers/char/ftape/ftape-eof.cfor (i = 0; i < nr_of_eof_marks; ++i) {
i400drivers/char/ftape/ftape-eof.cunsigned short tmp = eof_map[i].mark.segment;
i401drivers/char/ftape/ftape-eof.ceof_map[i].mark.segment = eof_map[i].mark.sector;
i402drivers/char/ftape/ftape-eof.ceof_map[i].mark.sector = tmp;
i405drivers/char/ftape/ftape-eof.cfor (i = 0; i < nr_of_eof_marks; ++i) {
i407drivers/char/ftape/ftape-eof.ceof_map[i].mark.segment, eof_map[i].mark.sector);
i543drivers/char/ftape/ftape-eof.cint i;
i548drivers/char/ftape/ftape-eof.cfor (i = 0; i < nr_of_eof_marks; ++i) {
i550drivers/char/ftape/ftape-eof.ceof_map[i].mark.segment, eof_map[i].mark.sector);
i106drivers/char/ftape/ftape-io.cvolatile int i;
i109drivers/char/ftape/ftape-io.cfor (i = 0; i < 20; ++i);
i402drivers/char/ftape/ftape-io.cint i, st3;
i414drivers/char/ftape/ftape-io.ci = 0;
i416drivers/char/ftape/ftape-io.c++i;
i440drivers/char/ftape/ftape-io.cif (i > 1 && dt > 6000) {
i441drivers/char/ftape/ftape-io.cTRACEx2(1, "Acknowledge after %u msec. (%i iter)", dt / 1000, i);
i444drivers/char/ftape/ftape-io.cTRACEx2(1, "No acknowledge after %u msec. (%i iter)", dt / 1000, i);
i450drivers/char/ftape/ftape-io.cfor (i = 0; i < result_length + 1; i++) {
i471drivers/char/ftape/ftape-io.cif (i < result_length) {
i472drivers/char/ftape/ftape-io.c*status |= ((st3 & ST3_TRACK_0) ? 1 : 0) << i;
i775drivers/char/ftape/ftape-io.cint i;
i784drivers/char/ftape/ftape-io.cfor (i = 0; i < NR_ITEMS(rates); ++i) {
i787drivers/char/ftape/ftape-io.cresult = ftape_parameter_wait(rates[i].drive_code,
i997drivers/char/ftape/ftape-io.cint i;
i1003drivers/char/ftape/ftape-io.cfor (i = 0; i < 2; ++i) {
i56drivers/char/ftape/ftape-read.cint i;
i58drivers/char/ftape/ftape-read.cfor (i = 0; i < NR_BUFFERS; ++i) {
i62drivers/char/ftape/ftape-read.cbuffer[i].address = tape_buffer[i];
i63drivers/char/ftape/ftape-read.cbuffer[i].status = waiting;
i64drivers/char/ftape/ftape-read.cbuffer[i].bytes = 0;
i65drivers/char/ftape/ftape-read.cbuffer[i].skip = 0;
i66drivers/char/ftape/ftape-read.cbuffer[i].retry = 0;
i77drivers/char/ftape/ftape-read.cint i = 0;
i89drivers/char/ftape/ftape-read.cdst_map |= (1 << i);
i93drivers/char/ftape/ftape-read.c++i;
i100drivers/char/ftape/ftape-read.cdst_map |= (src_map << i);
i198drivers/char/ftape/ftape-read.cint i;
i215drivers/char/ftape/ftape-read.cfor (i = 1; i < eof_sector; ++i) {
i367drivers/char/ftape/ftape-read.cint i;
i550drivers/char/ftape/ftape-read.cfor (i = segments_per_track * tracks_per_tape - 1; i >= 0; --i) {
i551drivers/char/ftape/ftape-read.cint space = SECTORS_PER_SEGMENT - 3 - count_ones(get_bad_sector_entry(i));
i557drivers/char/ftape/ftape-read.cftape_last_segment.id = i;
i488drivers/char/ftape/ftape-rw.cint i;
i509drivers/char/ftape/ftape-rw.cfor (i = 0; i < nibbles; ++i) {
i64drivers/char/ftape/ftape-write.cint i;
i66drivers/char/ftape/ftape-write.cfor (i = 0; i < NR_BUFFERS; ++i) {
i67drivers/char/ftape/ftape-write.cbuffer[i].status = done;
i141drivers/char/ftape/ftape-write.cint i;
i149drivers/char/ftape/ftape-write.cfor (i = 0; i < NR_BUFFERS; ++i) {
i151drivers/char/ftape/ftape-write.ci, buffer[i].segment_id, buffer[i].status);
i44drivers/char/ftape/tracing.h#define TRACEi(l,m,i)           trace_dummy()
i45drivers/char/ftape/tracing.h#define TRACElx(l,m,i)          trace_dummy()
i76drivers/char/ftape/tracing.h#define TRACEi(l,m,i) TRACE_(l,printk(m" %d.\n",i))
i77drivers/char/ftape/tracing.h#define TRACElx(l,m,i) TRACE_(l,printk(m" 0x%08lx.\n",i))
i789drivers/char/istallion.cint    i, j;
i809drivers/char/istallion.ci = tty_unregister_driver(&stli_serial);
i811drivers/char/istallion.cif (i || j) {
i812drivers/char/istallion.cprintk("STALLION: failed to un-register tty driver, errno=%d,%d\n", -i, -j);
i816drivers/char/istallion.cif ((i = unregister_chrdev(STL_SIOMEMMAJOR, "staliomem")))
i817drivers/char/istallion.cprintk("STALLION: failed to un-register serial memory device, errno=%d\n", -i);
i824drivers/char/istallion.cfor (i = 0; (i < stli_nrbrds); i++) {
i825drivers/char/istallion.cbrdp = stli_brds[i];
i846drivers/char/istallion.cstli_brds[i] = (stlibrd_t *) NULL;
i2865drivers/char/istallion.cint    i, panelnr, panelport;
i2871drivers/char/istallion.cfor (i = 0, panelnr = 0, panelport = 0; (i < brdp->nrports); i++) {
i2879drivers/char/istallion.cportp->portnr = i;
i2894drivers/char/istallion.cbrdp->ports[i] = portp;
i3122drivers/char/istallion.cint    i;
i3131drivers/char/istallion.cfor (i = 0; (i < 1000); i++)
i3183drivers/char/istallion.cint  i;
i3192drivers/char/istallion.cfor (i = 0; (i < 1000); i++)
i3205drivers/char/istallion.cint    i;
i3215drivers/char/istallion.cfor (i = 0; (i < 1000); i++)
i3276drivers/char/istallion.cint  i;
i3285drivers/char/istallion.cfor (i = 0; (i < 1000); i++)
i3297drivers/char/istallion.cint  i;
i3306drivers/char/istallion.cfor (i = 0; (i < 1000); i++)
i3339drivers/char/istallion.cint  i;
i3348drivers/char/istallion.cfor (i = 0; (i < 1000); i++)
i3360drivers/char/istallion.cint  i;
i3367drivers/char/istallion.cfor (i = 0; (i < 1000); i++)
i3395drivers/char/istallion.cint      i;
i3404drivers/char/istallion.cfor (i = 0; (i < 1000); i++)
i3589drivers/char/istallion.cint    i;
i3713drivers/char/istallion.cfor (i = 0; (i < 16); i++) {
i3714drivers/char/istallion.cif (((sig.amask0 << i) & 0x8000) == 0)
i3717drivers/char/istallion.cbrdp->nrports = i;
i3741drivers/char/istallion.cint      portnr, nrdevs, i, rc;
i3788drivers/char/istallion.cfor (i = 1, portnr = 0; (i < nrdevs); i++, portnr++, memp++) {
i3794drivers/char/istallion.cportp->devnr = i;
i3796drivers/char/istallion.cportp->reqbit = (unsigned char) (0x1 << (i * 8 / nrdevs));
i3797drivers/char/istallion.cportp->portidx = (unsigned char) (i / 8);
i3798drivers/char/istallion.cportp->portbit = (unsigned char) (0x1 << (i % 8));
i3806drivers/char/istallion.cfor (i = 1, portnr = 0; (i < nrdevs); i++, portnr++) {
i3901drivers/char/istallion.cint    i, foundit;
i3925drivers/char/istallion.cfor (i = 0; (i < 100); i++)
i3941drivers/char/istallion.cfor (i = 0; (i < stli_eisamempsize); i++) {
i3942drivers/char/istallion.cbrdp->memaddr = stli_eisamemprobeaddrs[i];
i4005drivers/char/istallion.cint    i;
i4034drivers/char/istallion.cfor (i = 0; (i < STL_MAXBRDS); i++) {
i4035drivers/char/istallion.cbrdp = stli_brds[i];
i4041drivers/char/istallion.cif (i < STL_MAXBRDS)
i4093drivers/char/istallion.cint    i, j;
i4108drivers/char/istallion.cfor (i = 0; (i < stli_nrbrds); i++) {
i4109drivers/char/istallion.cconfp = &stli_brdconf[i];
i4117drivers/char/istallion.cbrdp->brdnr = i;
i4137drivers/char/istallion.cfor (i = 0; (i < stli_nrbrds); i++) {
i4138drivers/char/istallion.cbrdp = stli_brds[i];
i4141drivers/char/istallion.cfor (j = i + 1; (j < stli_nrbrds); j++) {
i4154drivers/char/istallion.cfor (i = 0; (i < stli_nrbrds); i++) {
i4155drivers/char/istallion.cbrdp = stli_brds[i];
i4278drivers/char/istallion.cint    i;
i4296drivers/char/istallion.cfor (i = 0; (i < brdp->nrpanels); i++) {
i4297drivers/char/istallion.cstli_brdstats.panels[i].panel = i;
i4298drivers/char/istallion.cstli_brdstats.panels[i].hwid = brdp->panelids[i];
i4299drivers/char/istallion.cstli_brdstats.panels[i].nrports = brdp->panels[i];
i4315drivers/char/istallion.cint    i;
i4322drivers/char/istallion.cfor (i = 0; (i < panelnr); i++)
i4323drivers/char/istallion.cportnr += brdp->panels[i];
i171drivers/char/keyboard.cint i;
i173drivers/char/keyboard.cfor (i=0; i<0x100000; i++)
i700drivers/char/keyboard.cint i;
i702drivers/char/keyboard.cfor (i = fg_console-1; i != fg_console; i--) {
i703drivers/char/keyboard.cif (i == -1)
i704drivers/char/keyboard.ci = MAX_NR_CONSOLES-1;
i705drivers/char/keyboard.cif (vc_cons_allocated(i))
i708drivers/char/keyboard.cset_console(i);
i713drivers/char/keyboard.cint i;
i715drivers/char/keyboard.cfor (i = fg_console+1; i != fg_console; i++) {
i716drivers/char/keyboard.cif (i == MAX_NR_CONSOLES)
i717drivers/char/keyboard.ci = 0;
i718drivers/char/keyboard.cif (vc_cons_allocated(i))
i721drivers/char/keyboard.cset_console(i);
i851drivers/char/keyboard.cint i;
i857drivers/char/keyboard.cfor (i = 0; i < accent_table_size; i++) {
i858drivers/char/keyboard.cif (accent_table[i].diacr == d && accent_table[i].base == ch)
i859drivers/char/keyboard.creturn accent_table[i].result;
i993drivers/char/keyboard.cint i, j, k, sym, val;
i996drivers/char/keyboard.cfor(i=0; i < SIZE(k_down); i++)
i997drivers/char/keyboard.ck_down[i] = 0;
i999drivers/char/keyboard.cfor(i=0; i < SIZE(key_down); i++)
i1000drivers/char/keyboard.cif(key_down[i]) {  /* skip this word if not a single bit on */
i1001drivers/char/keyboard.ck = i*BITS_PER_LONG;
i1070drivers/char/keyboard.cint i;
i1078drivers/char/keyboard.cfor(i=0; i<0x200000; i++) {
i1187drivers/char/keyboard.cint i;
i1198drivers/char/keyboard.cfor (i = 0 ; i < MAX_NR_CONSOLES ; i++)
i1199drivers/char/keyboard.ckbd_table[i] = kbd0;
i136drivers/char/mem.cunsigned int i = file->f_pos;
i139drivers/char/mem.cwhile (count-- > 0 && i < 65536) {
i140drivers/char/mem.cput_user(inb(i),tmp);
i141drivers/char/mem.ci++;
i144drivers/char/mem.cfile->f_pos = i;
i150drivers/char/mem.cunsigned int i = file->f_pos;
i153drivers/char/mem.cwhile (count-- > 0 && i < 65536) {
i154drivers/char/mem.coutb(get_user(tmp),i);
i155drivers/char/mem.ci++;
i158drivers/char/mem.cfile->f_pos = i;
i128drivers/char/misc.cint i = DYNAMIC_MINORS;
i129drivers/char/misc.cwhile (--i >= 0)
i130drivers/char/misc.cif ( (misc_minors[i>>3] & (1 << (i&7))) == 0)
i132drivers/char/misc.cif (i<0) return -EBUSY;
i133drivers/char/misc.cmisc->minor = i;
i147drivers/char/misc.cint i = misc->minor;
i155drivers/char/misc.cif (i < DYNAMIC_MINORS && i>0) {
i156drivers/char/misc.cmisc_minors[i>>3] &= ~(1 << (misc->minor & 7));
i130drivers/char/msbusmouse.cint i, dx, dy;
i141drivers/char/msbusmouse.cfor (i = 3; i < count; i++)
i142drivers/char/msbusmouse.cput_user(0x00, buffer + i);
i146drivers/char/msbusmouse.creturn i;  
i179drivers/char/msbusmouse.cint mse_byte, i;
i193drivers/char/msbusmouse.cfor (i = 0; i < 4; i++) {
i540drivers/char/n_tty.cint  i;
i546drivers/char/n_tty.ci = MIN(count, MIN(N_TTY_BUF_SIZE - tty->read_cnt,
i548drivers/char/n_tty.cmemcpy(tty->read_buf + tty->read_head, cp, i);
i549drivers/char/n_tty.ctty->read_head = (tty->read_head + i) & (N_TTY_BUF_SIZE-1);
i550drivers/char/n_tty.ctty->read_cnt += i;
i551drivers/char/n_tty.ccp += i;
i552drivers/char/n_tty.ccount -= i;
i554drivers/char/n_tty.ci = MIN(count, MIN(N_TTY_BUF_SIZE - tty->read_cnt,
i556drivers/char/n_tty.cmemcpy(tty->read_buf + tty->read_head, cp, i);
i557drivers/char/n_tty.ctty->read_head = (tty->read_head + i) & (N_TTY_BUF_SIZE-1);
i558drivers/char/n_tty.ctty->read_cnt += i;
i560drivers/char/n_tty.cfor (i=count, p = cp, f = fp; i; i--, p++) {
i772drivers/char/pcxx.cint               i, j, last;
i784drivers/char/pcxx.cfor(last=0,i=1;i<=ints[0];i++)
i785drivers/char/pcxx.cswitch(i)
i788drivers/char/pcxx.cboard.status = ints[i];
i789drivers/char/pcxx.clast = i;
i793drivers/char/pcxx.cboard.type = ints[i];
i794drivers/char/pcxx.clast = i;
i798drivers/char/pcxx.cboard.altpin = ints[i];
i799drivers/char/pcxx.clast = i;
i803drivers/char/pcxx.cboard.numports = ints[i];
i804drivers/char/pcxx.clast = i;
i808drivers/char/pcxx.cboard.port = ints[i];
i809drivers/char/pcxx.clast = i;
i813drivers/char/pcxx.cboard.membase = ints[i];
i814drivers/char/pcxx.clast = i;
i835drivers/char/pcxx.ci = last + 1;
i837drivers/char/pcxx.cswitch(i)
i851drivers/char/pcxx.clast = i;
i859drivers/char/pcxx.cif (i<PCXX_NUM_TYPES) 
i866drivers/char/pcxx.clast = i;
i881drivers/char/pcxx.clast = i;
i896drivers/char/pcxx.clast = i;
i911drivers/char/pcxx.clast = i;
i926drivers/char/pcxx.clast = i;
i967drivers/char/pcxx.cint lowwater, i, crd, shrinkmem=0, topwin = 0xff00L, botwin=0x100L;
i982drivers/char/pcxx.cfor (i=0;i<numcards;i++)
i983drivers/char/pcxx.cnbdevs += boards[i].numports;
i1080drivers/char/pcxx.cfor(i=0; (inb(bd->port) & FEPMASK) != FEPRST; i++) {
i1081drivers/char/pcxx.cif(i > 1000) {
i1139drivers/char/pcxx.cfor(i=0; (inb(bd->port) & FEPMASK) != (FEPRST|FEPMEM); i++) {
i1140drivers/char/pcxx.cif(i > 10000) {
i1163drivers/char/pcxx.cfor(i=0; i < 16; i++) {
i1164drivers/char/pcxx.cmemaddr[MISCGLOBAL+i] = 0;
i1174drivers/char/pcxx.cfor(i=0; i <= 10000; i++) {
i1196drivers/char/pcxx.cfor(i=0; i <= 10000; i++) {
i1228drivers/char/pcxx.cfor(i=0; *(ushort *)((ulong)memaddr + MBOX); i++) {
i1229drivers/char/pcxx.cif(i > 2000) {
i1250drivers/char/pcxx.cfor(i=0; *(ushort *)((ulong)memaddr + FEPSTAT) != *(ushort *)"OS"; i++) {
i1251drivers/char/pcxx.cif(i > 10000) {
i1273drivers/char/pcxx.cfor(i=0; i < bd->numports; i++, ch++, bc++) {
i1274drivers/char/pcxx.cif(((ushort *)((ulong)memaddr + PORTBASE))[i] == 0) {
i1297drivers/char/pcxx.cch->channelnum = i;
i1299drivers/char/pcxx.cch->dev = bd->first_minor + i;
i380drivers/char/psaux.cint i = count;
i382drivers/char/psaux.cwhile (i--) {
i402drivers/char/psaux.cint i = count;
i404drivers/char/psaux.cwhile (i--) {
i422drivers/char/psaux.cint i = count;
i438drivers/char/psaux.cwhile (i > 0 && !queue_empty()) {
i441drivers/char/psaux.ci--;
i444drivers/char/psaux.cif (count-i) {
i446drivers/char/psaux.creturn count-i;
i314drivers/char/random.cunsigned i;
i318drivers/char/random.ci = r->add_ptr = (r->add_ptr - 1) & (POOLWORDS-1);
i319drivers/char/random.cif (i)
i330drivers/char/random.cw ^= r->pool[(i+TAP1)&(POOLWORDS-1)];
i331drivers/char/random.cw ^= r->pool[(i+TAP2)&(POOLWORDS-1)];
i332drivers/char/random.cw ^= r->pool[(i+TAP3)&(POOLWORDS-1)];
i333drivers/char/random.cw ^= r->pool[(i+TAP4)&(POOLWORDS-1)];
i334drivers/char/random.cw ^= r->pool[(i+TAP5)&(POOLWORDS-1)];
i335drivers/char/random.cw ^= r->pool[i];
i337drivers/char/random.cr->pool[i] = (w << 1) | (w >> 31);
i581drivers/char/random.cint ret, i;
i605drivers/char/random.cfor (i = 0; i < POOLWORDS; i += 16)
i606drivers/char/random.cMD5Transform(tmp, r->pool+i);
i620drivers/char/random.ci = MIN(nbytes, 16);
i622drivers/char/random.cmemcpy_tofs(buf, (__u8 const *)tmp, i);
i624drivers/char/random.cmemcpy(buf, (__u8 const *)tmp, i);
i625drivers/char/random.cnbytes -= i;
i626drivers/char/random.cbuf += i;
i711drivers/char/random.cint i;
i714drivers/char/random.cfor (i = count, p = (__u32 *)buffer;
i715drivers/char/random.ci >= sizeof(__u32);
i716drivers/char/random.ci-= sizeof(__u32), p++) {
i720drivers/char/random.cif (i) {
i722drivers/char/random.cmemcpy_fromfs(&word, p, i);
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;
i257drivers/char/selection.cfor (i = sel_start; i <= sel_end; i += 2) {
i258drivers/char/selection.c*bp = sel_pos(i);
i261drivers/char/selection.cif (! ((i + 2) % video_size_row)) {
i785drivers/char/serial.cunsigned int  i;
i788drivers/char/serial.cfor (i=1; i < 16; i++) {
i789drivers/char/serial.cinfo = IRQ_ports[i];
i800drivers/char/serial.cif (rs_multiport[i].port1)
i801drivers/char/serial.crs_interrupt_multi(i, NULL, NULL);
i803drivers/char/serial.crs_interrupt(i, NULL, NULL);
i805drivers/char/serial.crs_interrupt_single(i, NULL, NULL);
i840drivers/char/serial.cint      i, mask;
i842drivers/char/serial.cfor (i = 0, mask = 1; i < 16; i++, mask <<= 1) {
i843drivers/char/serial.cif (!(mask & dontgrab) && !request_irq(i, rs_probe, SA_INTERRUPT, "serial probe", NULL)) {
i855drivers/char/serial.cint  i;
i857drivers/char/serial.cfor (i = 0; i < 16; i++) {
i858drivers/char/serial.cif (irq_lines & (1 << i))
i859drivers/char/serial.cfree_irq(i, NULL);
i1147drivers/char/serial.cint  i;
i1154drivers/char/serial.ci = cflag & CBAUD;
i1155drivers/char/serial.cif (i & CBAUDEX) {
i1156drivers/char/serial.ci &= ~CBAUDEX;
i1157drivers/char/serial.cif (i < 1 || i > 2) 
i1160drivers/char/serial.ci += 15;
i1162drivers/char/serial.cif (i == 15) {
i1164drivers/char/serial.ci += 1;
i1166drivers/char/serial.ci += 2;
i1173drivers/char/serial.c} else if (baud_table[i] == 134) {
i1176drivers/char/serial.c} else if (baud_table[i]) {
i1177drivers/char/serial.cquot = info->baud_base / baud_table[i];
i1178drivers/char/serial.cinfo->timeout = (info->xmit_fifo_size*HZ*15/baud_table[i]) + 2;
i1499drivers/char/serial.cunsigned int    i,change_irq,change_port;
i1534drivers/char/serial.cfor (i = 0 ; i < NR_PORTS; i++)
i1535drivers/char/serial.cif ((info != &rs_table[i]) &&
i1536drivers/char/serial.c(rs_table[i].port == new_serial.port) &&
i1537drivers/char/serial.crs_table[i].type)
i1723drivers/char/serial.cint  i, mask;
i1748drivers/char/serial.cfor (i = 0, mask = 1; i < 16; i++, mask <<= 1) {
i1749drivers/char/serial.cif ((rs_triggered & (1 << i)) &&
i1750drivers/char/serial.c(irq_lines & (1 << i))) {
i1753drivers/char/serial.cprintk("Wild interrupt?  (IRQ %d)\n", i);
i2671drivers/char/serial.cint i;
i2681drivers/char/serial.cfor (i = 0; i < 16; i++) {
i2682drivers/char/serial.cIRQ_ports[i] = 0;
i2683drivers/char/serial.cIRQ_timeout[i] = 0;
i2684drivers/char/serial.cmemset(&rs_multiport[i], 0, sizeof(struct rs_multiport_struct));
i2738drivers/char/serial.cfor (i = 0, info = rs_table; i < NR_PORTS; i++,info++) {
i2740drivers/char/serial.cinfo->line = i;
i2803drivers/char/serial.cint i;
i2809drivers/char/serial.cfor (i = 0; i < NR_PORTS; i++) {
i2810drivers/char/serial.cif (rs_table[i].port == req->port)
i2813drivers/char/serial.cif (i == NR_PORTS) {
i2814drivers/char/serial.cfor (i = 0; i < NR_PORTS; i++)
i2815drivers/char/serial.cif ((rs_table[i].type == PORT_UNKNOWN) &&
i2816drivers/char/serial.c(rs_table[i].count == 0))
i2819drivers/char/serial.cif (i == NR_PORTS) {
i2823drivers/char/serial.cinfo = &rs_table[i];
i2824drivers/char/serial.cif (rs_table[i].count) {
i2827drivers/char/serial.c"device already open\n", i, req->port, req->irq);
i577drivers/char/stallion.cint    i, j, k;
i594drivers/char/stallion.ci = tty_unregister_driver(&stl_serial);
i596drivers/char/stallion.cif (i || j) {
i597drivers/char/stallion.cprintk("STALLION: failed to un-register tty driver, errno=%d,%d\n", -i, -j);
i601drivers/char/stallion.cif ((i = unregister_chrdev(STL_SIOMEMMAJOR, "staliomem")))
i602drivers/char/stallion.cprintk("STALLION: failed to un-register serial memory device, errno=%d\n", -i);
i607drivers/char/stallion.cfor (i = 0; (i < stl_nrbrds); i++) {
i608drivers/char/stallion.cbrdp = stl_brds[i];
i640drivers/char/stallion.cstl_brds[i] = (stlbrd_t *) NULL;
i643drivers/char/stallion.cfor (i = 0; (i < stl_numintrs); i++)
i644drivers/char/stallion.cfree_irq(stl_gotintrs[i], NULL);
i1836drivers/char/stallion.cint    i, panelnr, iobase;
i1843drivers/char/stallion.cfor (i = 0; (i < stl_nrbrds); ) {
i1844drivers/char/stallion.cif ((brdp = stl_brds[i]) == (stlbrd_t *) NULL) {
i1845drivers/char/stallion.ci++;
i1849drivers/char/stallion.ci++;
i1859drivers/char/stallion.ci++;
i1872drivers/char/stallion.ci++;
i1888drivers/char/stallion.ci++;
i1909drivers/char/stallion.ci++;
i1918drivers/char/stallion.ci++;
i1933drivers/char/stallion.ci++;
i1942drivers/char/stallion.ci++;
i2015drivers/char/stallion.cint  i;
i2017drivers/char/stallion.cfor (i = 0; (i < CCR_MAXWAIT); i++) {
i2439drivers/char/stallion.cint  rc, i;
i2446drivers/char/stallion.cfor (i = 0; (i < stl_numintrs); i++) {
i2447drivers/char/stallion.cif (stl_gotintrs[i] == irq)
i2450drivers/char/stallion.cif (i >= stl_numintrs) {
i2475drivers/char/stallion.cint    i, j;
i2488drivers/char/stallion.cfor (i = 0; (i < nrchips); i++) {
i2490drivers/char/stallion.coutb((panelp->pagenr + (i >> 1)), brdp->ioctrl);
i2493drivers/char/stallion.cioaddr = panelp->iobase + (EREG_BANKSIZE * (i >> 1));
i2495drivers/char/stallion.cuartaddr = (i & 0x01) ? 0x080 : 0;
i2507drivers/char/stallion.cprintk("STALLION: cd1400 not responding, brd=%d panel=%d chip=%d\n", panelp->brdnr, panelp->panelnr, i);
i2510drivers/char/stallion.cchipmask |= (0x1 << i);
i2521drivers/char/stallion.cfor (i = 0; (i < panelp->nrports); i++) {
i2523drivers/char/stallion.coutb((panelp->pagenr + (i >> 3)), brdp->ioctrl);
i2526drivers/char/stallion.cioaddr = panelp->iobase + (EREG_BANKSIZE * (i >> 3));
i2528drivers/char/stallion.cif ((chipmask & (0x1 << (i / 4))) == 0)
i2536drivers/char/stallion.cportp->portnr = i;
i2540drivers/char/stallion.cportp->uartaddr = (i & 0x04) << 5;
i2541drivers/char/stallion.cportp->pagenr = panelp->pagenr + (i >> 3);
i2553drivers/char/stallion.cstl_setreg(portp, CAR, (i & 0x03));
i2554drivers/char/stallion.cstl_setreg(portp, LIVR, (i << 3));
i2556drivers/char/stallion.cpanelp->ports[i] = portp;
i2644drivers/char/stallion.cint    panelnr, ioaddr, i;
i2711drivers/char/stallion.cfor (i = 0; (i < STL_MAXPANELS); i++) {
i2755drivers/char/stallion.ci = stl_mapirq(brdp->irq);
i2756drivers/char/stallion.creturn(i);
i2770drivers/char/stallion.cint  i;
i2796drivers/char/stallion.cfor (i = 0; (i < STL_MAXPANELS); i++)
i2797drivers/char/stallion.cif (brdp->panels[i] != (stlpanel_t *) NULL)
i2798drivers/char/stallion.cstl_initports(brdp, brdp->panels[i]);
i2819drivers/char/stallion.cint    i, rc;
i2826drivers/char/stallion.cfor (i = 0; (i < STL_MAXBRDS); i++) {
i2827drivers/char/stallion.cif (pcibios_find_device(PCI_VENDOR_ID_NS, PCI_DEVICE_ID_NS_87410, i, &busnr, &devnr))
i2902drivers/char/stallion.cint    i;
i2917drivers/char/stallion.cfor (i = 0; (i < stl_nrbrds); i++) {
i2918drivers/char/stallion.cconfp = &stl_brdconf[i];
i2926drivers/char/stallion.cbrdp->brdnr = i;
i2956drivers/char/stallion.cint    i;
i2975drivers/char/stallion.cfor (i = 0; (i < brdp->nrpanels); i++) {
i2976drivers/char/stallion.cpanelp = brdp->panels[i];
i2977drivers/char/stallion.cstl_brdstats.panels[i].panel = i;
i2978drivers/char/stallion.cstl_brdstats.panels[i].hwid = panelp->hwid;
i2979drivers/char/stallion.cstl_brdstats.panels[i].nrports = panelp->nrports;
i206drivers/char/tga.cint i, j;
i212drivers/char/tga.cfor (i = 0; i < 16; i++) {
i213drivers/char/tga.cj = color_table[i];
i222drivers/char/tga.cfor (i = 0; i < 16; i++) {
i223drivers/char/tga.cj = color_table[i];
i386drivers/char/tga.cint i;
i388drivers/char/tga.ci = verify_area(set ? VERIFY_READ : VERIFY_WRITE, (void *)arg, 16*3);
i389drivers/char/tga.cif (i)
i390drivers/char/tga.creturn i;
i392drivers/char/tga.cfor (i=0; i<16; i++) {
i394drivers/char/tga.cdefault_red[i] = get_user(arg++) ;
i395drivers/char/tga.cdefault_grn[i] = get_user(arg++) ;
i396drivers/char/tga.cdefault_blu[i] = get_user(arg++) ;
i398drivers/char/tga.cput_user (default_red[i], arg++) ;
i399drivers/char/tga.cput_user (default_grn[i], arg++) ;
i400drivers/char/tga.cput_user (default_blu[i], arg++) ;
i404drivers/char/tga.cfor (i=0; i<MAX_NR_CONSOLES; i++)
i405drivers/char/tga.cif (vc_cons_allocated(i)) {
i408drivers/char/tga.cvc_cons[i].d->vc_palette[k++] = default_red[j];
i409drivers/char/tga.cvc_cons[i].d->vc_palette[k++] = default_grn[j];
i410drivers/char/tga.cvc_cons[i].d->vc_palette[k++] = default_blu[j];
i528drivers/char/tga.cint i, j, temp;
i554drivers/char/tga.cfor (i = 0; i <= 6; i++) {
i556drivers/char/tga.ctemp = (PLLbits[i] >> (7-j)) & 1;
i557drivers/char/tga.cif (i == 6 && j == 7)
i589drivers/char/tga.cfor (i = 0; i < 16; i++) {
i590drivers/char/tga.cj = color_table[i];
i598drivers/char/tga.cfor (i = 0; i < 240*3; i += 4) {
i627drivers/char/tga.cfor (i = 0; i < 512; i++) {
i630drivers/char/tga.cfor (i = 0; i < 512; i++) {
i663drivers/char/tga.cfor (i = 0; i < 16; i++) {
i664drivers/char/tga.cj = color_table[i];
i672drivers/char/tga.cfor (i = 0; i < 512*3; i += 4) {
i693drivers/char/tga.cfor (i = 0; i < 16; i++) {
i726drivers/char/tga.cfor (i = 0; i < 256; i++) {
i727drivers/char/tga.cwritel(bt463_cursor_source[i], temp + i*4);
i745drivers/char/tga.cregister int i, j;
i749drivers/char/tga.cfor (i = 0; i < tga_fb_height; i++, dst += tga_fb_stride) {
i795drivers/char/tga.cregister int i, j, stride;
i807drivers/char/tga.ci = (c & 0xff) << 4; /* NOTE: assumption of 16 bytes per character bitmap */
i823drivers/char/tga.cfont_row = (unsigned char *)&tga_builtin_font[i];
i860drivers/char/tga.cfor ( i = 0; i < TGA_F_HEIGHT_PADDED; i++ ) {
i861drivers/char/tga.cif (i < TGA_F_HEIGHT) {
i862drivers/char/tga.crowbits = font_row[i];
i866drivers/char/tga.crowbits = font_row[i-(TGA_F_HEIGHT_PADDED-TGA_F_HEIGHT)];
i489drivers/char/tpqic02.cint i;
i491drivers/char/tpqic02.cfor (i=1; i<NR_OF_EXC; i++) {
i492drivers/char/tpqic02.cif ((s & exception_list[i].mask)==exception_list[i].code)
i493drivers/char/tpqic02.creturn i;
i668drivers/char/tpqic02.cint i;
i687drivers/char/tpqic02.ci = TAPE_NOTIFY_TIMEOUT;
i692drivers/char/tpqic02.cwhile ((inb_p(QIC02_STAT_PORT) & QIC02_STAT_READY) && (--i>0))
i694drivers/char/tpqic02.cif (i==0) {
i701drivers/char/tpqic02.ci = TAPE_NOTIFY_TIMEOUT;
i703drivers/char/tpqic02.cwhile (((inb_p(QIC02_STAT_PORT) & QIC02_STAT_READY) == 0) && (--i>0))
i705drivers/char/tpqic02.cif (i==0) {
i782drivers/char/tpqic02.cint i, stat;
i784drivers/char/tpqic02.cfor (i=0; i<size; i++) {
i790drivers/char/tpqic02.cstat = notify_cmd(sb[i], ignore_ex);
i948drivers/char/tpqic02.cint stat, i;
i956drivers/char/tpqic02.cfor (i=0; i<sizeof(vus); i++) {
i957drivers/char/tpqic02.cif ( i % 8 == 0 )
i959drivers/char/tpqic02.cprintk(" %2x", vus[i] & 0xff);
i1802drivers/char/tpqic02.cint stat, r, i;
i1851drivers/char/tpqic02.cif ( (i = get_dma_residue(QIC02_TAPE_DMA)) != 0 ) {
i1852drivers/char/tpqic02.cprintk(TPQIC02_NAME ": dma_residue == %x !!!\n", i);
i2558drivers/char/tpqic02.cshort i;
i2621drivers/char/tpqic02.cfor (i=0; i<sizeof(qic02_tape_dynconf); i++) 
i2648drivers/char/tpqic02.cfor (i=0; i<sizeof(qic02_tape_dynconf); i++)
i2680drivers/char/tpqic02.cfor (i=0; i<sizeof(operation); i++)
i2742drivers/char/tpqic02.cfor (i=0; i<sizeof(ioctl_status); i++) 
i2775drivers/char/tpqic02.cfor (i=0; i<sizeof(ioctl_tell); i++) 
i177drivers/char/tty_io.cint i, count = 0;
i179drivers/char/tty_io.cfor (f = first_file, i=0; i<nr_files; i++, f = f->f_next) {
i371drivers/char/tty_io.cint i;
i378drivers/char/tty_io.cfor (filp = first_file, i=0; i<nr_files; i++, filp = filp->f_next) {
i412drivers/char/tty_io.ci = (tty->ldisc.open)(tty);
i413drivers/char/tty_io.cif (i < 0)
i415drivers/char/tty_io.c-i);
i720drivers/char/tty_io.cint i;
i747drivers/char/tty_io.ci = (tty->ldisc.read)(tty,file,(unsigned char *)buf,(unsigned int)count);
i749drivers/char/tty_io.ci = -EIO;
i750drivers/char/tty_io.cif (i > 0)
i752drivers/char/tty_io.creturn i;
i757drivers/char/tty_io.cint i, is_console;
i783drivers/char/tty_io.ci = (tty->ldisc.write)(tty,file,(const unsigned char *)buf,(unsigned int)count);
i785drivers/char/tty_io.ci = -EIO;
i786drivers/char/tty_io.cif (i > 0)
i788drivers/char/tty_io.creturn i;
i1341drivers/char/tty_io.cint i, n = 0;
i1343drivers/char/tty_io.ci = verify_area(VERIFY_WRITE, (void *)arg, sizeof(struct tstruct));
i1344drivers/char/tty_io.cif (i)
i1345drivers/char/tty_io.creturn i;
i1351drivers/char/tty_io.cfor (i=0 ; i<sizeof(struct task_struct) ; i++)
i1629drivers/char/tty_io.cint    i;
i1646drivers/char/tty_io.cfor (i=0; i < NR_OPEN; i++) {
i1647drivers/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;
i70drivers/char/vga.cint i, j ;
i76drivers/char/vga.cfor (i=j=0; i<16; i++) {
i77drivers/char/vga.coutb_p (color_table[i], dac_reg) ;
i167drivers/char/vga.cint i ;
i199drivers/char/vga.cfor (i=0; i<16; i++) {
i201drivers/char/vga.coutb_p (i, 0x3c0) ;
i202drivers/char/vga.coutb_p (i, 0x3c0) ;
i209drivers/char/vga.cfor (i=0; i<16; i++) {
i210drivers/char/vga.coutb_p (color_table[i], 0x3c8) ;
i211drivers/char/vga.coutb_p (default_red[i], 0x3c9) ;
i212drivers/char/vga.coutb_p (default_grn[i], 0x3c9) ;
i213drivers/char/vga.coutb_p (default_blu[i], 0x3c9) ;
i254drivers/char/vga.cint  i;
i259drivers/char/vga.cfor ( i = 0 ; i < 12 ; i++ )
i261drivers/char/vga.coutb_p(i, 0x3b4);
i262drivers/char/vga.coutb_p(herc_txt_tbl[i], 0x3b5);
i311drivers/char/vga.cint i;
i334drivers/char/vga.ci = verify_area(set ? VERIFY_READ : VERIFY_WRITE, (void *)arg,
i336drivers/char/vga.cif (i)
i337drivers/char/vga.creturn i;
i389drivers/char/vga.cfor (i=0; i<cmapsz ; i++)
i390drivers/char/vga.cscr_writeb(get_user(arg + i), charmap + i);
i392drivers/char/vga.cfor (i=0; i<cmapsz ; i++)
i393drivers/char/vga.cput_user(scr_readb(charmap + i), arg + i);
i406drivers/char/vga.cfor (i=0; i<cmapsz ; i++)
i407drivers/char/vga.c*(charmap+i) = get_user(arg+i);
i409drivers/char/vga.cfor (i=0; i<cmapsz ; i++)
i410drivers/char/vga.cput_user(*(charmap+i), arg+i);
i535drivers/char/vga.cint i;
i542drivers/char/vga.ci = verify_area(set ? VERIFY_READ : VERIFY_WRITE, (void *)arg, 16*3);
i543drivers/char/vga.cif (i)
i544drivers/char/vga.creturn i;
i546drivers/char/vga.cfor (i=0; i<16; i++) {
i548drivers/char/vga.cdefault_red[i] = get_user(arg++) ;
i549drivers/char/vga.cdefault_grn[i] = get_user(arg++) ;
i550drivers/char/vga.cdefault_blu[i] = get_user(arg++) ;
i552drivers/char/vga.cput_user (default_red[i], arg++) ;
i553drivers/char/vga.cput_user (default_grn[i], arg++) ;
i554drivers/char/vga.cput_user (default_blu[i], arg++) ;
i558drivers/char/vga.cfor (i=0; i<MAX_NR_CONSOLES; i++)
i559drivers/char/vga.cif (vc_cons_allocated(i)) {
i562drivers/char/vga.cvc_cons[i].d->vc_palette[k++] = default_red[j];
i563drivers/char/vga.cvc_cons[i].d->vc_palette[k++] = default_grn[j];
i564drivers/char/vga.cvc_cons[i].d->vc_palette[k++] = default_blu[j];
i35drivers/char/vt.c#define VT_IS_IN_USE(i)  (console_driver.table[i] && console_driver.table[i]->count)
i36drivers/char/vt.c#define VT_BUSY(i)  (VT_IS_IN_USE(i) || i == fg_console || i == sel_cons)
i110drivers/char/vt.cint i;
i114drivers/char/vt.cfor ( i = 0 ; i < MAX_NR_CONSOLES ; i++ )
i116drivers/char/vt.cif ( console_driver.table[i] )
i118drivers/char/vt.cif ( row ) console_driver.table[i]->winsize.ws_row = row;
i119drivers/char/vt.cif ( col ) console_driver.table[i]->winsize.ws_col = col;
i199drivers/char/vt.cint i, perm;
i248drivers/char/vt.ci = verify_area(VERIFY_WRITE, (void *) arg, sizeof(unsigned char));
i249drivers/char/vt.cif (!i)
i251drivers/char/vt.creturn i;
i308drivers/char/vt.ci = verify_area(VERIFY_WRITE, (void *) arg, sizeof(int));
i309drivers/char/vt.cif (!i)
i311drivers/char/vt.creturn i;
i347drivers/char/vt.ci = verify_area(VERIFY_WRITE, (void *) arg, sizeof(int));
i348drivers/char/vt.cif (!i) {
i355drivers/char/vt.creturn i;
i373drivers/char/vt.ci = verify_area(VERIFY_WRITE, (void *) arg, sizeof(int));
i374drivers/char/vt.cif (!i) {
i379drivers/char/vt.creturn i;
i387drivers/char/vt.ci = verify_area(VERIFY_WRITE, (void *)a, sizeof(struct kbkeycode));
i388drivers/char/vt.cif (i)
i389drivers/char/vt.creturn i;
i405drivers/char/vt.ci = verify_area(VERIFY_READ, (void *)a, sizeof(struct kbkeycode));
i406drivers/char/vt.cif (i)
i407drivers/char/vt.creturn i;
i419drivers/char/vt.ci = verify_area(VERIFY_WRITE, (void *)a, sizeof(struct kbentry));
i420drivers/char/vt.cif (i)
i421drivers/char/vt.creturn i;
i422drivers/char/vt.cif ((i = get_user(&a->kb_index)) >= NR_KEYS)
i428drivers/char/vt.cval = U(key_map[i]);
i432drivers/char/vt.cval = (i ? K_HOLE : K_NOSUCHMAP);
i446drivers/char/vt.ci = verify_area(VERIFY_READ, (const void *)a, sizeof(struct kbentry));
i447drivers/char/vt.cif (i)
i448drivers/char/vt.creturn i;
i449drivers/char/vt.cif ((i = get_user(&a->kb_index)) >= NR_KEYS)
i454drivers/char/vt.cif (!i && v == K_NOSUCHMAP) {
i475drivers/char/vt.cif (!i)
i494drivers/char/vt.cov = U(key_map[i]);
i503drivers/char/vt.ckey_map[i] = U(v);
i516drivers/char/vt.ci = verify_area(VERIFY_WRITE, (void *)a, sizeof(struct kbsentry));
i517drivers/char/vt.cif (i)
i518drivers/char/vt.creturn i;
i519drivers/char/vt.cif ((i = get_user(&a->kb_func)) >= MAX_NR_FUNC || i < 0)
i524drivers/char/vt.cp = func_table[i];
i543drivers/char/vt.ci = verify_area(VERIFY_READ, (void *)a, sizeof(struct kbsentry));
i544drivers/char/vt.cif (i)
i545drivers/char/vt.creturn i;
i546drivers/char/vt.cif ((i = get_user(&a->kb_func)) >= MAX_NR_FUNC)
i548drivers/char/vt.cq = func_table[i];
i551drivers/char/vt.cfor (j = i+1; j < MAX_NR_FUNC && !func_table[j]; j++) ;
i572drivers/char/vt.cfunc_table[i] = fj;
i583drivers/char/vt.cfunc_table[i] = fj;
i602drivers/char/vt.cfor (p = a->kb_string, q = func_table[i]; ; p++, q++)
i612drivers/char/vt.ci = verify_area(VERIFY_WRITE, (void *) a, sizeof(struct kbdiacrs));
i613drivers/char/vt.cif (i)
i614drivers/char/vt.creturn i;
i628drivers/char/vt.ci = verify_area(VERIFY_READ, (void *) a, sizeof(struct kbdiacrs));
i629drivers/char/vt.cif (i)
i630drivers/char/vt.creturn i;
i642drivers/char/vt.ci = verify_area(VERIFY_WRITE, (void *) arg, sizeof(unsigned char));
i643drivers/char/vt.cif (i)
i644drivers/char/vt.creturn i;
i662drivers/char/vt.ci = verify_area(VERIFY_WRITE, (void *) arg, sizeof(unsigned char));
i663drivers/char/vt.cif (i)
i664drivers/char/vt.creturn i;
i703drivers/char/vt.ci = verify_area(VERIFY_WRITE, (void *)vtmode, sizeof(struct vt_mode));
i704drivers/char/vt.cif (i)
i705drivers/char/vt.creturn i;
i724drivers/char/vt.ci = verify_area(VERIFY_WRITE, (void *)arg, sizeof(struct vt_mode));
i725drivers/char/vt.cif (i)
i726drivers/char/vt.creturn i;
i745drivers/char/vt.ci = verify_area(VERIFY_WRITE,(void *)vtstat, sizeof(struct vt_stat));
i746drivers/char/vt.cif (i)
i747drivers/char/vt.creturn i;
i750drivers/char/vt.cfor (i = 0, mask = 2; i < MAX_NR_CONSOLES && mask; ++i, mask <<= 1)
i751drivers/char/vt.cif (VT_IS_IN_USE(i))
i761drivers/char/vt.ci = verify_area(VERIFY_WRITE, (void *) arg, sizeof(int));
i762drivers/char/vt.cif (i)
i763drivers/char/vt.creturn i;
i764drivers/char/vt.cfor (i = 0; i < MAX_NR_CONSOLES; ++i)
i765drivers/char/vt.cif (! VT_IS_IN_USE(i))
i767drivers/char/vt.cput_user(i < MAX_NR_CONSOLES ? (i+1) : -1, (int *) arg);
i781drivers/char/vt.ci = vc_allocate(arg);
i782drivers/char/vt.cif (i)
i783drivers/char/vt.creturn i;
i839drivers/char/vt.ci = vc_allocate(newvt);
i840drivers/char/vt.cif (i)
i841drivers/char/vt.creturn i;
i875drivers/char/vt.cfor (i=1; i<MAX_NR_CONSOLES; i++)
i876drivers/char/vt.cif (! VT_BUSY(i))
i877drivers/char/vt.cvc_disallocate(i);
i894drivers/char/vt.ci = verify_area(VERIFY_READ, (void *)vtsizes, sizeof(struct vt_sizes));
i895drivers/char/vt.cif (i)
i896drivers/char/vt.creturn i;
i899drivers/char/vt.ci = vc_resize(ll, cc);
i900drivers/char/vt.creturn i ? i :   kd_size_changed(ll, cc);
i909drivers/char/vt.ci = verify_area(VERIFY_READ, (void *)vtconsize, sizeof(struct vt_consize));
i910drivers/char/vt.cif (i)
i911drivers/char/vt.creturn i;
i948drivers/char/vt.ci = vc_resize(ll, cc);
i949drivers/char/vt.cif (i)
i950drivers/char/vt.creturn i;
i989drivers/char/vt.ci = verify_area(VERIFY_READ, (void *)arg,
i991drivers/char/vt.cif (i) return i;
i997drivers/char/vt.ci = con_set_font(cfdarg.chardata,
i999drivers/char/vt.cif (i)
i1000drivers/char/vt.creturn i;
i1001drivers/char/vt.ci = con_adjust_height(cfdarg.charheight);
i1002drivers/char/vt.creturn (i <= 0) ? i : kd_size_changed(i, 0);
i1020drivers/char/vt.ci = con_set_font(NULL, 0);  /* Set font to default */
i1021drivers/char/vt.cif (i) return i;
i1023drivers/char/vt.ci = con_adjust_height(default_font_height);
i1024drivers/char/vt.cif ( i > 0 ) kd_size_changed(i, 0);
i1038drivers/char/vt.ci = verify_area(VERIFY_WRITE, (void *)arg,
i1040drivers/char/vt.cif (i) return i;  
i1043drivers/char/vt.ci = cfdarg.charcount;
i1050drivers/char/vt.cif ( i < nchar )
i1077drivers/char/vt.ci = verify_area(VERIFY_READ, (void *)arg, sizeof(struct unimapinit));
i1078drivers/char/vt.cif (i)
i1079drivers/char/vt.creturn i;
i1092drivers/char/vt.ci = verify_area(VERIFY_READ, (void *)arg, sizeof(struct unimapdesc));
i1093drivers/char/vt.cif (i == 0) {
i1097drivers/char/vt.ci = verify_area(VERIFY_READ, (void *) list,
i1100drivers/char/vt.cif (i)
i1101drivers/char/vt.creturn i;
i1110drivers/char/vt.ci = verify_area(VERIFY_WRITE, (void *)arg, sizeof(struct unimapdesc));
i1111drivers/char/vt.cif (i == 0) {
i1116drivers/char/vt.ci = verify_area(VERIFY_WRITE, (void *) list,
i1119drivers/char/vt.cif (i)
i1120drivers/char/vt.creturn i;
i458drivers/isdn/icn/icn.cint i;
i464drivers/isdn/icn/icn.cfor (left = avail, i = msg_o; left > 0; i++, left--) {
i465drivers/isdn/icn/icn.cc = dev->shmem->comm_buffers.iopc_buf[i & 0xff];
i966drivers/isdn/icn/icn.cint i;
i988drivers/isdn/icn/icn.cfor (p = msg, pp = cmd_i, i = count; i > 0; i--, p++, pp++) {
i991drivers/isdn/icn/icn.cif ((*p == '\n') && (i > 1)) {
i1037drivers/isdn/icn/icn.cint i, n;
i1042drivers/isdn/icn/icn.cfor (i = 0; *s >= '0' && *s <= '9'; i++, s++)
i1051drivers/isdn/icn/icn.cint i;
i1130drivers/isdn/icn/icn.cif ((i = (icn_loadproto((u_char *) a, dev))))
i1131drivers/isdn/icn/icn.creturn i;
i1133drivers/isdn/icn/icn.ci = icn_loadproto((u_char *) (a + ICN_CODE_STAGE2), dev2);
i1134drivers/isdn/icn/icn.creturn i;
i1147drivers/isdn/icn/icn.ci = icn_writecmd(cbuf, strlen(cbuf), 0, ldev, 1);
i1158drivers/isdn/icn/icn.ci = icn_writecmd(cbuf, strlen(cbuf), 0, ldev, 1);
i1204drivers/isdn/icn/icn.ci = icn_writecmd(cbuf, strlen(cbuf), 0, ldev, 1);
i1211drivers/isdn/icn/icn.ci = icn_writecmd(cbuf, strlen(cbuf), 0, ldev, 1);
i1218drivers/isdn/icn/icn.ci = icn_writecmd(cbuf, strlen(cbuf), 0, ldev, 1);
i1225drivers/isdn/icn/icn.ci = icn_writecmd(cbuf, strlen(cbuf), 0, ldev, 1);
i1237drivers/isdn/icn/icn.ci = icn_writecmd(cbuf, strlen(cbuf), 0, ldev, 1);
i1249drivers/isdn/icn/icn.ci = icn_writecmd(cbuf, strlen(cbuf), 0, ldev, 1);
i1265drivers/isdn/icn/icn.ci = icn_writecmd(cbuf, strlen(cbuf), 0, ldev, 1);
i1474drivers/isdn/icn/icn.cint i;
i1494drivers/isdn/icn/icn.cfor (i = 0; i < ICN_BCH; i++)
i1498drivers/isdn/icn/icn.cfor (i = 0; i < ICN_BCH; i++)
i139drivers/isdn/isdn_common.cint i;
i140drivers/isdn/isdn_common.cfor (i = 0; i < ISDN_MAX_CHANNELS; i++)
i141drivers/isdn/isdn_common.cif (dev->chanmap[i] == ch && dev->drvmap[i] == di)
i142drivers/isdn/isdn_common.creturn i;
i229drivers/isdn/isdn_common.cint i;
i234drivers/isdn/isdn_common.cif ((i = isdn_dc2minor(di,channel))==-1)
i237drivers/isdn/isdn_common.cif (isdn_net_receive_callback(i, buf, len))
i243drivers/isdn/isdn_common.cmidx = dev->m_idx[i];
i301drivers/isdn/isdn_common.cint i;
i306drivers/isdn/isdn_common.ci = isdn_dc2minor(di, c->arg);
i309drivers/isdn/isdn_common.cif (i<0)
i313drivers/isdn/isdn_common.cif (isdn_net_stat_callback(i, c->command))
i329drivers/isdn/isdn_common.cfor (i = 0; i < ISDN_MAX_CHANNELS; i++)
i330drivers/isdn/isdn_common.cif (dev->drvmap[i] == di)
i331drivers/isdn/isdn_common.cisdn_all_eaz(di, dev->chanmap[i]);
i337drivers/isdn/isdn_common.cif (i<0)
i351drivers/isdn/isdn_common.cr = isdn_net_find_icall(di, c->arg, i, c->num);
i390drivers/isdn/isdn_common.cif (i<0)
i398drivers/isdn/isdn_common.cisdn_net_stat_callback(i, c->command);
i407drivers/isdn/isdn_common.cif (i<0)
i415drivers/isdn/isdn_common.cif (isdn_net_stat_callback(i, c->command))
i417drivers/isdn/isdn_common.cif ((mi = dev->m_idx[i]) >= 0)
i432drivers/isdn/isdn_common.cif (i<0)
i442drivers/isdn/isdn_common.cif (isdn_net_stat_callback(i, c->command))
i444drivers/isdn/isdn_common.cif ((mi = dev->m_idx[i]) >= 0) {
i464drivers/isdn/isdn_common.cif (i<0)
i474drivers/isdn/isdn_common.cif (isdn_net_stat_callback(i, c->command))
i476drivers/isdn/isdn_common.cif ((mi = dev->m_idx[i]) >= 0) {
i491drivers/isdn/isdn_common.cif (i<0)
i500drivers/isdn/isdn_common.cif ((mi = dev->m_idx[i]) >= 0) {
i515drivers/isdn/isdn_common.cif (i<0)
i522drivers/isdn/isdn_common.cif (isdn_net_stat_callback(i, c->command))
i524drivers/isdn/isdn_common.cif ((mi = dev->m_idx[i]) >= 0) {
i544drivers/isdn/isdn_common.cfor (i = 0; i < ISDN_MAX_CHANNELS; i++)
i545drivers/isdn/isdn_common.cif (dev->drvmap[i] == di) {
i546drivers/isdn/isdn_common.cdev->drvmap[i] = -1;
i547drivers/isdn/isdn_common.cdev->chanmap[i] = -1;
i548drivers/isdn/isdn_common.cdev->mdm.info[i].isdn_driver = -1;
i549drivers/isdn/isdn_common.cdev->mdm.info[i].isdn_channel = -1;
i556drivers/isdn/isdn_common.cfor (i = 0; i < dev->drv[di]->channels; i++)
i557drivers/isdn/isdn_common.cisdn_free_queue(&dev->drv[di]->rpqueue[i]);
i663drivers/isdn/isdn_common.cint i;
i667drivers/isdn/isdn_common.cfor (i = 0; i < ISDN_MAX_CHANNELS; i++) {
i668drivers/isdn/isdn_common.csprintf(p, "%s ", (dev->drvmap[i] < 0) ? "-" : dev->drvid[dev->drvmap[i]]);
i673drivers/isdn/isdn_common.cfor (i = 0; i < ISDN_MAX_CHANNELS; i++) {
i674drivers/isdn/isdn_common.csprintf(p, "%d ", dev->chanmap[i]);
i679drivers/isdn/isdn_common.cfor (i = 0; i < ISDN_MAX_CHANNELS; i++) {
i680drivers/isdn/isdn_common.csprintf(p, "%d ", dev->drvmap[i]);
i685drivers/isdn/isdn_common.cfor (i = 0; i < ISDN_MAX_CHANNELS; i++) {
i686drivers/isdn/isdn_common.csprintf(p, "%d ", dev->usage[i]);
i691drivers/isdn/isdn_common.cfor (i = 0; i < ISDN_MAX_DRIVERS; i++) {
i692drivers/isdn/isdn_common.cif (dev->drv[i]) {
i693drivers/isdn/isdn_common.csprintf(p, "%ld ", dev->drv[i]->flags);
i702drivers/isdn/isdn_common.cfor (i = 0; i < ISDN_MAX_CHANNELS; i++) {
i703drivers/isdn/isdn_common.csprintf(p, "%s ", dev->num[i]);
i857drivers/isdn/isdn_common.cint i;
i871drivers/isdn/isdn_common.cmemcpy_tofs((char *) &i, src, sizeof(int));
i872drivers/isdn/isdn_common.cwhile (i) {
i934drivers/isdn/isdn_common.ci--;
i1167drivers/isdn/isdn_common.cint i;
i1177drivers/isdn/isdn_common.cfor (i = 0; i < ISDN_MAX_DRIVERS; i++)
i1178drivers/isdn/isdn_common.cif (!(strcmp(dev->drvid[i], iocts.drvid))) {
i1179drivers/isdn/isdn_common.cdrvidx = i;
i1212drivers/isdn/isdn_common.cint i;
i1219drivers/isdn/isdn_common.cfor (i = 0; i < ISDN_MAX_CHANNELS; i++) {
i1220drivers/isdn/isdn_common.cmemcpy_tofs(p, dev->mdm.atmodem[i].profile, ISDN_MODEM_ANZREG);
i1222drivers/isdn/isdn_common.cmemcpy_tofs(p, dev->mdm.atmodem[i].pmsn, ISDN_MSNLEN);
i1233drivers/isdn/isdn_common.cint i;
i1240drivers/isdn/isdn_common.cfor (i = 0; i < ISDN_MAX_CHANNELS; i++) {
i1241drivers/isdn/isdn_common.cmemcpy_fromfs(dev->mdm.atmodem[i].profile, p, ISDN_MODEM_ANZREG);
i1243drivers/isdn/isdn_common.cmemcpy_fromfs(dev->mdm.atmodem[i].pmsn, p, ISDN_MSNLEN);
i1254drivers/isdn/isdn_common.cint i;
i1264drivers/isdn/isdn_common.cfor (i = 0; i < ISDN_MAX_DRIVERS; i++)
i1265drivers/isdn/isdn_common.cif (!(strcmp(dev->drvid[i], iocts.drvid))) {
i1266drivers/isdn/isdn_common.cdrvidx = i;
i1280drivers/isdn/isdn_common.ci = 0;
i1281drivers/isdn/isdn_common.cwhile ((p) && (i < 10)) {
i1282drivers/isdn/isdn_common.cstrcpy(dev->drv[drvidx]->msn2eaz[i++], p);
i1287drivers/isdn/isdn_common.cfor (i = 0; i < 10; i++)
i1289drivers/isdn/isdn_common.cstrlen(dev->drv[drvidx]->msn2eaz[i]) ?
i1290drivers/isdn/isdn_common.cdev->drv[drvidx]->msn2eaz[i] : "-",
i1291drivers/isdn/isdn_common.c(i < 9) ? "," : "\0");
i1315drivers/isdn/isdn_common.cint i;
i1325drivers/isdn/isdn_common.cfor (i = 0; i < ISDN_MAX_DRIVERS; i++)
i1326drivers/isdn/isdn_common.cif (!(strcmp(dev->drvid[i], iocts.drvid))) {
i1327drivers/isdn/isdn_common.cdrvidx = i;
i1490drivers/isdn/isdn_common.cint i;
i1493drivers/isdn/isdn_common.ci = msn[0] - '0';
i1494drivers/isdn/isdn_common.cif ((i >= 0) && (i <= 9))
i1495drivers/isdn/isdn_common.cif (strlen(this->msn2eaz[i]))
i1496drivers/isdn/isdn_common.creturn (this->msn2eaz[i]);
i1508drivers/isdn/isdn_common.cint i;
i1515drivers/isdn/isdn_common.cfor (i = 0; i < ISDN_MAX_CHANNELS; i++)
i1516drivers/isdn/isdn_common.cif (USG_NONE(dev->usage[i]) &&
i1517drivers/isdn/isdn_common.c(dev->drvmap[i] != -1)) {
i1518drivers/isdn/isdn_common.cint d = dev->drvmap[i];
i1519drivers/isdn/isdn_common.cif ((dev->usage[i] & ISDN_USAGE_EXCLUSIVE) &&
i1520drivers/isdn/isdn_common.c((pre_dev != d) || (pre_chan != dev->chanmap[i])))
i1525drivers/isdn/isdn_common.cdev->usage[i] &= ISDN_USAGE_EXCLUSIVE;
i1526drivers/isdn/isdn_common.cdev->usage[i] |= usage;
i1529drivers/isdn/isdn_common.creturn i;
i1531drivers/isdn/isdn_common.cif ((pre_dev == d) && (pre_chan == dev->chanmap[i])) {
i1532drivers/isdn/isdn_common.cdev->usage[i] &= ISDN_USAGE_EXCLUSIVE;
i1533drivers/isdn/isdn_common.cdev->usage[i] |= usage;
i1536drivers/isdn/isdn_common.creturn i;
i1551drivers/isdn/isdn_common.cint i;
i1556drivers/isdn/isdn_common.cfor (i = 0; i < ISDN_MAX_CHANNELS; i++)
i1557drivers/isdn/isdn_common.cif (((dev->usage[i] & ISDN_USAGE_MASK) == usage) &&
i1558drivers/isdn/isdn_common.c(dev->drvmap[i] == di) &&
i1559drivers/isdn/isdn_common.c(dev->chanmap[i] == ch)) {
i1560drivers/isdn/isdn_common.cdev->usage[i] &= (ISDN_USAGE_NONE | ISDN_USAGE_EXCLUSIVE);
i1561drivers/isdn/isdn_common.cstrcpy(dev->num[i], "???");
i1574drivers/isdn/isdn_common.cint i;
i1579drivers/isdn/isdn_common.cfor (i = 0; i < ISDN_MAX_CHANNELS; i++)
i1580drivers/isdn/isdn_common.cif ((dev->drvmap[i] == di) &&
i1581drivers/isdn/isdn_common.c(dev->chanmap[i] == ch)) {
i1582drivers/isdn/isdn_common.cdev->usage[i] &= ~ISDN_USAGE_EXCLUSIVE;
i1596drivers/isdn/isdn_common.cint i;
i1600drivers/isdn/isdn_common.cif ((i = isdn_dc2minor(drvidx,chan))==-1)
i1602drivers/isdn/isdn_common.cif (isdn_net_rcv_skb(i, skb) == 0) {
i1638drivers/isdn/isdn_common.cint register_isdn(isdn_if * i)
i1650drivers/isdn/isdn_common.cn = i->channels;
i1705drivers/isdn/isdn_common.cd->maxbufsize = i->maxbufsize;
i1710drivers/isdn/isdn_common.cd->interface = i;
i1714drivers/isdn/isdn_common.ci->channels = drvidx;
i1716drivers/isdn/isdn_common.cif (i->writebuf_skb && (!i->writebuf))
i1717drivers/isdn/isdn_common.ci->writebuf = isdn_writebuf_stub;
i1719drivers/isdn/isdn_common.ci->rcvcallb_skb = isdn_receive_skb_callback;
i1720drivers/isdn/isdn_common.ci->rcvcallb     = isdn_receive_callback;
i1721drivers/isdn/isdn_common.ci->statcallb    = isdn_status_callback;
i1722drivers/isdn/isdn_common.cif (!strlen(i->id))
i1723drivers/isdn/isdn_common.csprintf(i->id, "line%d", drvidx);
i1735drivers/isdn/isdn_common.cstrcpy(dev->drvid[drvidx], i->id);
i1785drivers/isdn/isdn_common.cint i;
i1793drivers/isdn/isdn_common.cfor (i = 0; i < ISDN_MAX_DRIVERS; i++)
i1794drivers/isdn/isdn_common.cdev->drvmap[i] = -1;
i1795drivers/isdn/isdn_common.cfor (i = 0; i < ISDN_MAX_CHANNELS; i++) {
i1796drivers/isdn/isdn_common.cdev->chanmap[i] = -1;
i1797drivers/isdn/isdn_common.cdev->m_idx[i] = -1;
i1798drivers/isdn/isdn_common.cstrcpy(dev->num[i], "???");
i1805drivers/isdn/isdn_common.cif ((i = isdn_tty_modem_init()) < 0) {
i1807drivers/isdn/isdn_common.cif (i == -3)
i1809drivers/isdn/isdn_common.cif (i <= -2)
i1820drivers/isdn/isdn_common.cfor (i = 0; i < ISDN_MAX_CHANNELS; i++)
i1821drivers/isdn/isdn_common.ckfree(dev->mdm.info[i].xmit_buf);
i1854drivers/isdn/isdn_common.cint i;
i1876drivers/isdn/isdn_common.cfor (i = 0; i < ISDN_MAX_CHANNELS; i++)
i1877drivers/isdn/isdn_common.ckfree(dev->mdm.info[i].xmit_buf - 4);
i95drivers/isdn/isdn_net.cint i;
i101drivers/isdn/isdn_net.cfor (i = 0; i < ETH_ALEN - sizeof(ulong); i++)
i102drivers/isdn/isdn_net.cdev->dev_addr[i] = 0xfc;
i103drivers/isdn/isdn_net.cmemcpy(&(dev->dev_addr[i]), &dev->pa_addr, sizeof(ulong));
i315drivers/isdn/isdn_net.cint i;
i369drivers/isdn/isdn_net.ci = isdn_dc2minor(p->local.isdn_device, p->local.isdn_channel);
i370drivers/isdn/isdn_net.cif (i >= 0) {
i371drivers/isdn/isdn_net.cstrcpy(dev->num[i], p->local.dial->num);
i1178drivers/isdn/isdn_net.cint drvidx, i;
i1208drivers/isdn/isdn_net.cfor (i = 0; i < ETH_ALEN; i++)
i1209drivers/isdn/isdn_net.cndev->broadcast[i]=0xff;
i1211drivers/isdn/isdn_net.cfor (i = 0; i < DEV_NUMBUFFS; i++)
i1212drivers/isdn/isdn_net.cskb_queue_head_init(&ndev->buffs[i]);
i1847drivers/isdn/isdn_net.cint i;
i1855drivers/isdn/isdn_net.cfor (i = 0; i < ISDN_MAX_DRIVERS; i++)
i1856drivers/isdn/isdn_net.cif (dev->drv[i])
i1857drivers/isdn/isdn_net.cif ((dev->drv[i]->interface->features & features) == features)
i1859drivers/isdn/isdn_net.cif (i == ISDN_MAX_DRIVERS) {
i1893drivers/isdn/isdn_net.cfor (i = 0; i < ISDN_MAX_DRIVERS; i++)
i1895drivers/isdn/isdn_net.cif (!(strcmp(dev->drvid[i], drvid))) {
i1896drivers/isdn/isdn_net.cdrvidx = i;
i1912drivers/isdn/isdn_net.cif ((i = isdn_get_free_channel(ISDN_USAGE_NET, p->local.l2_proto,
i1922drivers/isdn/isdn_net.cdev->usage[i] = ISDN_USAGE_EXCLUSIVE;
i1925drivers/isdn/isdn_net.cp->local.exclusive = i;
i2120drivers/isdn/isdn_net.cint i;
i2124drivers/isdn/isdn_net.cfor (i = 0; i < 2; i++) {
i2125drivers/isdn/isdn_net.cn = p->local.phone[i];
i2131drivers/isdn/isdn_net.cp->local.phone[i] = NULL;
i114drivers/isdn/isdn_ppp.cint i;
i128drivers/isdn/isdn_ppp.cfor (i = 0; i < ISDN_MAX_CHANNELS; i++) {
i129drivers/isdn/isdn_ppp.cif (ippp_table[i].state == IPPP_OPEN) {    /* OPEN, but not connected! */
i131drivers/isdn/isdn_ppp.cprintk(KERN_DEBUG "find_minor, %d lp: %08lx\n", i, (long) lp);
i137drivers/isdn/isdn_ppp.cif (i >= ISDN_MAX_CHANNELS) {
i142drivers/isdn/isdn_ppp.clp->ppp_minor = i;
i220drivers/isdn/isdn_ppp.cint i;
i244drivers/isdn/isdn_ppp.cfor (i = 0; i < NUM_RCV_BUFFS; i++) {
i245drivers/isdn/isdn_ppp.cif (ippp_table[minor].rq[i].buf)
i246drivers/isdn/isdn_ppp.ckfree(ippp_table[minor].rq[i].buf);
i519drivers/isdn/isdn_ppp.cint i, j;
i527drivers/isdn/isdn_ppp.cfor (i = 0; i < ISDN_MAX_CHANNELS; i++) {
i528drivers/isdn/isdn_ppp.cippp_table[i].state = 0;
i529drivers/isdn/isdn_ppp.cippp_table[i].first = ippp_table[i].rq + NUM_RCV_BUFFS - 1;
i530drivers/isdn/isdn_ppp.cippp_table[i].last = ippp_table[i].rq;
i533drivers/isdn/isdn_ppp.cippp_table[i].rq[j].buf = NULL;
i534drivers/isdn/isdn_ppp.cippp_table[i].rq[j].last = ippp_table[i].rq +
i536drivers/isdn/isdn_ppp.cippp_table[i].rq[j].next = ippp_table[i].rq + (j + 1) % NUM_RCV_BUFFS;
i1182drivers/isdn/isdn_ppp.cint len, i, unit = 0, deci;
i1185drivers/isdn/isdn_ppp.cfor (i = 0, deci = 1; i < len; i++, deci *= 10) {
i1186drivers/isdn/isdn_ppp.cif (name[len - 1 - i] >= '0' && name[len - 1 - i] <= '9')
i1187drivers/isdn/isdn_ppp.cunit += (name[len - 1 - i] - '0') * deci;
i1191drivers/isdn/isdn_ppp.cif (!i)
i1194drivers/isdn/isdn_ppp.c*namebuf = name + len - 1 - i;
i54drivers/isdn/isdn_tty.cint isdn_tty_try_read(int i, u_char * buf, int len)
i59drivers/isdn/isdn_tty.cif (i < 0)
i61drivers/isdn/isdn_tty.cif (dev->mdm.online[i]) {
i62drivers/isdn/isdn_tty.cif ((tty = dev->mdm.info[i].tty)) {
i63drivers/isdn/isdn_tty.cif (dev->mdm.info[i].MCR & UART_MCR_RTS) {
i70drivers/isdn/isdn_tty.cif (dev->mdm.atmodem[i].mdmreg[12] & 128)
i89drivers/isdn/isdn_tty.cint i;
i96drivers/isdn/isdn_tty.cfor (i = 0; i < ISDN_MAX_CHANNELS; i++) {
i97drivers/isdn/isdn_tty.cif ((midx = dev->m_idx[i]) >= 0)
i146drivers/isdn/isdn_tty.cint i;
i150drivers/isdn/isdn_tty.ci = isdn_get_free_channel(ISDN_USAGE_MODEM, m->mdmreg[14], m->mdmreg[15], -1, -1);
i151drivers/isdn/isdn_tty.cif (i < 0) {
i156drivers/isdn/isdn_tty.cinfo->isdn_driver = dev->drvmap[i];
i157drivers/isdn/isdn_tty.cinfo->isdn_channel = dev->chanmap[i];
i158drivers/isdn/isdn_tty.cinfo->drv_index = i;
i159drivers/isdn/isdn_tty.cdev->m_idx[i] = info->line;
i160drivers/isdn/isdn_tty.cdev->usage[i] |= ISDN_USAGE_OUTGOING;
i185drivers/isdn/isdn_tty.cstrcpy(dev->num[i], n);
i237drivers/isdn/isdn_tty.cint i;
i243drivers/isdn/isdn_tty.cquot = i = cflag & CBAUD;
i244drivers/isdn/isdn_tty.cif (i & CBAUDEX) {
i245drivers/isdn/isdn_tty.ci &= ~CBAUDEX;
i246drivers/isdn/isdn_tty.cif (i < 1 || i > 2)
i249drivers/isdn/isdn_tty.ci += 15;
i360drivers/isdn/isdn_tty.cint i;
i378drivers/isdn/isdn_tty.ci = driv->maxbufsize;
i380drivers/isdn/isdn_tty.ci = dev->drv[info->isdn_driver]->maxbufsize;
i382drivers/isdn/isdn_tty.cc = MIN(c, i);
i386drivers/isdn/isdn_tty.ci = info->line;
i387drivers/isdn/isdn_tty.cif (dev->mdm.online[i]) {
i388drivers/isdn/isdn_tty.cisdn_tty_check_esc(buf, dev->mdm.atmodem[i].mdmreg[2], c,
i389drivers/isdn/isdn_tty.c&(dev->mdm.atmodem[i].pluscount),
i390drivers/isdn/isdn_tty.c&(dev->mdm.atmodem[i].lastplus), from_user);
i396drivers/isdn/isdn_tty.cif (dev->mdm.atmodem[i].mdmreg[13] & 1) {
i404drivers/isdn/isdn_tty.cif (dev->mdm.atmodem[i].mdmreg[13] & 2) {
i420drivers/isdn/isdn_tty.cinfo->xmit_size = dev->mdm.atmodem[i].mdmreg[16] * 16;
i423drivers/isdn/isdn_tty.cdev->mdm.msr[i] &= ~UART_MSR_CTS;
i432drivers/isdn/isdn_tty.cif (dev->mdm.dialing[i]) {
i433drivers/isdn/isdn_tty.cdev->mdm.dialing[i] = 0;
i1126drivers/isdn/isdn_tty.cint i;
i1130drivers/isdn/isdn_tty.cfor (i = 0; i < ISDN_MAX_CHANNELS; i++) {
i1131drivers/isdn/isdn_tty.cisdn_tty_reset_profile(&(m->atmodem[i]));
i1132drivers/isdn/isdn_tty.cisdn_tty_modem_reset_regs(&(m->atmodem[i]), 1);
i1182drivers/isdn/isdn_tty.cfor (i = 0; i < ISDN_MAX_CHANNELS; i++) {
i1183drivers/isdn/isdn_tty.cinfo = &(m->info[i]);
i1185drivers/isdn/isdn_tty.cinfo->line = i;
i1218drivers/isdn/isdn_tty.cint i;
i1259drivers/isdn/isdn_tty.cfor (i = 0; i < ISDN_MAX_CHANNELS; i++) {
i1261drivers/isdn/isdn_tty.cprintk(KERN_DEBUG "m_fi: i=%d msn=%s mmsn=%s mreg18=%d mreg19=%d\n", i,
i1262drivers/isdn/isdn_tty.cdev->mdm.atmodem[i].msn, isdn_map_eaz2msn(dev->mdm.atmodem[i].msn, di),
i1263drivers/isdn/isdn_tty.cdev->mdm.atmodem[i].mdmreg[18], dev->mdm.atmodem[i].mdmreg[19]);
i1265drivers/isdn/isdn_tty.cif ((!strcmp(isdn_map_eaz2msn(dev->mdm.atmodem[i].msn, di)
i1267drivers/isdn/isdn_tty.c(dev->mdm.atmodem[i].mdmreg[18] == si1) &&  /* SI1 is matching   */
i1268drivers/isdn/isdn_tty.c(dev->mdm.atmodem[i].mdmreg[19] == si2)) {  /* SI2 is matching   */
i1269drivers/isdn/isdn_tty.cmodem_info *info = &dev->mdm.info[i];
i1557drivers/isdn/isdn_tty.cint i;
i1759drivers/isdn/isdn_tty.ci = isdn_getnum(&p);
i1760drivers/isdn/isdn_tty.cif ((i < 0) || (i > ISDN_SERIAL_XMIT_SIZE)) {
i1764drivers/isdn/isdn_tty.cm->mdmreg[16] = i / 16;
i1795drivers/isdn/isdn_tty.ci = isdn_getnum(&p);
i1796drivers/isdn/isdn_tty.cif ((i > 0) && (i < 9))
i1797drivers/isdn/isdn_tty.cm->mdmreg[17] = i;
i1806drivers/isdn/isdn_tty.cfor (i = 0; i < ISDN_MODEM_ANZREG; i++) {
i1807drivers/isdn/isdn_tty.csprintf(rb, "S%d=%d%s", i, m->mdmreg[i], (i == 6) ? "\r\n" : " ");
i1946drivers/isdn/isdn_tty.cint i;
i1949drivers/isdn/isdn_tty.cfor (i = 0; i < ISDN_MAX_CHANNELS; i++)
i1950drivers/isdn/isdn_tty.cif (USG_MODEM(dev->usage[i]))
i1951drivers/isdn/isdn_tty.cif ((midx = dev->m_idx[i]) >= 0)
i1972drivers/isdn/isdn_tty.cint i;
i1975drivers/isdn/isdn_tty.cfor (i = 0; i < ISDN_MAX_CHANNELS; i++)
i1976drivers/isdn/isdn_tty.cif (USG_MODEM(dev->usage[i]))
i1977drivers/isdn/isdn_tty.cif ((midx = dev->m_idx[i]) >= 0)
i1988drivers/isdn/isdn_tty.cint i;
i1993drivers/isdn/isdn_tty.cfor (i = 0; i < ISDN_MAX_CHANNELS; i++)
i1994drivers/isdn/isdn_tty.cif (USG_MODEM(dev->usage[i]))
i1995drivers/isdn/isdn_tty.cif ((midx = dev->m_idx[i]) >= 0)
i2049drivers/isdn/isdn_tty.cint i;
i2054drivers/isdn/isdn_tty.cfor (i = 0; i < ISDN_MAX_CHANNELS; i++) {
i2055drivers/isdn/isdn_tty.cmodem_info *info = &dev->mdm.info[i];
i2060drivers/isdn/isdn_tty.cdev->mdm.msr[i] |= UART_MSR_CTS;
i35drivers/isdn/teles/buffers.cint             i;
i57drivers/isdn/teles/buffers.ci = bp->bpps;
i60drivers/isdn/teles/buffers.cwhile (i--) {
i103drivers/isdn/teles/buffers.cint             i;
i114drivers/isdn/teles/buffers.ci = 0;
i124drivers/isdn/teles/buffers.cif ((i == 0) && (bp->pagescount < bp->maxpages)) {
i129drivers/isdn/teles/buffers.ci++;
i246drivers/isdn/teles/buffers.cint             i = 0;
i251drivers/isdn/teles/buffers.ci++;
i254drivers/isdn/teles/buffers.creturn (i);
i182drivers/isdn/teles/callc.cint             i, n;
i187drivers/isdn/teles/callc.cfor (i = 0; *s >= '0' && *s <= '9'; i++, s++)
i977drivers/isdn/teles/callc.cint             i, ces, c;
i980drivers/isdn/teles/callc.cfor (i = 0; i < nrcards; i++)
i981drivers/isdn/teles/callc.cif (cards[i].sp)
i989drivers/isdn/teles/callc.cfor (i = 0; i < nrcards; i++)
i990drivers/isdn/teles/callc.cif (cards[i].sp) {
i991drivers/isdn/teles/callc.cinit_chan(c++, i, 1, ces++);
i993drivers/isdn/teles/callc.cinit_chan(c++, i, 0, ces++);
i1023drivers/isdn/teles/callc.cint             i;
i1025drivers/isdn/teles/callc.cfor (i = 0; i < chancount; i++)
i1026drivers/isdn/teles/callc.crelease_chan(i);
i1145drivers/isdn/teles/callc.cchannel_report(int i)
i1162drivers/isdn/teles/callc.cint             i;
i1164drivers/isdn/teles/callc.cfor (i = 0; i < chancount; i++) {
i1165drivers/isdn/teles/callc.cchanlist[i].debug = debugflags & 1;
i1166drivers/isdn/teles/callc.cchanlist[i].fi.debug = debugflags & 2;
i1167drivers/isdn/teles/callc.cchanlist[i].is.l2.l2m.debug = debugflags & 8;
i1168drivers/isdn/teles/callc.cchanlist[i].ds.l2.l2m.debug = debugflags & 16;
i1170drivers/isdn/teles/callc.cfor (i = 0; i < nrcards; i++)
i1171drivers/isdn/teles/callc.cif (cards[i].sp)
i1172drivers/isdn/teles/callc.ccards[i].sp->dlogflag = debugflags & 4;
i1180drivers/isdn/teles/callc.cint             i;
i1224drivers/isdn/teles/callc.cfor (i = 0; i < nrcards; i++)
i1225drivers/isdn/teles/callc.cif (cards[i].sp)
i1226drivers/isdn/teles/callc.cteles_reportcard(i);
i1227drivers/isdn/teles/callc.cfor (i = 0; i < chancount; i++)
i1228drivers/isdn/teles/callc.cchannel_report(i);
i1238drivers/isdn/teles/callc.ci = num >> 8;
i1239drivers/isdn/teles/callc.cif (i >= chancount)
i1241drivers/isdn/teles/callc.cchanp = chanlist + i;
i1271drivers/isdn/teles/callc.cint             err, i;
i1284drivers/isdn/teles/callc.ci = st->l2.ihsize;
i1286drivers/isdn/teles/callc.ci = 0;
i1288drivers/isdn/teles/callc.cptr += i;
i1294drivers/isdn/teles/callc.cibh->datasize = count + i;
i335drivers/isdn/teles/card.cint i;
i337drivers/isdn/teles/card.cfor (i = 0; i < count; i++)
i338drivers/isdn/teles/card.cprintk(" %2x", ptr[i]);
i381drivers/isdn/teles/card.cint i;
i383drivers/isdn/teles/card.cfor (i = 0; i < count; i++)
i384drivers/isdn/teles/card.cprintk(" %2x", ptr[i]);
i540drivers/isdn/teles/card.cint i;
i543drivers/isdn/teles/card.cfor (i = 0; i < count; i++)
i544drivers/isdn/teles/card.cprintk("%2x ", ptr[i]);
i598drivers/isdn/teles/card.cint i;
i601drivers/isdn/teles/card.cfor (i = 0; i < count; i++)
i602drivers/isdn/teles/card.cprintk("%2x ", ptr[i]);
i1592drivers/isdn/teles/card.cint i;
i1594drivers/isdn/teles/card.cfor (i = idx; i < 15; i++)
i1595drivers/isdn/teles/card.cmemcpy(&cards[i],&cards[i+1],sizeof(cards[i]));
i1602drivers/isdn/teles/card.cint             i = 0;
i1604drivers/isdn/teles/card.cwhile (i < nrcards) {
i1605drivers/isdn/teles/card.cif (!cards[i].protocol)
i1607drivers/isdn/teles/card.cswitch (checkcard(i)) {
i1609drivers/isdn/teles/card.cinitcard(i);
i1610drivers/isdn/teles/card.cif (get_irq(i)) {
i1611drivers/isdn/teles/card.cclosecard(i);
i1612drivers/isdn/teles/card.cteles_shiftcards(i);
i1615drivers/isdn/teles/card.ci++;
i1619drivers/isdn/teles/card.cteles_shiftcards(i);
i1622drivers/isdn/teles/card.crelease_region(cards[i].iobase, 8);
i1623drivers/isdn/teles/card.cteles_shiftcards(i);
i1624drivers/isdn/teles/card.cprintk(KERN_WARNING "NO Teles card found at 0x%x!\n", cards[i].iobase);
i1634drivers/isdn/teles/card.cint             i;
i1636drivers/isdn/teles/card.cfor (i = 0; i < nrcards; i++)
i1637drivers/isdn/teles/card.cif (cards[i].sp) {
i1638drivers/isdn/teles/card.crelease_irq(i);
i1639drivers/isdn/teles/card.cclosecard(i);
i8drivers/isdn/teles/fsm.cint             i;
i14drivers/isdn/teles/fsm.cfor (i = 0; i < fncount; i++)
i15drivers/isdn/teles/fsm.cfsm->jumpmatrix[fsm->state_count * fnlist[i].event +
i16drivers/isdn/teles/fsm.cfnlist[i].state] = (int) fnlist[i].routine;
i192drivers/isdn/teles/isdnl2.cint             i, p1, p2;
i199drivers/isdn/teles/isdnl2.cfor (i = 0; i < p1; i++) {
i200drivers/isdn/teles/isdnl2.cp2 = (i + l2->sow) % l2->window;
i314drivers/isdn/teles/isdnl2.cint             i;
i316drivers/isdn/teles/isdnl2.ci = sethdraddr(&(st->l2), ibh, 0);
i318drivers/isdn/teles/isdnl2.cptr += i;
i338drivers/isdn/teles/isdnl2.cint             i;
i351drivers/isdn/teles/isdnl2.ci = sethdraddr(&st->l2, ibh, 0);
i353drivers/isdn/teles/isdnl2.cptr += i;
i358drivers/isdn/teles/isdnl2.cibh->datasize = i + 1;
i376drivers/isdn/teles/isdnl2.cint             i;
i396drivers/isdn/teles/isdnl2.ci = sethdraddr(&(st->l2), ibh, 0);
i398drivers/isdn/teles/isdnl2.cptr += i;
i400drivers/isdn/teles/isdnl2.cibh->datasize = i + 1;
i413drivers/isdn/teles/isdnl2.cint             i;
i429drivers/isdn/teles/isdnl2.ci = sethdraddr(&(st->l2), ibh, 0);
i431drivers/isdn/teles/isdnl2.cptr += i;
i433drivers/isdn/teles/isdnl2.cibh->datasize = i + 1;
i445drivers/isdn/teles/isdnl2.cint             i, p;
i464drivers/isdn/teles/isdnl2.ci = sethdraddr(&(st->l2), ibh, 0);
i466drivers/isdn/teles/isdnl2.cptr += i;
i468drivers/isdn/teles/isdnl2.cibh->datasize = i + 1;
i534drivers/isdn/teles/isdnl2.cint             p, i, seq, rsp;
i567drivers/isdn/teles/isdnl2.ci = sethdraddr(l2, ibh, !0);
i569drivers/isdn/teles/isdnl2.cptr += i;
i574drivers/isdn/teles/isdnl2.ci += 2;
i577drivers/isdn/teles/isdnl2.ci += 1;
i579drivers/isdn/teles/isdnl2.cibh->datasize = i;
i613drivers/isdn/teles/isdnl2.cint             i;
i618drivers/isdn/teles/isdnl2.ci = sethdraddr(&st->l2, ibh, 0);
i642drivers/isdn/teles/isdnl2.cint             i, p, seq, nr, wasok;
i675drivers/isdn/teles/isdnl2.ci = sethdraddr(&(st->l2), ibh2, p);
i677drivers/isdn/teles/isdnl2.cptr += i;
i682drivers/isdn/teles/isdnl2.ci += 2;
i685drivers/isdn/teles/isdnl2.ci += 1;
i687drivers/isdn/teles/isdnl2.cibh2->datasize = i;
i701drivers/isdn/teles/isdnl2.ci = sethdraddr(&(st->l2), ibh2, p);
i703drivers/isdn/teles/isdnl2.cptr += i;
i708drivers/isdn/teles/isdnl2.ci += 2;
i711drivers/isdn/teles/isdnl2.ci += 1;
i713drivers/isdn/teles/isdnl2.cibh2->datasize = i;
i759drivers/isdn/teles/isdnl2.cint             i;
i765drivers/isdn/teles/isdnl2.ci = sethdraddr(&(st->l2), ibh2, !0);
i767drivers/isdn/teles/isdnl2.cptr += i;
i772drivers/isdn/teles/isdnl2.ci += 2;
i775drivers/isdn/teles/isdnl2.ci += 1;
i777drivers/isdn/teles/isdnl2.cibh2->datasize = i;
i861drivers/isdn/teles/isdnl2.cint             i;
i878drivers/isdn/teles/isdnl2.ci = sethdraddr(&st->l2, ibh, 0);
i880drivers/isdn/teles/isdnl2.cptr += i;
i885drivers/isdn/teles/isdnl2.cibh->datasize = i + 1;
i895drivers/isdn/teles/isdnl2.cint             i;
i916drivers/isdn/teles/isdnl2.ci = sethdraddr(&st->l2, ibh, 0);
i918drivers/isdn/teles/isdnl2.cptr += i;
i920drivers/isdn/teles/isdnl2.cibh->datasize = i + 1;
i1100drivers/isdn/teles/isdnl2.cint             i, p, est;
i1114drivers/isdn/teles/isdnl2.ci = sethdraddr(&st->l2, ibh, 0);
i1116drivers/isdn/teles/isdnl2.cptr += i;
i1118drivers/isdn/teles/isdnl2.cibh->datasize = i + 1;
i410drivers/isdn/teles/isdnl3.cint             i, mt, size;
i420drivers/isdn/teles/isdnl3.cfor (i = 0; i < size; i++)
i421drivers/isdn/teles/isdnl3.cprintk(KERN_INFO "l3up data %x\n", ptr[i]);
i430drivers/isdn/teles/isdnl3.cfor (i = 0; i < datasl_1tr6t_len; i++)
i431drivers/isdn/teles/isdnl3.cif ((st->l3.state == datastatelist_1tr6t[i].state) &&
i432drivers/isdn/teles/isdnl3.c(mt == datastatelist_1tr6t[i].primitive))
i434drivers/isdn/teles/isdnl3.cif (i == datasl_1tr6t_len) {
i440drivers/isdn/teles/isdnl3.cdatastatelist_1tr6t[i].rout(st, pr, ibh);
i444drivers/isdn/teles/isdnl3.cfor (i = 0; i < datasllen; i++)
i445drivers/isdn/teles/isdnl3.cif ((st->l3.state == datastatelist[i].state) &&
i446drivers/isdn/teles/isdnl3.c(mt == datastatelist[i].primitive))
i448drivers/isdn/teles/isdnl3.cif (i == datasllen) {
i451drivers/isdn/teles/isdnl3.cdatastatelist[i].rout(st, pr, ibh);
i459drivers/isdn/teles/isdnl3.cfor (i = 0; i < size; i++)
i460drivers/isdn/teles/isdnl3.cprintk(KERN_INFO "l3up data %x\n", ptr[i]);
i469drivers/isdn/teles/isdnl3.cfor (i = 0; i < datasl_1tr6t_len; i++)
i470drivers/isdn/teles/isdnl3.cif ((st->l3.state == datastatelist_1tr6t[i].state) &&
i471drivers/isdn/teles/isdnl3.c(mt == datastatelist_1tr6t[i].primitive))
i473drivers/isdn/teles/isdnl3.cif (i == datasl_1tr6t_len) {
i480drivers/isdn/teles/isdnl3.cdatastatelist_1tr6t[i].rout(st, pr, ibh);
i484drivers/isdn/teles/isdnl3.cfor (i = 0; i < datasllen; i++)
i485drivers/isdn/teles/isdnl3.cif ((st->l3.state == datastatelist[i].state) &&
i486drivers/isdn/teles/isdnl3.c(mt == datastatelist[i].primitive))
i488drivers/isdn/teles/isdnl3.cif (i == datasllen) {
i491drivers/isdn/teles/isdnl3.cdatastatelist[i].rout(st, pr, ibh);
i500drivers/isdn/teles/isdnl3.cint             i;
i506drivers/isdn/teles/isdnl3.cfor (i = 0; i < downsl_1tr6t_len; i++)
i507drivers/isdn/teles/isdnl3.cif ((st->l3.state == downstatelist_1tr6t[i].state) &&
i508drivers/isdn/teles/isdnl3.c(pr == downstatelist_1tr6t[i].primitive))
i510drivers/isdn/teles/isdnl3.cif (i == downsl_1tr6t_len) {
i515drivers/isdn/teles/isdnl3.cdownstatelist_1tr6t[i].rout(st, pr, ibh);
i519drivers/isdn/teles/isdnl3.cfor (i = 0; i < downsllen; i++)
i520drivers/isdn/teles/isdnl3.cif ((st->l3.state == downstatelist[i].state) &&
i521drivers/isdn/teles/isdnl3.c(pr == downstatelist[i].primitive))
i523drivers/isdn/teles/isdnl3.cif (i == downsllen) {
i525drivers/isdn/teles/isdnl3.cdownstatelist[i].rout(st, pr, ibh);
i6drivers/isdn/teles/l3_1TR6.cint             i;
i9drivers/isdn/teles/l3_1TR6.cfor (i = 0; i < (sizeof(mtdesc_n0) / sizeof(struct MTypeDesc)); i++) {
i10drivers/isdn/teles/l3_1TR6.cif (mt == mtdesc_n0[i].mt)
i11drivers/isdn/teles/l3_1TR6.creturn (mtdesc_n0[i].descr);
i15drivers/isdn/teles/l3_1TR6.cfor (i = 0; i < (sizeof(mtdesc_n1) / sizeof(struct MTypeDesc)); i++) {
i16drivers/isdn/teles/l3_1TR6.cif (mt == mtdesc_n1[i].mt)
i17drivers/isdn/teles/l3_1TR6.creturn (mtdesc_n1[i].descr);
i223drivers/isdn/teles/l3_1TR6.cint             i;
i236drivers/isdn/teles/l3_1TR6.cfor (i = 0; i < strlen(a_charge); i++) {
i238drivers/isdn/teles/l3_1TR6.cst->pa->chargeinfo += a_charge[i] & 0xf;
i253drivers/isdn/teles/l3_1TR6.cint             i;
i262drivers/isdn/teles/l3_1TR6.cfor (i = 0; i < ibh->datasize; i++) {
i263drivers/isdn/teles/l3_1TR6.cprintk(KERN_INFO "Info DATA %x\n", p[i]);
i319drivers/isdn/teles/l3_1TR6.cint             i;
i333drivers/isdn/teles/l3_1TR6.cfor (i = 0; i < strlen(a_charge); i++) {
i335drivers/isdn/teles/l3_1TR6.cst->pa->chargeinfo += a_charge[i] & 0xf;
i40drivers/isdn/teles/llglue.cint             len, count, i;
i48drivers/isdn/teles/llglue.cfor (p = buf, i = len; i > 0; i--, p++) {
i54drivers/isdn/teles/mod.cint  i, j, argc;
i58drivers/isdn/teles/mod.ci = 0;
i60drivers/isdn/teles/mod.cwhile (argc && (i<16)) {
i62drivers/isdn/teles/mod.cio[i].iobase    = ints[j];
i66drivers/isdn/teles/mod.cio[i].interrupt = ints[j];
i70drivers/isdn/teles/mod.cio[i].membase   = (byte *)ints[j];
i74drivers/isdn/teles/mod.cio[i].protocol  = ints[j];
i77drivers/isdn/teles/mod.ci++;
i89drivers/isdn/teles/mod.cint             i;
i92drivers/isdn/teles/mod.cfor (i = 0; i < 16; i++) {
i93drivers/isdn/teles/mod.cif (io[i].protocol) {
i94drivers/isdn/teles/mod.ccards[i].membase   = io[i].membase;
i95drivers/isdn/teles/mod.ccards[i].interrupt = io[i].interrupt;
i96drivers/isdn/teles/mod.ccards[i].iobase    = io[i].iobase;
i97drivers/isdn/teles/mod.ccards[i].protocol  = io[i].protocol;
i100drivers/isdn/teles/mod.cfor (i = 0; i < 16; i++)
i101drivers/isdn/teles/mod.cif (cards[i].protocol)
i419drivers/isdn/teles/q931.cint             i, cause;
i433drivers/isdn/teles/q931.cfor (i = 0; i < CVSIZE; i++)
i434drivers/isdn/teles/q931.cif (cvlist[i].nr == cause)
i438drivers/isdn/teles/q931.cif (i == CVSIZE)
i441drivers/isdn/teles/q931.cdp += sprintf(dp, "  cause value %x : %s \n", cause, cvlist[i].edescr);
i791drivers/isdn/teles/q931.cint             i;
i808drivers/isdn/teles/q931.cfor (i = 0; i < MTSIZE; i++)
i809drivers/isdn/teles/q931.cif (mtlist[i].nr == buf[3])
i813drivers/isdn/teles/q931.cif (i == MTSIZE)
i817drivers/isdn/teles/q931.cbuf[2], size, mtlist[i].descr);
i852drivers/isdn/teles/q931.cfor (i = 0; i < IESIZE; i++)
i853drivers/isdn/teles/q931.cif (*buf == ielist[i].nr)
i857drivers/isdn/teles/q931.cif (i != IESIZE) {
i858drivers/isdn/teles/q931.cdp += sprintf(dp, "  %s\n", ielist[i].descr);
i859drivers/isdn/teles/q931.cdp += ielist[i].f(dp, buf);
i143drivers/isdn/teles/tei.ctei_man(struct PStack *sp, int i, void *v)
i225drivers/isdn/teles/tei.cint             i;
i227drivers/isdn/teles/tei.cfor (i = 0; i < nrcards; i++)
i228drivers/isdn/teles/tei.cif (cards[i].sp)
i229drivers/isdn/teles/tei.cinit_tei(cards[i].sp, cards[i].protocol);
i235drivers/isdn/teles/tei.cint             i;
i237drivers/isdn/teles/tei.cfor (i = 0; i < nrcards; i++)
i238drivers/isdn/teles/tei.cif (cards[i].sp)
i239drivers/isdn/teles/tei.crelease_tei(cards[i].sp);
i213drivers/net/3c501.cint i;
i221drivers/net/3c501.cfor (i = 0; netcard_portlist[i]; i++) 
i223drivers/net/3c501.cint ioaddr = netcard_portlist[i];
i245drivers/net/3c501.cint i;
i251drivers/net/3c501.cfor (i = 0; i < 6; i++) 
i253drivers/net/3c501.coutw(i, ioaddr + EL1_DATAPTR);
i254drivers/net/3c501.cstation_addr[i] = inb(ioaddr + EL1_SAPROM);
i738drivers/net/3c501.cint i;
i739drivers/net/3c501.cfor (i = 0; i < 6; i++)  /* Set the station address. */
i740drivers/net/3c501.coutb(dev->dev_addr[i], ioaddr + i);
i104drivers/net/3c503.cint i;
i107drivers/net/3c503.cfor(i = 7; i >= 0; i--, base_bits >>= 1)
i112drivers/net/3c503.cif (check_region(netcard_portlist[i], EL2_IO_EXTENT))
i114drivers/net/3c503.cif (el2_probe1(dev, netcard_portlist[i]) == 0)
i130drivers/net/3c503.cint i;
i138drivers/net/3c503.cfor (i = 0; netcard_portlist[i]; i++) {
i139drivers/net/3c503.cint ioaddr = netcard_portlist[i];
i156drivers/net/3c503.cint i, iobase_reg, membase_reg, saved_406, wordlength;
i207drivers/net/3c503.cfor (i = 0; i < 6; i++)
i208drivers/net/3c503.cprintk(" %2.2x", dev->dev_addr[i] = inb(ioaddr + i));
i251drivers/net/3c503.cfor (i = sizeof(test_val); i < EL2_MEMSIZE; i+=sizeof(test_val)) {
i252drivers/net/3c503.cwritel(test_val, mem_base + i);
i254drivers/net/3c503.c|| readl(mem_base + i) != test_val) {
i261drivers/net/3c503.cwritel(0, mem_base + i);
i340drivers/net/3c505.cint i;
i364drivers/net/3c505.cfor (i = 0; i < pcb->length; i++) {
i365drivers/net/3c505.cif (send_pcb_fast(dev->base_addr, pcb->data.raw[i])) goto sti_abort;
i417drivers/net/3c505.cint i, j;
i454drivers/net/3c505.ci = 0;
i459drivers/net/3c505.cpcb->data.raw[i++] = inb_command(dev->base_addr);
i460drivers/net/3c505.cif (i > MAX_PCB_DATA)
i461drivers/net/3c505.cINVALID_PCB_MSG(i);
i470drivers/net/3c505.ctotal_length = pcb->data.raw[--i];
i561drivers/net/3c505.cregister int i;
i592drivers/net/3c505.cfor (i = 0; i < (rlen/2); i++) {
i614drivers/net/3c505.cfor (i = 0; i < (rlen/2); i++) { 
i621drivers/net/3c505.cfilename,__LINE__, i, rlen/2);  
i953drivers/net/3c505.cint i;
i984drivers/net/3c505.cfor (i = 0; i < (nlen/2);i++) {
i991drivers/net/3c505.cdev->name,filename,__LINE__, i, nlen/2);
i1179drivers/net/3c505.cint i;
i1190drivers/net/3c505.cfor (i=0;i<dev->mc_count;i++)
i1192drivers/net/3c505.cmemcpy(adapter->tx_pcb.data.multicast[i], dmi->dmi_addr,6);
i1389drivers/net/3c505.cint i;
i1451drivers/net/3c505.cfor (i = 0; i < 6; i++) 
i1452drivers/net/3c505.cdev->dev_addr[i] = adapter.rx_pcb.data.eth_addr[i];
i307drivers/net/3c507.cint i;
i314drivers/net/3c507.cfor (i = 0; netcard_portlist[i]; i++) {
i315drivers/net/3c507.cint ioaddr = netcard_portlist[i];
i328drivers/net/3c507.cint i, irq, irqval;
i334drivers/net/3c507.cfor(i = 0; i < 255; i++) {
i375drivers/net/3c507.cfor (i = 0; i < 6; i++) {
i376drivers/net/3c507.cdev->dev_addr[i] = inb(ioaddr + i);
i377drivers/net/3c507.cprintk(" %02x", dev->dev_addr[i]);
i137drivers/net/3c509.cshort lrs_state = 0xff, i;
i159drivers/net/3c509.cfor (i = 0; i < 3; i++)
i160drivers/net/3c509.cphys_addr[i] = htons(read_eeprom(ioaddr, i));
i173drivers/net/3c509.cfor (i = 0; i < 8; i++)
i174drivers/net/3c509.cif ((mca_adaptor_id(i) | 1) == 0x627c) {
i175drivers/net/3c509.cioaddr = mca_pos_base_addr(i);
i178drivers/net/3c509.cfor (i = 0; i < 3; i++)
i179drivers/net/3c509.cphys_addr[i] = htons(read_eeprom(ioaddr, i));
i218drivers/net/3c509.cfor(i = 0; i < 255; i++) {
i237drivers/net/3c509.cfor (i = 0; i < 3; i++) {
i238drivers/net/3c509.cphys_addr[i] = htons(id_read_eeprom(i));
i281drivers/net/3c509.cfor (i = 0; i < 6; i++)
i282drivers/net/3c509.cprintk(" %2.2x", dev->dev_addr[i]);
i350drivers/net/3c509.cint i;
i375drivers/net/3c509.cfor (i = 0; i < 6; i++)
i376drivers/net/3c509.coutb(dev->dev_addr[i], ioaddr + i);
i390drivers/net/3c509.cfor (i = 0; i < 9; i++)
i391drivers/net/3c509.cinb(ioaddr + i);
i501drivers/net/3c509.cint i = 4;
i503drivers/net/3c509.cwhile (--i > 0  &&  (tx_status = inb(ioaddr + TX_STATUS)) > 0) {
i519drivers/net/3c509.cint i = 0;
i571drivers/net/3c509.cif (++i > 10) {
i196drivers/net/3c59x.cint i;
i443drivers/net/3c59x.cint i;
i450drivers/net/3c59x.cfor (i = 0; i < 3; i++) {
i453drivers/net/3c59x.coutw(EEPROM_Read + PhysAddr01 + i, ioaddr + Wn0EepromCmd);
i460drivers/net/3c59x.cphys_addr[i] = htons(inw(ioaddr + 12));
i462drivers/net/3c59x.cfor (i = 0; i < 6; i++)
i463drivers/net/3c59x.cprintk("%c%2.2x", i ? ':' : ' ', dev->dev_addr[i]);
i473drivers/net/3c59x.cconfig.i = inl(ioaddr + Wn3_Config);
i476drivers/net/3c59x.cconfig.i, inw(ioaddr + Wn3_Options));
i510drivers/net/3c59x.cint i;
i516drivers/net/3c59x.cconfig.i = inl(ioaddr + Wn3_Config);
i524drivers/net/3c59x.coutl(config.i, ioaddr + Wn3_Config);
i529drivers/net/3c59x.cdev->name, config.i);
i533drivers/net/3c59x.cfor (i = 20; i >= 0 ; i--)
i539drivers/net/3c59x.cfor (i = 20; i >= 0 ; i--)
i546drivers/net/3c59x.ci = request_shared_irq(dev->irq, &vortex_interrupt, dev, vp->product_name);
i547drivers/net/3c59x.cif (i)            /* Error */
i548drivers/net/3c59x.creturn i;
i567drivers/net/3c59x.cfor (i = 0; i < 6; i++)
i568drivers/net/3c59x.coutb(dev->dev_addr[i], ioaddr + i);
i569drivers/net/3c59x.cfor (; i < 12; i+=2)
i570drivers/net/3c59x.coutw(0, ioaddr + i);
i584drivers/net/3c59x.cfor (i = 0; i < 10; i++)  
i585drivers/net/3c59x.cinb(ioaddr + i);
i652drivers/net/3c59x.cint i;
i653drivers/net/3c59x.cfor (i = 20; i >= 0 ; i--)
i713drivers/net/3c59x.cint i = 4;
i715drivers/net/3c59x.cwhile (--i > 0  &&  (tx_status = inb(ioaddr + TxStatus)) > 0) {
i749drivers/net/3c59x.cint i = 0;
i845drivers/net/3c59x.cif (++i > 10) {
i871drivers/net/3c59x.cint i;
i907drivers/net/3c59x.cfor (i = 200; i >= 0; i--)
i919drivers/net/3c59x.cfor (i = 200; i >= 0; i--)
i629drivers/net/8390.cint i;
i658drivers/net/8390.cfor(i = 0; i < 6; i++) {
i659drivers/net/8390.coutb_p(dev->dev_addr[i], e8390_base + EN1_PHYS + i);
i663drivers/net/8390.cfor(i = 0; i < 8; i++)
i664drivers/net/8390.coutb_p(0xff, e8390_base + EN1_MULT + i);
i116drivers/net/ac3200.cint i;
i121drivers/net/ac3200.cfor(i = 0; i < 6; i++)
i122drivers/net/ac3200.cprintk(" %02x", inb(ioaddr + AC_SA_PROM + i));
i137drivers/net/ac3200.cfor (i = 0; i < 4; i++)
i151drivers/net/ac3200.cfor(i = 0; i < ETHER_ADDR_LEN; i++)
i152drivers/net/ac3200.cdev->dev_addr[i] = inb(ioaddr + AC_SA_PROM + i);
i185drivers/net/ac3200.cfor (i = 0; i < 7; i++)
i186drivers/net/ac3200.cif (addrmap[i] == dev->mem_start)
i188drivers/net/ac3200.cif (i >= 7)
i189drivers/net/ac3200.ci = 0;
i190drivers/net/ac3200.coutb((inb(ioaddr + AC_CONFIG) & ~7) | i, ioaddr + AC_CONFIG);
i198drivers/net/apricot.cint i;
i205drivers/net/apricot.cfor (i = 0; i < num; i++)
i214drivers/net/apricot.cif (i == 0)
i226drivers/net/apricot.cif (i != 0)
i229drivers/net/apricot.creturn (i);
i535drivers/net/apricot.cint i;
i545drivers/net/apricot.ci = init_rx_bufs(dev, RX_RING_SIZE);
i547drivers/net/apricot.cif ((i = init_rx_bufs(dev, RX_RING_SIZE)) < RX_RING_SIZE)
i548drivers/net/apricot.cprintk("%s: only able to allocate %d receive buffers\n", dev->name, i);
i550drivers/net/apricot.cif (i < 4)
i664drivers/net/apricot.cint i;
i667drivers/net/apricot.cfor (i = 0; i < 6; i++)
i668drivers/net/apricot.cprintk(" %2.2X", (unsigned char)add[i]);
i672drivers/net/apricot.cfor (i = 0; i < 6; i++)
i673drivers/net/apricot.cprintk(" %2.2X", (unsigned char)add[i+6]);
i680drivers/net/apricot.cint i;
i692drivers/net/apricot.cfor (i = 0; i < 8; i++)
i694drivers/net/apricot.ceth_addr[i] = inb(ioaddr+8+i);
i695drivers/net/apricot.cchecksum += eth_addr[i];
i716drivers/net/apricot.cfor (i = 0; i < 6; i++)
i717drivers/net/apricot.cprintk(" %2.2X", dev->dev_addr[i] = eth_addr[i]);
i671drivers/net/arcnet.cint i;
i677drivers/net/arcnet.cfor(i=0; i<skb->len; i++)
i679drivers/net/arcnet.cif (i%16==0)
i680drivers/net/arcnet.cprintk("\n" KERN_DEBUG "[%04X] ",i);
i682drivers/net/arcnet.cprintk("%02X ",((u_char *)skb->data)[i]);
i694drivers/net/arcnet.cint i;
i700drivers/net/arcnet.cfor (i=0; i<256+(ext!=0)*256; i++)
i702drivers/net/arcnet.cif (i%16==0)
i703drivers/net/arcnet.cprintk("\n" KERN_DEBUG "[%04X] ",i);
i705drivers/net/arcnet.cprintk("%02X ",buffer[i]);
i1271drivers/net/arcnet.cint i;
i1272drivers/net/arcnet.cfor (i=0; i<DEV_NUMBUFFS; i++)
i1273drivers/net/arcnet.cskb_queue_head_init(&dev->buffs[i]);
i142drivers/net/at1700.cint i;
i150drivers/net/at1700.cfor (i = 0; at1700_probe_list[i]; i++) {
i151drivers/net/at1700.cint ioaddr = at1700_probe_list[i];
i173drivers/net/at1700.cunsigned int i, irq;
i216drivers/net/at1700.cfor(i = 0; i < 3; i++) {
i217drivers/net/at1700.cunsigned short eeprom_val = read_eeprom(ioaddr, 4+i);
i219drivers/net/at1700.c((unsigned short *)dev->dev_addr)[i] = ntohs(eeprom_val);
i238drivers/net/at1700.cfor (i = 0; i < 6; i++)
i239drivers/net/at1700.coutb(dev->dev_addr[i], ioaddr + 8 + i);
i243drivers/net/at1700.cfor (i = 0; i < 8; i++)
i244drivers/net/at1700.coutb(0x00, ioaddr + 8 + i);
i280drivers/net/at1700.cint i;
i290drivers/net/at1700.cfor (i = 9; i >= 0; i--) {
i291drivers/net/at1700.cshort dataval = (read_cmd & (1 << i)) ? EE_DATA_WRITE : 0;
i300drivers/net/at1700.cfor (i = 16; i > 0; i--) {
i323drivers/net/at1700.cint i;
i329drivers/net/at1700.cfor (i = 0; i < 6; i++)
i330drivers/net/at1700.coutb(dev->dev_addr[i], ioaddr + 8 + i);
i334drivers/net/at1700.cfor (i = 0; i < 8; i++)
i335drivers/net/at1700.coutb(0x00, ioaddr + 8 + i);
i557drivers/net/at1700.cint i;
i558drivers/net/at1700.cfor (i = 0; i < 20; i++) {
i567drivers/net/at1700.cdev->name, inb(ioaddr + RX_MODE), i);
i265drivers/net/atp.cint i;
i274drivers/net/atp.cfor (i = 0; i < 3; i++)
i275drivers/net/atp.c((unsigned short *)dev->dev_addr)[i] =
i276drivers/net/atp.cntohs(eeprom_op(ioaddr, EE_READ(sa_offset + i)));
i346drivers/net/atp.cint i;
i350drivers/net/atp.cfor (i = 0; i < 6; i++)
i351drivers/net/atp.cwrite_reg_byte(ioaddr, PAR0 + i, dev->dev_addr[i]);
i585drivers/net/atp.cint i;
i586drivers/net/atp.cfor (i = 0; i < 6; i++)
i587drivers/net/atp.cwrite_reg_byte(ioaddr, PAR0 + i, dev->dev_addr[i]);
i615drivers/net/atp.cint i;
i620drivers/net/atp.cfor (i = 0; i < 6; i++)
i622drivers/net/atp.cif (read_cmd_byte(ioaddr, PAR0 + i) != atp_timed_dev->dev_addr[i])
i625drivers/net/atp.cwrite_reg_byte(ioaddr, PAR0 + i, atp_timed_dev->dev_addr[i]);
i626drivers/net/atp.cif (i == 2)
i628drivers/net/atp.celse if (i == 3)
i630drivers/net/atp.celse if (i == 4)
i636drivers/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", NULL) == 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, NULL);
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, NULL);
i641drivers/net/de4x5.cint i;\
i642drivers/net/de4x5.ci=inl(DE4X5_BMR);\
i644drivers/net/de4x5.coutl(i | BMR_SWR, DE4X5_BMR);\
i646drivers/net/de4x5.coutl(i, DE4X5_BMR);\
i648drivers/net/de4x5.cfor (i=0;i<5;i++) {inl(DE4X5_BMR); de4x5_ms_delay(1);}\
i688drivers/net/de4x5.cint i, media = *((char *)&(lp->srom) + *((char *)&(lp->srom) + 19) * 3);
i727drivers/net/de4x5.cfor (i = 0; i < ETH_ALEN - 1; i++) {     /* get the ethernet addr. */
i728drivers/net/de4x5.cprintk("%2.2x:", dev->dev_addr[i]);
i730drivers/net/de4x5.cprintk("%2.2x,\n", dev->dev_addr[i]);
i802drivers/net/de4x5.cfor (i=0; i<NUM_RX_DESC; i++) {
i803drivers/net/de4x5.clp->rx_ring[i].status = 0;
i804drivers/net/de4x5.clp->rx_ring[i].des1 = RX_BUFF_SZ;
i805drivers/net/de4x5.clp->rx_ring[i].buf = virt_to_bus(tmp + i * RX_BUFF_SZ);
i806drivers/net/de4x5.clp->rx_ring[i].next = (u32)NULL;
i963drivers/net/de4x5.cint i, j, status = 0;
i995drivers/net/de4x5.cfor (i = 0; i < lp->rxRingSize; i++) {
i996drivers/net/de4x5.clp->rx_ring[i].status = R_OWN;
i999drivers/net/de4x5.cfor (i = 0; i < lp->txRingSize; i++) {
i1000drivers/net/de4x5.clp->tx_ring[i].status = 0;
i1017drivers/net/de4x5.cfor (j=0, i=0;(i<500) && (j==0);i++) {       /* Upto 500ms delay */
i1180drivers/net/de4x5.cint i, entry;
i1230drivers/net/de4x5.cfor (i=1; i<DE4X5_PKT_STAT_SZ-1; i++) {
i1231drivers/net/de4x5.cif (pkt_len < (i*DE4X5_PKT_BIN_SZ)) {
i1232drivers/net/de4x5.clp->pktStats.bins[i]++;
i1233drivers/net/de4x5.ci = DE4X5_PKT_STAT_SZ;
i1456drivers/net/de4x5.cint i, j, bit, byte;
i1469drivers/net/de4x5.cfor (i=0;i<dev->mc_count;i++) {      /* for each address in the list */
i1496drivers/net/de4x5.cfor (i=0; i<ETH_ALEN; i++) { 
i1497drivers/net/de4x5.c*(pa + (i&1)) = *addrs++;
i1498drivers/net/de4x5.cif (i & 0x01) pa += 4;
i1513drivers/net/de4x5.cint i, maxSlots, status;
i1526drivers/net/de4x5.ci = 1;
i1530drivers/net/de4x5.ci = (ioaddr >> 12);
i1531drivers/net/de4x5.cmaxSlots = i + 1;
i1534drivers/net/de4x5.cfor (status = -ENODEV; (i<maxSlots) && (dev!=NULL); i++, iobase+=EISA_SLOT_INC) {
i2514drivers/net/de4x5.cint i;
i2520drivers/net/de4x5.cfor (i=lp->tx_new; i!=lp->tx_old; i--) {
i2521drivers/net/de4x5.cif (lp->skb[i]) {
i2522drivers/net/de4x5.cde4x5_putb_cache(dev, lp->skb[i]);
i2523drivers/net/de4x5.clp->skb[i] = NULL;
i2525drivers/net/de4x5.cif (i==0) i=lp->txRingSize;
i2527drivers/net/de4x5.cif (lp->skb[i]) {
i2528drivers/net/de4x5.cde4x5_putb_cache(dev, lp->skb[i]);
i2529drivers/net/de4x5.clp->skb[i] = NULL;
i2548drivers/net/de4x5.cint i;
i2558drivers/net/de4x5.cfor (i=0; TX_BUFFS_AVAIL && lp->cache.skb; i++) {
i2721drivers/net/de4x5.cint i;
i2724drivers/net/de4x5.cfor (i=0; i<ETH_ALEN; i++) {             /* Use this source address */
i2725drivers/net/de4x5.c*buf++ = dev->dev_addr[i];
i2727drivers/net/de4x5.cfor (i=0; i<ETH_ALEN; i++) {             /* Use this destination address */
i2728drivers/net/de4x5.c*buf++ = dev->dev_addr[i];
i2752drivers/net/de4x5.cu_int i;
i2754drivers/net/de4x5.cfor (i=0; i<msec; i++) {
i2773drivers/net/de4x5.cint i, status = 0, siglen = sizeof(signatures)/sizeof(c_char *);
i2785drivers/net/de4x5.cfor (i=0;i<siglen;i++) {
i2786drivers/net/de4x5.cif (strstr(ManCode, signatures[i]) != NULL) {
i2802drivers/net/de4x5.cint i, status = 0, siglen = sizeof(de4x5_signatures)/sizeof(c_char *);
i2807drivers/net/de4x5.cint i = *((char *)&lp->srom + 19) * 3;
i2809drivers/net/de4x5.cstrncpy(name, (char *)&lp->srom + 26 + i, 8);
i2811drivers/net/de4x5.cstrncpy(name, (char *)&lp->srom + 26 + i, 8);
i2815drivers/net/de4x5.cfor (i=0; i<siglen; i++) {
i2816drivers/net/de4x5.cif (strstr(name,de4x5_signatures[i])!=NULL) break;
i2818drivers/net/de4x5.cif (i == siglen) {
i2838drivers/net/de4x5.cint i;
i2845drivers/net/de4x5.cfor (i=0; i<(sizeof(struct de4x5_srom)>>1); i++) {
i2846drivers/net/de4x5.c*p++ = srom_rd(aprom_addr, i);
i2857drivers/net/de4x5.cint broken, i, k, tmp, status = 0;
i2862drivers/net/de4x5.cfor (i=0,k=0,j=0;j<3;j++) {
i2870drivers/net/de4x5.cdev->dev_addr[i++] = (u_char) tmp;
i2873drivers/net/de4x5.cdev->dev_addr[i++] = (u_char) tmp;
i2875drivers/net/de4x5.cdev->dev_addr[i] = (u_char) lp->srom.ieee_addr[i]; i++;
i2876drivers/net/de4x5.cdev->dev_addr[i] = (u_char) lp->srom.ieee_addr[i]; i++;
i2878drivers/net/de4x5.cdev->dev_addr[i] = *((u_char *)&lp->srom + i); i++;
i2879drivers/net/de4x5.cdev->dev_addr[i] = *((u_char *)&lp->srom + i); i++;
i2883drivers/net/de4x5.cdev->dev_addr[i++] = (u_char) tmp;
i2885drivers/net/de4x5.cdev->dev_addr[i++] = (u_char) tmp;
i2915drivers/net/de4x5.cint i, status = 0;
i2917drivers/net/de4x5.cfor (i=0; i<sizeof(enet_det)/ETH_ALEN; i++) {
i2918drivers/net/de4x5.cif (!de4x5_strncmp((char *)&lp->srom, (char *)&enet_det[i], 3) &&
i2919drivers/net/de4x5.c!de4x5_strncmp((char *)&lp->srom+0x10, (char *)&enet_det[i], 3)) {
i2973drivers/net/de4x5.cint i;
i2977drivers/net/de4x5.cfor (i=0; i<6; i++, a <<= 1) {
i2982drivers/net/de4x5.ci = (getfrom_srom(addr) >> 3) & 0x01;
i2983drivers/net/de4x5.cif (i != 0) {
i2992drivers/net/de4x5.cint i;
i2996drivers/net/de4x5.cfor (i=0; i<16; i++) {
i3074drivers/net/de4x5.cint i;
i3077drivers/net/de4x5.cfor (i=0; i<16; i++) {
i3087drivers/net/de4x5.cint i;
i3089drivers/net/de4x5.cfor (i=0; i<len; i++) {
i3099drivers/net/de4x5.cint i;
i3102drivers/net/de4x5.cfor (i=0; i<5; i++) {
i3124drivers/net/de4x5.cint i, tmp = 0;
i3126drivers/net/de4x5.cfor (i=0; i<len; i++) {
i3209drivers/net/de4x5.cint i, j, k, limit=sizeof(phy_info)/sizeof(struct phy_table);
i3220drivers/net/de4x5.cfor (lp->mii_cnt=0, i=1; i<DE4X5_MAX_MII; i++) {
i3221drivers/net/de4x5.cid = mii_get_oui(i, DE4X5_MII); 
i3229drivers/net/de4x5.clp->phy[k].addr = i;
i3232drivers/net/de4x5.ci = DE4X5_MAX_MII;                 /* Stop the search */
i3252drivers/net/de4x5.cint i;
i3261drivers/net/de4x5.cfor (pa=lp->setup_frame+IMPERF_PA_OFFSET, i=0; i<ETH_ALEN; i++) {
i3262drivers/net/de4x5.c*(pa + i) = dev->dev_addr[i];                 /* Host address */
i3263drivers/net/de4x5.cif (i & 0x01) pa += 2;
i3267drivers/net/de4x5.cfor (i=0; i<ETH_ALEN; i++) { /* Host address */
i3268drivers/net/de4x5.c*(pa + (i&1)) = dev->dev_addr[i];
i3269drivers/net/de4x5.cif (i & 0x01) pa += 4;
i3271drivers/net/de4x5.cfor (i=0; i<ETH_ALEN; i++) { /* Broadcast address */
i3272drivers/net/de4x5.c*(pa + (i&1)) = (char) 0xff;
i3273drivers/net/de4x5.cif (i & 0x01) pa += 4;
i3372drivers/net/de4x5.cint i;
i3377drivers/net/de4x5.cfor (i=0;i<6;i++) {
i3378drivers/net/de4x5.cprintk("%2.2x:",(short)dev->dev_addr[i]);
i3384drivers/net/de4x5.cfor (i=0;i<lp->rxRingSize-1;i++){
i3385drivers/net/de4x5.cif (i < 3) {
i3386drivers/net/de4x5.cprintk("0x%8.8lx  ",(u_long)&lp->rx_ring[i].status);
i3389drivers/net/de4x5.cprintk("...0x%8.8lx\n",(u_long)&lp->rx_ring[i].status);
i3391drivers/net/de4x5.cfor (i=0;i<lp->txRingSize-1;i++){
i3392drivers/net/de4x5.cif (i < 3) {
i3393drivers/net/de4x5.cprintk("0x%8.8lx  ", (u_long)&lp->tx_ring[i].status);
i3396drivers/net/de4x5.cprintk("...0x%8.8lx\n", (u_long)&lp->tx_ring[i].status);
i3398drivers/net/de4x5.cfor (i=0;i<lp->rxRingSize-1;i++){
i3399drivers/net/de4x5.cif (i < 3) {
i3400drivers/net/de4x5.cprintk("0x%8.8x  ",lp->rx_ring[i].buf);
i3403drivers/net/de4x5.cprintk("...0x%8.8x\n",lp->rx_ring[i].buf);
i3405drivers/net/de4x5.cfor (i=0;i<lp->txRingSize-1;i++){
i3406drivers/net/de4x5.cif (i < 3) {
i3407drivers/net/de4x5.cprintk("0x%8.8x  ", lp->tx_ring[i].buf);
i3410drivers/net/de4x5.cprintk("...0x%8.8x\n", lp->tx_ring[i].buf);
i3478drivers/net/de4x5.cint i;
i3486drivers/net/de4x5.cfor (i=0;i<ETH_ALEN-1;i++) {
i3487drivers/net/de4x5.cprintk("%02x:", (u_char)*(p->ieee_addr+i));
i3489drivers/net/de4x5.cprintk("%02x\n", (u_char)*(p->ieee_addr+i));
i3491drivers/net/de4x5.cfor (i=0; i<64; i++) {
i3492drivers/net/de4x5.cprintk("%3d %04x\n", i<<1, (u_short)*((u_short *)p+i));
i3508drivers/net/de4x5.cint i, j, status = 0;
i3522drivers/net/de4x5.cfor (i=0; i<ETH_ALEN; i++) {
i3523drivers/net/de4x5.ctmp.addr[i] = dev->dev_addr[i];
i3537drivers/net/de4x5.cfor (i=0; i<ETH_ALEN; i++) {
i3538drivers/net/de4x5.cdev->dev_addr[i] = tmp.addr[i];
i3682drivers/net/de4x5.cfor (i=0; i<ETH_ALEN; i++) {
i3683drivers/net/de4x5.ctmp.addr[j++] = dev->dev_addr[i];
i3689drivers/net/de4x5.cfor (i=0;i<lp->rxRingSize-1;i++){
i3690drivers/net/de4x5.cif (i < 3) {
i3691drivers/net/de4x5.ctmp.lval[j>>2] = (long)&lp->rx_ring[i].status; j+=4;
i3694drivers/net/de4x5.ctmp.lval[j>>2] = (long)&lp->rx_ring[i].status; j+=4;
i3695drivers/net/de4x5.cfor (i=0;i<lp->txRingSize-1;i++){
i3696drivers/net/de4x5.cif (i < 3) {
i3697drivers/net/de4x5.ctmp.lval[j>>2] = (long)&lp->tx_ring[i].status; j+=4;
i3700drivers/net/de4x5.ctmp.lval[j>>2] = (long)&lp->tx_ring[i].status; j+=4;
i3702drivers/net/de4x5.cfor (i=0;i<lp->rxRingSize-1;i++){
i3703drivers/net/de4x5.cif (i < 3) {
i3704drivers/net/de4x5.ctmp.lval[j>>2] = (s32)lp->rx_ring[i].buf; j+=4;
i3707drivers/net/de4x5.ctmp.lval[j>>2] = (s32)lp->rx_ring[i].buf; j+=4;
i3708drivers/net/de4x5.cfor (i=0;i<lp->txRingSize-1;i++){
i3709drivers/net/de4x5.cif (i < 3) {
i3710drivers/net/de4x5.ctmp.lval[j>>2] = (s32)lp->tx_ring[i].buf; j+=4;
i3713drivers/net/de4x5.ctmp.lval[j>>2] = (s32)lp->tx_ring[i].buf; j+=4;
i3715drivers/net/de4x5.cfor (i=0;i<lp->rxRingSize;i++){
i3716drivers/net/de4x5.ctmp.lval[j>>2] = lp->rx_ring[i].status; j+=4;
i3718drivers/net/de4x5.cfor (i=0;i<lp->txRingSize;i++){
i3719drivers/net/de4x5.ctmp.lval[j>>2] = lp->tx_ring[i].status; j+=4;
i581drivers/net/de600.cint    i;
i622drivers/net/de600.cfor (i = size; i > 0; --i, ++buffer)
i640drivers/net/de600.cint  i;
i667drivers/net/de600.cfor (i = 0; i < ETH_ALEN; i++) {
i668drivers/net/de600.cdev->dev_addr[i] = de600_read_byte(READ_DATA, dev);
i669drivers/net/de600.cdev->broadcast[i] = 0xff;
i694drivers/net/de600.cfor (i = 1; i < ETH_ALEN; i++)
i695drivers/net/de600.cprintk(":%02X",dev->dev_addr[i]);
i720drivers/net/de600.cint  i;
i767drivers/net/de600.cfor (i = 0; i < ETH_ALEN; i++)
i768drivers/net/de600.cde600_put_byte(dev->dev_addr[i]);
i746drivers/net/de620.cint i;
i771drivers/net/de620.cfor (i = 0; i < 6; ++i) { /* W_PARn = 0xaa + n */
i772drivers/net/de620.cde620_set_register(dev, W_PAR0 + i, dev->dev_addr[i]);
i797drivers/net/de620.cif (((i = de620_get_register(dev, R_STS)) & CHECK_MASK) != CHECK_OK) {
i802drivers/net/de620.c"! (%02x)\n", i);
i835drivers/net/de620.cint i;
i874drivers/net/de620.cfor (i = 1; i < ETH_ALEN; i++) {
i875drivers/net/de620.cprintk(":%2.2X", dev->dev_addr[i] = nic_data.NodeID[i]);
i876drivers/net/de620.cdev->broadcast[i] = 0xff;
i473drivers/net/depca.cint i, j, offset, netRAM, mem_len, status=0;
i511drivers/net/depca.cfor (i=0; i<ETH_ALEN - 1; i++) { /* get the ethernet address */
i512drivers/net/depca.cprintk("%2.2x:", dev->dev_addr[i]);
i514drivers/net/depca.cprintk("%2.2x", dev->dev_addr[i]);
i573drivers/net/depca.cfor (i=0, j = lp->rxRingMask; j>0; i++) {
i576drivers/net/depca.clp->rx_rlen = (s32)(i << 29);
i577drivers/net/depca.cfor (i=0, j = lp->txRingMask; j>0; i++) {
i580drivers/net/depca.clp->tx_rlen = (s32)(i << 29);
i625drivers/net/depca.cfor (dev->irq=0,i=0; (depca_irq[i]) && (!dev->irq); i++) {
i626drivers/net/depca.cif (irqnum == depca_irq[i]) {
i739drivers/net/depca.cu_int i;
i749drivers/net/depca.cfor (i = 0; i <= lp->rxRingMask; i++) {
i750drivers/net/depca.cwritel((p=lp->dma_buffs+i*RX_BUFF_SZ) | R_OWN, &lp->rx_ring[i].base);
i751drivers/net/depca.cwritew(-RX_BUFF_SZ, &lp->rx_ring[i].buf_length);
i752drivers/net/depca.clp->rx_memcpy[i]=(char *)(p+lp->bus_offset);
i754drivers/net/depca.cfor (i = 0; i <= lp->txRingMask; i++) {
i755drivers/net/depca.cwritel((p=lp->dma_buffs+(i+lp->txRingMask+1)*TX_BUFF_SZ) & 0x00ffffff,
i756drivers/net/depca.c&lp->tx_ring[i].base);
i757drivers/net/depca.clp->tx_memcpy[i]=(char *)(p+lp->bus_offset);
i766drivers/net/depca.cfor (i = 0; i < ETH_ALEN; i++) {
i767drivers/net/depca.clp->init_block.phys_addr[i] = dev->dev_addr[i];
i893drivers/net/depca.cint i, entry;
i939drivers/net/depca.cfor (i=1; i<DEPCA_PKT_STAT_SZ-1; i++) {
i940drivers/net/depca.cif (pkt_len < (i*DEPCA_PKT_BIN_SZ)) {
i941drivers/net/depca.clp->pktStats.bins[i]++;
i942drivers/net/depca.ci = DEPCA_PKT_STAT_SZ;
i1091drivers/net/depca.cint i, status=0;
i1100drivers/net/depca.cfor (i=0;(i<100) && !(inw(DEPCA_DATA) & IDON); i++); 
i1102drivers/net/depca.cif (i!=100) {
i1107drivers/net/depca.cdev->name, i, lp->sh_mem, inw(DEPCA_DATA));
i1111drivers/net/depca.cdev->name, i, lp->sh_mem, inw(DEPCA_DATA));
i1169drivers/net/depca.cint i, j, bit, byte;
i1174drivers/net/depca.cfor (i=0; i<(HASH_TABLE_LEN>>3); i++) {
i1175drivers/net/depca.clp->init_block.mcast_table[i] = (char)0xff;
i1178drivers/net/depca.cfor (i=0; i<(HASH_TABLE_LEN>>3); i++){ /* Clear the multicast table */
i1179drivers/net/depca.clp->init_block.mcast_table[i]=0;
i1182drivers/net/depca.cfor (i=0;i<dev->mc_count;i++) {        /* for each address in the list */
i1214drivers/net/depca.cint i = num_depcas, maxSlots;
i1219drivers/net/depca.cif (i >= MAX_NUM_DEPCAS) return;             /* Too many ISA adapters */
i1224drivers/net/depca.cports[i] = ioaddr;
i1225drivers/net/depca.cmaxSlots = i + 1;
i1228drivers/net/depca.cfor (; (i<maxSlots) && (dev!=NULL) && ports[i]; i++) {
i1229drivers/net/depca.cif (DevicePresent(ports[i]) == 0) { 
i1230drivers/net/depca.cif (check_region(ports[i], DEPCA_TOTAL_SIZE) == 0) {
i1231drivers/net/depca.cif ((dev = alloc_device(dev, ports[i])) != NULL) {
i1232drivers/net/depca.cif (depca_hw_init(dev, ports[i]) == 0) {
i1238drivers/net/depca.cprintk("%s: region already allocated at 0x%04x.\n", dev->name,ports[i]);
i1252drivers/net/depca.cint i, maxSlots;
i1261drivers/net/depca.ci = 1;
i1265drivers/net/depca.ci = (ioaddr >> 12);
i1266drivers/net/depca.cmaxSlots = i + 1;
i1270drivers/net/depca.cfor (; (i<maxSlots) && (dev!=NULL); i++, iobase+=EISA_SLOT_INC) {
i1407drivers/net/depca.cu_int i,j,k;
i1411drivers/net/depca.cfor (i=0;i<16;i++) {                  /* copy the first 16 bytes of ROM to */
i1412drivers/net/depca.ctmpstr[i] = readb(paddr+0xc000+i);  /* a temporary string */
i1416drivers/net/depca.cfor (i=0;*signatures[i]!='\0' && *name=='\0';i++) {
i1417drivers/net/depca.cfor (j=0,k=0;j<16 && k<strlen(signatures[i]);j++) {
i1418drivers/net/depca.cif (signatures[i][k] == tmpstr[j]) {              /* track signature */
i1424drivers/net/depca.cif (k == strlen(signatures[i])) {
i1425drivers/net/depca.cstrcpy(name,signatures[i]);
i1429drivers/net/depca.cadapter = i - 1;
i1461drivers/net/depca.cint i, j, status = 0;
i1476drivers/net/depca.cfor (i=0,j=0;j<sigLength && i<PROBE_LENGTH+sigLength-1;i++) {
i1504drivers/net/depca.cint i, k, tmp, status = 0;
i1509drivers/net/depca.cfor (i=0,k=0,j=0;j<3;j++) {
i1514drivers/net/depca.cdev->dev_addr[i++] = (u_char) tmp;
i1516drivers/net/depca.cdev->dev_addr[i++] = (u_char) tmp;
i1535drivers/net/depca.cint i, entry, end, len, status = 0;
i1554drivers/net/depca.cfor (i = entry; i != end; i = (++i) & lp->txRingMask) {
i1556drivers/net/depca.cwritel(readl(&lp->tx_ring[i].base) & ~T_FLAGS, &lp->tx_ring[i].base);
i1557drivers/net/depca.cwritew(0x0000, &lp->tx_ring[i].misc);    /* clears other error flags */
i1558drivers/net/depca.cwritew(-TX_BUFF_SZ, &lp->tx_ring[i].length);/* packet length in buffer */
i1571drivers/net/depca.cfor (i=end; i!=entry; --i) {
i1573drivers/net/depca.cwritel(readl(&lp->tx_ring[i].base) | T_OWN, &lp->tx_ring[i].base);
i1574drivers/net/depca.cif (i == 0) i=lp->txRingMask+1;
i1591drivers/net/depca.cu_int i;
i1610drivers/net/depca.cfor (i=0;(*signatures[i] != '\0') && (*name == '\0');i++) {
i1611drivers/net/depca.cif (strstr(ManCode, signatures[i]) != NULL) {
i1625drivers/net/depca.cint i; 
i1635drivers/net/depca.cfor (i=0;i<lp->rxRingMask;i++){
i1636drivers/net/depca.cif (i < 3) {
i1637drivers/net/depca.cprintk("0x%8.8lx ", (long) &lp->rx_ring[i].base);
i1640drivers/net/depca.cprintk("...0x%8.8lx\n", (long) &lp->rx_ring[i].base);
i1642drivers/net/depca.cfor (i=0;i<lp->txRingMask;i++){
i1643drivers/net/depca.cif (i < 3) {
i1644drivers/net/depca.cprintk("0x%8.8lx ", (long) &lp->tx_ring[i].base);
i1647drivers/net/depca.cprintk("...0x%8.8lx\n", (long) &lp->tx_ring[i].base);
i1649drivers/net/depca.cfor (i=0;i<lp->rxRingMask;i++){
i1650drivers/net/depca.cif (i < 3) {
i1651drivers/net/depca.cprintk("0x%8.8x  ", readl(&lp->rx_ring[i].base));
i1654drivers/net/depca.cprintk("...0x%8.8x\n", readl(&lp->rx_ring[i].base));
i1656drivers/net/depca.cfor (i=0;i<lp->txRingMask;i++){
i1657drivers/net/depca.cif (i < 3) {
i1658drivers/net/depca.cprintk("0x%8.8x  ", readl(&lp->tx_ring[i].base));
i1661drivers/net/depca.cprintk("...0x%8.8x\n", readl(&lp->tx_ring[i].base));
i1665drivers/net/depca.cfor (i=0;i<ETH_ALEN-1;i++){
i1666drivers/net/depca.cprintk("%2.2x:",(u_char)readb(&p->phys_addr[i]));
i1668drivers/net/depca.cprintk("%2.2x\n",(u_char)readb(&p->phys_addr[i]));
i1670drivers/net/depca.cfor (i=0;i<(HASH_TABLE_LEN >> 3)-1;i++){
i1671drivers/net/depca.cprintk("%2.2x:",(u_char)readb(&p->mcast_table[i]));
i1673drivers/net/depca.cprintk("%2.2x\n",(u_char)readb(&p->mcast_table[i]));
i1703drivers/net/depca.cint i, status = 0;
i1713drivers/net/depca.cfor (i=0; i<ETH_ALEN; i++) {
i1714drivers/net/depca.ctmp.addr[i] = dev->dev_addr[i];
i1726drivers/net/depca.cfor (i=0; i<ETH_ALEN; i++) {
i1727drivers/net/depca.cdev->dev_addr[i] = tmp.addr[i];
i1838drivers/net/depca.ci=0;
i1839drivers/net/depca.ctmp.sval[i++] = inw(DEPCA_NICSR);
i1841drivers/net/depca.ctmp.sval[i++] = inw(DEPCA_DATA);
i1842drivers/net/depca.cmemcpy(&tmp.sval[i], &lp->init_block, sizeof(struct depca_init));
i1843drivers/net/depca.cioc->len = i+sizeof(struct depca_init);
i55drivers/net/dlci.cint i;
i60drivers/net/dlci.cfor (i=0;i<sizeof(basename) / sizeof(char *);i++)
i62drivers/net/dlci.cif (!basename[i])
i66drivers/net/dlci.cif (strcmp(basename[i], name) == 0)
i70drivers/net/dlci.cif (i == sizeof(basename) / sizeof(char *))
i73drivers/net/dlci.cbasename[i] = (char *) name;
i80drivers/net/dlci.cint i;
i85drivers/net/dlci.cfor (i=0;i<sizeof(basename) / sizeof(char *);i++)
i86drivers/net/dlci.cif (basename[i] && (strcmp(basename[i], name) == 0))
i89drivers/net/dlci.cif (i == sizeof(basename) / sizeof(char *))
i92drivers/net/dlci.cbasename[i] = NULL;
i253drivers/net/dlci.cint                 err, i;
i271drivers/net/dlci.cfor (i=0;i<sizeof(basename) / sizeof(char *); i++)
i272drivers/net/dlci.cif ((basename[i]) && 
i273drivers/net/dlci.c(strncmp(dlci.devname, basename[i], strlen(basename[i])) == 0) && 
i274drivers/net/dlci.c(strlen(dlci.devname) > strlen(basename[i])))
i277drivers/net/dlci.cif (i == sizeof(basename) / sizeof(char *))
i281drivers/net/dlci.cfor(i=0;i<CONFIG_DLCI_COUNT;i++)
i282drivers/net/dlci.cif (!open_dev[i])
i285drivers/net/dlci.cif (i == CONFIG_DLCI_COUNT)
i289drivers/net/dlci.csprintf(buf, "%s%02i", devname, i);
i333drivers/net/dlci.copen_dev[i] = master;
i345drivers/net/dlci.cint               i, err;
i360drivers/net/dlci.cfor(i=0;i<CONFIG_DLCI_COUNT;i++)
i361drivers/net/dlci.cif (master == open_dev[i])
i364drivers/net/dlci.cif (i<CONFIG_DLCI_COUNT)
i365drivers/net/dlci.copen_dev[i] = NULL;
i521drivers/net/dlci.cint i;
i548drivers/net/dlci.cfor (i = 0; i < DEV_NUMBUFFS; i++) 
i549drivers/net/dlci.cskb_queue_head_init(&dev->buffs[i]);
i556drivers/net/dlci.cint i;
i560drivers/net/dlci.cfor(i=0;i<CONFIG_DLCI_COUNT;i++)
i561drivers/net/dlci.copen_dev[i] = NULL;
i563drivers/net/dlci.cfor(i=0;i<sizeof(basename) / sizeof(char *);i++)
i564drivers/net/dlci.cbasename[i] = NULL;
i582drivers/net/dlci.cint                 i;
i586drivers/net/dlci.cfor(i=0;i<CONFIG_DLCI_COUNT;i++)
i587drivers/net/dlci.cif (open_dev[i])
i589drivers/net/dlci.cdlp = open_dev[i]->priv;
i590drivers/net/dlci.cflp = open_dev[i]->slave->priv;
i592drivers/net/dlci.cif (open_dev[i]->start)
i595drivers/net/dlci.c(*flp->deactivate)(open_dev[i]->slave, open_dev[i]);
i596drivers/net/dlci.copen_dev[i]->start = 0;
i599drivers/net/dlci.c(*flp->deassoc)(open_dev[i]->slave, open_dev[i]);
i600drivers/net/dlci.ckfree(open_dev[i]->priv);
i601drivers/net/dlci.ckfree(open_dev[i]->name);
i602drivers/net/dlci.ckfree(open_dev[i]);
i603drivers/net/dlci.copen_dev[i] = NULL;
i140drivers/net/e2100.cint i, status;
i158drivers/net/e2100.cfor (i = 0; i < 6; i++)
i159drivers/net/e2100.cstation_addr[i] = inb(ioaddr + E21_SAPROM + i);
i174drivers/net/e2100.cfor (i = 0; i < 6; i++)
i175drivers/net/e2100.cprintk(" %02X", station_addr[i]);
i178drivers/net/e2100.cint irqlist[] = {15,11,10,12,5,9,3,4}, i;
i179drivers/net/e2100.cfor (i = 0; i < 8; i++)
i180drivers/net/e2100.cif (request_irq (irqlist[i], NULL, 0, "bogus", NULL) != -EBUSY) {
i181drivers/net/e2100.cdev->irq = irqlist[i];
i184drivers/net/e2100.cif (i >= 8) {
i217drivers/net/e2100.cfor(i = 0; i < 6; i++)
i218drivers/net/e2100.cif (station_addr[i] != inb(ioaddr + E21_SAPROM + 8 + i)) {
i278drivers/net/eepro.cint i;
i286drivers/net/eepro.cfor (i = 0; eepro_portlist[i]; i++) {
i287drivers/net/eepro.cint ioaddr = eepro_portlist[i];
i305drivers/net/eepro.cint i;
i349drivers/net/eepro.cfor (i=0; i < 6; i++) {
i350drivers/net/eepro.cdev->dev_addr[i] = ((unsigned char *) station_addr)[5-i];
i351drivers/net/eepro.cprintk("%c%02x", i ? ':' : ' ', dev->dev_addr[i]);
i361drivers/net/eepro.ci = read_eeprom(ioaddr, 1);
i362drivers/net/eepro.cswitch (i & 0x07) {
i390drivers/net/eepro.ci = read_eeprom(ioaddr, 5);
i391drivers/net/eepro.cif (i & 0x2000) /* bit 13 of EEPROM word 5 */
i501drivers/net/eepro.cint i, ioaddr = dev->base_addr;
i529drivers/net/eepro.cfor (i=0; i < 6; i++) 
i530drivers/net/eepro.coutb(dev->dev_addr[i] , ioaddr + I_ADD_REG0 + i); 
i811drivers/net/eepro.cint i, boguscount = 0;
i829drivers/net/eepro.cfor (i = 0; i < dev->mc_count; i++) 
i845drivers/net/eepro.ci = lp->tx_end + XMT_HEADER + 6*(dev->mc_count + 1);
i851drivers/net/eepro.coutw(i, ioaddr + IO_PORT);
i855drivers/net/eepro.clp->tx_end = i ;
i857drivers/net/eepro.celse 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--) {
i274drivers/net/eexpress.cint i;
i275drivers/net/eexpress.cfor ( i=0 ; i<4 ; i++ ) 
i697drivers/net/eexpress.cint i;
i714drivers/net/eexpress.cfor ( i=0 ; i<6 ; i++ ) 
i715drivers/net/eexpress.cdev->dev_addr[i] = chw_addr[5-i];
i807drivers/net/eexpress.cint i;
i810drivers/net/eexpress.cfor ( i=0x100 ; i ; i>>=1 ) 
i812drivers/net/eexpress.cif (cmd&i) 
i825drivers/net/eexpress.cfor ( i=0x8000 ; i ; i>>=1 ) 
i830drivers/net/eexpress.crval |= i;
i214drivers/net/eql.cint i;
i254drivers/net/eql.cfor (i = 0; i < DEV_NUMBUFFS; i++)
i255drivers/net/eql.cskb_queue_head_init(&dev->buffs[i]);
i906drivers/net/eql.cint i;
i909drivers/net/eql.cfor (i = 1, slave = eql_first_slave (queue);
i910drivers/net/eql.ci <= eql_number_slaves (queue);
i911drivers/net/eql.ci++, slave = eql_next_slave (queue, slave))
i1041drivers/net/eql.cint i;
i1046drivers/net/eql.cfor (i = 1, slave = eql_first_slave (eql->queue);
i1047drivers/net/eql.ci <= eql_number_slaves (eql->queue);
i1048drivers/net/eql.ci++, slave = eql_next_slave (eql->queue, slave))
i345drivers/net/eth16i.cint i;
i358drivers/net/eth16i.cfor(i = 0; (ioaddr = eth16i_portlist[i]) ; i++) {
i366drivers/net/eth16i.cfor(i = 0; (ioaddr = eth32i_portlist[i]) ; i++) {
i470drivers/net/eth16i.cint i, node_w = 0;
i475drivers/net/eth16i.cfor(i = 0 ; i < 3 ; i++) {
i476drivers/net/eth16i.cunsigned short node_val = eth16i_read_eeprom(ioaddr, E_NODEID_0 + i);
i477drivers/net/eth16i.c((unsigned short *)dev->dev_addr)[i] = ntohs(node_val);
i480drivers/net/eth16i.cfor(i = 0; i < 6; i++) { 
i481drivers/net/eth16i.coutb( ((unsigned char *)dev->dev_addr)[i], ioaddr + NODE_ID_0 + i);
i483drivers/net/eth16i.cprintk("%02x", inb(ioaddr + NODE_ID_0 + i));
i484drivers/net/eth16i.cif(i != 5)
i491drivers/net/eth16i.cfor(i = 0; i < 8; i++) 
i492drivers/net/eth16i.coutb(0x00, ioaddr + HASH_TABLE_0 + i);
i541drivers/net/eth16i.cint i;
i552drivers/net/eth16i.cfor(i = 0; i < 6; i++) {
i553drivers/net/eth16i.cdummy_packet[i] = inb(ioaddr + NODE_ID_0 + i);
i554drivers/net/eth16i.cdummy_packet[i+6] = inb(ioaddr + NODE_ID_0 + i);
i562drivers/net/eth16i.cfor(i = 0; i < 3; i++) {
i565drivers/net/eth16i.ceth16i_set_port(ioaddr, i);
i568drivers/net/eth16i.cprintk("Set port number %d\n", i);
i575drivers/net/eth16i.cprintk("Eth16i interface port found at %d\n", i);
i576drivers/net/eth16i.creturn i;
i697drivers/net/eth16i.cint i;
i700drivers/net/eth16i.cfor(i = 0; i < 4 ; i++) {
i702drivers/net/eth16i.ccreg[i] = inb(ioaddr + TRANSMIT_MODE_REG + i);
i705drivers/net/eth16i.cprintk("eth16i: read signature byte %x at %x\n", creg[i],
i706drivers/net/eth16i.cioaddr + TRANSMIT_MODE_REG + i);
i754drivers/net/eth16i.cint i;
i757drivers/net/eth16i.cfor(i = 16; i > 0; i--) {
i771drivers/net/eth16i.cint i;
i779drivers/net/eth16i.cfor(i = 7; i >= 0; i--) {
i780drivers/net/eth16i.cshort cmd = ( (command & (1 << i)) ? DI_1 : DI_0 );
i1056drivers/net/eth16i.cint i;
i1058drivers/net/eth16i.cfor(i = 0; i < 14; i++) 
i1059drivers/net/eth16i.cprintk(" %02x", skb->data[i]);
i1072drivers/net/eth16i.cint i;
i1074drivers/net/eth16i.cfor(i = 0; i < 20; i++) {
i379drivers/net/ewrk3.cint i, status=0;
i400drivers/net/ewrk3.cfor (chksum=0, i=0; i<EEPROM_MAX; i+=2) {
i406drivers/net/ewrk3.ctmp.val = (short)Read_EEPROM(iobase, (i>>1));
i407drivers/net/ewrk3.ceeprom_image[i] = tmp.c[0];
i408drivers/net/ewrk3.ceeprom_image[i+1] = tmp.c[1];
i409drivers/net/ewrk3.cchksum += eeprom_image[i] + eeprom_image[i+1];
i443drivers/net/ewrk3.cfor (i = 0; i < ETH_ALEN - 1; i++) { /* get the ethernet addr. */
i444drivers/net/ewrk3.cprintk("%2.2x:", dev->dev_addr[i]);
i446drivers/net/ewrk3.cprintk("%2.2x,\n", dev->dev_addr[i]);
i618drivers/net/ewrk3.cint i, status = 0;
i642drivers/net/ewrk3.cfor (i=0;i<5;i++){
i643drivers/net/ewrk3.cprintk("%2.2x:",(u_char)dev->dev_addr[i]);
i645drivers/net/ewrk3.cprintk("%2.2x\n",(u_char)dev->dev_addr[i]);
i807drivers/net/ewrk3.cint i;
i814drivers/net/ewrk3.cfor (i=0; i<skb->len; i++) {
i942drivers/net/ewrk3.cint i, status = 0;
i1010drivers/net/ewrk3.cfor (i=0; i<pkt_len; i++) {
i1028drivers/net/ewrk3.cfor (i=1; i<EWRK3_PKT_STAT_SZ-1; i++) {
i1029drivers/net/ewrk3.cif (pkt_len < i*EWRK3_PKT_BIN_SZ) {
i1030drivers/net/ewrk3.clp->pktStats.bins[i]++;
i1031drivers/net/ewrk3.ci = EWRK3_PKT_STAT_SZ;
i1213drivers/net/ewrk3.cint i;
i1229drivers/net/ewrk3.cfor (i=0; i<(HASH_TABLE_LEN >> 3); i++) {
i1234drivers/net/ewrk3.cp++; i++;
i1240drivers/net/ewrk3.cfor (i=0; i<(HASH_TABLE_LEN >> 4) - 1; i++) {
i1243drivers/net/ewrk3.coutb(0x80, EWRK3_DATA); i++;           /* insert the broadcast bit */
i1244drivers/net/ewrk3.cfor (; i<(HASH_TABLE_LEN >> 3); i++) {
i1253drivers/net/ewrk3.cfor (i=0;i<dev->mc_count;i++) {          /* for each address in the list */
i1294drivers/net/ewrk3.cint i = num_ewrk3s, maxSlots;
i1305drivers/net/ewrk3.cmaxSlots = i + 1;
i1308drivers/net/ewrk3.cfor (; (i<maxSlots) && (dev!=NULL);iobase+=EWRK3_IOP_INC, i++) {
i1332drivers/net/ewrk3.cint i, maxSlots;
i1341drivers/net/ewrk3.ci = 1;
i1345drivers/net/ewrk3.ci = (ioaddr >> 12);
i1346drivers/net/ewrk3.cmaxSlots = i + 1;
i1349drivers/net/ewrk3.cfor (i=1; (i<maxSlots) && (dev!=NULL); i++, iobase+=EISA_SLOT_INC) {
i1484drivers/net/ewrk3.cint i;
i1488drivers/net/ewrk3.cfor (i=0;i<5000;i++) inb(EWRK3_CSR);  /* wait 1msec */
i1498drivers/net/ewrk3.cint i;
i1501drivers/net/ewrk3.cfor (i=0;i<5000;i++) inb(EWRK3_CSR);  /* wait 1msec */
i1505drivers/net/ewrk3.cfor (i=0;i<75000;i++) inb(EWRK3_CSR); /* wait 15msec */
i1507drivers/net/ewrk3.cfor (i=0;i<5000;i++) inb(EWRK3_CSR);  /* wait 1msec */
i1517drivers/net/ewrk3.cu_long i,j,k;
i1521drivers/net/ewrk3.cfor (i=0;*signatures[i] != '\0' && *name == '\0';i++) {
i1522drivers/net/ewrk3.cfor (j=EEPROM_PNAME7,k=0;j<=EEPROM_PNAME0 && k<strlen(signatures[i]);j++) {
i1523drivers/net/ewrk3.cif (signatures[i][k] == eeprom_image[j]) {          /* track signature */
i1529drivers/net/ewrk3.cif (k == strlen(signatures[i])) {
i1563drivers/net/ewrk3.cint i, j, status = 0;
i1569drivers/net/ewrk3.cfor (i=0,j=0;j<sigLength && i<PROBE_LENGTH+sigLength-1;i++) {
i1591drivers/net/ewrk3.cint i, j, k;
i1608drivers/net/ewrk3.cfor (i=0,k=0;i<ETH_ALEN;) {
i1613drivers/net/ewrk3.cdev->dev_addr[i] = (u_char) tmp;
i1614drivers/net/ewrk3.coutb(dev->dev_addr[i], EWRK3_PAR0 + i);
i1615drivers/net/ewrk3.ci++;
i1617drivers/net/ewrk3.cdev->dev_addr[i] = (u_char) tmp;
i1618drivers/net/ewrk3.coutb(dev->dev_addr[i], EWRK3_PAR0 + i);
i1619drivers/net/ewrk3.ci++;
i1637drivers/net/ewrk3.cu_long i;
i1647drivers/net/ewrk3.cfor (i=0; i<4; i++) {
i1648drivers/net/ewrk3.cEisa.Id[i] = inb(eisa_id + i);
i1658drivers/net/ewrk3.cfor (i=0;(*signatures[i] != '\0') && (*name == '\0');i++) {
i1659drivers/net/ewrk3.cif (strstr(ManCode, signatures[i]) != NULL) {
i1677drivers/net/ewrk3.cint i, j, status = 0;
i1686drivers/net/ewrk3.cfor (i=0; i<ETH_ALEN; i++) {
i1687drivers/net/ewrk3.ctmp.addr[i] = dev->dev_addr[i];
i1703drivers/net/ewrk3.cfor (i=0; i<ETH_ALEN; i++) {
i1704drivers/net/ewrk3.cdev->dev_addr[i] = tmp.addr[i];
i1705drivers/net/ewrk3.coutb(tmp.addr[i], EWRK3_PAR0 + i);
i1747drivers/net/ewrk3.cfor (i=0; i<(HASH_TABLE_LEN >> 3); i++) {
i1748drivers/net/ewrk3.ctmp.addr[i] = inb(EWRK3_DATA);
i1830drivers/net/ewrk3.cfor (i=0; i<(EEPROM_MAX>>1); i++) {
i1831drivers/net/ewrk3.ctmp.val[i] = (short)Read_EEPROM(iobase, i);
i1833drivers/net/ewrk3.ci = EEPROM_MAX;
i1834drivers/net/ewrk3.ctmp.addr[i++] = inb(EWRK3_CMR);            /* Config/Management Reg. */
i1836drivers/net/ewrk3.ctmp.addr[i++] = inb(EWRK3_PAR0 + j);
i1851drivers/net/ewrk3.cfor (i=0; i<(EEPROM_MAX>>1); i++) {
i1852drivers/net/ewrk3.cWrite_EEPROM(tmp.val[i], iobase, i);
i135drivers/net/fmv18x.cint i;
i143drivers/net/fmv18x.cfor (i = 0; fmv18x_probe_list[i]; i++) {
i144drivers/net/fmv18x.cint ioaddr = fmv18x_probe_list[i];
i166drivers/net/fmv18x.cunsigned int i, irq;
i203drivers/net/fmv18x.cfor(i = 0; i < 6; i++) {
i204drivers/net/fmv18x.cunsigned char val = inb(ioaddr + FJ_MACADDR + i);
i206drivers/net/fmv18x.cdev->dev_addr[i] = val;
i239drivers/net/fmv18x.cfor (i = 0; i < 6; i++)
i240drivers/net/fmv18x.coutb(dev->dev_addr[i], ioaddr + 8 + i);
i244drivers/net/fmv18x.cfor (i = 0; i < 8; i++)
i245drivers/net/fmv18x.coutb(0x00, ioaddr + 8 + i);
i518drivers/net/fmv18x.cint i;
i520drivers/net/fmv18x.cfor (i = 0; i < 14; i++)
i521drivers/net/fmv18x.cprintk(" %02x", skb->data[i]);
i537drivers/net/fmv18x.cint i;
i538drivers/net/fmv18x.cfor (i = 0; i < 20; i++) {
i545drivers/net/fmv18x.cif (net_debug > 5 && i > 0)
i547drivers/net/fmv18x.cdev->name, inb(ioaddr + RX_MODE), i);
i126drivers/net/hp-plus.cint i;
i134drivers/net/hp-plus.cfor (i = 0; hpplus_portlist[i]; i++) {
i135drivers/net/hp-plus.cint ioaddr = hpplus_portlist[i];
i149drivers/net/hp-plus.cint i;
i174drivers/net/hp-plus.cfor(i = 0; i < ETHER_ADDR_LEN; i++) {
i175drivers/net/hp-plus.cunsigned char inval = inb(ioaddr + 8 + i);
i176drivers/net/hp-plus.cdev->dev_addr[i] = inval;
i87drivers/net/hp.cint i;
i95drivers/net/hp.cfor (i = 0; hppclan_portlist[i]; i++) {
i96drivers/net/hp.cint ioaddr = hppclan_portlist[i];
i109drivers/net/hp.cint i, board_id, wordmode;
i143drivers/net/hp.cfor(i = 0; i < ETHER_ADDR_LEN; i++)
i144drivers/net/hp.cprintk(" %2.2x", dev->dev_addr[i] = inb(ioaddr + i));
i302drivers/net/hp100.cint i;
i332drivers/net/hp100.cfor ( i = uc = eisa_id = 0; i < 4; i++ )
i335drivers/net/hp100.cuc_1 = hp100_inb( BOARD_ID + i );
i351drivers/net/hp100.cfor ( i = 0; i < sizeof( hp100_eisa_ids ) / sizeof( struct hp100_eisa_id ); i++ )
i352drivers/net/hp100.cif ( ( hp100_eisa_ids[ i ].id & 0xf0ffffff ) == ( eisa_id & 0xf0ffffff ) )
i354drivers/net/hp100.cif ( i >= sizeof( hp100_eisa_ids ) / sizeof( struct hp100_eisa_id ) )
i359drivers/net/hp100.ceid = &hp100_eisa_ids[ i ];
i367drivers/net/hp100.cfor ( i = uc = 0; i < 7; i++ )
i368drivers/net/hp100.cuc += hp100_inb( LAN_ADDR + i );
i436drivers/net/hp100.cfor ( i = uc = 0; i < 6; i++ )
i437drivers/net/hp100.cdev -> dev_addr[ i ] = hp100_inb( LAN_ADDR + i );
i487drivers/net/hp100.cint i;
i524drivers/net/hp100.cfor ( i = 0; i < 6; i++ )
i525drivers/net/hp100.chp100_outb( dev -> dev_addr[ i ], MAC_ADDR + i );
i526drivers/net/hp100.cfor ( i = 0; i < 8; i++ )    /* setup multicast filter to receive all */
i527drivers/net/hp100.chp100_outb( 0xff, HASH_BYTE0 + i );
i576drivers/net/hp100.cint i, ok_flag;
i595drivers/net/hp100.cif ( ( i = ( hp100_inl( TX_MEM_FREE ) & ~0x7fffffff ) ) < skb -> len + 16 )
i598drivers/net/hp100.cprintk( "hp100_start_xmit: rx free mem = 0x%x\n", i );
i612drivers/net/hp100.ci = hp100_sense_lan( dev );
i615drivers/net/hp100.cif ( i == HP100_LAN_ERR )
i618drivers/net/hp100.cif ( lp -> lan_type != i )
i622drivers/net/hp100.clp -> lan_type = i;
i647drivers/net/hp100.cfor ( i = 0; i < 6000 && ( hp100_inw( OPTION_MSW ) & HP100_TX_CMD ); i++ )
i661drivers/net/hp100.ci = ok_flag ? skb -> len : HP100_MIN_PACKET_SIZE;
i662drivers/net/hp100.chp100_outw( i, DATA32 );    /* length to memory manager */
i663drivers/net/hp100.chp100_outw( i, FRAGMENT_LEN );
i683drivers/net/hp100.cfor ( i = ( skb -> len + 3 ) & ~3; i < HP100_MIN_PACKET_SIZE; i += 4 )
i983drivers/net/hp100.cint i;
i989drivers/net/hp100.cfor ( i = 0; i < 6000; i++ )
i998drivers/net/hp100.cint i;
i1013drivers/net/hp100.cfor ( i = 0; i < 2500; i++ )
i1025drivers/net/hp100.cint i;
i1028drivers/net/hp100.cfor ( i = 2500; i > 0; i-- )
i1030drivers/net/hp100.cif ( i <= 0 )        /* not signal - not logout */
i1047drivers/net/hp100.cint i;
i1073drivers/net/hp100.cfor ( i = 2500; i > 0; i-- )
i1075drivers/net/hp100.cif ( i <= 0 )
i185drivers/net/ibmtr.cshort i, j;
i186drivers/net/ibmtr.cfor (i=0, j=0; i<24; i++, j+=stride) 
i193drivers/net/ibmtr.cshort i, j;
i194drivers/net/ibmtr.cfor (i=0, j=0; i<24; i++, j+=stride)
i212drivers/net/ibmtr.cunsigned char segment=0, intr=0, irq=0, i=0, j=0, cardpresent=NOTOK,temp=0;
i283drivers/net/ibmtr.cfor (i=2,j=1; i<=46; i=i+2,j++) {
i284drivers/net/ibmtr.cif ((readb(cd_chanid+i) & 0x0f) != tchanid[j]) {
i387drivers/net/ibmtr.cfor (i=0; i<0x18; i=i+2) {
i389drivers/net/ibmtr.ctemp = readb(ti->mmio + AIP + i) & 0x0f;
i688drivers/net/ibmtr.cint i;
i695drivers/net/ibmtr.cfor(i=0; i<8; i++, check_reason++)
i1042drivers/net/ibmtr.cint i;
i1044drivers/net/ibmtr.cfor (i=0;i<17;i++) printk("%02X ", (int)readb(ti->init_srb+i));
i1071drivers/net/ibmtr.cfor(i=0;i<TR_ALEN;i++) {
i1072drivers/net/ibmtr.cdev->dev_addr[i]=readb(encoded_addr + i);
i1073drivers/net/ibmtr.cprintk("%02X%s", dev->dev_addr[i], (i==TR_ALEN-1) ? "" : ":" );
i1085drivers/net/ibmtr.cint i;
i1107drivers/net/ibmtr.cfor (i=jiffies+TR_RESET_INTERVAL; jiffies<=i;); /* wait 50ms */
i1121drivers/net/ibmtr.cint i;
i1125drivers/net/ibmtr.cfor (i=0; i<sizeof(struct dlc_open_sap); i++)
i1126drivers/net/ibmtr.cwriteb(0, ti->srb+i);
i1146drivers/net/ibmtr.cint i;
i1157drivers/net/ibmtr.cfor (i=0; i<sizeof(struct dir_open_adapter); i++)
i1158drivers/net/ibmtr.cwriteb(0, ti->init_srb+i);
i1191drivers/net/ibmtr.cint i;
i1224drivers/net/ibmtr.cfor (i=0; i<TR_ALEN; i++) writeb((int)0x0FF, dhb+i+2);
i1225drivers/net/ibmtr.cfor (i=0; i<TR_ALEN; i++) writeb(0, dhb+i+TR_ALEN+2);
i1255drivers/net/ibmtr.cfor (i=0; i<hdr_len; i++)
i1256drivers/net/ibmtr.cwriteb(*(unsigned char *)(ti->current_skb->data +i), dhb++);
i1263drivers/net/ibmtr.cfor (i=0; i<ti->current_skb->len-sizeof(struct trh_hdr); i++)
i1264drivers/net/ibmtr.cwriteb(*(unsigned char *)(ti->current_skb->data +sizeof(struct trh_hdr)+i),
i1265drivers/net/ibmtr.cdhb+i);
i1276drivers/net/ibmtr.cint i;
i1382drivers/net/ibmtr.cfor (i=0; i<lan_hdr_len; i++) 
i1383drivers/net/ibmtr.cdata[i]=readb(rbuffer + offsetof(struct rec_buf, data)+i);
i1402drivers/net/ibmtr.cfor (i=0; i<rbuffer_len; i++)
i1403drivers/net/ibmtr.cdata[i]=readb(rbuffer+ offsetof(struct rec_buf, data)+lan_hdr_len+i);
i1410drivers/net/ibmtr.cfor (i=0; i<rbuffer_len; i++)
i1411drivers/net/ibmtr.cdata[i]=readb(rbuffer + offsetof(struct rec_buf, data)+i);
i372drivers/net/lance.cint i, reset_val, lance_version;
i435drivers/net/lance.cfor (i = 0; i < 6; i++)
i436drivers/net/lance.cprintk(" %2.2x", dev->dev_addr[i] = inb(ioaddr + i));
i465drivers/net/lance.cfor (i = 0; i < 6; i++)
i466drivers/net/lance.clp->init_block.phys_addr[i] = dev->dev_addr[i];
i550drivers/net/lance.cfor (i = 0; i < 4; i++) {
i552drivers/net/lance.cint dma = dmas[i];
i579drivers/net/lance.cif (i == 4) {      /* Failure: bail. */
i611drivers/net/lance.cint i;
i665drivers/net/lance.ci = 0;
i666drivers/net/lance.cwhile (i++ < 100)
i677drivers/net/lance.cdev->name, i, (u32) virt_to_bus(&lp->init_block), inw(ioaddr+LANCE_DATA));
i698drivers/net/lance.cint i;
i700drivers/net/lance.cfor (i = 0; i < TX_RING_SIZE; i++) {
i701drivers/net/lance.cif (lp->tx_skbuff[i]) {
i702drivers/net/lance.cdev_kfree_skb(lp->tx_skbuff[i],FREE_WRITE);
i703drivers/net/lance.clp->tx_skbuff[i] = NULL;
i714drivers/net/lance.cint i;
i720drivers/net/lance.cfor (i = 0; i < RX_RING_SIZE; i++) {
i721drivers/net/lance.clp->rx_ring[i].base = (u32)virt_to_bus((char *)lp->rx_buffs + i*PKT_BUF_SZ) | 0x80000000;
i722drivers/net/lance.clp->rx_ring[i].buf_length = -PKT_BUF_SZ;
i726drivers/net/lance.cfor (i = 0; i < TX_RING_SIZE; i++) {
i727drivers/net/lance.clp->tx_ring[i].base = 0;
i731drivers/net/lance.cfor (i = 0; i < 6; i++)
i732drivers/net/lance.clp->init_block.phys_addr[i] = dev->dev_addr[i];
i773drivers/net/lance.cint i;
i777drivers/net/lance.cfor (i = 0 ; i < RX_RING_SIZE; i++)
i778drivers/net/lance.cprintk("%s %08x %04x %04x", i & 0x3 ? "" : "\n ",
i779drivers/net/lance.clp->rx_ring[i].base, -lp->rx_ring[i].buf_length,
i780drivers/net/lance.clp->rx_ring[i].msg_length);
i781drivers/net/lance.cfor (i = 0 ; i < TX_RING_SIZE; i++)
i782drivers/net/lance.cprintk("%s %08x %04x %04x", i & 0x3 ? "" : "\n ",
i783drivers/net/lance.clp->tx_ring[i].base, -lp->tx_ring[i].length,
i784drivers/net/lance.clp->tx_ring[i].misc);
i1010drivers/net/lance.cint i;
i1046drivers/net/lance.cfor (i=0; i < RX_RING_SIZE; i++)
i1047drivers/net/lance.cif (lp->rx_ring[(entry+i) & RX_RING_MOD_MASK].base < 0)
i1050drivers/net/lance.cif (i > RX_RING_SIZE -2) 
i1153drivers/net/lance.cint i;
i1159drivers/net/lance.cfor (i = 0; i < 4; i++) {
i1160drivers/net/lance.coutw(8 + i, ioaddr+LANCE_ADDR);
i1161drivers/net/lance.coutw(multicast_table[i], ioaddr+LANCE_DATA);
i152drivers/net/lance32.cint i;
i164drivers/net/lance32.cfor (i = 0; i < 6; i++)
i165drivers/net/lance32.clp->init_block.phys_addr[i] = dev->dev_addr[i];
i233drivers/net/lance32.cfor (i = 0; i < 4; i++) {
i235drivers/net/lance32.cint dma = dmas[i];
i262drivers/net/lance32.cif (i == 4) {      /* Failure: bail. */
i290drivers/net/lance32.cint i;
i339drivers/net/lance32.ci = 0;
i340drivers/net/lance32.cwhile (i++ < 100)
i351drivers/net/lance32.cdev->name, i, (u32) virt_to_bus(&lp->init_block), inw(ioaddr+LANCE_DATA));
i373drivers/net/lance32.cint i;
i375drivers/net/lance32.cfor (i = 0; i < TX_RING_SIZE; i++) {
i376drivers/net/lance32.cif (lp->tx_skbuff[i]) {
i377drivers/net/lance32.cdev_kfree_skb(lp->tx_skbuff[i],FREE_WRITE);
i378drivers/net/lance32.clp->tx_skbuff[i] = NULL;
i389drivers/net/lance32.cint i;
i395drivers/net/lance32.cfor (i = 0; i < RX_RING_SIZE; i++) {
i396drivers/net/lance32.clp->rx_ring[i].base = (u32)virt_to_bus((char *)lp->rx_buffs + i*PKT_BUF_SZ);
i397drivers/net/lance32.clp->rx_ring[i].buf_length = -PKT_BUF_SZ;
i398drivers/net/lance32.clp->rx_ring[i].status = 0x8000;      
i402drivers/net/lance32.cfor (i = 0; i < TX_RING_SIZE; i++) {
i403drivers/net/lance32.clp->tx_ring[i].base = 0;
i404drivers/net/lance32.clp->tx_ring[i].status = 0;
i409drivers/net/lance32.cfor (i = 0; i < 6; i++)
i410drivers/net/lance32.clp->init_block.phys_addr[i] = dev->dev_addr[i];
i447drivers/net/lance32.cint i;
i451drivers/net/lance32.cfor (i = 0 ; i < RX_RING_SIZE; i++)
i452drivers/net/lance32.cprintk("%s %08x %04x %04x", i & 0x3 ? "" : "\n ",
i453drivers/net/lance32.clp->rx_ring[i].base, -lp->rx_ring[i].buf_length,
i454drivers/net/lance32.clp->rx_ring[i].msg_length);
i455drivers/net/lance32.cfor (i = 0 ; i < TX_RING_SIZE; i++)
i456drivers/net/lance32.cprintk("%s %08x %04x %04x", i & 0x3 ? "" : "\n ",
i457drivers/net/lance32.clp->tx_ring[i].base, -lp->tx_ring[i].length,
i458drivers/net/lance32.clp->tx_ring[i].misc);
i668drivers/net/lance32.cint i;
i704drivers/net/lance32.cfor (i=0; i < RX_RING_SIZE; i++)
i705drivers/net/lance32.cif (lp->rx_ring[(entry+i) & RX_RING_MOD_MASK].status < 0)
i708drivers/net/lance32.cif (i > RX_RING_SIZE -2) 
i808drivers/net/lance32.cint i;
i814drivers/net/lance32.cfor (i = 0; i < 4; i++) {
i815drivers/net/lance32.coutw(8 + i, ioaddr+LANCE_ADDR);
i816drivers/net/lance32.coutw(multicast_table[i], ioaddr+LANCE_DATA);
i117drivers/net/loopback.cint i;
i148drivers/net/loopback.cfor (i = 0; i < DEV_NUMBUFFS; i++)
i149drivers/net/loopback.cskb_queue_head_init(&dev->buffs[i]);
i146drivers/net/ne.cint i;
i190drivers/net/ne.cfor (i = 0; netcard_portlist[i]; i++) {
i191drivers/net/ne.cint ioaddr = netcard_portlist[i];
i204drivers/net/ne.cint i;
i270drivers/net/ne.cfor (i = 0; i < sizeof(program_seq)/sizeof(program_seq[0]); i++)
i271drivers/net/ne.coutb_p(program_seq[i].value, ioaddr + program_seq[i].offset);
i274drivers/net/ne.cfor(i = 0; i < 32 /*sizeof(SA_prom)*/; i+=2) {
i275drivers/net/ne.cSA_prom[i] = inb(ioaddr + NE_DATAPORT);
i276drivers/net/ne.cSA_prom[i+1] = inb(ioaddr + NE_DATAPORT);
i277drivers/net/ne.cif (SA_prom[i] != SA_prom[i+1])
i287drivers/net/ne.cfor (i = 0; i < 16; i++)
i288drivers/net/ne.cSA_prom[i] = SA_prom[i+i];
i310drivers/net/ne.cfor (i = 0; bad_clone_list[i].name8; i++) {
i311drivers/net/ne.cif (SA_prom[0] == bad_clone_list[i].SAprefix[0] &&
i312drivers/net/ne.cSA_prom[1] == bad_clone_list[i].SAprefix[1] &&
i313drivers/net/ne.cSA_prom[2] == bad_clone_list[i].SAprefix[2]) {
i315drivers/net/ne.cname = bad_clone_list[i].name16;
i317drivers/net/ne.cname = bad_clone_list[i].name8;
i322drivers/net/ne.cif (bad_clone_list[i].name8 == NULL) {
i385drivers/net/ne.cfor(i = 0; i < ETHER_ADDR_LEN; i++) {
i386drivers/net/ne.cprintk(" %2.2x", SA_prom[i]);
i387drivers/net/ne.cdev->dev_addr[i] = SA_prom[i];
i77drivers/net/net_init.cint i;
i86drivers/net/net_init.cfor (i = 0; i < MAX_ETH_CARDS; ++i)
i87drivers/net/net_init.cif (ethdev_index[i] == NULL) {
i88drivers/net/net_init.csprintf(pname, "eth%d", i);
i116drivers/net/net_init.cfor (i = 0; i < MAX_ETH_CARDS; ++i)
i117drivers/net/net_init.cif (ethdev_index[i] == NULL) {
i118drivers/net/net_init.csprintf(dev->name, "eth%d", i);
i119drivers/net/net_init.cethdev_index[i] = dev;
i149drivers/net/net_init.cint i;
i152drivers/net/net_init.cfor (i = 0; i < DEV_NUMBUFFS; i++)
i153drivers/net/net_init.cskb_queue_head_init(&dev->buffs[i]);
i157drivers/net/net_init.ci = simple_strtoul(dev->name + 3, NULL, 0);
i158drivers/net/net_init.cif (ethdev_index[i] == NULL) {
i159drivers/net/net_init.cethdev_index[i] = dev;
i161drivers/net/net_init.celse if (dev != ethdev_index[i]) {
i195drivers/net/net_init.cint i;
i198drivers/net/net_init.cfor (i = 0; i < DEV_NUMBUFFS; i++)
i199drivers/net/net_init.cskb_queue_head_init(&dev->buffs[i]);
i244drivers/net/net_init.cint i=MAX_ETH_CARDS;
i252drivers/net/net_init.cfor (i = 0; i < MAX_ETH_CARDS; ++i)
i253drivers/net/net_init.cif (ethdev_index[i] == NULL) {
i254drivers/net/net_init.csprintf(dev->name, "eth%d", i);
i256drivers/net/net_init.cethdev_index[i] = dev;
i263drivers/net/net_init.cif (i < MAX_ETH_CARDS) ethdev_index[i] = NULL;
i287drivers/net/net_init.cint i;
i342drivers/net/net_init.cfor (i = 0; i < MAX_ETH_CARDS; ++i) 
i344drivers/net/net_init.cif (ethdev_index[i] == dev) 
i346drivers/net/net_init.cethdev_index[i] = NULL;
i333drivers/net/new_tunnel.cint i;
i356drivers/net/new_tunnel.cfor (i = 0; i < DEV_NUMBUFFS; i++)
i357drivers/net/new_tunnel.cskb_queue_head_init(&dev->buffs[i]);
i164drivers/net/ni52.c#define WAIT_4_SCB_CMD() { int i; \
i165drivers/net/ni52.cfor(i=0;i<16384;i++) { \
i168drivers/net/ni52.cif(i == 16383) { \
i172drivers/net/ni52.c#define WAIT_4_SCB_CMD_RUC() { int i; \
i173drivers/net/ni52.cfor(i=0;i<16384;i++) { \
i176drivers/net/ni52.cif(i == 16383) { \
i180drivers/net/ni52.c#define WAIT_4_STAT_COMPL(addr) { int i; \
i181drivers/net/ni52.cfor(i=0;i<32767;i++) { \
i286drivers/net/ni52.cint i;
i292drivers/net/ni52.cfor(i=0;i<sizeof(struct scp_struct);i++) /* memory was writeable? */
i293drivers/net/ni52.cif(((char *)p->scp)[i])
i302drivers/net/ni52.cfor(i=0;i<2;i++)
i304drivers/net/ni52.cp->iscp = (struct iscp_struct *) iscp_addrs[i];
i411drivers/net/ni52.cint i,size;
i413drivers/net/ni52.cfor(i=0;i<ETH_ALEN;i++)
i414drivers/net/ni52.cdev->dev_addr[i] = inb(dev->base_addr+i);
i455drivers/net/ni52.cfor(i=0;;i++)
i457drivers/net/ni52.cif(!memaddrs[i]) {
i461drivers/net/ni52.cdev->mem_start = memaddrs[i];
i537drivers/net/ni52.cint i,result=0;
i667drivers/net/ni52.cfor(i=0;i<num_addrs;i++,dmi=dmi->next)
i668drivers/net/ni52.cmemcpy((char *) mc_cmd->mc_list[i], dmi->dmi_addr,6);
i684drivers/net/ni52.cfor(i=0;i<2;i++)
i686drivers/net/ni52.cp->nop_cmds[i] = (struct nop_cmd_struct *)ptr;
i687drivers/net/ni52.cp->nop_cmds[i]->cmd_cmd    = CMD_NOP;
i688drivers/net/ni52.cp->nop_cmds[i]->cmd_status = 0;
i689drivers/net/ni52.cp->nop_cmds[i]->cmd_link   = make16((p->nop_cmds[i]));
i693drivers/net/ni52.cfor(i=0;i<NUM_XMIT_BUFFS;i++)
i695drivers/net/ni52.cp->nop_cmds[i] = (struct nop_cmd_struct *)ptr;
i696drivers/net/ni52.cp->nop_cmds[i]->cmd_cmd    = CMD_NOP;
i697drivers/net/ni52.cp->nop_cmds[i]->cmd_status = 0;
i698drivers/net/ni52.cp->nop_cmds[i]->cmd_link   = make16((p->nop_cmds[i]));
i708drivers/net/ni52.cfor(i=0;i<NUM_XMIT_BUFFS;i++)
i710drivers/net/ni52.cp->xmit_cmds[i] = (struct transmit_cmd_struct *)ptr; /*transmit cmd/buff 0*/
i712drivers/net/ni52.cp->xmit_cbuffs[i] = (char *)ptr; /* char-buffs */
i714drivers/net/ni52.cp->xmit_buffs[i] = (struct tbd_struct *)ptr; /* TBD */
i721drivers/net/ni52.cmemset((char *)(p->xmit_cmds[i]) ,0, sizeof(struct transmit_cmd_struct));
i722drivers/net/ni52.cmemset((char *)(p->xmit_buffs[i]),0, sizeof(struct tbd_struct));
i723drivers/net/ni52.cp->xmit_cmds[i]->cmd_link = make16(p->nop_cmds[(i+1)%NUM_XMIT_BUFFS]);
i724drivers/net/ni52.cp->xmit_cmds[i]->cmd_status = STAT_COMPL;
i725drivers/net/ni52.cp->xmit_cmds[i]->cmd_cmd = CMD_XMIT | CMD_INT;
i726drivers/net/ni52.cp->xmit_cmds[i]->tbd_offset = make16((p->xmit_buffs[i]));
i727drivers/net/ni52.cp->xmit_buffs[i]->next = 0xffff;
i728drivers/net/ni52.cp->xmit_buffs[i]->buffer = make24((p->xmit_cbuffs[i]));
i771drivers/net/ni52.cint i;
i777drivers/net/ni52.cfor(i = 0; i < (p->num_recv_buffs+rfdadd); i++) {
i778drivers/net/ni52.crfd[i].next = make16(rfd + (i+1) % (p->num_recv_buffs+rfdadd) );
i779drivers/net/ni52.crfd[i].rbd_offset = 0xffff;
i791drivers/net/ni52.cfor(i=0;i<p->num_recv_buffs;i++)
i793drivers/net/ni52.crbd[i].next = make16((rbd + (i+1) % p->num_recv_buffs));
i794drivers/net/ni52.crbd[i].size = RECV_BUFF_SIZE;
i795drivers/net/ni52.crbd[i].buffer = make24(ptr);
i975drivers/net/ni52.cint i;
i976drivers/net/ni52.cfor(i=0;i<1024;i++)
i981drivers/net/ni52.cif(i == 1023)
i990drivers/net/ni52.cint i;
i994drivers/net/ni52.cfor(i=0;i< (p->num_recv_buffs+4);i++)
i1108drivers/net/ni52.cint len,i;
i1194drivers/net/ni52.cfor(i=0;i<16;i++)
i1208drivers/net/ni52.cif(!i)
i1215drivers/net/ni52.cif(i==15)
i1353drivers/net/ni52.cint i;
i1373drivers/net/ni52.cfor(i=0;i<170;i++) {
i1374drivers/net/ni52.cprintk("%02x ",(int) ((unsigned char *) (dump_cmd + 1))[i]);
i1375drivers/net/ni52.cif(i % 24 == 23)
i222drivers/net/ni65.cint i;
i240drivers/net/ni65.cfor(i=0;i<6;i++)
i241drivers/net/ni65.cdev->dev_addr[i] = inb(PORT+L_EBASE+i);
i298drivers/net/ni65.cfor(i=0;i<TMDNUM;i++)
i308drivers/net/ni65.cp->tmdbounce[i] = ptr;
i310drivers/net/ni65.cp->tmd_skb[i] = NULL;
i315drivers/net/ni65.cfor(i=0;i<RMDNUM;i++)
i329drivers/net/ni65.cp->recv_skb[i] = skb;
i332drivers/net/ni65.cfor(i=0;i<RMDNUM;i++)
i334drivers/net/ni65.cif( !(p->recvbounce[i] = kmalloc(R_BUF_SIZE,GFP_KERNEL | GFP_DMA )) ) {
i338drivers/net/ni65.cif( (unsigned long) p->recvbounce[i] + R_BUF_SIZE > 0x1000000 ) {
i354drivers/net/ni65.cint i;
i375drivers/net/ni65.cfor(i=0;i<TMDNUM;i++)
i377drivers/net/ni65.cstruct tmd *tmdp = p->tmdhead + i;
i379drivers/net/ni65.cif(p->tmd_skb[i]) {
i380drivers/net/ni65.cdev_kfree_skb(p->tmd_skb[i],FREE_WRITE);
i381drivers/net/ni65.cp->tmd_skb[i] = NULL;
i390drivers/net/ni65.cfor(i=0;i<RMDNUM;i++)
i392drivers/net/ni65.cstruct rmd *rmdp = p->rmdhead + i;
i394drivers/net/ni65.crmdp->u.buffer = (unsigned long) p->recv_skb[i]->data;
i396drivers/net/ni65.crmdp->u.buffer = (unsigned long) p->recvbounce[i];
i403drivers/net/ni65.cfor(i=0;i<6;i++)
i404drivers/net/ni65.cp->ib.eaddr[i] = dev->dev_addr[i];
i406drivers/net/ni65.cfor(i=0;i<8;i++)
i407drivers/net/ni65.cp->ib.filter[i] = 0x0;
i414drivers/net/ni65.cfor(i=0;i<8;i++)
i415drivers/net/ni65.cp->ib.filter[i] = 0xff;
i431drivers/net/ni65.cfor(i=0;i<32;i++)
i437drivers/net/ni65.cif(i == 32) 
i497drivers/net/ni65.cint i,f=0;
i498drivers/net/ni65.cfor(i=0;i<RMDNUM;i++) {
i499drivers/net/ni65.cstruct rmd *rmdp = p->rmdhead + ((p->rmdnum - i - 1) & (RMDNUM-1));
i506drivers/net/ni65.cif(i < RMDNUM) {
i507drivers/net/ni65.cp->rmdnum = (p->rmdnum + 8 - i) & (RMDNUM - 1);
i1304drivers/net/pi2.cint i;
i1421drivers/net/pi2.cfor (i = 0; i < DEV_NUMBUFFS; i++)
i1422drivers/net/pi2.cskb_queue_head_init(&dev->buffs[i]);
i864drivers/net/plip.cint i;
i875drivers/net/plip.cfor (i=0; i < ETH_ALEN - sizeof(unsigned long); i++)
i876drivers/net/plip.ceth->h_dest[i] = 0xfc;
i877drivers/net/plip.cmemcpy(&(eth->h_dest[i]), &dst, sizeof(unsigned long));
i938drivers/net/plip.cint i;
i966drivers/net/plip.cfor (i=0; i < ETH_ALEN - sizeof(unsigned long); i++)
i967drivers/net/plip.cdev->dev_addr[i] = 0xfc;
i968drivers/net/plip.cmemcpy(&(dev->dev_addr[i]), &dev->pa_addr, sizeof(unsigned long));
i1088drivers/net/plip.cint i;
i1091drivers/net/plip.cfor (i=0; i < 3; i++) {
i1094drivers/net/plip.cif (io[i] != 0) {
i1095drivers/net/plip.cdev_plip[i].base_addr = io[i];
i1098drivers/net/plip.cif (irq[i] != 0) {
i1099drivers/net/plip.cdev_plip[i].irq = irq[i];
i1103drivers/net/plip.cif (register_netdev(&dev_plip[i]) != 0) {
i1104drivers/net/plip.cprintk(KERN_INFO "plip%d: Not found\n", i);
i1114drivers/net/plip.cfor (i=0; i < 3; i++) { 
i1115drivers/net/plip.cif (register_netdev(&dev_plip[i]) == 0)
i1128drivers/net/plip.cint i;
i1130drivers/net/plip.cfor (i=0; i < 3; i++) {
i1131drivers/net/plip.cif (dev_plip[i].priv) {
i1132drivers/net/plip.cunregister_netdev(&dev_plip[i]);
i1133drivers/net/plip.crelease_region(PAR_DATA(&dev_plip[i]), (PAR_DATA(&dev_plip[i]) == 0x3bc)? 3 : 8);
i1134drivers/net/plip.ckfree_s(dev_plip[i].priv, sizeof(struct net_local));
i1135drivers/net/plip.cdev_plip[i].priv = NULL;
i771drivers/net/pt.cint i;
i889drivers/net/pt.cfor (i=0; i < DEV_NUMBUFFS; i++)
i890drivers/net/pt.cskb_queue_head_init(&dev->buffs[i]);
i339drivers/net/sdla.cint               i;
i366drivers/net/sdla.cfor(pstatus = data, i=0;i < len;i++,pstatus++)
i387drivers/net/sdla.cfor(pdlci = data,i=0;i < len;i++,pdlci++)
i494drivers/net/sdla.cint               i;
i498drivers/net/sdla.cfor(i=0;i<CONFIG_DLCI_MAX;i++)
i499drivers/net/sdla.cif (flp->master[i] == master)
i502drivers/net/sdla.cif (i == CONFIG_DLCI_MAX)
i505drivers/net/sdla.cflp->dlci[i] = abs(flp->dlci[i]);
i508drivers/net/sdla.csdla_cmd(slave, SDLA_ACTIVATE_DLCI, 0, 0, &flp->dlci[i], sizeof(short), NULL, NULL);
i516drivers/net/sdla.cint               i;
i520drivers/net/sdla.cfor(i=0;i<CONFIG_DLCI_MAX;i++)
i521drivers/net/sdla.cif (flp->master[i] == master)
i524drivers/net/sdla.cflp->dlci[i] = -abs(flp->dlci[i]);
i527drivers/net/sdla.csdla_cmd(slave, SDLA_DEACTIVATE_DLCI, 0, 0, &flp->dlci[i], sizeof(short), NULL, NULL);
i535drivers/net/sdla.cint               i;
i542drivers/net/sdla.cfor(i=0;i<CONFIG_DLCI_MAX;i++)
i544drivers/net/sdla.cif (!flp->master[i])
i546drivers/net/sdla.cif (abs(flp->dlci[i]) == *(short *)(master->dev_addr))
i550drivers/net/sdla.cif (i == CONFIG_DLCI_MAX)
i555drivers/net/sdla.cflp->master[i] = master;
i556drivers/net/sdla.cflp->dlci[i] = -*(short *)(master->dev_addr);
i571drivers/net/sdla.cint               i;
i575drivers/net/sdla.cfor(i=0;i<CONFIG_DLCI_MAX;i++)
i576drivers/net/sdla.cif (flp->master[i] == master)
i579drivers/net/sdla.cif (i == CONFIG_DLCI_MAX)
i582drivers/net/sdla.cflp->master[i] = NULL;
i583drivers/net/sdla.cflp->dlci[i] = 0;
i600drivers/net/sdla.cint               i;
i604drivers/net/sdla.cfor(i=0;i<CONFIG_DLCI_MAX;i++)
i605drivers/net/sdla.cif (flp->master[i] == master)
i608drivers/net/sdla.cif (i == CONFIG_DLCI_MAX)
i613drivers/net/sdla.csdla_cmd(slave, SDLA_SET_DLCI_CONFIGURATION, flp->dlci[i], 0,  
i704drivers/net/sdla.cint               i, received, success, addr;
i731drivers/net/sdla.cfor (i=0;i<CONFIG_DLCI_MAX;i++)
i732drivers/net/sdla.cif (flp->dlci[i] == dlci)
i735drivers/net/sdla.cif (i == CONFIG_DLCI_MAX)
i743drivers/net/sdla.cmaster = flp->master[i];
i770drivers/net/sdla.cfor (i=0;i<CONFIG_DLCI_MAX;i++)
i771drivers/net/sdla.cif (flp->dlci[i] == dlci)
i774drivers/net/sdla.cif (i == CONFIG_DLCI_MAX)
i782drivers/net/sdla.cmaster = flp->master[i];
i900drivers/net/sdla.cint               len, i;
i906drivers/net/sdla.cfor(i=0;i<CONFIG_DLCI_MAX;i++)
i907drivers/net/sdla.cif (flp->dlci[i])
i908drivers/net/sdla.cdlcis[len++] = abs(flp->dlci[i]);
i913drivers/net/sdla.cfor(i=0;i<CONFIG_DLCI_MAX;i++)
i914drivers/net/sdla.cif (flp->dlci[i] > 0) 
i916drivers/net/sdla.csdla_cmd(dev, SDLA_DELETE_DLCI, 0, 0, &flp->dlci[i], sizeof(flp->dlci[i]), NULL, NULL);
i965drivers/net/sdla.cint               len, i;
i981drivers/net/sdla.cfor(i=0;i<CONFIG_DLCI_MAX;i++)
i982drivers/net/sdla.cif (flp->dlci[i])
i983drivers/net/sdla.cdata.dlci[len++] = abs(flp->dlci[i]);
i1039drivers/net/sdla.cfor(i=0;i<CONFIG_DLCI_MAX;i++)
i1040drivers/net/sdla.cif (flp->dlci[i] > 0)
i1041drivers/net/sdla.csdla_cmd(dev, SDLA_ACTIVATE_DLCI, 0, 0, &flp->dlci[i], 2*sizeof(flp->dlci[i]), NULL, NULL);
i1045drivers/net/sdla.cfor(i=0;i<CONFIG_DLCI_MAX;i++)
i1046drivers/net/sdla.cif (flp->dlci[i])
i1048drivers/net/sdla.cdlp = flp->master[i]->priv;
i1050drivers/net/sdla.csdla_cmd(dev, SDLA_SET_DLCI_CONFIGURATION, abs(flp->dlci[i]), 0, &dlp->config, sizeof(struct dlci_conf), NULL, NULL);
i1066drivers/net/sdla.cint               i, err;
i1123drivers/net/sdla.cfor(i=0;i<CONFIG_DLCI_MAX;i++)
i1124drivers/net/sdla.cif (flp->master[i])
i1125drivers/net/sdla.cflp->master[i]->mtu = flp->config.mtu;
i1203drivers/net/sdla.cint               i, len;
i1210drivers/net/sdla.cfor(i=0;i<CONFIG_DLCI_MAX;i++)
i1211drivers/net/sdla.cif (flp->dlci[i])
i1212drivers/net/sdla.cdata.dlci[len++] = flp->dlci[i];
i1305drivers/net/sdla.cint               i;
i1313drivers/net/sdla.cfor(i=0;i < sizeof(valid_port) / sizeof (int) ; i++)
i1314drivers/net/sdla.cif (valid_port[i] == map->base_addr)
i1317drivers/net/sdla.cif (i == sizeof(valid_port) / sizeof(int))
i1328drivers/net/sdla.cfor(i=1;i<SDLA_IO_EXTENTS;i++)
i1329drivers/net/sdla.cif (inb(dev->base_addr + i) != 0xFF)
i1332drivers/net/sdla.cif (i == SDLA_IO_EXTENTS)
i1348drivers/net/sdla.cfor(byte=inb(dev->base_addr),i=0;i<SDLA_IO_EXTENTS;i++)
i1349drivers/net/sdla.cif (inb(dev->base_addr + i) != byte)
i1352drivers/net/sdla.cif (i == SDLA_IO_EXTENTS)
i1478drivers/net/sdla.cfor(i=0;i < sizeof(valid_mem) / sizeof (int) ; i++)
i1479drivers/net/sdla.cif (valid_mem[i] == map->mem_start)
i1482drivers/net/sdla.cif (i == sizeof(valid_mem) / sizeof(int))
i1587drivers/net/sdla.cint               i;
i1612drivers/net/sdla.cfor (i = 0; i < DEV_NUMBUFFS; i++) 
i1613drivers/net/sdla.cskb_queue_head_init(&dev->buffs[i]);
i112drivers/net/seeq8005.cint i;
i120drivers/net/seeq8005.cfor (i = 0; seeq8005_portlist[i]; i++) {
i121drivers/net/seeq8005.cint ioaddr = seeq8005_portlist[i];
i139drivers/net/seeq8005.cint i,j;
i193drivers/net/seeq8005.cfor(i=0; i <32; i++) {
i194drivers/net/seeq8005.cj+= SA_prom[i] = inw(SEEQ_BUFFER) & 0xff;
i221drivers/net/seeq8005.cfor(i=0;i<16;i++) {
i222drivers/net/seeq8005.cprintk("%02x ",SA_prom[j|i]);
i225drivers/net/seeq8005.cfor(i=0;i<16;i++) {
i226drivers/net/seeq8005.cif ((SA_prom[j|i]>31)&&(SA_prom[j|i]<127)) {
i227drivers/net/seeq8005.cprintk("%c", SA_prom[j|i]);
i247drivers/net/seeq8005.cfor(i=0;i<32768;i++) {
i260drivers/net/seeq8005.cfor(i=0;i<32768;i++) {
i285drivers/net/seeq8005.cfor (i = 0; i < 6; i++)
i286drivers/net/seeq8005.cprintk(" %2.2x", dev->dev_addr[i] = SA_prom[i+6]);
i483drivers/net/seeq8005.cint i;
i551drivers/net/seeq8005.cfor(i=0;i<14;i++) {
i637drivers/net/seeq8005.cint i;
i650drivers/net/seeq8005.cfor(i=0;i<6;i++) {      /* set Station address */
i651drivers/net/seeq8005.coutb(dev->dev_addr[i], SEEQ_BUFFER);
i670drivers/net/seeq8005.cfor(i=0;i<6;i++) {
i635drivers/net/sk_g16.cint i,j;                /* Counters */
i755drivers/net/sk_g16.cfor (i = 0, j = 0; i < ETH_ALEN; i++, j+=2)
i757drivers/net/sk_g16.cdev->dev_addr[i] = board->rom[j];          
i815drivers/net/sk_g16.cfor (i = 0; i < TMDNUM; i++)
i817drivers/net/sk_g16.cp->tmdbufs[i] = &(p->ram)->tmdbuf[i];
i820drivers/net/sk_g16.cfor (i = 0; i < RMDNUM; i++)
i822drivers/net/sk_g16.cp->rmdbufs[i] = &(p->ram)->rmdbuf[i]; 
i862drivers/net/sk_g16.cint i = 0;
i875drivers/net/sk_g16.ci = 0;
i888drivers/net/sk_g16.cirqval = request_irq(irqtab[i], &SK_interrupt, 0, "sk_g16", NULL);
i889drivers/net/sk_g16.ci++;
i890drivers/net/sk_g16.c} while (irqval && irqtab[i]);
i898drivers/net/sk_g16.cdev->irq = irqtab[--i]; 
i900drivers/net/sk_g16.coutb(i<<2, SK_POS4);           /* Set Card on probed IRQ */
i922drivers/net/sk_g16.cint i = 0;
i934drivers/net/sk_g16.ccase 3: i = 0;
i936drivers/net/sk_g16.ccase 5: i = 1;
i938drivers/net/sk_g16.ccase 2: i = 2;
i940drivers/net/sk_g16.ccase 11:i = 3;
i950drivers/net/sk_g16.coutb(i<<2, SK_POS4);           /* Set IRQ on card */
i959drivers/net/sk_g16.cif (!(i = SK_lance_init(dev, 0)))  /* LANCE init OK? */
i1027drivers/net/sk_g16.cint i;
i1042drivers/net/sk_g16.cfor (i = 0; i < TMDNUM; i++)     /* Init all TMD's */
i1044drivers/net/sk_g16.ctmdp = p->tmdhead + i; 
i1046drivers/net/sk_g16.ctmdp->u.buffer = (unsigned long) p->tmdbufs[i]; /* assign buffer */
i1057drivers/net/sk_g16.cfor (i = 0; i < RMDNUM; i++)     /* Init all RMD's */
i1059drivers/net/sk_g16.crmdp = p->rmdhead + i;
i1062drivers/net/sk_g16.crmdp->u.buffer = (unsigned long) p->rmdbufs[i]; /* assign buffer */
i1081drivers/net/sk_g16.cfor (i = 0; i < ETH_ALEN; i++)   /* Set physical address */
i1083drivers/net/sk_g16.c(p->ram)->ib.paddr[i] = dev->dev_addr[i]; 
i1086drivers/net/sk_g16.cfor (i = 0; i < 8; i++)          /* Set multicast, logical address */
i1088drivers/net/sk_g16.c(p->ram)->ib.laddr[i] = 0;   /* We do not use logical addressing */
i1139drivers/net/sk_g16.cfor (i = 0; (i < 100) && !(SK_rread_reg() & CSR0_IDON); i++) 
i1142drivers/net/sk_g16.cif (i >= 100) /* Something is wrong ! */
i1157drivers/net/sk_g16.cPRINTK(("## %s: init done after %d ticks\n", SK_NAME, i));
i1774drivers/net/sk_g16.cint i,j;
i1783drivers/net/sk_g16.cfor (i = 0; (rom_location[i] != 0) && (rom_found == 0); i++)
i1786drivers/net/sk_g16.cPRINTK(("##   Trying ROM location %#08x", rom_location[i]));
i1791drivers/net/sk_g16.ctest_byte = (unsigned char *) (rom_location[i]+j);
i1805drivers/net/sk_g16.cSK_NAME, rom_location[(i-1)]));
i1807drivers/net/sk_g16.creturn (rom_location[--i]);
i1845drivers/net/sk_g16.cint i;
i1848drivers/net/sk_g16.cfor (i = 0; i < 10 ; i++) /* Delay min 5ms */
i2076drivers/net/sk_g16.cint i;    
i2089drivers/net/sk_g16.cfor(i = 0; i < TMDNUM; i++)
i2091drivers/net/sk_g16.cif (!(i % 3)) /* Every third line do a newline */
i2095drivers/net/sk_g16.cprintk("tmdbufs%d: %#08x ", (i+1), (int) p->tmdbufs[i]);
i2099drivers/net/sk_g16.cfor(i = 0; i < RMDNUM; i++)
i2101drivers/net/sk_g16.cif (!(i % 3)) /* Every third line do a newline */
i2105drivers/net/sk_g16.cprintk("rmdbufs%d: %#08x ", (i+1), (int) p->rmdbufs[i]);
i132drivers/net/skeleton.cint i;
i140drivers/net/skeleton.cfor (i = 0; netcard_portlist[i]; i++) {
i141drivers/net/skeleton.cint ioaddr = netcard_portlist[i];
i160drivers/net/skeleton.cint i;
i194drivers/net/skeleton.cfor (i = 0; i < 6; i++)
i195drivers/net/skeleton.cprintk(" %2.2x", dev->dev_addr[i] = inb(ioaddr + i));
i259drivers/net/skeleton.cfor (i = 7; i > 0; i--)
i260drivers/net/skeleton.cif (test_bit(i, &new_dma_status)) {
i261drivers/net/skeleton.cdev->dma = i;
i264drivers/net/skeleton.cif (i <= 0) {
i101drivers/net/slhc.cregister short i;
i152drivers/net/slhc.cfor(i = comp->tslot_limit; i > 0; --i){
i153drivers/net/slhc.cts[i].cs_this = i;
i154drivers/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);
i120drivers/net/slip.cint i;
i124drivers/net/slip.cfor (i = 0; i < slip_maxdev; i++) {
i125drivers/net/slip.cslp = slip_ctrls[i];
i136drivers/net/slip.cif (i >= slip_maxdev) return NULL;
i140drivers/net/slip.c(slip_ctrls[i] = (slip_ctrl_t *)kmalloc(sizeof(slip_ctrl_t),
i142drivers/net/slip.cslp = slip_ctrls[i];
i148drivers/net/slip.csprintf(slp->if_name, "sl%d", i);
i150drivers/net/slip.cslp->dev.base_addr    = i;
i946drivers/net/slip.cint i;
i962drivers/net/slip.cfor (i = 0; i < len; ++i) {
i963drivers/net/slip.cv = (v << 8) | s[i];
i1265drivers/net/slip.cint i;
i1307drivers/net/slip.cfor (i = 0; i < DEV_NUMBUFFS; i++)  {
i1308drivers/net/slip.cskb_queue_head_init(&dev->buffs[i]);
i1332drivers/net/slip.cint i;
i1336drivers/net/slip.cfor (i = 0; i < slip_maxdev; i++)  
i1338drivers/net/slip.cif (slip_ctrls[i])
i1344drivers/net/slip.cif (slip_ctrls[i]->dev.start)
i1345drivers/net/slip.cunregister_netdev(&(slip_ctrls[i]->dev));
i1347drivers/net/slip.ckfree(slip_ctrls[i]);
i1348drivers/net/slip.cslip_ctrls[i] = NULL;
i1354drivers/net/slip.cif ((i = tty_register_ldisc(N_SLIP, NULL)))  
i1356drivers/net/slip.cprintk("SLIP: can't unregister line discipline (err = %d)\n", i);
i98drivers/net/smc-ultra.cint i;
i106drivers/net/smc-ultra.cfor (i = 0; ultra_portlist[i]; i++) {
i107drivers/net/smc-ultra.cint ioaddr = ultra_portlist[i];
i120drivers/net/smc-ultra.cint i;
i138drivers/net/smc-ultra.cfor (i = 0; i < 8; i++)
i139drivers/net/smc-ultra.cchecksum += inb(ioaddr + 8 + i);
i156drivers/net/smc-ultra.cfor (i = 0; i < 6; i++)
i157drivers/net/smc-ultra.cprintk(" %2.2X", dev->dev_addr[i] = inb(ioaddr + 8 + i));
i465drivers/net/smc9194.cint      i;
i475drivers/net/smc9194.cfor ( i = 0; i < count ; i ++, cur_addr = cur_addr->next  ) {
i497drivers/net/smc9194.cfor ( i = 0; i < 8 ; i++ ) {
i498drivers/net/smc9194.coutb( multicast_table[i], ioaddr + MULTICAST1 + i );
i755drivers/net/smc9194.cint i;
i773drivers/net/smc9194.cfor (i = 0; smc_portlist[i]; i++) {
i774drivers/net/smc9194.cint ioaddr = smc_portlist[i];
i947drivers/net/smc9194.cint i;
i987drivers/net/smc9194.cfor ( i = 0; i < 6; i += 2 ) { 
i990drivers/net/smc9194.caddress = inw( ioaddr + ADDR0 + i  );
i991drivers/net/smc9194.cdev->dev_addr[ i + 1] = address >> 8;
i992drivers/net/smc9194.cdev->dev_addr[ i ] = address & 0xFF;  
i1086drivers/net/smc9194.cfor (i = 0; i < 5; i++)
i1087drivers/net/smc9194.cprintk("%2.2x:", dev->dev_addr[i] );
i1130drivers/net/smc9194.cint i;
i1138drivers/net/smc9194.cfor ( i = 0; i < lines ; i ++ ) { 
i1150drivers/net/smc9194.cfor ( i = 0; i < remainder/2 ; i++ ) {
i1173drivers/net/smc9194.cint  i;  /* used to set hw ethernet address */ 
i1208drivers/net/smc9194.cfor ( i = 0; i < 6; i += 2 ) { 
i1211drivers/net/smc9194.caddress = dev->dev_addr[ i + 1 ] << 8 ;
i1212drivers/net/smc9194.caddress  |= dev->dev_addr[ i ];
i1213drivers/net/smc9194.coutw( address, ioaddr + ADDR0 + i );
i1158drivers/net/strip.cint i;
i1190drivers/net/strip.cfor (i = 0; i < DEV_NUMBUFFS; i++) 
i1191drivers/net/strip.cskb_queue_head_init(&dev->buffs[i]);
i1487drivers/net/strip.cint i;
i1491drivers/net/strip.cif ((i = tty_register_ldisc(N_STRIP, NULL)))  
i1492drivers/net/strip.cprintk("STRIP: can't unregister line discipline (err = %d)\n", i);
i217drivers/net/sunlance.cint i;
i240drivers/net/sunlance.cfor (i = 0; i <= TX_RING_SIZE; i++){
i241drivers/net/sunlance.cleptr = LANCE_ADDR(&ib->tx_buf[i][0]);
i242drivers/net/sunlance.cib->btx_ring [i].tmd0      = leptr;
i243drivers/net/sunlance.cib->btx_ring [i].tmd1_hadr = leptr >> 16;
i244drivers/net/sunlance.cib->btx_ring [i].tmd1_bits = 0;
i245drivers/net/sunlance.cib->btx_ring [i].length    = 0xf000; /* The ones required by tmd2 */
i246drivers/net/sunlance.cib->btx_ring [i].misc      = 0;
i247drivers/net/sunlance.cif (i < 3)
i248drivers/net/sunlance.cif (ZERO) printk ("%d: 0x%8.8x\n", i, leptr);
i253drivers/net/sunlance.cfor (i = 0; i < RX_RING_SIZE; i++){
i254drivers/net/sunlance.cleptr = LANCE_ADDR(&ib->rx_buf[i][0]);
i256drivers/net/sunlance.cib->brx_ring [i].rmd0      = leptr;
i257drivers/net/sunlance.cib->brx_ring [i].rmd1_hadr = leptr >> 16;
i258drivers/net/sunlance.cib->brx_ring [i].rmd1_bits = LE_R1_OWN;
i259drivers/net/sunlance.cib->brx_ring [i].length    = -RX_BUFF_SIZE | 0xf000;
i260drivers/net/sunlance.cib->brx_ring [i].mblength  = 0;
i261drivers/net/sunlance.cif (i < 3)
i262drivers/net/sunlance.cif (ZERO) printk ("%d: 0x%8.8x\n", i, leptr);
i288drivers/net/sunlance.cint i;
i294drivers/net/sunlance.cfor (i = 0; (i < 100) && !(ll->rdp & (LE_C0_ERR | LE_C0_IDON)); i++)
i296drivers/net/sunlance.cif ((i == 100) || (ll->rdp & LE_C0_ERR)){
i297drivers/net/sunlance.cprintk ("LANCE unopened after %d ticks, csr0=%4.4x.\n", i, ll->rdp);
i325drivers/net/sunlance.cfor (i = 0; i < RX_RING_SIZE; i++){
i326drivers/net/sunlance.cif (i == lp->rx_new)
i327drivers/net/sunlance.cprintk ("%s", ib->brx_ring [i].rmd1_bits & LE_R1_OWN ? "_" : "X");
i329drivers/net/sunlance.cprintk ("%s", ib->brx_ring [i].rmd1_bits & LE_R1_OWN ? "." : "1");
i388drivers/net/sunlance.cint i, j;
i395drivers/net/sunlance.cfor (i = 0; i < TX_RING_SIZE; i++){
i628drivers/net/sunlance.cint i;
i630drivers/net/sunlance.cfor (i = 0; i < 64; i++){
i631drivers/net/sunlance.cif ((i % 16) == 0) printk ("\n");
i632drivers/net/sunlance.cprintk ("%2.2x ", skb->data [i]);
i712drivers/net/sunlance.cint    i;
i759drivers/net/sunlance.cfor (i = 0; i < 6; i++){
i760drivers/net/sunlance.cprintk ("%2.2x%c", dev->dev_addr [i] = idprom->id_eaddr [i], i == 5 ? ' ': ':');
i500drivers/net/tulip.cint i, n;
i510drivers/net/tulip.cfor (i = 10; i >= 0; i--) {
i511drivers/net/tulip.cshort dataval = (read_cmd & (1 << i)) ? EE_DATA_WRITE : 0;
i522drivers/net/tulip.cfor (i = 16; i > 0; i--) {
i538drivers/net/tulip.cfor (i = 0; i < 8; i ++)
i539drivers/net/tulip.cif (p[i] != p[15 - i] || p[i] != p[16 + i]) return(0);
i685drivers/net/tulip.cint *setup_frm = tp->setup_frame, i;
i692drivers/net/tulip.cfor (i = 1; i < 16; i++) {
i734drivers/net/tulip.cint i;
i740drivers/net/tulip.cfor (i = 0; i < RX_RING_SIZE; i++) {
i741drivers/net/tulip.ctp->rx_ring[i].status = TRING_OWN;
i742drivers/net/tulip.ctp->rx_ring[i].length = PKT_BUF_SZ;
i743drivers/net/tulip.ctp->rx_ring[i].buffer1 = virt_to_bus(tp->rx_buffs[i]);
i744drivers/net/tulip.ctp->rx_ring[i].buffer2 = virt_to_bus(&tp->rx_ring[i+1]);
i747drivers/net/tulip.ctp->rx_ring[i-1].length = PKT_BUF_SZ | 0x02000000;
i748drivers/net/tulip.ctp->rx_ring[i-1].buffer2 = virt_to_bus(&tp->rx_ring[0]);
i752drivers/net/tulip.cfor (i = 0; i < TX_RING_SIZE; i++) {
i753drivers/net/tulip.ctp->tx_ring[i].status = 0x00000000;
i767drivers/net/tulip.cint i;
i781drivers/net/tulip.cfor (i = 0; i < RX_RING_SIZE; i++)
i782drivers/net/tulip.cprintk(" %8.8x", (unsigned int)tp->rx_ring[i].status);
i784drivers/net/tulip.cfor (i = 0; i < TX_RING_SIZE; i++)
i785drivers/net/tulip.cprintk(" %8.8x", (unsigned int)tp->tx_ring[i].status);
i971drivers/net/tulip.cint i;
i1002drivers/net/tulip.cfor (i=0; i < RX_RING_SIZE; i++)
i1003drivers/net/tulip.cif (lp->rx_ring[(entry+i) % RX_RING_SIZE].status < 0)
i1006drivers/net/tulip.cif (i > RX_RING_SIZE -2) {
i1109drivers/net/tulip.cint i;
i1115drivers/net/tulip.ci=0;
i1120drivers/net/tulip.ci++;
i1131drivers/net/tulip.c} while (++i < 16);
i1141drivers/net/tulip.cint i;
i1146drivers/net/tulip.cfor (i = 0; i < ETH_ALEN - 1; i++)
i1147drivers/net/tulip.cprintk("%2.2x:", dev->dev_addr[i] = sa->sa_data[i]);
i1148drivers/net/tulip.cprintk("%2.2x.\n", dev->dev_addr[i] = sa->sa_data[i]);
i1200drivers/net/tulip.cint i;
i1233drivers/net/tulip.cfor (i = 0; i < 6; i++) {
i1238drivers/net/tulip.cdev->dev_addr[i] = value;
i1252drivers/net/tulip.cfor (i = 0; i < ETH_ALEN; i++) {
i1253drivers/net/tulip.csum += addr[i];
i1254drivers/net/tulip.cdev->dev_addr[i] = addr[i];
i1264drivers/net/tulip.cfor (i = 0; i < ETH_ALEN - 1; i++)
i1265drivers/net/tulip.cdev->dev_addr[i] = last_phys_addr[i];
i1266drivers/net/tulip.cdev->dev_addr[i] = last_phys_addr[i] + 1;
i1268drivers/net/tulip.cfor (i = 0; i < ETH_ALEN - 1; i++)
i1270drivers/net/tulip.clast_phys_addr[i] = dev->dev_addr[i]);
i1272drivers/net/tulip.clast_phys_addr[i] = dev->dev_addr[i], irq);
i461drivers/net/wavelan.cint    i;
i476drivers/net/wavelan.cfor (i = 1000; i > 0; i--)
i485drivers/net/wavelan.cif (i <= 0)
i501drivers/net/wavelan.cint    i;
i511drivers/net/wavelan.cfor (i = 64; i > 0; i--)
i520drivers/net/wavelan.cif (i <= 0 || !(cb.ac_status & AC_SFLD_OK))
i543drivers/net/wavelan.cint    i;
i566drivers/net/wavelan.cfor (i = 0; i < I82586_MEMZ; i += sizeof(zeroes))
i567drivers/net/wavelan.cobram_write(ioaddr, i, &zeroes[0], sizeof(zeroes));
i596drivers/net/wavelan.cfor (i = 1000; i > 0; i--)
i606drivers/net/wavelan.cif (i <= 0)
i614drivers/net/wavelan.cfor (i = 15; i > 0; i--)
i624drivers/net/wavelan.cif (i <= 0)
i775drivers/net/wavelan.cint      i;
i828drivers/net/wavelan.cfor (i = 0; i < nels(iobase); i++)
i830drivers/net/wavelan.cif (check_region(iobase[i], sizeof(ha_t)))
i833drivers/net/wavelan.cif (wavelan_probe1(dev, iobase[i]) == 0)
i860drivers/net/wavelan.cint    i;
i948drivers/net/wavelan.cfor (i = 0; i < WAVELAN_ADDR_SIZE; i++)
i949drivers/net/wavelan.cprintk("%s%02x", (i == 0) ? " " : ":", dev->dev_addr[i]);
i1079drivers/net/wavelan.cint    i;
i1090drivers/net/wavelan.cfor (i = 0, rx = lp->rx_head; i < NRXBLOCKS; i++, rx = rx_next)
i1092drivers/net/wavelan.crx_next = (i == NRXBLOCKS - 1) ? lp->rx_head : rx + RXBLOCKZ;
i1095drivers/net/wavelan.cfd.fd_command = (i == NRXBLOCKS - 1) ? FD_COMMAND_EL : 0;
i1117drivers/net/wavelan.cfor (i = 1000; i > 0; i--)
i1126drivers/net/wavelan.cif (i <= 0)
i1141drivers/net/wavelan.cint    i;
i1154drivers/net/wavelan.ci = 0, txblock = OFFSET_CU;
i1155drivers/net/wavelan.ci < NTXBLOCKS;
i1156drivers/net/wavelan.ci++, txblock += TXBLOCKZ
i1198drivers/net/wavelan.cfor (i = 1000; i > 0; i--)
i1207drivers/net/wavelan.cif (i <= 0)
i1462drivers/net/wavelan.cint  i;
i1464drivers/net/wavelan.cfor (i = 0; i < WAVELAN_ADDR_SIZE; i++)
i1466drivers/net/wavelan.cif (a0[i] != a1[i])
i1467drivers/net/wavelan.creturn a0[i] - a1[i];
i1579drivers/net/wavelan.cint      i;
i1596drivers/net/wavelan.cfor (i = 0; i < WAVELAN_ADDR_SIZE; i++)
i1597drivers/net/wavelan.cprintk("%s%02x", (i == 0) ? "" : ":", addr[i]);
i1607drivers/net/wavelan.cint    i;
i1611drivers/net/wavelan.cfor (i = 0; i < WAVELAN_ADDR_SIZE; i++)
i1612drivers/net/wavelan.cprintk("%s%02x", (i == 0) ? "" : ":", fd.fd_dest[i]);
i1616drivers/net/wavelan.cfor (i = 0; i < WAVELAN_ADDR_SIZE; i++)
i1617drivers/net/wavelan.cprintk("%s%02x", (i == 0) ? "" : ":", fd.fd_src[i]);
i1624drivers/net/wavelan.cfor (i = 0; i < WAVELAN_ADDR_SIZE; i++)
i1625drivers/net/wavelan.cprintk("%s%02x", (i == 0) ? "" : ":", addr[i]);
i1630drivers/net/wavelan.cfor (i = 0; i < WAVELAN_ADDR_SIZE; i++)
i1631drivers/net/wavelan.cprintk("%s%02x", (i == 0) ? "" : ":", addr[i]);
i1653drivers/net/wavelan.cint  i;
i1661drivers/net/wavelan.cfor (i = 0; i < maxi; i++)
i1665drivers/net/wavelan.cc = skb->data[i];
i1667drivers/net/wavelan.cprintk(" %c", skb->data[i]);
i1669drivers/net/wavelan.cprintk("%02x", skb->data[i]);
i2204drivers/net/wavelan.cwavelan_cu_show_one(device *dev, net_local *lp, int i, unsigned short p)
i2211drivers/net/wavelan.cprintk("%d: 0x%x:", i, p);
i2433drivers/net/wavelan.cunsigned int  i;
i2441drivers/net/wavelan.cfor (i = 0, p = lp->tx_first_in_use; i < NTXBLOCKS; i++)
i2443drivers/net/wavelan.cwavelan_cu_show_one(dev, lp, i, p);
i90drivers/net/wd.cint i;
i98drivers/net/wd.cfor (i = 0; wd_portlist[i]; i++) {
i99drivers/net/wd.cint ioaddr = wd_portlist[i];
i112drivers/net/wd.cint i;
i119drivers/net/wd.cfor (i = 0; i < 8; i++)
i120drivers/net/wd.cchecksum += inb(ioaddr + 8 + i);
i143drivers/net/wd.cfor (i = 0; i < 6; i++)
i144drivers/net/wd.cprintk(" %2.2X", dev->dev_addr[i] = inb(ioaddr + 8 + i));
i170drivers/net/wd.cfor (i = 0; i < 6; i++)
i171drivers/net/wd.cif (inb(ioaddr+i) != inb(ioaddr+8+i))
i173drivers/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]);
i329drivers/pci/pci.cint i = (min + max) >> 1;
i332drivers/pci/pci.corder = dev_info[i].vendor - (long) vendor;
i334drivers/pci/pci.corder = dev_info[i].device - (long) dev;
i338drivers/pci/pci.cmin = i + 1;
i346drivers/pci/pci.cmax = i - 1;
i352drivers/pci/pci.creturn & dev_info[ i ];
i533drivers/pci/pci.cint i;
i537drivers/pci/pci.cfor (i = 0; i < NUM_OPTIMIZATIONS; i++) {
i538drivers/pci/pci.cprintk("    %s: ", bridge_optimization[i].type);
i539drivers/pci/pci.cbmap = &bridge_mapping[pos + i];
i545drivers/pci/pci.cprintk("%s.", bridge_optimization[i].on);
i551drivers/pci/pci.cprintk("Changed!  Now %s.", bridge_optimization[i].off);
i554drivers/pci/pci.cprintk("%s.", bridge_optimization[i].off);
i560drivers/pci/pci.cprintk("Changed!  Now %s.", bridge_optimization[i].on);
i778drivers/scsi/53c7,8xx.cint i, j;
i780drivers/scsi/53c7,8xx.cfor (i = 0; i < 16; ++i) {
i781drivers/scsi/53c7,8xx.chostdata->request_sense[i] = 0;
i783drivers/scsi/53c7,8xx.chostdata->busy[i][j] = 0;
i784drivers/scsi/53c7,8xx.cset_synchronous (host, i, /* sxfer */ 0, hostdata->saved_scntl3, 0);
i789drivers/scsi/53c7,8xx.cfor (i = 0, current = (u32 *) hostdata->schedule; 
i790drivers/scsi/53c7,8xx.ci < host->can_queue; ++i, current += 2) {
i877drivers/scsi/53c7,8xx.cint i, ccf, expected_ccf;
i1032drivers/scsi/53c7,8xx.ccase DMODE_BL_2: i = 2; break;
i1033drivers/scsi/53c7,8xx.ccase DMODE_BL_4: i = 4; break;
i1034drivers/scsi/53c7,8xx.ccase DMODE_BL_8: i = 8; break;
i1035drivers/scsi/53c7,8xx.ccase DMODE_BL_16: i = 16; break;
i1036drivers/scsi/53c7,8xx.cdefault: i = 0;
i1038drivers/scsi/53c7,8xx.cprintk ("scsi%d : burst length %d\n", host->host_no, i);
i1082drivers/scsi/53c7,8xx.cfor (i = 0; i < 16; ++i) 
i1083drivers/scsi/53c7,8xx.chostdata->cmd_allocated[i] = 0;
i1410drivers/scsi/53c7,8xx.cint i;
i1490drivers/scsi/53c7,8xx.cfor (i = 0; i < NPCI_CHIP_IDS; ++i) {
i1491drivers/scsi/53c7,8xx.cif (device_id == pci_chip_ids[i].pci_device_id) {
i1492drivers/scsi/53c7,8xx.cmax_revision = pci_chip_ids[i].max_revision;
i1493drivers/scsi/53c7,8xx.cmin_revision = pci_chip_ids[i].min_revision;
i1494drivers/scsi/53c7,8xx.cexpected_chip = pci_chip_ids[i].chip;
i1496drivers/scsi/53c7,8xx.cif (chip == pci_chip_ids[i].chip)
i1497drivers/scsi/53c7,8xx.cexpected_id = pci_chip_ids[i].pci_device_id;
i1538drivers/scsi/53c7,8xx.cint i;
i1571drivers/scsi/53c7,8xx.cfor (i = 0; i < NPCI_CHIP_IDS; ++i) 
i1574drivers/scsi/53c7,8xx.cpci_chip_ids[i].pci_device_id, pci_index, &pci_bus, 
i1577drivers/scsi/53c7,8xx.cif (!ncr_pci_init (tpnt, BOARD_GENERIC, pci_chip_ids[i].chip, 
i1608drivers/scsi/53c7,8xx.cint i, ncr_to_memory, memory_to_ncr;
i1618drivers/scsi/53c7,8xx.cfor (i = 0; i < PATCHES; ++i) 
i1619drivers/scsi/53c7,8xx.chostdata->script[LABELPATCHES[i]] += 
i1637drivers/scsi/53c7,8xx.cfor (i = 0; i < EXTERNAL_PATCHES_LEN; ++i)
i1638drivers/scsi/53c7,8xx.chostdata->script[EXTERNAL_PATCHES[i].offset] +=
i1639drivers/scsi/53c7,8xx.cvirt_to_bus(EXTERNAL_PATCHES[i].address);
i1825drivers/scsi/53c7,8xx.cint failed, i;
i1930drivers/scsi/53c7,8xx.cfor (i = 0; i < 3; ++i) {
i1939drivers/scsi/53c7,8xx.cdsa[0] = (0x33 << 24) | (i << 16)  ;
i1957drivers/scsi/53c7,8xx.chost->host_no, i, data + 8);
i1965drivers/scsi/53c7,8xx.chost->host_no, i);
i2000drivers/scsi/53c7,8xx.cint i;
i2420drivers/scsi/53c7,8xx.cint desire, divisor, i, limit;
i2439drivers/scsi/53c7,8xx.cfor (i = 0; (i < limit) && (divisor > syncs[i].div); ++i);
i2443drivers/scsi/53c7,8xx.chost->host_no, syncs[i].div / 10, syncs[i].div % 10);
i2445drivers/scsi/53c7,8xx.cmsg[3] = ((1000000000L / hostdata->scsi_clock) * syncs[i].div / 10 / 4);
i2452drivers/scsi/53c7,8xx.c~SCNTL3_800_SCF_MASK) | (syncs[i].scf << SCNTL3_800_SCF_SHIFT)) : 0;
i2453drivers/scsi/53c7,8xx.csxfer = (msg[4] << SXFER_MO_SHIFT) | ((syncs[i].tp) << SXFER_TP_SHIFT);
i3187drivers/scsi/53c7,8xx.c{DT_help, "?", 0} , TOKEN(h,0), TOKEN(i,0), TOKEN(mp,2), 
i3211drivers/scsi/53c7,8xx.cint i, j, error, len;
i3231drivers/scsi/53c7,8xx.cfor (i = 0; i < NDT; ++i) {
i3232drivers/scsi/53c7,8xx.clen = strlen (debugger_tokens[i].name);
i3233drivers/scsi/53c7,8xx.cif (!strncmp(input_buf, debugger_tokens[i].name, len)) 
i3237drivers/scsi/53c7,8xx.cif (i == NDT) 
i3240drivers/scsi/53c7,8xx.cfor (ptr = input_buf + len, j = 0; j < debugger_tokens[i].nargs && *ptr;) {
i3250drivers/scsi/53c7,8xx.cif (j != debugger_tokens[i].nargs)
i3506drivers/scsi/53c7,8xx.ci;      /* Counter */
i3765drivers/scsi/53c7,8xx.cfor (i = 0; cmd->use_sg ? (i < cmd->use_sg) : !i; cmd_datain += 4, 
i3766drivers/scsi/53c7,8xx.ccmd_dataout += 4, ++i) {
i3768drivers/scsi/53c7,8xx.cvirt_to_bus(((struct scatterlist *)cmd->buffer)[i].address) :
i3771drivers/scsi/53c7,8xx.c((struct scatterlist *)cmd->buffer)[i].length :
i3962drivers/scsi/53c7,8xx.cint i;
i3987drivers/scsi/53c7,8xx.cfor (i = host->can_queue, current = hostdata->schedule; 
i3988drivers/scsi/53c7,8xx.ci > 0  && current[0] != hostdata->NOP_insn;
i3989drivers/scsi/53c7,8xx.c--i, current += 2 /* JUMP instructions are two words */);
i3991drivers/scsi/53c7,8xx.cif (i > 0) {
i5751drivers/scsi/53c7,8xx.cint offset, i;
i5755drivers/scsi/53c7,8xx.cfor (i = 0; i < 2; ++i) {
i5759drivers/scsi/53c7,8xx.cif (!i) {
i5793drivers/scsi/53c7,8xx.cint i, len;
i5818drivers/scsi/53c7,8xx.cfor (i = dsa[hostdata->dsa_msgout / sizeof(u32)],
i5820drivers/scsi/53c7,8xx.ci > 0 && !check_address ((unsigned long) ptr, 1);
i5821drivers/scsi/53c7,8xx.cptr += len, i -= len) {
i5848drivers/scsi/53c7,8xx.cfor (i = 0; i < (sizeof(hostdata->sync[cmd->target].script) / 4); ++i)
i5849drivers/scsi/53c7,8xx.cprintk ("0x%x ", hostdata->sync[cmd->target].script[i]);
i5952drivers/scsi/53c7,8xx.cint i, size;
i5987drivers/scsi/53c7,8xx.cfor (i = 6; i > 0; --i, dsp += size)
i6103drivers/scsi/53c7,8xx.cint i;
i6125drivers/scsi/53c7,8xx.cfor (i = 0, current = (u32 *) hostdata->schedule; 
i6126drivers/scsi/53c7,8xx.ci < host->can_queue; ++i, current += 2) {
i6292drivers/scsi/53c7,8xx.cint i;
i6297drivers/scsi/53c7,8xx.cfor (i = hostdata->event_index; count > 0; 
i6298drivers/scsi/53c7,8xx.ci = (i ? i - 1 : hostdata->event_size -1), --count) {
i6308drivers/scsi/53c7,8xx.cevent = hostdata->events[i];
i6310drivers/scsi/53c7,8xx.cmemcpy ((void *) &event, (void *) &(hostdata->events[i]),
i1539drivers/scsi/53c7,8xx.hfor (i = 0; i < (sizeof (A_##symbol##_used) / sizeof     \
i1540drivers/scsi/53c7,8xx.h(u32)); ++i) {          \
i1541drivers/scsi/53c7,8xx.h(script)[A_##symbol##_used[i] - (offset)] += (value);  \
i1544drivers/scsi/53c7,8xx.hhost->host_no, #symbol, i, A_##symbol##_used[i] -   \
i1545drivers/scsi/53c7,8xx.h(int)(offset), #script, (script)[A_##symbol##_used[i] -  \
i1551drivers/scsi/53c7,8xx.hfor (i = 0; i < (sizeof (A_##symbol##_used) / sizeof     \
i1552drivers/scsi/53c7,8xx.h(u32)); ++i)          \
i1553drivers/scsi/53c7,8xx.h(script)[A_##symbol##_used[i] - (offset)] =      \
i1554drivers/scsi/53c7,8xx.h((script)[A_##symbol##_used[i] - (offset)] &     \
i1561drivers/scsi/53c7,8xx.hfor (i = 0; i < (sizeof (A_##symbol##_used) / sizeof     \
i1562drivers/scsi/53c7,8xx.h(u32)); ++i)          \
i1563drivers/scsi/53c7,8xx.h(script)[A_##symbol##_used[i] - (offset)] =      \
i1564drivers/scsi/53c7,8xx.h((script)[A_##symbol##_used[i] - (offset)] &     \
i171drivers/scsi/AM53C974.cint            i;
i178drivers/scsi/AM53C974.cfor (i = 0; i < 8; i++) *(scratch + i) = AM53C974_PCIREG_READ_WORD(instance, PCI_SCRATCH_REG_0 + 2*i);
i204drivers/scsi/AM53C974.cfor (i = 0; i < 8; i++) printk("PCI_SCRATCH_%d:       0x%x\n", i, scratch[i]);
i227drivers/scsi/AM53C974.cint           i;
i232drivers/scsi/AM53C974.cfor (i = 0; (phases[i].value != PHASE_RES_1) && 
i233drivers/scsi/AM53C974.c(phases[i].value != (statreg & STATREG_PHASE)); ++i); 
i235drivers/scsi/AM53C974.cprintk("scsi%d : phase %s, latched at end of last command\n", instance->host_no, phases[i].name);
i237drivers/scsi/AM53C974.cprintk("scsi%d : phase %s, real time\n", instance->host_no, phases[i].name);
i593drivers/scsi/AM53C974.cint                      i, j;
i621drivers/scsi/AM53C974.cfor (i = 0; i < sizeof(hostdata->msgout); i++) {
i622drivers/scsi/AM53C974.chostdata->msgout[i] = NOP;
i623drivers/scsi/AM53C974.chostdata->last_message[i] = NOP; }
i624drivers/scsi/AM53C974.cfor (i = 0; i < 8; i++) {
i625drivers/scsi/AM53C974.chostdata->busy[i] = 0;
i626drivers/scsi/AM53C974.chostdata->sync_per[i] = DEF_STP;
i627drivers/scsi/AM53C974.chostdata->sync_off[i] = 0;
i628drivers/scsi/AM53C974.chostdata->sync_neg[i] = 0;
i629drivers/scsi/AM53C974.chostdata->sync_en[i] = DEFAULT_SYNC_NEGOTIATION_ENABLED;
i630drivers/scsi/AM53C974.chostdata->max_rate[i] = DEFAULT_RATE;
i631drivers/scsi/AM53C974.chostdata->max_offset[i] = DEFAULT_SYNC_OFFSET; }
i634drivers/scsi/AM53C974.cfor (i = 0; i < commandline_current; i++) {
i635drivers/scsi/AM53C974.cif (overrides[i].host_scsi_id == instance->this_id) {
i636drivers/scsi/AM53C974.cj = overrides[i].target_scsi_id;
i638drivers/scsi/AM53C974.chostdata->max_rate[j] = overrides[i].max_rate;
i639drivers/scsi/AM53C974.chostdata->max_offset[j] = overrides[i].max_offset; 
i1206drivers/scsi/AM53C974.cint i;
i1208drivers/scsi/AM53C974.cfor (i = 0; i < cmd->request_bufflen; i++) {
i1209drivers/scsi/AM53C974.cprintk("%02x ", *((char *)(cmd->request_buffer) + i));
i1210drivers/scsi/AM53C974.cif (i && !(i % 16)) printk("\n"); }
i1294drivers/scsi/AM53C974.cint                      period, offset, i, rate, rate_rem;
i1312drivers/scsi/AM53C974.cfor (i = 0; i < 3; i++) hostdata->msgout[i] = msg[i];
i1393drivers/scsi/AM53C974.cint                      ret, i, len, residual=-1;
i1467drivers/scsi/AM53C974.cfor (i = 0; i < sizeof(hostdata->last_message); i++) 
i1468drivers/scsi/AM53C974.chostdata->last_message[i] = hostdata->msgout[i];
i1476drivers/scsi/AM53C974.cfor (i = 0; i < hostdata->msgout[1] + 2; i++) {
i1477drivers/scsi/AM53C974.cprintk("%02x ", hostdata->msgout[i]);
i1478drivers/scsi/AM53C974.cif (i && !(i % 16)) printk("\n"); }
i1485drivers/scsi/AM53C974.cfor (i = 0; i < len; i++) AM53C974_write_8(FFREG, hostdata->msgout[i]);
i1495drivers/scsi/AM53C974.cfor (i = 0; i < cmd->cmd_len; i++) AM53C974_write_8(FFREG, cmd->cmnd[i]);
i1791drivers/scsi/AM53C974.cunsigned int             i, len, cmd_size = COMMAND_SIZE(cmd->cmnd[0]);
i1842drivers/scsi/AM53C974.cfor (i = 0; i < cmd_size; i++) AM53C974_write_8(FFREG, cmd->cmnd[i]);
i1847drivers/scsi/AM53C974.cfor (i = 0; i < cmd_size; i++) AM53C974_write_8(FFREG, cmd->cmnd[i]);
i2032drivers/scsi/AM53C974.cint                      cfifo, pio, i = 0;
i2037drivers/scsi/AM53C974.ci++;
i2038drivers/scsi/AM53C974.c} while (cfifo && (i < 50000));
i2039drivers/scsi/AM53C974.cpio = (i == 50000) ? 1: 0;
i2201drivers/scsi/AM53C974.cint                      i;
i2217drivers/scsi/AM53C974.cfor (i = 0; i < 8; i++) {
i2218drivers/scsi/AM53C974.chostdata->busy[i] = 0;
i2219drivers/scsi/AM53C974.chostdata->sync_per[i] = DEF_STP;
i2220drivers/scsi/AM53C974.chostdata->sync_off[i] = 0;
i2221drivers/scsi/AM53C974.chostdata->sync_neg[i] = 0; }
i266drivers/scsi/BusLogic.cint i;
i267drivers/scsi/BusLogic.cfor (i = 0; i < BusLogic_InitialCCBs; i++)
i274drivers/scsi/BusLogic.cHostAdapter->HostNumber, i);
i508drivers/scsi/BusLogic.cint i;
i512drivers/scsi/BusLogic.cfor (i = 0; i < ReplyLength; i++)
i513drivers/scsi/BusLogic.cprintk(" %02X", ((unsigned char *) ReplyData)[i]);
i757drivers/scsi/BusLogic.cint TargetID, i;
i844drivers/scsi/BusLogic.cfor (i = 0; i < sizeof(BoardModelNumber); i++)
i846drivers/scsi/BusLogic.cCharacter = BoardModelNumber[i];
i1260drivers/scsi/BusLogic.cint TestCount = 5, i;
i1265drivers/scsi/BusLogic.cfor (i = 0; i < TestCount; i++)
i1953drivers/scsi/BusLogic.cint i;
i1960drivers/scsi/BusLogic.cfor (i = 0; i < CCB->CDB_Length; i++)
i1961drivers/scsi/BusLogic.cprintk(" %02X", CCB->CDB[i]);
i1964drivers/scsi/BusLogic.cfor (i = 0; i < CCB->SenseDataLength; i++)
i1965drivers/scsi/BusLogic.cprintk(" %02X", (*CCB->SenseDataPointer)[i]);
i2612drivers/scsi/BusLogic.cint IntegerCount = Integers[0], TargetID, i;
i2629drivers/scsi/BusLogic.cfor (i = 0; ; i++)
i2630drivers/scsi/BusLogic.cif (BusLogic_IO_StandardAddresses[i] == 0)
i2636drivers/scsi/BusLogic.celse if (i < ProbeListIndex &&
i2637drivers/scsi/BusLogic.cIO_Address == BusLogic_IO_AddressProbeList[i])
i2644drivers/scsi/BusLogic.cIO_Address == BusLogic_IO_StandardAddresses[i]) break;
i360drivers/scsi/NCR5380.cunsigned char status, data, basr, mr, icr, i;
i370drivers/scsi/NCR5380.cfor (i = 0; signals[i].mask ; ++i) 
i371drivers/scsi/NCR5380.cif (status & signals[i].mask)
i372drivers/scsi/NCR5380.cprintk(",%s", signals[i].name);
i374drivers/scsi/NCR5380.cfor (i = 0; basrs[i].mask ; ++i) 
i375drivers/scsi/NCR5380.cif (basr & basrs[i].mask)
i376drivers/scsi/NCR5380.cprintk(",%s", basrs[i].name);
i378drivers/scsi/NCR5380.cfor (i = 0; icrs[i].mask; ++i) 
i379drivers/scsi/NCR5380.cif (icr & icrs[i].mask)
i380drivers/scsi/NCR5380.cprintk(",%s", icrs[i].name);
i382drivers/scsi/NCR5380.cfor (i = 0; mrs[i].mask; ++i) 
i383drivers/scsi/NCR5380.cif (mr & mrs[i].mask)
i384drivers/scsi/NCR5380.cprintk(",%s", mrs[i].name);
i407drivers/scsi/NCR5380.cint i;
i415drivers/scsi/NCR5380.cfor (i = 0; (phases[i].value != PHASE_UNKNOWN) && 
i416drivers/scsi/NCR5380.c(phases[i].value != (status & PHASE_MASK)); ++i); 
i417drivers/scsi/NCR5380.cprintk("scsi%d : phase %s\n", instance->host_no, phases[i].name);
i628drivers/scsi/NCR5380.cint trying_irqs, i, mask;
i631drivers/scsi/NCR5380.cfor (trying_irqs = i = 0, mask = 1; i < 16; ++i, mask <<= 1) 
i632drivers/scsi/NCR5380.cif ((mask & possible) &&  (request_irq(i, &probe_intr, SA_INTERRUPT, "NCR-probe", NULL) 
i661drivers/scsi/NCR5380.cfor (i = 0, mask = 1; i < 16; ++i, mask <<= 1)
i663drivers/scsi/NCR5380.cfree_irq(i, NULL);
i779drivers/scsi/NCR5380.cint i, pass;
i800drivers/scsi/NCR5380.cfor (i = hostdata->id_mask; i <= 0x80; i <<= 1)
i801drivers/scsi/NCR5380.cif (i > hostdata->id_mask)
i802drivers/scsi/NCR5380.chostdata->id_higher_mask |= i;
i803drivers/scsi/NCR5380.cfor (i = 0; i < 8; ++i)
i804drivers/scsi/NCR5380.chostdata->busy[i] = 0;
i813drivers/scsi/NCR5380.cfor (i = 0; i < 8; ++i) {
i814drivers/scsi/NCR5380.chostdata->time_read[i] = 0;
i815drivers/scsi/NCR5380.chostdata->time_write[i] = 0;
i816drivers/scsi/NCR5380.chostdata->bytes_read[i] = 0;
i817drivers/scsi/NCR5380.chostdata->bytes_write[i] = 0;
i155drivers/scsi/NCR53c406a.c#define rtrc(i) {inb(0x3da);outb(0x31,0x3c0);outb((i),0x3c0);}
i157drivers/scsi/NCR53c406a.c#define rtrc(i) {}
i357drivers/scsi/NCR53c406a.cint  i;
i363drivers/scsi/NCR53c406a.ci = inb(PIO_STATUS);
i365drivers/scsi/NCR53c406a.cif (i & 0x80) 
i368drivers/scsi/NCR53c406a.cswitch( i & 0x1e ) {
i382drivers/scsi/NCR53c406a.cif ((i & 0x40) && len == 0) { /* fifo empty and interrupt occured */
i412drivers/scsi/NCR53c406a.cint  i = 0;
i417drivers/scsi/NCR53c406a.cwhile (reqlen && !(i&0x40)) {
i418drivers/scsi/NCR53c406a.ci = inb(PIO_STATUS);
i420drivers/scsi/NCR53c406a.cif (i & 0x80)    /* error */
i423drivers/scsi/NCR53c406a.cswitch( i & 0x1e ) {
i465drivers/scsi/NCR53c406a.cint i;
i497drivers/scsi/NCR53c406a.cfor(i=0;  i<PORT_COUNT && !port_base; i++){
i498drivers/scsi/NCR53c406a.cif(check_region(ports[i], 0x10)){
i499drivers/scsi/NCR53c406a.cDEB(printk("NCR53c406a: port %x in use\n", ports[i]));
i502drivers/scsi/NCR53c406a.cVDEB(printk("NCR53c406a: port %x available\n", ports[i]));
i503drivers/scsi/NCR53c406a.coutb(C5_IMG, ports[i] + 0x0d); /* reg set 1 */
i504drivers/scsi/NCR53c406a.cif(   (inb(ports[i] + 0x0e) ^ inb(ports[i] + 0x0e)) == 7
i505drivers/scsi/NCR53c406a.c&& (inb(ports[i] + 0x0e) ^ inb(ports[i] + 0x0e)) == 7
i506drivers/scsi/NCR53c406a.c&& (inb(ports[i] + 0x0e) & 0xf8) == 0x58 ) {
i509drivers/scsi/NCR53c406a.cport_base = ports[i];
i596drivers/scsi/NCR53c406a.csize_t i;
i609drivers/scsi/NCR53c406a.cfor (i = 0; i < PORT_COUNT && !port_base; i++)
i610drivers/scsi/NCR53c406a.cif (ports[i] == ints[1]) {
i625drivers/scsi/NCR53c406a.cfor (i = 0; i < INTR_COUNT && irq_level < 0; i++)
i626drivers/scsi/NCR53c406a.cif (intrs[i] == ints[2]) {
i654drivers/scsi/NCR53c406a.cint i = jiffies + WATCHDOG;
i656drivers/scsi/NCR53c406a.cwhile(i>jiffies && !(inb(STAT_REG)&0xe0)) /* wait for a pseudo-interrupt */
i659drivers/scsi/NCR53c406a.cif (i <= jiffies) {    /* Timed out */
i686drivers/scsi/NCR53c406a.cint i;
i698drivers/scsi/NCR53c406a.cVDEB(for(i=0; i<SCpnt->cmd_len; i++)
i699drivers/scsi/NCR53c406a.cprintk("cmd[%d]=%02x  ", i, SCpnt->cmnd[i]));
i715drivers/scsi/NCR53c406a.cfor(i=0; i<SCpnt->cmd_len; i++){
i716drivers/scsi/NCR53c406a.coutb(SCpnt->cmnd[i], SCSI_FIFO);
i963drivers/scsi/NCR53c406a.cint i;
i974drivers/scsi/NCR53c406a.ci = jiffies + WATCHDOG;
i975drivers/scsi/NCR53c406a.cwhile(i > jiffies && !(inb(STAT_REG) & 0x80))
i977drivers/scsi/NCR53c406a.cif (i <= jiffies) {    /* Timed out, must be hardware trouble */
i2612drivers/scsi/advansys.cint          i;
i2637drivers/scsi/advansys.cfor (i = 0; i < asc_board_count; i++) {
i2638drivers/scsi/advansys.cif (asc_host[i]->host_no == hostno) {
i2642drivers/scsi/advansys.cif (i == asc_board_count) {
i2645drivers/scsi/advansys.cshp = asc_host[i];
i3374drivers/scsi/advansys.cint        i;
i3386drivers/scsi/advansys.cfor (i = 0; i < ASC_MAX_TID; i++) {
i3387drivers/scsi/advansys.cwhile ((tscp = asc_dequeue(scp->host, i)) != NULL) {
i3489drivers/scsi/advansys.cint  i;
i3514drivers/scsi/advansys.cfor (i = 1; i < ints[0]; i++) {
i3515drivers/scsi/advansys.cASC_DBG2(1, " ints[%d] %x", i, ints[i]);
i3520drivers/scsi/advansys.cfor (i = 1; i <= ints[0] && i <= ASC_NUM_BOARD_SUPPORTED; i++) {
i3521drivers/scsi/advansys.casc_ioport[i-1] = ints[i];
i3523drivers/scsi/advansys.ci - 1, asc_ioport[i-1]);
i3582drivers/scsi/advansys.cint      i;
i3597drivers/scsi/advansys.cfor (i = 0; i < asc_board_count; i++) {
i3598drivers/scsi/advansys.cwhile (AscIsIntPending(asc_host[i]->io_port)) {
i3600drivers/scsi/advansys.cAscISR(&ASC_BOARD(asc_host[i])->board);
i3936drivers/scsi/advansys.cint            i;
i3945drivers/scsi/advansys.cfor (i = 0; i < ASC_MAX_TID; i++) {
i3946drivers/scsi/advansys.cif (scan_tidmask & ASC_TIX_TO_TARGET_ID(i)) {
i3947drivers/scsi/advansys.cif ((scp = asc_dequeue(shp, i)) == NULL) {
i3948drivers/scsi/advansys.cscan_tidmask &= ~ASC_TIX_TO_TARGET_ID(i);
i3950drivers/scsi/advansys.cscan_tidmask &= ~ASC_TIX_TO_TARGET_ID(i);
i3952drivers/scsi/advansys.casc_enqueue(shp, scp, i, ASC_FRONT);
i4076drivers/scsi/advansys.cfor (i = 0; i <= ASC_MAX_TID; i++) {
i4077drivers/scsi/advansys.cif (boardp->max_dvc_qng[i] < scp->host->cmd_per_lun) {
i4078drivers/scsi/advansys.cscp->host->cmd_per_lun = boardp->max_dvc_qng[i];
i4480drivers/scsi/advansys.culong i;
i4483drivers/scsi/advansys.cfor (i = 0; i < n; i++) {
i4551drivers/scsi/advansys.cint  i;
i4555drivers/scsi/advansys.cfor (i = 0; i < words; i++, outbuf++) {
i4556drivers/scsi/advansys.cif (i == 2 || i == 10) {
i4576drivers/scsi/advansys.cint  i;
i4579drivers/scsi/advansys.cfor (i = 0; i < words; i++, inbuf++) {
i4580drivers/scsi/advansys.cif (i == 5) {
i4600drivers/scsi/advansys.cint  i;
i4602drivers/scsi/advansys.cfor (i = 0; i < words; i++, outbuf++)
i4618drivers/scsi/advansys.cint  i;
i4620drivers/scsi/advansys.cfor (i = 0; i < words; i++, inbuf++)
i4638drivers/scsi/advansys.cint    i;
i4644drivers/scsi/advansys.cfor(i = 0; i < words; i++, pw++) {
i4870drivers/scsi/advansys.cint i;
i4893drivers/scsi/advansys.cfor (i = 0; i < sgp->entry_cnt; i++) {
i4895drivers/scsi/advansys.ci, (unsigned) sgp->sg_list[i].addr, sgp->sg_list[i].bytes);
i4926drivers/scsi/advansys.cint      i;
i4933drivers/scsi/advansys.cfor (i = 0; i < l; i += 32) {
i4936drivers/scsi/advansys.cif ((k = (l - i) / 4) >= 8) {
i4940drivers/scsi/advansys.cm = (l - i) % 4 ;
i4945drivers/scsi/advansys.c(unsigned) s[i+(j*4)], (unsigned) s[i+(j*4)+1],
i4946drivers/scsi/advansys.c(unsigned) s[i+(j*4)+2], (unsigned) s[i+(j*4)+3]);
i4955drivers/scsi/advansys.c(unsigned) s[i+(j*4)+4]);
i4959drivers/scsi/advansys.c(unsigned) s[i+(j*4)+4],
i4960drivers/scsi/advansys.c(unsigned) s[i+(j*4)+5]);
i4964drivers/scsi/advansys.c(unsigned) s[i+(j*4)+4],
i4965drivers/scsi/advansys.c(unsigned) s[i+(j*4)+5],
i4966drivers/scsi/advansys.c(unsigned) s[i+(j*4)+6]);
i5192drivers/scsi/advansys.cint                 i;
i5195drivers/scsi/advansys.cfor (i = 0; i < ASC_IOADR_TABLE_MAX_IX; i++) {
i5196drivers/scsi/advansys.cif (_asc_def_iop_base[i] > s_addr) {
i5200drivers/scsi/advansys.cfor (; i < ASC_IOADR_TABLE_MAX_IX; i++) {
i5201drivers/scsi/advansys.ciop_base = _asc_def_iop_base[i];
i5591drivers/scsi/advansys.cuchar               i;
i5640drivers/scsi/advansys.cfor (i = 0; i < sg_queue_cnt; i++) {
i5738drivers/scsi/advansys.ci = tid_no + 1;
i5740drivers/scsi/advansys.cif (i > ASC_MAX_TID)
i5741drivers/scsi/advansys.ci = 0;
i5742drivers/scsi/advansys.cif (i == tid_no)
i5744drivers/scsi/advansys.cn_busy_q_done = AscIsrExeBusyQueue(asc_dvc, i);
i5747drivers/scsi/advansys.ci++;
i6060drivers/scsi/advansys.cint                 i;
i6126drivers/scsi/advansys.cfor (i = 0; i < sg_entry_cnt_minus_one; i++) {
i6128drivers/scsi/advansys.caddr = scsiq->sg_head->sg_list[i].addr +
i6129drivers/scsi/advansys.cscsiq->sg_head->sg_list[i].bytes;
i6507drivers/scsi/advansys.cuchar               sg_index, i;
i6534drivers/scsi/advansys.cfor (i = 0; i < sg_head->queue_cnt; i++) {
i6535drivers/scsi/advansys.cscsi_sg_q.seq_no = i + 1;
i6539drivers/scsi/advansys.cif (i == 0) {
i6550drivers/scsi/advansys.cif (i == 0) {
i6627drivers/scsi/advansys.cint                 i;
i6651drivers/scsi/advansys.cfor (i = 0; i < sizeof (ASC_SCSI_REQ_Q); i++) {
i6708drivers/scsi/advansys.cint                 i;
i6729drivers/scsi/advansys.cfor (i = 0; i <= ASC_MAX_TID; i++) {
i6730drivers/scsi/advansys.casc_dvc->cur_dvc_qng[i] = 0;
i6731drivers/scsi/advansys.cif (asc_dvc->pci_fix_asyn_xfer & (0x01 << i)) {
i6733drivers/scsi/advansys.cAscSetChipSynRegAtID(iop_base, i, ASYN_SDTR_DATA_FIX_PCI_REV_AB);
i6804drivers/scsi/advansys.cuchar               i;
i6816drivers/scsi/advansys.ci = ASC_MIN_ACTIVE_QNO;
i6820drivers/scsi/advansys.c(uchar) (i + 1));
i6824drivers/scsi/advansys.c(uchar) i);
i6825drivers/scsi/advansys.ci++;
i6827drivers/scsi/advansys.cfor (; i < asc_dvc->max_total_qng; i++, s_addr += ASC_QBLK_SIZE) {
i6829drivers/scsi/advansys.c(uchar) (i + 1));
i6831drivers/scsi/advansys.c(uchar) (i - 1));
i6833drivers/scsi/advansys.c(uchar) i);
i6842drivers/scsi/advansys.ci++;
i6845drivers/scsi/advansys.cfor (; i <= (uchar) (asc_dvc->max_total_qng + 3);
i6846drivers/scsi/advansys.ci++, s_addr += ASC_QBLK_SIZE) {
i6849drivers/scsi/advansys.c(ushort) (s_addr + (ushort) ASC_SCSIQ_B_FWD), i);
i6851drivers/scsi/advansys.c(ushort) (s_addr + (ushort) ASC_SCSIQ_B_BWD), i);
i6853drivers/scsi/advansys.c(ushort) (s_addr + (ushort) ASC_SCSIQ_B_QNO), i);
i6865drivers/scsi/advansys.cint                 i;
i6892drivers/scsi/advansys.cfor (i = 0; i < 32; i++, lram_addr += 2) {
i7077drivers/scsi/advansys.cuchar               i;
i7079drivers/scsi/advansys.cfor (i = 0; i < n_free_q; i++) {
i7749drivers/scsi/advansys.cint                 i;
i7762drivers/scsi/advansys.cfor (i = 0; i <= ASC_MAX_TID; i++) {
i7763drivers/scsi/advansys.casc_dvc->scsiq_busy_head[i] = (ASC_SCSI_Q dosfar *) 0L;
i7764drivers/scsi/advansys.casc_dvc->scsiq_busy_tail[i] = (ASC_SCSI_Q dosfar *) 0L;
i7810drivers/scsi/advansys.cfor (i = 0; i <= ASC_MAX_TID; i++) {
i7811drivers/scsi/advansys.casc_dvc->cfg->sdtr_data[i] =
i7813drivers/scsi/advansys.casc_dvc->cur_dvc_qng[i] = 0;
i7814drivers/scsi/advansys.casc_dvc->max_dvc_qng[i] = ASC_MAX_SCSI1_QNG;
i7815drivers/scsi/advansys.casc_dvc->scsiq_busy_head[i] = (ASC_SCSI_Q dosfar *) 0L;
i7816drivers/scsi/advansys.casc_dvc->scsiq_busy_tail[i] = (ASC_SCSI_Q dosfar *) 0L;
i7878drivers/scsi/advansys.cuchar               i;
i8001drivers/scsi/advansys.cfor (i = 0; i <= ASC_MAX_TID; i++) {
i8002drivers/scsi/advansys.casc_dvc->cfg->sdtr_data[i] = eep_config->sdtr_data[i];
i8003drivers/scsi/advansys.casc_dvc->cfg->max_tag_qng[i] = eep_config->max_tag_qng;
i8018drivers/scsi/advansys.cint                 i;
i8025drivers/scsi/advansys.cfor (i = 0; i <= ASC_MAX_TID; i++) {
i8026drivers/scsi/advansys.cAscWriteLramByte(iop_base, (ushort) (ASCV_SDTR_DATA_BEG + i),
i8027drivers/scsi/advansys.casc_dvc->cfg->sdtr_data[i]);
i8073drivers/scsi/advansys.cuchar               i;
i8089drivers/scsi/advansys.cfor (i = 0; i < cp_sen_len; i++) {
i8090drivers/scsi/advansys.cscsiq_req->sense[i] = scsiq_req->sense_ptr[i];
i8391drivers/scsi/advansys.cint                 i;
i8402drivers/scsi/advansys.cfor (i = 0; i <= ASC_MAX_TID; i++) {
i8404drivers/scsi/advansys.c(ushort) ((ushort) ASCV_MAX_DVC_QNG_BEG + (ushort) i),
i8405drivers/scsi/advansys.casc_dvc->max_dvc_qng[i]);
i8998drivers/scsi/advansys.cint                 i;
i9001drivers/scsi/advansys.cfor (i = 0; i < words; i++, s_addr += 2) {
i9015drivers/scsi/advansys.crint                i;
i9018drivers/scsi/advansys.cfor (i = 0; i < words; i++) {
i356drivers/scsi/aha152x.c#define MSG(i)            (HOSTDATA(shpnt)->message[i])
i602drivers/scsi/aha152x.cint i;
i608drivers/scsi/aha152x.cfor(i=0; i<16; i++)
i609drivers/scsi/aha152x.cSETPORT(io_port+O_STACK, i);
i612drivers/scsi/aha152x.cfor(i=0; i<16 && GETPORT(io_port+O_STACK)==i; i++)
i615drivers/scsi/aha152x.creturn(i==16);
i620drivers/scsi/aha152x.cint i;
i623drivers/scsi/aha152x.cfor(i=0; i<PORT_COUNT && (setup->io_port != ports[i]); i++)
i626drivers/scsi/aha152x.cif(i==PORT_COUNT)
i654drivers/scsi/aha152x.cint                 i, j, ok;
i661drivers/scsi/aha152x.cfor(i=0; i<IRQS; i++)
i662drivers/scsi/aha152x.caha152x_host[i] = (struct Scsi_Host *) NULL;
i668drivers/scsi/aha152x.cfor(i=0; i<setup_count; i++)
i669drivers/scsi/aha152x.cif(!aha152x_checksetup(&setup[i]))
i671drivers/scsi/aha152x.cprintk("\naha152x: %s\n", setup[i].conf);
i672drivers/scsi/aha152x.cprintk("aha152x: invalid line (controller=%d)\n", i+1);
i727drivers/scsi/aha152x.cfor(i=0; i < ADDRESS_COUNT && !ok; i++)
i729drivers/scsi/aha152x.cok=!memcmp((void *) addresses[i]+signatures[j].sig_offset,
i741drivers/scsi/aha152x.cfor(i=0; i<PORT_COUNT && setup_count<2; i++)
i743drivers/scsi/aha152x.cif((setup_count==1) && (setup[0].io_port == ports[i]))
i746drivers/scsi/aha152x.cif(aha152x_porttest(ports[i]))
i748drivers/scsi/aha152x.csetup[setup_count].io_port = ports[i];
i751drivers/scsi/aha152x.c(GETPORT(ports[i]+O_PORTA)<<8) + GETPORT(ports[i]+O_PORTB);
i772drivers/scsi/aha152x.cfor(i=0; i<setup_count; i++)
i776drivers/scsi/aha152x.cshpnt = aha152x_host[setup[i].irq-IRQ_MIN] =
i779drivers/scsi/aha152x.cshpnt->io_port                     = setup[i].io_port;
i781drivers/scsi/aha152x.cshpnt->irq                         = setup[i].irq;
i787drivers/scsi/aha152x.cHOSTDATA(shpnt)->reconnect         = setup[i].reconnect;
i788drivers/scsi/aha152x.cHOSTDATA(shpnt)->parity            = setup[i].parity;
i789drivers/scsi/aha152x.cHOSTDATA(shpnt)->synchronous       = setup[i].synchronous;
i790drivers/scsi/aha152x.cHOSTDATA(shpnt)->delay             = setup[i].delay;
i792drivers/scsi/aha152x.cHOSTDATA(shpnt)->debug             = setup[i].debug;
i805drivers/scsi/aha152x.cSETPORT(SCSIID, setup[i].scsiid << 4);
i806drivers/scsi/aha152x.cshpnt->this_id=setup[i].scsiid;
i808drivers/scsi/aha152x.cif(setup[i].reconnect)
i815drivers/scsi/aha152x.cdo_pause(setup[i].delay);
i821drivers/scsi/aha152x.ci,
i838drivers/scsi/aha152x.cok = request_irq(setup[i].irq, aha152x_intr, SA_INTERRUPT, "aha152x", NULL);
i844drivers/scsi/aha152x.cprintk("aha152x%d: bad IRQ %d.\n", i, setup[i].irq);
i850drivers/scsi/aha152x.ci, setup[i].irq);
i854drivers/scsi/aha152x.c" requesting IRQ %d.\n", i, setup[i].irq);
i1340drivers/scsi/aha152x.cint identify_msg, target, i;
i1367drivers/scsi/aha152x.ci = GETPORT(SELID) & ~(1 << shpnt->this_id);
i1369drivers/scsi/aha152x.cif(i)
i1370drivers/scsi/aha152x.cfor(; (i & 1)==0; target++, i>>=1)
i1390drivers/scsi/aha152x.cif((i=getphase(shpnt))!=P_MSGI)
i1392drivers/scsi/aha152x.cprintk("target doesn't enter MSGI to identify (phase=%02x)\n", i);
i1644drivers/scsi/aha152x.cint i, identify=0, abort=0;
i1672drivers/scsi/aha152x.cint i;
i1675drivers/scsi/aha152x.cfor(i=0; i<MSGLEN; i+=print_msg(&MSG(i)), printk(" "))
i1681drivers/scsi/aha152x.cfor(i=0; i<MSGLEN && TESTLO(SSTAT1, PHASEMIS); i++)
i1685drivers/scsi/aha152x.cprintk("%x ", MSG(i));
i1687drivers/scsi/aha152x.cif(i==MSGLEN-1)
i1693drivers/scsi/aha152x.cSETPORT(SCSIDAT, MSG(i));
i1698drivers/scsi/aha152x.cif(MSG(i)==IDENTIFY(HOSTDATA(shpnt)->reconnect,CURRENT_SC->lun))
i1701drivers/scsi/aha152x.cif(MSG(i)==ABORT)
i1737drivers/scsi/aha152x.cint i;
i1748drivers/scsi/aha152x.cfor(i=0; i<CURRENT_SC->cmd_len && TESTLO(SSTAT1, PHASEMIS); i++)
i1750drivers/scsi/aha152x.cSETPORT(SCSIDAT, CURRENT_SC->cmnd[i]);
i1756drivers/scsi/aha152x.cif(i<CURRENT_SC->cmd_len && TESTHI(SSTAT1, PHASEMIS))
i1827drivers/scsi/aha152x.cint  i;
i1840drivers/scsi/aha152x.cfor(i=0; i<buffer[1] &&
i1841drivers/scsi/aha152x.c(make_acklow(shpnt), getphase(shpnt)==P_MSGI); i++)
i1842drivers/scsi/aha152x.cbuffer[2+i]=GETPORT(SCSIDAT);
i2093drivers/scsi/aha152x.cint           i;
i2103drivers/scsi/aha152x.cfor(i=0; i<2*data_count; i++)
i2757drivers/scsi/aha152x.cint i;
i2762drivers/scsi/aha152x.cfor(i=0; i<COMMAND_SIZE(ptr->cmnd[0]); i++)
i2763drivers/scsi/aha152x.cSPRINTF("0x%02x", ptr->cmnd[i]);
i2821drivers/scsi/aha152x.cint i;
i2828drivers/scsi/aha152x.cfor(i=0, shpnt= (struct Scsi_Host *) NULL; i<IRQS; i++)
i2829drivers/scsi/aha152x.cif(aha152x_host[i] && aha152x_host[i]->host_no == hostno)
i2830drivers/scsi/aha152x.cshpnt=aha152x_host[i];
i2858drivers/scsi/aha152x.cfor(i=0; i<8; i++)
i2859drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->syncrate[i]&0x7f)
i2861drivers/scsi/aha152x.ci,
i2862drivers/scsi/aha152x.c(((HOSTDATA(shpnt)->syncrate[i]&0x70)>>4)+2),
i2863drivers/scsi/aha152x.c(((HOSTDATA(shpnt)->syncrate[i]&0x70)>>4)+2)*
i2865drivers/scsi/aha152x.cHOSTDATA(shpnt)->syncrate[i]&0x0f);
i2868drivers/scsi/aha152x.cfor(i=0; i<8; i++)
i2869drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->syncrate[i]&0x7f)
i2871drivers/scsi/aha152x.ci,
i2872drivers/scsi/aha152x.c(((HOSTDATA(shpnt)->syncrate[i]&0x70)>>4)+2),
i2873drivers/scsi/aha152x.c(((HOSTDATA(shpnt)->syncrate[i]&0x70)>>4)+2)*50,
i2874drivers/scsi/aha152x.cHOSTDATA(shpnt)->syncrate[i]&0x0f);
i2927drivers/scsi/aha152x.cfor (i=0; i<8; i++) {
i2928drivers/scsi/aha152x.cif (scd->vendor[i] >= 0x20)
i2929drivers/scsi/aha152x.cSPRINTF("%c", scd->vendor[i]);
i2934drivers/scsi/aha152x.cfor (i = 0; i < 16; i++) {
i2935drivers/scsi/aha152x.cif (scd->model[i] >= 0x20)
i2936drivers/scsi/aha152x.cSPRINTF("%c", scd->model[i]);
i2941drivers/scsi/aha152x.cfor (i = 0; i < 4; i++) {
i2942drivers/scsi/aha152x.cif (scd->rev[i] >= 0x20)
i2943drivers/scsi/aha152x.cSPRINTF("%c", scd->rev[i]);
i289drivers/scsi/aha1542.cint i;
i308drivers/scsi/aha1542.ci = jiffies + 2;
i309drivers/scsi/aha1542.cwhile (i>jiffies); /* Wait a little bit for things to settle down. */
i486drivers/scsi/aha1542.cint i;
i490drivers/scsi/aha1542.cfor (i = 0; i < 12; i++)
i491drivers/scsi/aha1542.cprintk("%02x ", ccb[mbo].cdb[ccb[mbo].cdblen+i]);
i524drivers/scsi/aha1542.cDEB(int i);
i546drivers/scsi/aha1542.ci = xscsi2int(cmd+2);
i548drivers/scsi/aha1542.ci = scsi2int(cmd+2);
i550drivers/scsi/aha1542.ci = -1;
i552drivers/scsi/aha1542.cprintk("aha1542_queuecommand: dev %d cmd %02x pos %d len %d ", target, *cmd, i, bufflen);
i554drivers/scsi/aha1542.cprintk("aha1542_command: dev %d cmd %02x pos %d len %d ", target, *cmd, i, bufflen);
i557drivers/scsi/aha1542.cfor (i = 0; i < SCpnt->cmd_len; i++) printk("%02x ", cmd[i]);
i610drivers/scsi/aha1542.cint i;
i616drivers/scsi/aha1542.cfor(i=0; i<SCpnt->use_sg; i++) {
i617drivers/scsi/aha1542.cif(sgpnt[i].length == 0 || SCpnt->use_sg > 16 || 
i618drivers/scsi/aha1542.c(((int)sgpnt[i].address) & 1) || (sgpnt[i].length & 1)){
i620drivers/scsi/aha1542.cprintk("Bad segment list supplied to aha1542.c (%d, %d)\n",SCpnt->use_sg,i);
i621drivers/scsi/aha1542.cfor(i=0;i<SCpnt->use_sg;i++){
i622drivers/scsi/aha1542.cprintk("%d: %x %x %d\n",i,(unsigned int) sgpnt[i].address, (unsigned int) sgpnt[i].alt_address,
i623drivers/scsi/aha1542.csgpnt[i].length);
i626drivers/scsi/aha1542.cptr = (unsigned char *) &cptr[i];
i627drivers/scsi/aha1542.cfor(i=0;i<18;i++) printk("%02x ", ptr[i]);
i630drivers/scsi/aha1542.cany2scsi(cptr[i].dataptr, sgpnt[i].address);
i631drivers/scsi/aha1542.cif(((unsigned  int) sgpnt[i].address) & 0xff000000) goto baddma;
i632drivers/scsi/aha1542.cany2scsi(cptr[i].datalen, sgpnt[i].length);
i639drivers/scsi/aha1542.cfor(i=0;i<18;i++) printk("%02x ", ptr[i]);
i654drivers/scsi/aha1542.c{ int i;
i656drivers/scsi/aha1542.cfor (i = 0; i < sizeof(ccb[mbo])-10; i++)
i657drivers/scsi/aha1542.cprintk("%02x ", ((unchar *)&ccb[mbo])[i]);
i696drivers/scsi/aha1542.cint i;
i705drivers/scsi/aha1542.cfor(i=0; i<AHA1542_MAILBOXES; i++){
i706drivers/scsi/aha1542.cmb[i].status = mb[AHA1542_MAILBOXES+i].status = 0;
i707drivers/scsi/aha1542.cany2scsi(mb[i].ccbptr, &ccb[i]);
i724drivers/scsi/aha1542.cint i;
i725drivers/scsi/aha1542.ci = inb(STATUS(base_io));
i726drivers/scsi/aha1542.cif (i & DF) {
i727drivers/scsi/aha1542.ci = inb(DATA(base_io));
i825drivers/scsi/aha1542.cint i;
i826drivers/scsi/aha1542.ci = inb(STATUS(base_io));
i827drivers/scsi/aha1542.cif (i & DF) {
i828drivers/scsi/aha1542.ci = inb(DATA(base_io));
i1040drivers/scsi/aha1542.cint i;
i1042drivers/scsi/aha1542.cfor (i = 0; i < sizeof(buf); ++i) buf[i] = 0x87;
i1043drivers/scsi/aha1542.cfor (i = 0; i < 2; ++i)
i1044drivers/scsi/aha1542.cif (!aha1542_command(i, cmd, buf, sizeof(buf))) {
i1046drivers/scsi/aha1542.ci, xscsi2int(buf+4), xscsi2int(buf));
i1052drivers/scsi/aha1542.cfor (i = 0; i < 4; ++i)
i1059drivers/scsi/aha1542.cxany2scsi(cmd+2, i);
i1081drivers/scsi/aha1542.cint i;
i1087drivers/scsi/aha1542.cfor(i=0; i< AHA1542_MAILBOXES; i++)
i1088drivers/scsi/aha1542.cif(HOSTDATA(shost)->SCint[i] && 
i1089drivers/scsi/aha1542.c!(HOSTDATA(shost)->SCint[i]->device->soft_reset))
i1092drivers/scsi/aha1542.cHOSTDATA(shost)->mb[i].status = 1; /* Indicate ready to restart... */
i1115drivers/scsi/aha1542.cint mbi, mbo, i;
i1144drivers/scsi/aha1542.cfor(i=0; i< AHA1542_MAILBOXES; i++)
i1145drivers/scsi/aha1542.cif(HOSTDATA(SCpnt->host)->SCint[i])
i1147drivers/scsi/aha1542.cif(HOSTDATA(SCpnt->host)->SCint[i] == SCpnt) {
i1150drivers/scsi/aha1542.cif (HOSTDATA(SCpnt->host)->mb[i].status) {
i1185drivers/scsi/aha1542.cint i;
i1224drivers/scsi/aha1542.cfor(i=0; i< AHA1542_MAILBOXES; i++)
i1225drivers/scsi/aha1542.cif(HOSTDATA(SCpnt->host)->SCint[i] != NULL)
i1228drivers/scsi/aha1542.cSCtmp = HOSTDATA(SCpnt->host)->SCint[i];
i1234drivers/scsi/aha1542.cHOSTDATA(SCpnt->host)->SCint[i] = NULL;
i1235drivers/scsi/aha1542.cHOSTDATA(SCpnt->host)->mb[i].status = 0;
i1254drivers/scsi/aha1542.cfor(i=0; i< AHA1542_MAILBOXES; i++)
i1255drivers/scsi/aha1542.cif(HOSTDATA(SCpnt->host)->SCint[i] == SCpnt)
i1257drivers/scsi/aha1542.cHOSTDATA(SCpnt->host)->ccb[i].op = 0x81;  /* BUS DEVICE RESET */
i1270drivers/scsi/aha1542.cfor(i=0; i< AHA1542_MAILBOXES; i++)
i1271drivers/scsi/aha1542.cif(HOSTDATA(SCpnt->host)->SCint[i] &&
i1272drivers/scsi/aha1542.cHOSTDATA(SCpnt->host)->SCint[i]->target == SCpnt->target)
i1275drivers/scsi/aha1542.cSCtmp = HOSTDATA(SCpnt->host)->SCint[i];
i1281drivers/scsi/aha1542.cHOSTDATA(SCpnt->host)->SCint[i] = NULL;
i1282drivers/scsi/aha1542.cHOSTDATA(SCpnt->host)->mb[i].status = 0;
i261drivers/scsi/aha1740.cDEB(int i);
i277drivers/scsi/aha1740.ci = xscsi2int(cmd+2);
i279drivers/scsi/aha1740.ci = scsi2int(cmd+2);
i281drivers/scsi/aha1740.ci = -1;
i282drivers/scsi/aha1740.cprintk("aha1740_queuecommand: dev %d cmd %02x pos %d len %d ", target, *cmd, i, bufflen);
i284drivers/scsi/aha1740.cfor (i = 0; i < SCpnt->cmd_len; i++) printk("%02x ", cmd[i]);
i328drivers/scsi/aha1740.cint i;
i337drivers/scsi/aha1740.cfor(i=0; i<SCpnt->use_sg; i++)
i339drivers/scsi/aha1740.ccptr[i].dataptr = (long) sgpnt[i].address;
i340drivers/scsi/aha1740.ccptr[i].datalen = sgpnt[i].length;
i347drivers/scsi/aha1740.cfor(i=0;i<24;i++) printk("%02x ", ptr[i]);
i367drivers/scsi/aha1740.cint i;
i369drivers/scsi/aha1740.cfor (i = 0; i < sizeof(ecb[ecbno])-10; i++)
i370drivers/scsi/aha1740.cprintk("%02x ", ((unchar *)&ecb[ecbno])[i]);
i841drivers/scsi/aic7xxx.cint   i, n;
i855drivers/scsi/aic7xxx.cfor (i = 0; options[i].name; i++)
i857drivers/scsi/aic7xxx.cn = strlen(options[i].name);
i858drivers/scsi/aic7xxx.cif (!strncmp(options[i].name, p, n))
i862drivers/scsi/aic7xxx.c*(options[i].flag) = simple_strtoul(p + n + 1, NULL, 0);
i866drivers/scsi/aic7xxx.c*(options[i].flag) = !0;
i939drivers/scsi/aic7xxx.cunsigned long i;
i941drivers/scsi/aic7xxx.ci = jiffies + (seconds * HZ);  /* compute time to stop */
i943drivers/scsi/aic7xxx.cwhile (jiffies < i)
i1035drivers/scsi/aic7xxx.cint i, segments;
i1044drivers/scsi/aic7xxx.cfor (i = length = 0; (i < cmd->use_sg) && (i < segments); i++)
i1046drivers/scsi/aic7xxx.clength += sg[i].length;
i1069drivers/scsi/aic7xxx.cint i;
i1071drivers/scsi/aic7xxx.cfor (i = 0; i < num_aic7xxx_syncrates; i++)
i1073drivers/scsi/aic7xxx.cif ((aic7xxx_syncrates[i].period - period) >= 0)
i1081drivers/scsi/aic7xxx.cif (!(aic7xxx_syncrates[i].rate & ULTRA_SXFR))
i1085drivers/scsi/aic7xxx.c"above.\n", target, channel, aic7xxx_syncrates[i].english);
i1095drivers/scsi/aic7xxx.cif (aic7xxx_syncrates[i].rate & ULTRA_SXFR)
i1105drivers/scsi/aic7xxx.c*scsirate = (aic7xxx_syncrates[i].rate) | (offset & 0x0F);
i1108drivers/scsi/aic7xxx.ctarget, channel, aic7xxx_syncrates[i].english, offset);
i1441drivers/scsi/aic7xxx.cint i = 0;
i1460drivers/scsi/aic7xxx.cfor (i = 0; i < (queued - found); i++)
i1462drivers/scsi/aic7xxx.csaved_queue[i] = inb(QINFIFO + base);
i1463drivers/scsi/aic7xxx.cscb = &(p->scb_array[saved_queue[i]]);
i1474drivers/scsi/aic7xxx.ci--;
i1481drivers/scsi/aic7xxx.cfor (queued = 0; queued < i; queued++)
i1522drivers/scsi/aic7xxx.cfor (i = 0; i < p->numscb; i++)
i1524drivers/scsi/aic7xxx.cscb = &(p->scb_array[i]);
i1762drivers/scsi/aic7xxx.cint i;
i1766drivers/scsi/aic7xxx.cfor (i = 0; i < NUMBER(hard_error); i++)
i1768drivers/scsi/aic7xxx.cif (errno & hard_error[i].errno)
i1770drivers/scsi/aic7xxx.cprintk("  %s\n", hard_error[i].errmesg);
i2583drivers/scsi/aic7xxx.cint i;
i2601drivers/scsi/aic7xxx.cfor (i = 0; i < sizeof(buf); i++)
i2603drivers/scsi/aic7xxx.coutb(0x80 + i, base);
i2604drivers/scsi/aic7xxx.cbuf[i] = inb(base + i);
i2607drivers/scsi/aic7xxx.cfor (i = 0; i < NUMBER(AIC7xxx); i++)
i2612drivers/scsi/aic7xxx.cif (!memcmp(buf, AIC7xxx[i].signature, AIC7xxx[i].n))
i2616drivers/scsi/aic7xxx.creturn (AIC7xxx[i].type);
i2651drivers/scsi/aic7xxx.cint i = 0, k = 0;
i2686drivers/scsi/aic7xxx.cfor (i = 0; i < seeprom_read.len; i++)
i2688drivers/scsi/aic7xxx.ctemp = CS_2840 | seeprom_read.bits[i];
i2698drivers/scsi/aic7xxx.cfor (i = 5; i >= 0; i--)
i2701drivers/scsi/aic7xxx.ctemp = (temp >> i) & 1;  /* Mask out all but lower bit. */
i2716drivers/scsi/aic7xxx.cfor (i = 0; i <= 16; i++)
i2824drivers/scsi/aic7xxx.cint i = 0, k;
i2878drivers/scsi/aic7xxx.cfor (i = 0; i < seeprom_read.len; i++)
i2880drivers/scsi/aic7xxx.ctemp = SEEMS | SEECS | (seeprom_read.bits[i] << 1);
i2890drivers/scsi/aic7xxx.cfor (i = 5; i >= 0; i--)
i2893drivers/scsi/aic7xxx.ctemp = (temp >> i) & 1;  /* Mask out all but lower bit. */
i2908drivers/scsi/aic7xxx.cfor (i = 0; i <= 16; i++)
i2981drivers/scsi/aic7xxx.cint maxscb = 0, i;
i3052drivers/scsi/aic7xxx.ci = 0;
i3053drivers/scsi/aic7xxx.cwhile (i < AIC7XXX_MAXSCB)
i3055drivers/scsi/aic7xxx.coutb(i, SCBPTR + base);
i3062drivers/scsi/aic7xxx.ci++;
i3064drivers/scsi/aic7xxx.cmaxscb = i;
i3087drivers/scsi/aic7xxx.cint i;
i3424drivers/scsi/aic7xxx.cfor (i = 0; i < AIC7XXX_MAXSCB; i++)
i3426drivers/scsi/aic7xxx.cp->scb_array[i].state = SCB_FREE;
i3427drivers/scsi/aic7xxx.cp->scb_array[i].next = NULL;
i3428drivers/scsi/aic7xxx.cp->scb_array[i].cmd = NULL;
i3589drivers/scsi/aic7xxx.cfor (i = 0; i < max_targets; i++)
i3593drivers/scsi/aic7xxx.ctarget_settings = ((sc.device_flags[i] & CFXFER) << 4);
i3594drivers/scsi/aic7xxx.cif (sc.device_flags[i] & CFSYNCH)
i3596drivers/scsi/aic7xxx.cp->needsdtr_copy |= (0x01 << i);
i3598drivers/scsi/aic7xxx.cif (sc.device_flags[i] & CFWIDEB)
i3600drivers/scsi/aic7xxx.cp->needwdtr_copy |= (0x01 << i);
i3602drivers/scsi/aic7xxx.cif (sc.device_flags[i] & CFDISC)
i3604drivers/scsi/aic7xxx.cp->discenable |= (0x01 << i);
i3612drivers/scsi/aic7xxx.cp->needsdtr_copy |= (0x01 << i);
i3613drivers/scsi/aic7xxx.cp->needwdtr_copy |= (0x01 << i);
i3617drivers/scsi/aic7xxx.ctarget_settings = inb(TARG_SCRATCH + base + i);
i3620drivers/scsi/aic7xxx.cp->needsdtr_copy |= (0x01 << i);
i3628drivers/scsi/aic7xxx.cp->needwdtr_copy |= (0x01 << i);
i3633drivers/scsi/aic7xxx.coutb(target_settings, (TARG_SCRATCH + base + i));
i3656drivers/scsi/aic7xxx.cfor (i = 0; i < config->maxscb; i++)
i3658drivers/scsi/aic7xxx.coutb(i, SCBPTR + base);
i3671drivers/scsi/aic7xxx.ci = p->maxscb;
i3672drivers/scsi/aic7xxx.coutb(-i & 0xff, COMP_SCBCOUNT + base);
i3749drivers/scsi/aic7xxx.cint i;
i3762drivers/scsi/aic7xxx.cfor (i = 0; i <= MAXIRQ; i++)
i3764drivers/scsi/aic7xxx.caic7xxx_boards[i] = NULL;
i3855drivers/scsi/aic7xxx.cfor (i = 0; i < NUMBER(aic7xxx_pci_devices); i++)
i3860drivers/scsi/aic7xxx.cif (pcibios_find_device(aic7xxx_pci_devices[i].vendor_id,
i3861drivers/scsi/aic7xxx.caic7xxx_pci_devices[i].device_id,
i3868drivers/scsi/aic7xxx.cconfig.type = aic7xxx_pci_devices[i].card_type;
i3869drivers/scsi/aic7xxx.cconfig.chip_type = aic7xxx_pci_devices[i].chip_type;
i166drivers/scsi/aic7xxx_asm.cint i;
i184drivers/scsi/aic7xxx_asm.cfor (i = 0; i < p->npatch; i++) {
i185drivers/scsi/aic7xxx_asm.cM[p->patch[i]][0] &= ~1;
i186drivers/scsi/aic7xxx_asm.cM[p->patch[i]][0] |= ((p->value >> 8) & 1);
i187drivers/scsi/aic7xxx_asm.cM[p->patch[i]][1] = p->value & 0xff;
i190drivers/scsi/aic7xxx_asm.cfprintf(stderr, " 0x%x", p->patch[i]);
i206drivers/scsi/aic7xxx_asm.cint i;
i208drivers/scsi/aic7xxx_asm.cfor (i = 0; i < LC; i++)
i210drivers/scsi/aic7xxx_asm.cM[i][3],
i211drivers/scsi/aic7xxx_asm.cM[i][2],
i212drivers/scsi/aic7xxx_asm.cM[i][1],
i213drivers/scsi/aic7xxx_asm.cM[i][0]);
i220drivers/scsi/aic7xxx_asm.cint i;
i225drivers/scsi/aic7xxx_asm.ci = 0;
i243drivers/scsi/aic7xxx_asm.cif (i < MAXTOKEN-1)
i244drivers/scsi/aic7xxx_asm.ca[i++] = p;
i252drivers/scsi/aic7xxx_asm.celse if (i < MAXTOKEN-1) {
i253drivers/scsi/aic7xxx_asm.ca[i++] = quote;
i261drivers/scsi/aic7xxx_asm.cif (i) {
i262drivers/scsi/aic7xxx_asm.c*n = i;
i343drivers/scsi/aic7xxx_asm.cint i;
i363drivers/scsi/aic7xxx_asm.cfor (i = 0; i < sizeof(jmptab)/sizeof(jmptab[0]); i++)
i364drivers/scsi/aic7xxx_asm.cif (jmptab[i].what == want &&
i365drivers/scsi/aic7xxx_asm.c!strcmp(jmptab[i].name, a[spec]))
i367drivers/scsi/aic7xxx_asm.creturn(jmptab[i].value);
i474drivers/scsi/aic7xxx_asm.cint i;
i487drivers/scsi/aic7xxx_asm.cfor (i = 0; instr[i].name; i++) {
i493drivers/scsi/aic7xxx_asm.cif (!strcmp(instr[i].name, *a) && instr[i].n == n)
i496drivers/scsi/aic7xxx_asm.cif (!instr[i].name)
i499drivers/scsi/aic7xxx_asm.cI_op  = eval_operand(a, instr[i].op);
i500drivers/scsi/aic7xxx_asm.cI_src  = eval_sdi(a, instr[i].src);
i501drivers/scsi/aic7xxx_asm.cI_imm  = eval_sdi(a, instr[i].imm);
i502drivers/scsi/aic7xxx_asm.cI_dest  = eval_sdi(a, instr[i].dest);
i503drivers/scsi/aic7xxx_asm.cI_addr  = eval_addr(a, instr[i].addr);
i508drivers/scsi/aic7xxx_asm.cswitch (instr[i].fmt) {
i678drivers/scsi/aic7xxx_asm.cint i, arg_cnt, found;
i684drivers/scsi/aic7xxx_asm.cfor (i = 0; (!found && (i < NUMBER(cpp))); i++) {
i687drivers/scsi/aic7xxx_asm.cbuf = strdup(cpp[i]);
i80drivers/scsi/aic7xxx_proc.cint   i; 
i88drivers/scsi/aic7xxx_proc.cfor (i = 0; i < NUMBER(aic7xxx_boards); i++)
i90drivers/scsi/aic7xxx_proc.cif ((HBAptr = aic7xxx_boards[i]) != NULL)
i114drivers/scsi/constants.cint i,s;
i116drivers/scsi/constants.cfor ( i = 1, s = COMMAND_SIZE(command[0]); i < s; ++i) 
i117drivers/scsi/constants.cprintk("%02x ", command[i]);
i378drivers/scsi/constants.cint i, s;
i424drivers/scsi/constants.cfor(i=0; additional[i].text; i++)
i425drivers/scsi/constants.cif(additional[i].code1 == sense_buffer[12] &&
i426drivers/scsi/constants.cadditional[i].code2 == sense_buffer[13])
i427drivers/scsi/constants.cprintk("Additional sense indicates %s\n", additional[i].text);
i429drivers/scsi/constants.cfor(i=0; additional2[i].text; i++)
i430drivers/scsi/constants.cif(additional2[i].code1 == sense_buffer[12] &&
i431drivers/scsi/constants.cadditional2[i].code2_min >= sense_buffer[13]  &&
i432drivers/scsi/constants.cadditional2[i].code2_max <= sense_buffer[13]) {
i434drivers/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]);
i581drivers/scsi/constants.cint i;
i584drivers/scsi/constants.cfor(i=0;hostbyte_table[i];i++) ;
i585drivers/scsi/constants.cmaxcode=i-1;
i612drivers/scsi/constants.cint i,dr=driver_byte(scsiresult)&DRIVER_MASK, 
i616drivers/scsi/constants.cfor(i=0;driverbyte_table[i];i++) ;
i617drivers/scsi/constants.cdriver_max=i;
i618drivers/scsi/constants.cfor(i=0;driversuggest_table[i];i++) ;
i619drivers/scsi/constants.csuggest_max=i;
i606drivers/scsi/eata.cunsigned int i, j, k, flags;
i625drivers/scsi/eata.ci = HD(j)->last_cp_used + 1;
i627drivers/scsi/eata.cfor (k = 0; k < sh[j]->can_queue; k++, i++) {
i629drivers/scsi/eata.cif (i >= sh[j]->can_queue) i = 0;
i631drivers/scsi/eata.cif (HD(j)->cp_stat[i] == FREE) {
i632drivers/scsi/eata.cHD(j)->last_cp_used = i;
i654drivers/scsi/eata.ccpp = &HD(j)->cp[i];
i659drivers/scsi/eata.cspp = &HD(j)->sp[i];
i667drivers/scsi/eata.ccpp->index = i;
i671drivers/scsi/eata.cBN(j), i, SCpnt->target, SCpnt->pid);
i711drivers/scsi/eata.cHD(j)->cp_stat[i] = IN_USE;
i717drivers/scsi/eata.cunsigned int i, j, flags;
i730drivers/scsi/eata.ci = *(unsigned int *)SCarg->host_scribble;
i732drivers/scsi/eata.cBN(j), i, SCarg->target, SCarg->pid);
i734drivers/scsi/eata.cif (i >= sh[j]->can_queue)
i743drivers/scsi/eata.cif (HD(j)->cp_stat[i] == FREE) {
i744drivers/scsi/eata.cprintk("%s: abort, mbox %d is free.\n", BN(j), i);
i749drivers/scsi/eata.cif (HD(j)->cp_stat[i] == IN_USE) {
i750drivers/scsi/eata.cprintk("%s: abort, mbox %d is in use.\n", BN(j), i);
i752drivers/scsi/eata.cif (SCarg != HD(j)->cp[i].SCpnt)
i754drivers/scsi/eata.cBN(j), i, SCarg, HD(j)->cp[i].SCpnt);
i760drivers/scsi/eata.cif (HD(j)->cp_stat[i] == IN_RESET) {
i761drivers/scsi/eata.cprintk("%s: abort, mbox %d is in reset.\n", BN(j), i);
i766drivers/scsi/eata.cif (HD(j)->cp_stat[i] == LOCKED) {
i767drivers/scsi/eata.cprintk("%s: abort, mbox %d is locked.\n", BN(j), i);
i772drivers/scsi/eata.cpanic("%s: abort, mbox %d, invalid cp_stat.\n", BN(j), i);
i776drivers/scsi/eata.cunsigned int i, j, flags, time, k, limit = 0;
i805drivers/scsi/eata.cfor (i = 0; i < sh[j]->can_queue; i++) {
i807drivers/scsi/eata.cif (HD(j)->cp_stat[i] == FREE) continue;
i809drivers/scsi/eata.cif (HD(j)->cp_stat[i] == LOCKED) {
i810drivers/scsi/eata.cHD(j)->cp_stat[i] = FREE;
i811drivers/scsi/eata.cprintk("%s: reset, locked mbox %d forced free.\n", BN(j), i);
i815drivers/scsi/eata.cSCpnt = HD(j)->cp[i].SCpnt;
i816drivers/scsi/eata.cHD(j)->cp_stat[i] = IN_RESET;
i818drivers/scsi/eata.cBN(j), i, SCpnt->pid);
i821drivers/scsi/eata.cpanic("%s: reset, mbox %d, SCpnt == NULL.\n", BN(j), i);
i824drivers/scsi/eata.cpanic("%s: reset, mbox %d, garbled SCpnt.\n", BN(j), i);
i826drivers/scsi/eata.cif (*(unsigned int *)SCpnt->host_scribble != i) 
i827drivers/scsi/eata.cpanic("%s: reset, mbox %d, index mismatch.\n", BN(j), i);
i830drivers/scsi/eata.cpanic("%s: reset, mbox %d, SCpnt->scsi_done == NULL.\n", BN(j), i);
i854drivers/scsi/eata.cfor (i = 0; i < sh[j]->can_queue; i++) {
i857drivers/scsi/eata.cif (HD(j)->cp_stat[i] != IN_RESET) continue;
i859drivers/scsi/eata.cSCpnt = HD(j)->cp[i].SCpnt;
i864drivers/scsi/eata.cHD(j)->cp_stat[i] = LOCKED;
i867drivers/scsi/eata.cBN(j), i, SCpnt->pid);
i889drivers/scsi/eata.cunsigned int i, j, k, flags, status, tstatus, loops, total_loops = 0;
i924drivers/scsi/eata.cfor (i = 0; i < sh[j]->can_queue; i++) {
i925drivers/scsi/eata.cspp = &HD(j)->sp[i];
i932drivers/scsi/eata.cif (HD(j)->cp_stat[i] == IGNORE) {
i933drivers/scsi/eata.cHD(j)->cp_stat[i] = FREE;
i936drivers/scsi/eata.celse if (HD(j)->cp_stat[i] == LOCKED) {
i937drivers/scsi/eata.cHD(j)->cp_stat[i] = FREE;
i939drivers/scsi/eata.cBN(j), i, HD(j)->iocount);
i942drivers/scsi/eata.celse if (HD(j)->cp_stat[i] == FREE) {
i944drivers/scsi/eata.cBN(j), i, HD(j)->iocount);
i947drivers/scsi/eata.celse if (HD(j)->cp_stat[i] == IN_RESET)
i948drivers/scsi/eata.cprintk("%s: ihdlr, mbox %d is in reset.\n", BN(j), i);
i949drivers/scsi/eata.celse if (HD(j)->cp_stat[i] != IN_USE) 
i950drivers/scsi/eata.cpanic("%s: ihdlr, mbox %d, invalid cp_stat.\n", BN(j), i);
i952drivers/scsi/eata.cHD(j)->cp_stat[i] = FREE;
i953drivers/scsi/eata.ccpp = &HD(j)->cp[i];
i957drivers/scsi/eata.cpanic("%s: ihdlr, mbox %d, SCpnt == NULL.\n", BN(j), i);
i961drivers/scsi/eata.cBN(j), i, SCpnt, cpp->SCpnt);
i965drivers/scsi/eata.cBN(j), i, SCpnt->pid, SCpnt);
i967drivers/scsi/eata.cif (*(unsigned int *)SCpnt->host_scribble != i) 
i969drivers/scsi/eata.c" irq %d.\n", BN(j), i, SCpnt->pid, 
i1059drivers/scsi/eata.cBN(j), i, spp->adapter_status, spp->target_status,
i131drivers/scsi/eata_dma.cuint i;
i137drivers/scsi/eata_dma.cfor (i = 0; i < sh->can_queue; i++){ /* Free all SG arrays */
i138drivers/scsi/eata_dma.cif(SD(sh)->ccb[i].sg_list != NULL)
i139drivers/scsi/eata_dma.cscsi_init_free((void *) SD(sh)->ccb[i].sg_list, 
i155drivers/scsi/eata_dma.cuint i, result = 0;
i271drivers/scsi/eata_dma.cfor (i = 0; i < MAXTARGET; i++)
i272drivers/scsi/eata_dma.cHD(cmd)->t_state[cp->cp_channel][i] = RESET;
i348drivers/scsi/eata_dma.cunsigned int i, x, y;
i482drivers/scsi/eata_dma.cfor(i = 0; i < cmd->use_sg; i++, sl++){
i483drivers/scsi/eata_dma.ccp->sg_list[i].data = htonl(virt_to_bus(sl->address));
i484drivers/scsi/eata_dma.ccp->sg_list[i].len = htonl((u32) sl->length);
i696drivers/scsi/eata_dma.culong i;
i736drivers/scsi/eata_dma.ci = jiffies + (3 * HZ);
i737drivers/scsi/eata_dma.cwhile (fake_int_happened == FALSE && jiffies <= i) 
i748drivers/scsi/eata_dma.cif ((fake_int_result & HA_SERROR) || jiffies > i){
i752drivers/scsi/eata_dma.ci = jiffies;
i753drivers/scsi/eata_dma.cwhile (jiffies < (i + (3 * HZ)) && limit++ < 10000000) 
i1111drivers/scsi/eata_dma.cint i;
i1117drivers/scsi/eata_dma.cfor (i = 0; i < MAXEISA; i++) {
i1118drivers/scsi/eata_dma.cif (EISAbases[i] == TRUE) { /* Still a possibility ?        */
i1120drivers/scsi/eata_dma.cbase = 0x1c88 + (i * 0x1000);
i1144drivers/scsi/eata_dma.cEISAbases[i] = 0;  
i1155drivers/scsi/eata_dma.cint i;
i1157drivers/scsi/eata_dma.cfor (i = 0; i < MAXISA; i++) {  
i1158drivers/scsi/eata_dma.cif (ISAbases[i]) {  
i1159drivers/scsi/eata_dma.cif (get_conf_PIO(ISAbases[i],buf) == TRUE){
i1161drivers/scsi/eata_dma.cregister_HBA(ISAbases[i], buf, tpnt, IS_ISA);
i1163drivers/scsi/eata_dma.cif (check_blink_state(ISAbases[i])) 
i1167drivers/scsi/eata_dma.cISAbases[i] = 0;
i1185drivers/scsi/eata_dma.cu32 error, i, x;
i1189drivers/scsi/eata_dma.cfor (i = 0; i <= MAXPCI; ++i, ++pci_index) {
i1286drivers/scsi/eata_dma.cint i;
i1307drivers/scsi/eata_dma.cfor (i = 0; i <= MAXIRQ; i++) { /* Now that we know what we have, we     */
i1308drivers/scsi/eata_dma.cif (reg_IRQ[i]){            /* exchange the interrupt handler which  */
i1309drivers/scsi/eata_dma.cfree_irq(i, NULL);      /* we used for probing with the real one */
i1310drivers/scsi/eata_dma.crequest_irq(i, (void *)(eata_int_handler), SA_INTERRUPT, "eata_dma", NULL);
i1323drivers/scsi/eata_dma.cfor (i = 1; i <= registered_HBAs; i++) {
i89drivers/scsi/eata_dma_proc.cint i, x; 
i96drivers/scsi/eata_dma_proc.cfor (i = 1; i <= registered_HBAs; i++) {
i96drivers/scsi/eata_generic.h#define DELAY(x) { __u32 i; i = jiffies + (x * HZ); while (jiffies < i) barrier(); }
i97drivers/scsi/eata_generic.h#define DEL2(x)   { __u32 i; for (i = 0; i < 0xffff * x; i++); }
i821drivers/scsi/eata_pio.cint i;
i823drivers/scsi/eata_pio.cfor (i = 0; i < MAXISA; i++) {  
i824drivers/scsi/eata_pio.cif (ISAbases[i]) {  
i825drivers/scsi/eata_pio.cif (get_pio_conf_PIO(ISAbases[i], buf) == TRUE){
i826drivers/scsi/eata_pio.cregister_pio_HBA(ISAbases[i], buf, tpnt);
i828drivers/scsi/eata_pio.cISAbases[i] = 0;
i837drivers/scsi/eata_pio.cint i;
i843drivers/scsi/eata_pio.cfor (i = 0; i < MAXEISA; i++) {
i844drivers/scsi/eata_pio.cif (EISAbases[i] == TRUE) { /* Still a possibility ?          */
i846drivers/scsi/eata_pio.cbase = 0x1c88 + (i * 0x1000);
i866drivers/scsi/eata_pio.cEISAbases[i] = 0;
i887drivers/scsi/eata_pio.cu32 error, i, x;
i890drivers/scsi/eata_pio.cfor (i = 0; i <= MAXPCI; ++i, ++pci_index) {
i977drivers/scsi/eata_pio.cint i;
i990drivers/scsi/eata_pio.cfor (i = 0; i <= MAXIRQ; i++)
i991drivers/scsi/eata_pio.cif (reg_IRQ[i])
i992drivers/scsi/eata_pio.crequest_irq(i, eata_pio_int_handler, SA_INTERRUPT, "EATA-PIO", NULL);
i1006drivers/scsi/eata_pio.cfor (i = 1; i <= registered_HBAs; i++) {
i47drivers/scsi/eata_pio_proc.cint i; 
i53drivers/scsi/eata_pio_proc.cfor (i = 1; i <= registered_HBAs; i++) {
i613drivers/scsi/fdomain.cint i;
i616drivers/scsi/fdomain.cfor (i = 0; i < 255; i++) {
i617drivers/scsi/fdomain.coutb( i, port_base + Write_Loopback );
i619drivers/scsi/fdomain.cif (i != result)
i661drivers/scsi/fdomain.cint i;
i694drivers/scsi/fdomain.cfor (flag = 0, i = 0; !flag && i < PORT_COUNT; i++) {
i695drivers/scsi/fdomain.cif (base == ports[i])
i723drivers/scsi/fdomain.cfor (i = 0; i < PORT_COUNT; i++) {
i724drivers/scsi/fdomain.cbase = ports[i];
i747drivers/scsi/fdomain.cint i;
i760drivers/scsi/fdomain.cfor (i = 0xfff8; i > 0xe000; i -= 8) {
i761drivers/scsi/fdomain.cif (check_region( i, 0x10 )) {
i763drivers/scsi/fdomain.cprintk( " (%x inuse)," , i );
i767drivers/scsi/fdomain.cif ((flag = fdomain_is_valid_port( i ))) break;
i772drivers/scsi/fdomain.c*irq    = fdomain_get_irq( i );
i773drivers/scsi/fdomain.c*iobase = i;
i912drivers/scsi/fdomain.cint              i, j;
i944drivers/scsi/fdomain.cfor (i = 0; !bios_base && i < ADDRESS_COUNT; i++) {
i946drivers/scsi/fdomain.cprintk( " %x(%x),", (unsigned)addresses[i], (unsigned)bios_base );
i949drivers/scsi/fdomain.cif (!memcmp( ((char *)addresses[i] + signatures[j].sig_offset),
i955drivers/scsi/fdomain.cbios_base  = addresses[i];
i1083drivers/scsi/fdomain.cfor (i = 0; i < 8; i++) {
i1084drivers/scsi/fdomain.cSCinit.target = i;
i1085drivers/scsi/fdomain.cif (i == tpnt->this_id)  /* Skip host adapter */
i1093drivers/scsi/fdomain.cprintk( "     SCSI ID %d: ", i );
i1931drivers/scsi/fdomain.c} *i;
i1983drivers/scsi/fdomain.ci = (struct drive_info *)( (char *)bios_base + 0x1f33 + drive * 25 );
i1986drivers/scsi/fdomain.ci = (struct drive_info *)( (char *)bios_base + 0x1f36 + drive * 15 );
i1989drivers/scsi/fdomain.ci = (struct drive_info *)( (char *)bios_base + 0x1f34 + drive * 15 );
i1992drivers/scsi/fdomain.ci = (struct drive_info *)( (char *)bios_base + 0x1f31 + drive * 25 );
i1995drivers/scsi/fdomain.cinfo_array[0] = i->heads;
i1996drivers/scsi/fdomain.cinfo_array[1] = i->sectors;
i1997drivers/scsi/fdomain.cinfo_array[2] = i->cylinders;
i2001drivers/scsi/fdomain.ci = (struct drive_info *)( (char *)bios_base + 0x1f71 + drive * 10 );
i2002drivers/scsi/fdomain.cinfo_array[0] = i->heads + 1;
i2003drivers/scsi/fdomain.cinfo_array[1] = i->sectors;
i2004drivers/scsi/fdomain.cinfo_array[2] = i->cylinders;
i295drivers/scsi/g_NCR5380.cint i;
i341drivers/scsi/g_NCR5380.cfor (i=0; i<128; i++)
i342drivers/scsi/g_NCR5380.cdst[start+i] = NCR5380_read(C400_HOST_BUFFER);
i361drivers/scsi/g_NCR5380.cfor (i=0; i<128; i++)
i362drivers/scsi/g_NCR5380.cdst[start+i] = NCR5380_read(C400_HOST_BUFFER);
i403drivers/scsi/g_NCR5380.cint i;
i443drivers/scsi/g_NCR5380.cfor (i=0; i<128; i++)
i444drivers/scsi/g_NCR5380.cNCR5380_write(C400_HOST_BUFFER, src[start+i]);
i463drivers/scsi/g_NCR5380.cfor (i=0; i<128; i++)
i464drivers/scsi/g_NCR5380.cNCR5380_write(C400_HOST_BUFFER, src[start+i]);
i493drivers/scsi/g_NCR5380.cwhile (!(i = NCR5380_read(C400_CONTROL_STATUS_REG) & CSR_GATED_53C80_IRQ))
i500drivers/scsi/g_NCR5380.cif (i) {
i504drivers/scsi/g_NCR5380.cif (!((i=NCR5380_read(BUS_AND_STATUS_REG)) & BASR_END_DMA_TRANSFER))
i505drivers/scsi/g_NCR5380.cprintk("53C400w: No END OF DMA bit - WHOOPS! BASR=%0x\n",i);
i546drivers/scsi/g_NCR5380.cint i,s,start=len;
i548drivers/scsi/g_NCR5380.cfor ( i = 1, s = COMMAND_SIZE(command[0]); i < s; ++i)
i549drivers/scsi/g_NCR5380.cPRINTP("%02x " ANDP command[i]);
i585drivers/scsi/g_NCR5380.cint i;
i634drivers/scsi/g_NCR5380.cfor (i=0; i<8; i++)
i635drivers/scsi/g_NCR5380.cif (dev->vendor[i] >= 0x20)
i636drivers/scsi/g_NCR5380.c*(buffer+(len++)) = dev->vendor[i];
i638drivers/scsi/g_NCR5380.cfor (i=0; i<16; i++)
i639drivers/scsi/g_NCR5380.cif (dev->model[i] >= 0x20)
i640drivers/scsi/g_NCR5380.c*(buffer+(len++)) = dev->model[i];
i642drivers/scsi/g_NCR5380.cfor (i=0; i<4; i++)
i643drivers/scsi/g_NCR5380.cif (dev->rev[i] >= 0x20)
i644drivers/scsi/g_NCR5380.c*(buffer+(len++)) = dev->rev[i];
i663drivers/scsi/g_NCR5380.cfor (i = 0; (phases[i].value != PHASE_UNKNOWN) &&
i664drivers/scsi/g_NCR5380.c(phases[i].value != (status & PHASE_MASK)); ++i)
i666drivers/scsi/g_NCR5380.cPRINTP("Phase %s\n" ANDP phases[i].name);
i352drivers/scsi/hosts.cint i, pcount;
i360drivers/scsi/hosts.cfor (tpnt = &builtin_scsi_hosts[0], i = 0; i < MAX_SCSI_HOSTS; ++i, tpnt++)
i338drivers/scsi/hosts.hextern void scsi_unregister(struct Scsi_Host * i);
i139drivers/scsi/in2000.cint  i;
i150drivers/scsi/in2000.cfor(i=0; i < 3; i++)
i151drivers/scsi/in2000.cif(*(bios_tab[i]+0x04) == 0x41564f4e ||
i152drivers/scsi/in2000.c*(bios_tab[i]+0xc) == 0x61776c41) {
i154drivers/scsi/in2000.ctmp, (unsigned int)bios_tab[i]);
i427drivers/scsi/in2000.cint i;
i443drivers/scsi/in2000.ci = xscsi2int((cmd+1));
i445drivers/scsi/in2000.ci = scsi2int((cmd+1));
i447drivers/scsi/in2000.ci = -1;
i450drivers/scsi/in2000.cprintk("in2000qcmd: pos %d len %d ", i, bufflen);
i452drivers/scsi/in2000.cfor (i = 0; i < SCpnt->cmd_len; i++) printk("%02x ", cmd[i]);
i323drivers/scsi/pas16.cint i;
i330drivers/scsi/pas16.cfor (i = 0; i < NO_BASES; ++i)
i331drivers/scsi/pas16.cif (bases[i].io_port == (unsigned short) ints[1]) {
i332drivers/scsi/pas16.cbases[i].noauto = 1;
i494drivers/scsi/pas16.cregister i = len;
i498drivers/scsi/pas16.cinsb( reg, d, i );
i526drivers/scsi/pas16.cregister i = len;
i530drivers/scsi/pas16.coutsb( reg, s, i );
i167drivers/scsi/qlogic.c#define rtrc(i) {inb(0x3da);outb(0x31,0x3c0);outb((i),0x3c0);}
i169drivers/scsi/qlogic.c#define rtrc(i) {}
i275drivers/scsi/qlogic.cint  i,k;
i277drivers/scsi/qlogic.ci = jiffies + WATCHDOG;
i278drivers/scsi/qlogic.cwhile ( i > jiffies && !qabort && !((k = inb(qbase + 4)) & 0xe0))
i280drivers/scsi/qlogic.cif (i <= jiffies)
i297drivers/scsi/qlogic.cunsigned int      i;
i331drivers/scsi/qlogic.cfor (i = 0; i < cmd->cmd_len; i++)
i332drivers/scsi/qlogic.coutb(cmd->cmnd[i], qbase + 2);
i341drivers/scsi/qlogic.cunsigned int  i, j, k;
i352drivers/scsi/qlogic.ci = inb(qbase + 5);
i353drivers/scsi/qlogic.cif (i == 0x20) {
i356drivers/scsi/qlogic.ci |= inb(qbase + 5);  /* the 0x10 bit can be set after the 0x08 */
i357drivers/scsi/qlogic.cif (i != 0x18) {
i358drivers/scsi/qlogic.cprintk("Ql:Bad Interrupt status:%02x\n", i);
i368drivers/scsi/qlogic.cprintk("Ql:Bad sequence for command %d, int %02X, cmdleft = %d\n", j, i, inb( qbase+7 ) & 0x1f );
i421drivers/scsi/qlogic.ci = inb(qbase + 5);          /* get chip irq stat */
i426drivers/scsi/qlogic.cif (!((i == 8 && j == 2) || (i == 0x10 && j == 1))) {
i427drivers/scsi/qlogic.cprintk("Ql:Error during status phase, int=%02X, %d bytes recd\n", i, j);
i435drivers/scsi/qlogic.ci = inb(qbase + 5);  /* should be bus service */
i436drivers/scsi/qlogic.cwhile (!qabort && ((i & 0x20) != 0x20)) {
i438drivers/scsi/qlogic.ci |= inb(qbase + 5);
i456drivers/scsi/qlogic.cint  i;
i457drivers/scsi/qlogic.ci = 16;
i458drivers/scsi/qlogic.cwhile (i-- && inb(qbase + 5)); /* maybe also ql_zap() */
i538drivers/scsi/qlogic.cint  i, j;      /* these are only used by IRQ detect */
i589drivers/scsi/qlogic.ci = 0xffff;
i597drivers/scsi/qlogic.ci &= ~(inb(0x20) | (inb(0xa0) << 8));  /* find IRQ off */
i599drivers/scsi/qlogic.ci &= inb(0x20) | (inb(0xa0) << 8);  /* find IRQ on */
i604drivers/scsi/qlogic.cwhile (i)          /* find on bit */
i605drivers/scsi/qlogic.ci >>= 1, j++;  /* should check for exactly 1 on */
i290drivers/scsi/scsi.cint i = 0;
i292drivers/scsi/scsi.cfor(i=0; 1; i++){
i293drivers/scsi/scsi.cif(device_list[i].vendor == NULL) return 0;
i296drivers/scsi/scsi.cif(memcmp(device_list[i].vendor, pnt,
i297drivers/scsi/scsi.cstrlen(device_list[i].vendor))) continue;
i300drivers/scsi/scsi.cif(memcmp(device_list[i].model, pnt,
i301drivers/scsi/scsi.cstrlen(device_list[i].model))) continue;
i302drivers/scsi/scsi.creturn device_list[i].flags;
i1272drivers/scsi/scsi.cint i;
i1279drivers/scsi/scsi.cfor (i = 0; i < 10; ++i)
i1280drivers/scsi/scsi.cprintk ("%02x  ", ((unsigned char *) cmnd)[i]);
i2217drivers/scsi/scsi.cint i, j;
i2226drivers/scsi/scsi.cfor(i=0;i < dma_sectors / SECTORS_PER_PAGE; i++)
i2228drivers/scsi/scsi.cif ((dma_malloc_freelist[i] & (mask << j)) == 0){
i2229drivers/scsi/scsi.cdma_malloc_freelist[i] |= (mask << j);
i2233drivers/scsi/scsi.cprintk("SMalloc: %d %p\n",len, dma_malloc_pages[i] + (j << 9));
i2235drivers/scsi/scsi.creturn (void *) ((unsigned long) dma_malloc_pages[i] + (j << 9));
i2435drivers/scsi/scsi.cint i;
i2438drivers/scsi/scsi.cfor (i = 8; i < 16; i++)
i2440drivers/scsi/scsi.cif (data[i] >= 0x20 && i < data[4] + 5)
i2441drivers/scsi/scsi.cprintk("%c", data[i]);
i2447drivers/scsi/scsi.cfor (i = 16; i < 32; i++)
i2449drivers/scsi/scsi.cif (data[i] >= 0x20 && i < data[4] + 5)
i2450drivers/scsi/scsi.cprintk("%c", data[i]);
i2456drivers/scsi/scsi.cfor (i = 32; i < 36; i++)
i2458drivers/scsi/scsi.cif (data[i] >= 0x20 && i < data[4] + 5)
i2459drivers/scsi/scsi.cprintk("%c", data[i]);
i2466drivers/scsi/scsi.ci = data[0] & 0x1f;
i2469drivers/scsi/scsi.ci < MAX_SCSI_DEVICE_CODE ? scsi_device_types[i] : "Unknown          " );
i2486drivers/scsi/scsi.cint    i,size, len = 0;
i2548drivers/scsi/scsi.cfor(i=0; i<4; i++)  {
i2550drivers/scsi/scsi.cparameter[i] = simple_strtoul(p, &p, 0);
i2582drivers/scsi/scsi.cint i;
i2601drivers/scsi/scsi.cfor(i=0; i < dma_sectors / SECTORS_PER_PAGE; i++)
i2602drivers/scsi/scsi.cscsi_init_free(dma_malloc_pages[i], PAGE_SIZE);
i2671drivers/scsi/scsi.cfor(i=dma_sectors / SECTORS_PER_PAGE; i< new_dma_sectors / SECTORS_PER_PAGE; i++)
i2672drivers/scsi/scsi.cnew_dma_malloc_pages[i] = (unsigned char *)
i3121drivers/scsi/scsi.cint i;
i3125drivers/scsi/scsi.ci = 0;
i3131drivers/scsi/scsi.ci++, SCpnt->host->host_no,
i3153drivers/scsi/scsi.cfor(i=0; i<MAX_BLKDEV; i++)
i3154drivers/scsi/scsi.cif(blk_dev[i].current_request)
i3157drivers/scsi/scsi.cprintk("%d: ", i);
i3158drivers/scsi/scsi.creq = blk_dev[i].current_request;
i129drivers/scsi/scsi_debug.cint i;
i138drivers/scsi/scsi_debug.cfor(i=0; i<SCpnt->use_sg; i++) {
i139drivers/scsi/scsi_debug.clpnt = (int *) sgpnt[i].alt_address;
i140drivers/scsi/scsi_debug.cprintk(":%x %x %d\n",sgpnt[i].alt_address, sgpnt[i].address, sgpnt[i].length);
i150drivers/scsi/scsi_debug.cfor (i=0;i<sizeof(Scsi_Cmnd)/4+1; i++) {
i151drivers/scsi/scsi_debug.cif ((i & 7) == 0) printk("\n");
i157drivers/scsi/scsi_debug.cfor (i=0;i<sizeof(Scsi_Cmnd)/4+1; i++) {
i158drivers/scsi/scsi_debug.cif ((i & 7) == 0) printk("\n");
i164drivers/scsi/scsi_debug.cfor (i=0;i<sizeof(Scsi_Cmnd)/4+1; i++) {
i165drivers/scsi/scsi_debug.cif ((i & 7) == 0) printk("\n");
i186drivers/scsi/scsi_debug.cint i;
i214drivers/scsi/scsi_debug.cint i;
i216drivers/scsi/scsi_debug.cfor(i=0;i<12;i++) printk("%d ",sense_buffer[i]);
i333drivers/scsi/scsi_debug.cint i;
i335drivers/scsi/scsi_debug.cfor(i=0;i<12;i++) printk("%d ",sense_buffer[i]);
i408drivers/scsi/scsi_debug.cfor(i=0;i<SCSI_DEBUG_MAILBOXES; i++){
i409drivers/scsi/scsi_debug.cif (SCint[i] == 0) break;
i412drivers/scsi/scsi_debug.cif (i >= SCSI_DEBUG_MAILBOXES || SCint[i] != 0) 
i415drivers/scsi/scsi_debug.cSCint[i] = SCpnt;
i419drivers/scsi/scsi_debug.cif (do_done[i])
i422drivers/scsi/scsi_debug.cdo_done[i] = done;
i435drivers/scsi/scsi_debug.ctimeout[i] = jiffies+DISK_SPEED;
i439drivers/scsi/scsi_debug.ctimer_table[SCSI_DEBUG_TIMER].expires = timeout[i];
i447drivers/scsi/scsi_debug.cprintk("Sending command (%d %x %d %d)...", i, done, timeout[i],jiffies);
i478drivers/scsi/scsi_debug.cint i, pending;
i491drivers/scsi/scsi_debug.cfor(i=0;i<SCSI_DEBUG_MAILBOXES; i++) {
i492drivers/scsi/scsi_debug.cif (SCint[i] == 0) continue;
i494drivers/scsi/scsi_debug.cif (timeout[i] == 0) continue;
i495drivers/scsi/scsi_debug.cif (timeout[i] <= jiffies) break;
i501drivers/scsi/scsi_debug.cif(i == SCSI_DEBUG_MAILBOXES){
i504drivers/scsi/scsi_debug.cfor(i=0;i<SCSI_DEBUG_MAILBOXES; i++) {
i505drivers/scsi/scsi_debug.cif (SCint[i] == 0) continue;
i506drivers/scsi/scsi_debug.cif (timeout[i] == 0) continue;
i507drivers/scsi/scsi_debug.cif (timeout[i] <= jiffies) {restore_flags(flags); goto repeat;};
i508drivers/scsi/scsi_debug.cif (timeout[i] > jiffies) {
i509drivers/scsi/scsi_debug.cif (pending > timeout[i]) pending = timeout[i];
i523drivers/scsi/scsi_debug.cif(i < SCSI_DEBUG_MAILBOXES){
i524drivers/scsi/scsi_debug.ctimeout[i] = 0;
i525drivers/scsi/scsi_debug.cmy_done = do_done[i];
i526drivers/scsi/scsi_debug.cdo_done[i] = NULL;
i527drivers/scsi/scsi_debug.cto = timeout[i];
i528drivers/scsi/scsi_debug.ctimeout[i] = 0;
i529drivers/scsi/scsi_debug.cSCtmp = (Scsi_Cmnd *) SCint[i];
i530drivers/scsi/scsi_debug.cSCint[i] = NULL;
i540drivers/scsi/scsi_debug.cprintk("...done %d %x %d %d\n",i , my_done, to, jiffies);
i541drivers/scsi/scsi_debug.cprintk("In intr_handle: %d %x %x\n",i, SCtmp, my_done);
i599drivers/scsi/scsi_debug.cint i;
i606drivers/scsi/scsi_debug.cfor(i=0;i<SCSI_DEBUG_MAILBOXES; i++) {
i607drivers/scsi/scsi_debug.cif (SCint[i] == NULL) continue;
i608drivers/scsi/scsi_debug.cSCint[i]->result = DID_RESET << 16;
i609drivers/scsi/scsi_debug.cmy_done = do_done[i];
i610drivers/scsi/scsi_debug.cmy_done(SCint[i]);
i613drivers/scsi/scsi_debug.cSCint[i] = NULL;
i614drivers/scsi/scsi_debug.cdo_done[i] = NULL;
i615drivers/scsi/scsi_debug.ctimeout[i] = 0;
i283drivers/scsi/scsi_ioctl.cint i;
i285drivers/scsi/scsi_ioctl.cfor (i = 0; i < 12; ++i)
i286drivers/scsi/scsi_ioctl.cprintk("%02x ", cmd[i]);
i288drivers/scsi/scsi_ioctl.cfor (i = 0; i < 20; ++i)
i289drivers/scsi/scsi_ioctl.cprintk("%02x ", buf[i]);
i88drivers/scsi/scsicam.cint i, largest_cyl;
i95drivers/scsi/scsicam.c(0x1BE + bh->b_data), i = 0; i < 4; ++i, ++p) {
i100drivers/scsi/scsicam.ci);
i199drivers/scsi/sd.cint i;
i201drivers/scsi/sd.cfor (i = 0; i < sd_template.dev_max; ++i)
i202drivers/scsi/sd.cif(rscsi_disks[i].device) 
i203drivers/scsi/sd.csd[i << 4].nr_sects = rscsi_disks[i].capacity;
i241drivers/scsi/sd.cint i;
i243drivers/scsi/sd.cfor(i=0; i<SCpnt->use_sg; i++) {
i245drivers/scsi/sd.cprintk(":%x %x %d\n",sgpnt[i].alt_address, sgpnt[i].address, 
i246drivers/scsi/sd.csgpnt[i].length);
i248drivers/scsi/sd.cif (sgpnt[i].alt_address) {
i250drivers/scsi/sd.cmemcpy(sgpnt[i].alt_address, sgpnt[i].address, 
i251drivers/scsi/sd.csgpnt[i].length);
i252drivers/scsi/sd.cscsi_free(sgpnt[i].address, sgpnt[i].length);
i301drivers/scsi/sd.cint i;
i303drivers/scsi/sd.cfor(i=0; i<SCpnt->use_sg; i++) {
i308drivers/scsi/sd.cif (sgpnt[i].alt_address) {
i309drivers/scsi/sd.cscsi_free(sgpnt[i].address, sgpnt[i].length);
i952drivers/scsi/sd.cstatic int sd_init_onedisk(int i)
i965drivers/scsi/sd.cSCpnt = allocate_device(NULL, rscsi_disks[i].device, 1);
i977drivers/scsi/sd.ccmd[1] = (rscsi_disks[i].device->lun << 5) & 0xe0;
i1004drivers/scsi/sd.cif(the_result && !rscsi_disks[i].device->removable && 
i1008drivers/scsi/sd.cprintk( "sd%c: Spinning up disk...", 'a' + i );
i1010drivers/scsi/sd.ccmd[1] = (rscsi_disks[i].device->lun << 5) & 0xe0;
i1050drivers/scsi/sd.ccmd[1] = (rscsi_disks[i].device->lun << 5) & 0xe0;
i1098drivers/scsi/sd.c'a' + i, 'a' + i,
i1106drivers/scsi/sd.c'a' + i, SCpnt->sense_buffer[2] & 0xf);
i1108drivers/scsi/sd.cprintk("sd%c : sense not available. \n", 'a' + i);
i1111drivers/scsi/sd.c'a' + i);
i1112drivers/scsi/sd.crscsi_disks[i].capacity = 0x1fffff;
i1113drivers/scsi/sd.crscsi_disks[i].sector_size = 512;
i1117drivers/scsi/sd.cif(rscsi_disks[i].device->removable && 
i1119drivers/scsi/sd.crscsi_disks[i].device->changed = 1;
i1127drivers/scsi/sd.crscsi_disks[i].ready = 1;
i1129drivers/scsi/sd.crscsi_disks[i].capacity = 1 + ((buffer[0] << 24) |
i1134drivers/scsi/sd.crscsi_disks[i].sector_size = (buffer[4] << 24) |
i1137drivers/scsi/sd.cif (rscsi_disks[i].sector_size == 0) {
i1138drivers/scsi/sd.crscsi_disks[i].sector_size = 512;
i1139drivers/scsi/sd.cprintk("sd%c : sector size 0 reported, assuming 512.\n", 'a' + i);
i1143drivers/scsi/sd.cif (rscsi_disks[i].sector_size != 512 &&
i1144drivers/scsi/sd.crscsi_disks[i].sector_size != 1024 &&
i1145drivers/scsi/sd.crscsi_disks[i].sector_size != 256)
i1148drivers/scsi/sd.c'a' + i, rscsi_disks[i].sector_size);
i1149drivers/scsi/sd.cif(rscsi_disks[i].device->removable){
i1150drivers/scsi/sd.crscsi_disks[i].capacity = 0;
i1153drivers/scsi/sd.crscsi_disks[i].device = NULL;
i1155drivers/scsi/sd.creturn i;
i1165drivers/scsi/sd.cint hard_sector = rscsi_disks[i].sector_size;
i1167drivers/scsi/sd.cfor (m=i<<4; m<((i+1)<<4); m++){
i1171drivers/scsi/sd.chard_sector,i+'a');
i1173drivers/scsi/sd.cif(rscsi_disks[i].sector_size == 1024)
i1174drivers/scsi/sd.crscsi_disks[i].capacity <<= 1;  /* Change into 512 byte sectors */
i1175drivers/scsi/sd.cif(rscsi_disks[i].sector_size == 256)
i1176drivers/scsi/sd.crscsi_disks[i].capacity >>= 1;  /* Change into 512 byte sectors */
i1183drivers/scsi/sd.crscsi_disks[i].write_prot = 0;
i1184drivers/scsi/sd.cif ( rscsi_disks[i].device->removable && rscsi_disks[i].ready ) {
i1196drivers/scsi/sd.ccmd[1] = (rscsi_disks[i].device->lun << 5) & 0xe0;
i1220drivers/scsi/sd.cprintk ("sd%c: test WP failed, assume Write Protected\n",i+'a');
i1221drivers/scsi/sd.crscsi_disks[i].write_prot = 1;
i1223drivers/scsi/sd.crscsi_disks[i].write_prot = ((buffer[2] & 0x80) != 0);
i1224drivers/scsi/sd.cprintk ("sd%c: Write Protect is %s\n",i+'a',
i1225drivers/scsi/sd.crscsi_disks[i].write_prot ? "on" : "off");
i1230drivers/scsi/sd.crscsi_disks[i].ten = 1;
i1231drivers/scsi/sd.crscsi_disks[i].remap = 1;
i1233drivers/scsi/sd.creturn i;
i1245drivers/scsi/sd.cint i;
i1276drivers/scsi/sd.cfor(i=0;i<(sd_template.dev_max << 4);i++){
i1277drivers/scsi/sd.csd_blocksizes[i] = 1024;
i1278drivers/scsi/sd.csd_hardsizes[i] = 512;
i1296drivers/scsi/sd.cint i;
i1303drivers/scsi/sd.cfor (i = 0; i < sd_template.dev_max; ++i)
i1304drivers/scsi/sd.cif (!rscsi_disks[i].capacity && 
i1305drivers/scsi/sd.crscsi_disks[i].device)
i1308drivers/scsi/sd.c&& !rscsi_disks[i].has_part_table) {
i1309drivers/scsi/sd.csd_sizes[i << 4] = rscsi_disks[i].capacity;
i1311drivers/scsi/sd.crevalidate_scsidisk(MKDEV(MAJOR_NR, i << 4), 0);
i1314drivers/scsi/sd.ci=sd_init_onedisk(i);
i1315drivers/scsi/sd.crscsi_disks[i].has_part_table = 1;
i1342drivers/scsi/sd.cint i;
i1351drivers/scsi/sd.cfor(dpnt = rscsi_disks, i=0; i<sd_template.dev_max; i++, dpnt++) 
i1354drivers/scsi/sd.cif(i >= sd_template.dev_max) panic ("scsi_devices corrupt (sd)");
i1357drivers/scsi/sd.crscsi_disks[i].device = SDp;
i1358drivers/scsi/sd.crscsi_disks[i].has_part_table = 0;
i1383drivers/scsi/sd.cint i;
i1401drivers/scsi/sd.cfor (i=max_p - 1; i >=0 ; i--) {
i1402drivers/scsi/sd.cint minor = start+i;
i1435drivers/scsi/sd.cint i;
i1439drivers/scsi/sd.cfor(dpnt = rscsi_disks, i=0; i<sd_template.dev_max; i++, dpnt++) 
i1445drivers/scsi/sd.cstart = i << sd_gendisk.minor_shift;
i1447drivers/scsi/sd.cfor (i=max_p - 1; i >=0 ; i--) {
i1448drivers/scsi/sd.cint minor = start+i;
i288drivers/scsi/seagate.cint i,j;
i333drivers/scsi/seagate.cfor (i = 0; i < (sizeof (seagate_bases) / sizeof (char  * )); ++i)
i335drivers/scsi/seagate.cif (!memcmp ((const void *) (seagate_bases[i] +
i338drivers/scsi/seagate.cbase_address = (const void *) seagate_bases[i];
i638drivers/scsi/seagate.cint i;
i938drivers/scsi/seagate.cint i;
i941drivers/scsi/seagate.cfor (i = 0; i < nobuffs; ++i)
i943drivers/scsi/seagate.chostno, i, buffer[i].address, buffer[i].length);
i1507drivers/scsi/seagate.cfor (i = 0; i < 20; ++i) 
i1508drivers/scsi/seagate.cprintk ("%02x  ", ((unsigned char *) data)[i]);  /* WDE mod */
i202drivers/scsi/sg.cint i;
i205drivers/scsi/sg.cif ((i=verify_area(VERIFY_WRITE,buf,count)))
i206drivers/scsi/sg.creturn i;
i297drivers/scsi/sg.cint        bsize,size,amt,i;
i306drivers/scsi/sg.cif ((i=verify_area(VERIFY_READ,buf,count)))
i307drivers/scsi/sg.creturn i;
i558drivers/scsi/sg.cint i;
i566drivers/scsi/sg.cfor(gpnt = scsi_generics, i=0; i<sg_template.dev_max; i++, gpnt++) 
i569drivers/scsi/sg.cif(i >= sg_template.dev_max) panic ("scsi_devices corrupt (sg)");
i571drivers/scsi/sg.cscsi_generics[i].device=SDp;
i572drivers/scsi/sg.cscsi_generics[i].users=0;
i573drivers/scsi/sg.cscsi_generics[i].generic_wait=NULL;
i574drivers/scsi/sg.cscsi_generics[i].read_wait=NULL;
i575drivers/scsi/sg.cscsi_generics[i].write_wait=NULL;
i576drivers/scsi/sg.cscsi_generics[i].buff=NULL;
i577drivers/scsi/sg.cscsi_generics[i].exclude=0;
i578drivers/scsi/sg.cscsi_generics[i].pending=0;
i579drivers/scsi/sg.cscsi_generics[i].timeout=SG_DEFAULT_TIMEOUT;
i589drivers/scsi/sg.cint i;
i591drivers/scsi/sg.cfor(gpnt = scsi_generics, i=0; i<sg_template.dev_max; i++, gpnt++) 
i187drivers/scsi/sr.cint i;
i189drivers/scsi/sr.cfor(i=0; i<SCpnt->use_sg; i++) {
i190drivers/scsi/sr.cif (sgpnt[i].alt_address) {
i191drivers/scsi/sr.cif (sgpnt[i].alt_address != sgpnt[i].address) {
i192drivers/scsi/sr.cmemcpy(sgpnt[i].alt_address, sgpnt[i].address, sgpnt[i].length);
i194drivers/scsi/sr.cscsi_free(sgpnt[i].address, sgpnt[i].length);
i226drivers/scsi/sr.cint i;
i228drivers/scsi/sr.cfor(i=0; i<SCpnt->use_sg; i++) {
i229drivers/scsi/sr.cif (sgpnt[i].alt_address) {
i230drivers/scsi/sr.cscsi_free(sgpnt[i].address, sgpnt[i].length);
i902drivers/scsi/sr.cint i;
i906drivers/scsi/sr.cfor(i=0; i<12; i++) printk("%2.2x ", cmd[i]);
i943drivers/scsi/sr.cint i;
i953drivers/scsi/sr.cfor(cpnt = scsi_CDs, i=0; i<sr_template.dev_max; i++, cpnt++) 
i956drivers/scsi/sr.cif(i >= sr_template.dev_max) panic ("scsi_devices corrupt (sr)");
i959drivers/scsi/sr.cscsi_CDs[i].device = SDp;
i979drivers/scsi/sr.cvoid get_sectorsize(int i){
i986drivers/scsi/sr.cSCpnt = allocate_device(NULL, scsi_CDs[i].device, 1);
i991drivers/scsi/sr.ccmd[1] = (scsi_CDs[i].device->lun << 5) & 0xe0;
i1019drivers/scsi/sr.cscsi_CDs[i].capacity = 0x1fffff;
i1020drivers/scsi/sr.cscsi_CDs[i].sector_size = 2048;  /* A guess, just in case */
i1021drivers/scsi/sr.cscsi_CDs[i].needs_sector_size = 1;
i1023drivers/scsi/sr.cscsi_CDs[i].capacity = 1 + ((buffer[0] << 24) |
i1027drivers/scsi/sr.cscsi_CDs[i].sector_size = (buffer[4] << 24) |
i1029drivers/scsi/sr.cswitch (scsi_CDs[i].sector_size) {
i1037drivers/scsi/sr.cscsi_CDs[i].sector_size = 2048;
i1040drivers/scsi/sr.cscsi_CDs[i].capacity *= 4;
i1046drivers/scsi/sr.ci, scsi_CDs[i].sector_size);
i1047drivers/scsi/sr.cscsi_CDs[i].capacity = 0;
i1048drivers/scsi/sr.cscsi_CDs[i].needs_sector_size = 1;
i1050drivers/scsi/sr.cscsi_CDs[i].needs_sector_size = 0;
i1051drivers/scsi/sr.csr_sizes[i] = scsi_CDs[i].capacity >> (BLOCK_SIZE_BITS - 9);
i1060drivers/scsi/sr.cint i;
i1083drivers/scsi/sr.cfor(i=0;i<sr_template.dev_max;i++) sr_blocksizes[i] = 2048;
i1090drivers/scsi/sr.cint i;
i1095drivers/scsi/sr.cfor (i = 0; i < sr_template.nr_dev; ++i)
i1099drivers/scsi/sr.cif (scsi_CDs[i].capacity) continue;
i1100drivers/scsi/sr.cscsi_CDs[i].capacity = 0x1fffff;
i1101drivers/scsi/sr.cscsi_CDs[i].sector_size = 2048;  /* A guess, just in case */
i1102drivers/scsi/sr.cscsi_CDs[i].needs_sector_size = 1;
i1105drivers/scsi/sr.cget_sectorsize(i);
i1106drivers/scsi/sr.cprintk("Scd sectorsize = %d bytes.\n", scsi_CDs[i].sector_size);
i1108drivers/scsi/sr.cscsi_CDs[i].use = 1;
i1109drivers/scsi/sr.cscsi_CDs[i].ten = 1;
i1110drivers/scsi/sr.cscsi_CDs[i].remap = 1;
i1111drivers/scsi/sr.cscsi_CDs[i].auto_eject = 0; /* Default is not to eject upon unmount. */
i1112drivers/scsi/sr.csr_sizes[i] = scsi_CDs[i].capacity >> (BLOCK_SIZE_BITS - 9);
i1130drivers/scsi/sr.cint i;
i1132drivers/scsi/sr.cfor(cpnt = scsi_CDs, i=0; i<sr_template.dev_max; i++, cpnt++) 
i1134drivers/scsi/sr.ckdev_t devi = MKDEV(MAJOR_NR, i);
i1152drivers/scsi/sr.csr_sizes[i] = 0;
i462drivers/scsi/st.cint i, need_dma_buffer, new_session = FALSE, setting_failed;
i496drivers/scsi/st.cfor (i=0; i < st_nbr_buffers; i++)
i497drivers/scsi/st.cif (!st_buffers[i]->in_use &&
i498drivers/scsi/st.c(!need_dma_buffer || st_buffers[i]->dma))
i500drivers/scsi/st.cif (i >= st_nbr_buffers) {
i508drivers/scsi/st.cSTp->buffer = st_buffers[i];
i2055drivers/scsi/st.cint i, cmd_nr, cmd_type, result;
i2088drivers/scsi/st.ci = verify_area(VERIFY_READ, (void *)arg, sizeof(mtc));
i2089drivers/scsi/st.cif (i)
i2090drivers/scsi/st.creturn i;
i2115drivers/scsi/st.ci = flush_buffer(inode, file, mtc.mt_op == MTSEEK ||
i2120drivers/scsi/st.cif (i < 0)
i2121drivers/scsi/st.creturn i;
i2171drivers/scsi/st.ci = verify_area(VERIFY_WRITE, (void *)arg, sizeof(struct mtget));
i2172drivers/scsi/st.cif (i)
i2173drivers/scsi/st.creturn i;
i2175drivers/scsi/st.ci = flush_buffer(inode, file, FALSE);
i2176drivers/scsi/st.cif (i < 0)
i2177drivers/scsi/st.creturn i;
i2234drivers/scsi/st.ci = flush_buffer(inode, file, 0);
i2235drivers/scsi/st.cif (i < 0)
i2236drivers/scsi/st.creturn i;
i2238drivers/scsi/st.ci = verify_area(VERIFY_WRITE, (void *)arg, sizeof(struct mtpos));
i2239drivers/scsi/st.cif (i)
i2240drivers/scsi/st.creturn i;
i2423drivers/scsi/st.cint i;
i2433drivers/scsi/st.cfor(tpnt = scsi_tapes, i=0; i<st_template.dev_max; i++, tpnt++) 
i2436drivers/scsi/st.cif(i >= st_template.dev_max) panic ("scsi_devices corrupt (st)");
i2438drivers/scsi/st.cscsi_tapes[i].device = SDp;
i2440drivers/scsi/st.cscsi_tapes[i].mt_status->mt_type = MT_ISSCSI1;
i2442drivers/scsi/st.cscsi_tapes[i].mt_status->mt_type = MT_ISSCSI2;
i2444drivers/scsi/st.ctpnt->devt = MKDEV(SCSI_TAPE_MAJOR, i);
i2465drivers/scsi/st.cfor (i=0; i < ST_NBR_MODES; i++) {
i2466drivers/scsi/st.ctpnt->modes[i].defined = FALSE;
i2467drivers/scsi/st.ctpnt->modes[i].defaults_for_writes = 0;
i2468drivers/scsi/st.ctpnt->modes[i].do_async_writes = ST_ASYNC_WRITES;
i2469drivers/scsi/st.ctpnt->modes[i].do_buffer_writes = ST_BUFFER_WRITES;
i2470drivers/scsi/st.ctpnt->modes[i].default_compression = ST_DONT_TOUCH;
i2471drivers/scsi/st.ctpnt->modes[i].default_blksize = (-1);  /* No forced size */
i2472drivers/scsi/st.ctpnt->modes[i].default_density = (-1);  /* No forced density */
i2500drivers/scsi/st.cint i;
i2537drivers/scsi/st.cfor (i=0; i < st_template.dev_max; ++i) {
i2538drivers/scsi/st.cSTp = &(scsi_tapes[i]);
i2543drivers/scsi/st.cmemset((void *) scsi_tapes[i].mt_status, 0, sizeof(struct mtget));
i2567drivers/scsi/st.cfor (i=st_nbr_buffers=0; i < target_nbr; i++) {
i2569drivers/scsi/st.cif (i == 0) {
i2594drivers/scsi/st.cint i;
i2596drivers/scsi/st.cfor(tpnt = scsi_tapes, i=0; i<st_template.dev_max; i++, tpnt++) 
i2617drivers/scsi/st.cint i;
i2627drivers/scsi/st.cfor (i=0; i < st_nbr_buffers; i++)
i2628drivers/scsi/st.cif (st_buffers[i] != NULL) {
i2629drivers/scsi/st.cscsi_init_free((char *) st_buffers[i]->b_data,
i2630drivers/scsi/st.cst_buffers[i]->buffer_size);
i2631drivers/scsi/st.cscsi_init_free((char *) st_buffers[i], sizeof(ST_buffer));
i171drivers/scsi/t128.cint i;
i178drivers/scsi/t128.cfor (i = 0; i < NO_BASES; ++i)
i179drivers/scsi/t128.cif (bases[i].address == (unsigned char *) ints[1]) {
i180drivers/scsi/t128.cbases[i].noauto = 1;
i326drivers/scsi/t128.cregister i = len;
i330drivers/scsi/t128.cfor (; i; --i) {
i334drivers/scsi/t128.cfor (; i; --i) {
i370drivers/scsi/t128.cregister i = len;
i373drivers/scsi/t128.cfor (; i; --i) {
i377drivers/scsi/t128.cfor (; i; --i) {
i567drivers/scsi/u14-34f.cunsigned int i, j, k, flags;
i579drivers/scsi/u14-34f.ci = HD(j)->last_cp_used + 1;
i581drivers/scsi/u14-34f.cfor (k = 0; k < sh[j]->can_queue; k++, i++) {
i583drivers/scsi/u14-34f.cif (i >= sh[j]->can_queue) i = 0;
i585drivers/scsi/u14-34f.cif (HD(j)->cp_stat[i] == FREE) {
i586drivers/scsi/u14-34f.cHD(j)->last_cp_used = i;
i608drivers/scsi/u14-34f.ccpp = &HD(j)->cp[i];
i612drivers/scsi/u14-34f.ccpp->index = i;
i616drivers/scsi/u14-34f.cBN(j), i, SCpnt->target, SCpnt->pid);
i654drivers/scsi/u14-34f.cHD(j)->cp_stat[i] = IN_USE;
i660drivers/scsi/u14-34f.cunsigned int i, j, flags;
i673drivers/scsi/u14-34f.ci = *(unsigned int *)SCarg->host_scribble;
i675drivers/scsi/u14-34f.cBN(j), i, SCarg->target, SCarg->pid);
i677drivers/scsi/u14-34f.cif (i >= sh[j]->can_queue)
i686drivers/scsi/u14-34f.cif (HD(j)->cp_stat[i] == FREE) {
i687drivers/scsi/u14-34f.cprintk("%s: abort, mbox %d is free.\n", BN(j), i);
i692drivers/scsi/u14-34f.cif (HD(j)->cp_stat[i] == IN_USE) {
i693drivers/scsi/u14-34f.cprintk("%s: abort, mbox %d is in use.\n", BN(j), i);
i695drivers/scsi/u14-34f.cif (SCarg != HD(j)->cp[i].SCpnt)
i697drivers/scsi/u14-34f.cBN(j), i, SCarg, HD(j)->cp[i].SCpnt);
i703drivers/scsi/u14-34f.cif (HD(j)->cp_stat[i] == IN_RESET) {
i704drivers/scsi/u14-34f.cprintk("%s: abort, mbox %d is in reset.\n", BN(j), i);
i709drivers/scsi/u14-34f.cif (HD(j)->cp_stat[i] == LOCKED) {
i710drivers/scsi/u14-34f.cprintk("%s: abort, mbox %d is locked.\n", BN(j), i);
i715drivers/scsi/u14-34f.cpanic("%s: abort, mbox %d, invalid cp_stat.\n", BN(j), i);
i719drivers/scsi/u14-34f.cunsigned int i, j, flags, time, k, limit = 0;
i748drivers/scsi/u14-34f.cfor (i = 0; i < sh[j]->can_queue; i++) {
i750drivers/scsi/u14-34f.cif (HD(j)->cp_stat[i] == FREE) continue;
i752drivers/scsi/u14-34f.cif (HD(j)->cp_stat[i] == LOCKED) {
i753drivers/scsi/u14-34f.cHD(j)->cp_stat[i] = FREE;
i754drivers/scsi/u14-34f.cprintk("%s: reset, locked mbox %d forced free.\n", BN(j), i);
i758drivers/scsi/u14-34f.cSCpnt = HD(j)->cp[i].SCpnt;
i759drivers/scsi/u14-34f.cHD(j)->cp_stat[i] = IN_RESET;
i761drivers/scsi/u14-34f.cBN(j), i, SCpnt->pid);
i764drivers/scsi/u14-34f.cpanic("%s: reset, mbox %d, SCpnt == NULL.\n", BN(j), i);
i767drivers/scsi/u14-34f.cpanic("%s: reset, mbox %d, garbled SCpnt.\n", BN(j), i);
i769drivers/scsi/u14-34f.cif (*(unsigned int *)SCpnt->host_scribble != i) 
i770drivers/scsi/u14-34f.cpanic("%s: reset, mbox %d, index mismatch.\n", BN(j), i);
i773drivers/scsi/u14-34f.cpanic("%s: reset, mbox %d, SCpnt->scsi_done == NULL.\n", BN(j), i);
i798drivers/scsi/u14-34f.cfor (i = 0; i < sh[j]->can_queue; i++) {
i801drivers/scsi/u14-34f.cif (HD(j)->cp_stat[i] != IN_RESET) continue;
i803drivers/scsi/u14-34f.cSCpnt = HD(j)->cp[i].SCpnt;
i808drivers/scsi/u14-34f.cHD(j)->cp_stat[i] = LOCKED;
i811drivers/scsi/u14-34f.cBN(j), i, SCpnt->pid);
i843drivers/scsi/u14-34f.cunsigned int i, j, k, flags, status, tstatus, loops, total_loops = 0;
i878drivers/scsi/u14-34f.ci = spp - HD(j)->cp;
i880drivers/scsi/u14-34f.cif (i >= sh[j]->can_queue)
i883drivers/scsi/u14-34f.cif (HD(j)->cp_stat[i] == IGNORE) {
i884drivers/scsi/u14-34f.cHD(j)->cp_stat[i] = FREE;
i887drivers/scsi/u14-34f.celse if (HD(j)->cp_stat[i] == LOCKED) {
i888drivers/scsi/u14-34f.cHD(j)->cp_stat[i] = FREE;
i890drivers/scsi/u14-34f.cBN(j), i, HD(j)->iocount);
i893drivers/scsi/u14-34f.celse if (HD(j)->cp_stat[i] == FREE) {
i895drivers/scsi/u14-34f.cBN(j), i, HD(j)->iocount);
i898drivers/scsi/u14-34f.celse if (HD(j)->cp_stat[i] == IN_RESET)
i899drivers/scsi/u14-34f.cprintk("%s: ihdlr, mbox %d is in reset.\n", BN(j), i);
i900drivers/scsi/u14-34f.celse if (HD(j)->cp_stat[i] != IN_USE) 
i901drivers/scsi/u14-34f.cpanic("%s: ihdlr, mbox %d, invalid cp_stat.\n", BN(j), i);
i903drivers/scsi/u14-34f.cHD(j)->cp_stat[i] = FREE;
i907drivers/scsi/u14-34f.cpanic("%s: ihdlr, mbox %d, SCpnt == NULL.\n", BN(j), i);
i911drivers/scsi/u14-34f.cBN(j), i, SCpnt->pid, SCpnt);
i913drivers/scsi/u14-34f.cif (*(unsigned int *)SCpnt->host_scribble != i) 
i915drivers/scsi/u14-34f.c" irq %d.\n", BN(j), i, SCpnt->pid, 
i1006drivers/scsi/u14-34f.cBN(j), i, spp->adapter_status, spp->target_status,
i335drivers/scsi/ultrastor.cregister int i;
i340drivers/scsi/ultrastor.cfor (i = 0; i < ULTRASTOR_MAX_CMDS; i++)
i342drivers/scsi/ultrastor.cfmt[20 + i*2] = ' ';
i343drivers/scsi/ultrastor.cif (! (config->mscp_free & (1 << i)))
i344drivers/scsi/ultrastor.cfmt[21 + i*2] = '0' + config->mscp[i].target_id;
i346drivers/scsi/ultrastor.cfmt[21 + i*2] = '-';
i357drivers/scsi/ultrastor.csize_t i;
i387drivers/scsi/ultrastor.cfor (i = 0; i < ARRAY_SIZE(ultrastor_ports_14f); i++) {
i388drivers/scsi/ultrastor.cif(check_region(ultrastor_ports_14f[i], 0x0c)) continue;
i389drivers/scsi/ultrastor.cconfig.port_address = ultrastor_ports_14f[i];
i431drivers/scsi/ultrastor.cif (i == ARRAY_SIZE(ultrastor_ports_14f)) {
i530drivers/scsi/ultrastor.cregister int i;
i538drivers/scsi/ultrastor.cfor (i = 1; i < 15; i++)
i541drivers/scsi/ultrastor.cunsigned short addr = (i << 12) | ULTRASTOR_24F_PORT;
i549drivers/scsi/ultrastor.cconfig.slot = i;
i553drivers/scsi/ultrastor.cprintk("U24F: found disabled card in slot %u\n", i);
i558drivers/scsi/ultrastor.cprintk("U24F: found card in slot %u\n", i);
i660drivers/scsi/ultrastor.cint i, max;
i664drivers/scsi/ultrastor.cfor (i = 0; i < max; i++) {
i665drivers/scsi/ultrastor.cmscp->sglist[i].address = (unsigned int)sl[i].address;
i666drivers/scsi/ultrastor.cmscp->sglist[i].num_bytes = sl[i].length;
i667drivers/scsi/ultrastor.ctransfer_length += sl[i].length;
i855drivers/scsi/ultrastor.cint i;
i860drivers/scsi/ultrastor.cfor (i = 0; i < 16; i++)
i862drivers/scsi/ultrastor.cunsigned char p = inb(port0 + i);
i863drivers/scsi/ultrastor.cout[28 + i * 3] = "0123456789abcdef"[p >> 4];
i864drivers/scsi/ultrastor.cout[29 + i * 3] = "0123456789abcdef"[p & 15];
i865drivers/scsi/ultrastor.cout[30 + i * 3] = ' ';
i867drivers/scsi/ultrastor.cout[28 + i * 3] = '\n';
i868drivers/scsi/ultrastor.cout[29 + i * 3] = 0;
i957drivers/scsi/ultrastor.cregister int i;
i985drivers/scsi/ultrastor.cfor (i = 0; i < ULTRASTOR_MAX_CMDS; i++)
i987drivers/scsi/ultrastor.cif (! (config.mscp_free & (1 << i)) &&
i988drivers/scsi/ultrastor.cconfig.mscp[i].done && config.mscp[i].SCint)
i990drivers/scsi/ultrastor.cconfig.mscp[i].SCint->result = DID_RESET << 16;
i991drivers/scsi/ultrastor.cconfig.mscp[i].done(config.mscp[i].SCint);
i992drivers/scsi/ultrastor.cconfig.mscp[i].done = 0;
i994drivers/scsi/ultrastor.cconfig.mscp[i].SCint = 0;
i501drivers/scsi/wd7000.cint i;
i518drivers/scsi/wd7000.cresult.i = 0;  /* clears unused bytes */
i522drivers/scsi/wd7000.creturn result.i;
i613drivers/scsi/wd7000.cint i;
i645drivers/scsi/wd7000.cfor (i = 0; i < needed; i++)  { p = scbfree;  scbfree = p->next; }
i673drivers/scsi/wd7000.cint i;
i681drivers/scsi/wd7000.cfor (i = 0;  i < MAX_SCBS-1;  i++)  {
i682drivers/scsi/wd7000.cscbs[i].next = &(scbs[i+1]);  scbs[i].SCpnt = NULL;
i696drivers/scsi/wd7000.cregister int i, ogmb;
i708drivers/scsi/wd7000.cfor (i = 0; i < OGMB_CNT; i++) {
i725drivers/scsi/wd7000.cif (i >= OGMB_CNT) {
i922drivers/scsi/wd7000.cunsigned i;
i936drivers/scsi/wd7000.cfor (i = 0;  i < SCpnt->use_sg;  i++)  {
i937drivers/scsi/wd7000.cany2scsi(sgb[i].ptr, (int) sg[i].address);
i938drivers/scsi/wd7000.cany2scsi(sgb[i].len, sg[i].length);
i1108drivers/scsi/wd7000.cint i,j, present = 0;
i1120drivers/scsi/wd7000.cfor (i = 0; i < NUM_CONFIGS; i++)  {
i205drivers/sound/ad1848.cint             i;
i213drivers/sound/ad1848.cfor (i = 6; i < 8; i++)
i215drivers/sound/ad1848.cprev = devc->saved_regs[i] = ad_read (devc, i);
i216drivers/sound/ad1848.cad_write (devc, i, prev | 0x80);
i223drivers/sound/ad1848.cint             i;
i228drivers/sound/ad1848.cfor (i = 6; i < 8; i++)
i230drivers/sound/ad1848.cad_write (devc, i, devc->saved_regs[i] & ~0x80);
i292drivers/sound/ad1848.cint             i, n;
i297drivers/sound/ad1848.cfor (i = 0; i < 32; i++)  /* Count selected device bits */
i298drivers/sound/ad1848.cif (mask & (1 << i))
i308drivers/sound/ad1848.cfor (i = 0; i < 32; i++)  /* Count selected device bits */
i309drivers/sound/ad1848.cif (mask & (1 << i))
i443drivers/sound/ad1848.cint             i;
i463drivers/sound/ad1848.cfor (i = 0; i < SOUND_MIXER_NRDEVICES; i++)
i464drivers/sound/ad1848.cif (devc->supported_devices & (1 << i))
i465drivers/sound/ad1848.cad1848_mixer_set (devc, i, default_mixer_levels[i]);
i660drivers/sound/ad1848.cint             i, n, selected = -1;
i681drivers/sound/ad1848.cfor (i = 1 /*really */ ; selected == -1 && i < n; i++)
i682drivers/sound/ad1848.cif (speed_table[i].speed == arg)
i683drivers/sound/ad1848.cselected = i;
i684drivers/sound/ad1848.celse if (speed_table[i].speed > arg)
i688drivers/sound/ad1848.cdiff1 = arg - speed_table[i - 1].speed;
i689drivers/sound/ad1848.cdiff2 = speed_table[i].speed - arg;
i692drivers/sound/ad1848.cselected = i - 1;
i694drivers/sound/ad1848.cselected = i;
i769drivers/sound/ad1848.cint             i, n = sizeof (format2bits) / sizeof (struct format_tbl);
i776drivers/sound/ad1848.cfor (i = 0; i < n; i++)
i777drivers/sound/ad1848.cif (format2bits[i].format == arg)
i779drivers/sound/ad1848.cif ((devc->format_bits = format2bits[i].bits) == 0)
i1157drivers/sound/ad1848.cint             i;
i1205drivers/sound/ad1848.cfor (i = 0; i < 32; i++)
i1206drivers/sound/ad1848.cDDB (printk ("%02x ", ad_read (devc, i)));
i1411drivers/sound/ad1848.cint             i, my_dev;
i1432drivers/sound/ad1848.cfor (i = 0; i < 16; i++)
i1433drivers/sound/ad1848.cad_write (devc, i, init_values[i]);
i1452drivers/sound/ad1848.cfor (i = 16; i < 32; i++)
i1453drivers/sound/ad1848.cad_write (devc, i, init_values[i]);
i1565drivers/sound/ad1848.cint             i, dev = 0;
i1568drivers/sound/ad1848.cfor (i = 0; devc == NULL && i < nr_ad1848_devs; i++)
i1569drivers/sound/ad1848.cif (dev_info[i].base == io_base)
i1571drivers/sound/ad1848.cdevc = &dev_info[i];
i131drivers/sound/audio.cint             buf_no, buf_ptr, buf_size, p, i;
i146drivers/sound/audio.cfor (i = dmap->qlen; i < dmap->nbufs; i++)
i180drivers/sound/audio.cunsigned long   i;
i185drivers/sound/audio.cfor (i = 0; i < n; ++i)
i186drivers/sound/audio.cbuff[i] = table[buff[i]];
i424drivers/sound/configure.cint             num, i;
i429drivers/sound/configure.cfor (i = 0; i < OPT_LAST; i++)
i430drivers/sound/configure.cif (mask == B (i))
i439drivers/sound/configure.chw_table[i].macro);
i539drivers/sound/configure.cint             i = 0;
i576drivers/sound/configure.ci = 0;
i577drivers/sound/configure.cwhile (id[i] && id[i] != ' ' &&
i578drivers/sound/configure.cid[i] != '\t' && id[i] != '\n')
i579drivers/sound/configure.ci++;
i581drivers/sound/configure.cstrncpy (tmp, id, i);
i582drivers/sound/configure.ctmp[i] = 0;
i608drivers/sound/configure.cstrncpy (tmp, id, i);
i613drivers/sound/configure.cstrncpy (tmp, &id[7], i - 7);
i614drivers/sound/configure.ctmp[i - 7] = 0;
i616drivers/sound/configure.cfor (i = 0; i <= OPT_LAST; i++)
i617drivers/sound/configure.cif (strcmp (hw_table[i].macro, tmp) == 0)
i619drivers/sound/configure.cselected_options |= (1 << i);
i633drivers/sound/configure.ci = 0;
i634drivers/sound/configure.cwhile (id[i] && id[i] != ' ' &&
i635drivers/sound/configure.cid[i] != '\t' && id[i] != '\n')
i636drivers/sound/configure.ci++;
i638drivers/sound/configure.cstrncpy (tmp, id, i);
i643drivers/sound/configure.cstrncpy (tmp, id, i);
i648drivers/sound/configure.cstrncpy (tmp, &id[8], i - 8);
i649drivers/sound/configure.ctmp[i - 8] = 0;
i651drivers/sound/configure.cfor (i = 0; i <= OPT_LAST; i++)
i652drivers/sound/configure.cif (strcmp (hw_table[i].macro, tmp) == 0)
i654drivers/sound/configure.cselected_options |= (1 << i);
i664drivers/sound/configure.cfor (i = 0; i <= OPT_LAST; i++)
i665drivers/sound/configure.cif (!hw_table[i].alias)
i666drivers/sound/configure.cif (selected_options & B (i))
i667drivers/sound/configure.cprintf ("#define CONFIG_%s\n", hw_table[i].macro);
i669drivers/sound/configure.cprintf ("#undef  CONFIG_%s\n", hw_table[i].macro);
i674drivers/sound/configure.ci = 0;
i676drivers/sound/configure.cwhile (extra_options[i].name != NULL)
i678drivers/sound/configure.cif (selected_options & extra_options[i].mask)
i679drivers/sound/configure.cprintf ("#define CONFIG_%s\n", extra_options[i].name);
i681drivers/sound/configure.cprintf ("#undef  CONFIG_%s\n", extra_options[i].name);
i682drivers/sound/configure.ci++;
i699drivers/sound/configure.cint             i;
i708drivers/sound/configure.cfor (i = 0; i <= OPT_LAST; i++)
i709drivers/sound/configure.cif (!hw_table[i].alias)
i710drivers/sound/configure.cif (selected_options & B (i))
i711drivers/sound/configure.cfprintf (optf, "CONFIG_%s=y\n", hw_table[i].macro);
i716drivers/sound/configure.ci = 0;
i718drivers/sound/configure.cwhile (extra_options[i].name != NULL)
i720drivers/sound/configure.cif (selected_options & extra_options[i].mask)
i721drivers/sound/configure.cfprintf (optf, "CONFIG_%s=y\n", extra_options[i].name);
i722drivers/sound/configure.ci++;
i1132drivers/sound/configure.cint             i;
i1134drivers/sound/configure.cfor (i = 0; i <= OPT_LAST; i++)
i1135drivers/sound/configure.cif (!(DUMMY_OPTS & B (i)))
i1136drivers/sound/configure.cif (!(DISABLED_OPTIONS & B (i)))
i1138drivers/sound/configure.cprintf ("bool '%s' CONFIG_%s\n", questions[i], hw_table[i].macro);
i1156drivers/sound/configure.cint             i = 0;
i1162drivers/sound/configure.cwhile (extra_options[i].name != NULL)
i1170drivers/sound/configure.cif (extra_options[i].mask & B (j))
i1181drivers/sound/configure.cprintf ("#\tdefine CONFIG_%s\n", extra_options[i].name);
i1183drivers/sound/configure.ci++;
i1190drivers/sound/configure.cint             i = 0;
i1194drivers/sound/configure.cwhile (extra_options[i].name != NULL)
i1200drivers/sound/configure.cif (extra_options[i].mask & B (j))
i1203drivers/sound/configure.cprintf ("CONFIG_%s=y\n", extra_options[i].name);
i1207drivers/sound/configure.ci++;
i1214drivers/sound/configure.cint             i, full_driver = 1;
i1276drivers/sound/configure.cfor (i = 0; i <= OPT_LAST; i++)
i1277drivers/sound/configure.cif (can_select_option (i))
i1279drivers/sound/configure.cif (!(selected_options & B (i)))  /*
i1282drivers/sound/configure.cif (!hw_table[i].verify)
i1284drivers/sound/configure.cif (hw_table[i].alias)
i1285drivers/sound/configure.cselected_options |= B (hw_table[i].alias);
i1287drivers/sound/configure.cselected_options |= B (i);
i1291drivers/sound/configure.cint             def_answ = hw_table[i].default_answ;
i1293drivers/sound/configure.cif (think_positively (questions[i], def_answ, help[i]))
i1294drivers/sound/configure.cif (hw_table[i].alias)
i1295drivers/sound/configure.cselected_options |= B (hw_table[i].alias);
i1297drivers/sound/configure.cselected_options |= B (i);
i1513drivers/sound/configure.cfor (i = 0; i <= OPT_LAST; i++)
i1514drivers/sound/configure.cif (!hw_table[i].alias)
i1515drivers/sound/configure.cif (selected_options & B (i))
i1516drivers/sound/configure.cprintf ("#define CONFIG_%s\n", hw_table[i].macro);
i1518drivers/sound/configure.cprintf ("#undef  CONFIG_%s\n", hw_table[i].macro);
i1522drivers/sound/configure.ci = 0;
i1524drivers/sound/configure.cwhile (extra_options[i].name != NULL)
i1526drivers/sound/configure.cif (selected_options & extra_options[i].mask)
i1527drivers/sound/configure.cprintf ("#define CONFIG_%s\n", extra_options[i].name);
i1529drivers/sound/configure.cprintf ("#undef  CONFIG_%s\n", extra_options[i].name);
i1530drivers/sound/configure.ci++;
i1572drivers/sound/configure.cint             i = 0;
i1585drivers/sound/configure.cif (i != 0 && (i % 10) == 0)
i1588drivers/sound/configure.ci++;
i1591drivers/sound/configure.c"#define %sLen %d\n", varname, i);
i87drivers/sound/cs4232.cint             i, n;
i129drivers/sound/cs4232.cfor (i = 0; i < 32; i++)
i130drivers/sound/cs4232.cCS_OUT (crystal_key[i]);
i42drivers/sound/dev_table.cint             i, n = num_sound_drivers;
i44drivers/sound/dev_table.cfor (i = 0; i < n; i++)
i45drivers/sound/dev_table.cif (sound_drivers[i].card_type == type)
i46drivers/sound/dev_table.creturn i;
i82drivers/sound/dev_table.cint             i, n = num_sound_cards;
i93drivers/sound/dev_table.cfor (i = 0; i < n && snd_installed_cards[i].card_type; i++)
i94drivers/sound/dev_table.cnum_sound_cards = i + 1;
i96drivers/sound/dev_table.cfor (i = 0; i < n && snd_installed_cards[i].card_type; i++)
i97drivers/sound/dev_table.cif (snd_installed_cards[i].enabled)
i99drivers/sound/dev_table.csnd_installed_cards[i].for_driver_use = NULL;
i101drivers/sound/dev_table.cif ((drv = snd_find_driver (snd_installed_cards[i].card_type)) == -1)
i103drivers/sound/dev_table.csnd_installed_cards[i].enabled = 0;    /*
i109drivers/sound/dev_table.csnd_installed_cards[i].config.card_subtype =
i112drivers/sound/dev_table.cif (sound_drivers[drv].probe (&snd_installed_cards[i].config))
i115drivers/sound/dev_table.cmem_start = sound_drivers[drv].attach (mem_start, &snd_installed_cards[i].config);
i119drivers/sound/dev_table.csnd_installed_cards[i].enabled = 0;  /*
i138drivers/sound/dev_table.cint             i, n = num_sound_cards;
i147drivers/sound/dev_table.cfor (i = 0; i < n && snd_installed_cards[i].card_type; i++)
i148drivers/sound/dev_table.cif (snd_installed_cards[i].enabled)
i149drivers/sound/dev_table.cif ((drv = snd_find_driver (snd_installed_cards[i].card_type)) != -1)
i152drivers/sound/dev_table.csound_drivers[drv].unload (&snd_installed_cards[i].config);
i153drivers/sound/dev_table.csnd_installed_cards[i].enabled = 0;
i163drivers/sound/dev_table.cint             i, drv = -1, n = num_sound_cards;
i169drivers/sound/dev_table.cfor (i = 0; i < n && snd_installed_cards[i].card_type; i++)
i170drivers/sound/dev_table.cif (snd_installed_cards[i].card_type == type)
i172drivers/sound/dev_table.cif (snd_installed_cards[i].enabled)
i178drivers/sound/dev_table.csound_drivers[drv].unload (&snd_installed_cards[i].config);
i179drivers/sound/dev_table.csnd_installed_cards[i].enabled = 0;
i196drivers/sound/dev_table.cint             i, sel = -1, n = num_sound_cards;
i205drivers/sound/dev_table.cfor (i = 0; i < n && sel == -1 && snd_installed_cards[i].card_type; i++)
i206drivers/sound/dev_table.cif (snd_installed_cards[i].enabled)
i207drivers/sound/dev_table.cif (snd_installed_cards[i].card_type == unit)
i208drivers/sound/dev_table.csel = i;
i212drivers/sound/dev_table.cint             i;
i214drivers/sound/dev_table.ci = sel = (num_sound_cards++);
i267drivers/sound/dev_table.cint             i, n = num_sound_cards;
i278drivers/sound/dev_table.cfor (i = 0; i < n && snd_installed_cards[i].card_type; i++)
i279drivers/sound/dev_table.cif (snd_installed_cards[i].card_type == unit)
i283drivers/sound/dev_table.csnd_installed_cards[i].config.io_base = hw_config->io_base;
i284drivers/sound/dev_table.csnd_installed_cards[i].config.irq = hw_config->irq;
i285drivers/sound/dev_table.csnd_installed_cards[i].config.dma = hw_config->dma;
i286drivers/sound/dev_table.csnd_installed_cards[i].config.dma2 = hw_config->dma2;
i287drivers/sound/dev_table.csnd_installed_cards[i].config.name = hw_config->name;
i288drivers/sound/dev_table.csnd_installed_cards[i].config.always_detect = hw_config->always_detect;
i289drivers/sound/dev_table.csnd_installed_cards[i].config.driver_use_1 = hw_config->driver_use_1;
i290drivers/sound/dev_table.csnd_installed_cards[i].config.driver_use_2 = hw_config->driver_use_2;
i291drivers/sound/dev_table.csnd_installed_cards[i].config.card_subtype = hw_config->card_subtype;
i292drivers/sound/dev_table.csnd_installed_cards[i].config.osp = hw_config->osp;
i294drivers/sound/dev_table.cif ((drv = snd_find_driver (snd_installed_cards[i].card_type)) == -1)
i295drivers/sound/dev_table.csnd_installed_cards[i].enabled = 0;  /*
i325drivers/sound/dev_table.cint             i, n = num_sound_drivers;
i330drivers/sound/dev_table.cfor (i = 0; i < n; i++)
i331drivers/sound/dev_table.cif (sound_drivers[i].driver_id != NULL)
i333drivers/sound/dev_table.cchar           *id = sound_drivers[i].driver_id;
i338drivers/sound/dev_table.creturn sound_drivers[i].card_type;
i347drivers/sound/dev_table.cint             i, n = num_sound_cards;
i353drivers/sound/dev_table.cfor (i = 0; i < n && snd_installed_cards[i].card_type; i++)
i354drivers/sound/dev_table.csnd_installed_cards[i].enabled = 0;
i362drivers/sound/dev_table.cfor (i = 1; i <= ints[0]; i++)
i367drivers/sound/dev_table.cval = (unsigned int) ints[i];
i72drivers/sound/dmabuf.cunsigned        i, n;
i163drivers/sound/dmabuf.cfor (i = 0; i < dmap->nbufs; i++)
i165drivers/sound/dmabuf.cdmap->counts[i] = 0;
i1313drivers/sound/dmabuf.cint             i;
i1316drivers/sound/dmabuf.ci = dmap->qhead;
i1318drivers/sound/dmabuf.cp = dmap->fragment_size * i;
i1320drivers/sound/dmabuf.cif (i == dmap->cfrag)
i1322drivers/sound/dmabuf.cl = dmap->fragment_size - dmap->counts[i];
i55drivers/sound/gus_vol.cint             i, m, n, x;
i104drivers/sound/gus_vol.ci = 7;
i107drivers/sound/gus_vol.cwhile (i > 0 && n < (1 << i))
i108drivers/sound/gus_vol.ci--;
i114drivers/sound/gus_vol.ci++;
i120drivers/sound/gus_vol.cm = x - (1 << i);
i127drivers/sound/gus_vol.cif (i > 8)
i128drivers/sound/gus_vol.cm >>= i - 8;
i129drivers/sound/gus_vol.celse if (i < 8)
i130drivers/sound/gus_vol.cm <<= 8 - i;
i133drivers/sound/gus_vol.creturn ((i << 8) + m);
i196drivers/sound/gus_wave.cint             i;
i198drivers/sound/gus_wave.cfor (i = 0; i <= MAX_SAMPLE; i++)
i199drivers/sound/gus_wave.csample_ptrs[i] = -1;
i200drivers/sound/gus_wave.cfor (i = 0; i < 32; i++)
i201drivers/sound/gus_wave.csample_map[i] = -1;
i202drivers/sound/gus_wave.cfor (i = 0; i < 32; i++)
i203drivers/sound/gus_wave.cpatch_map[i] = -1;
i211drivers/sound/gus_wave.cfor (i = 0; i < MAX_PATCH; i++)
i212drivers/sound/gus_wave.cpatch_table[i] = NOT_SAMPLE;
i218drivers/sound/gus_wave.cint             i;
i220drivers/sound/gus_wave.cfor (i = 0; i < 7; i++)
i678drivers/sound/gus_wave.cint             i;
i685drivers/sound/gus_wave.cfor (i = 0; i < 32; i++)
i687drivers/sound/gus_wave.cgus_voice_init (i);  /* Turn voice off */
i688drivers/sound/gus_wave.cgus_voice_init2 (i);
i848drivers/sound/gus_wave.cunsigned long   i;
i868drivers/sound/gus_wave.cfor (i = 1L; i < 1024L; i++)
i875drivers/sound/gus_wave.cloc = i << 10;
i891drivers/sound/gus_wave.cgus_mem_size = i << 10;
i1276drivers/sound/gus_wave.cint             i;
i1278drivers/sound/gus_wave.cfor (i = 0; i < 6; i++)
i1280drivers/sound/gus_wave.cvoices[voice].env_rate[i] = samples[sample].env_rate[i];
i1281drivers/sound/gus_wave.cvoices[voice].env_offset[i] = samples[sample].env_offset[i];
i1462drivers/sound/gus_wave.cint             i;
i1464drivers/sound/gus_wave.cfor (i = 0; i < 32; i++)
i1466drivers/sound/gus_wave.cgus_voice_init (i);
i1467drivers/sound/gus_wave.cgus_voice_init2 (i);
i1666drivers/sound/gus_wave.clong            i;
i1670drivers/sound/gus_wave.cfor (i = 0; i < blk_sz; i++)
i1672drivers/sound/gus_wave.cdata = get_fs_byte (&((addr)[sizeof_patch + i]));
i1675drivers/sound/gus_wave.cif (!(patch.mode & WAVE_16_BITS) || (i & 0x01))
i1677drivers/sound/gus_wave.cgus_poke (target + i, data);
i2396drivers/sound/gus_wave.cint             i;
i2413drivers/sound/gus_wave.cfor (i = 0; i < pcm_nblk; i++)
i2414drivers/sound/gus_wave.cpcm_datasize[i] = 0;
i2443drivers/sound/gus_wave.cint             i;
i2450drivers/sound/gus_wave.cfor (i = 0; i < len; i++)
i2463drivers/sound/gus_wave.cint             i;
i2471drivers/sound/gus_wave.cfor (i = 0; i < len; i++)
i2538drivers/sound/gus_wave.cint             i, n;
i2555drivers/sound/gus_wave.cfor (i = 0; i < MAX_PATCH; i++)
i2557drivers/sound/gus_wave.cint             ptr = patch_table[i];
i2559drivers/sound/gus_wave.crec->data.data8[i] = 0;
i2563drivers/sound/gus_wave.crec->data.data8[i]++;
i2721drivers/sound/gus_wave.cint             i, p, best = -1, best_time = 0x7fffffff;
i2728drivers/sound/gus_wave.cfor (i = 0; i < alloc->max_voice; i++)
i2747drivers/sound/gus_wave.cfor (i = 0; i < alloc->max_voice; i++)
i3467drivers/sound/gus_wave.cint             i;
i3471drivers/sound/gus_wave.cfor (i = 0; i < 2; i++)
i3476drivers/sound/gus_wave.cfor (i = 0; i < 2; i++)
i17drivers/sound/hex2hex.hint l=0, c, i;
i44drivers/sound/hex2hex.hfor (i=0;i<n;i++)
i72drivers/sound/hex2hex.hint i,l;
i101drivers/sound/hex2hex.hfor (i=0;i<l;i++)
i103drivers/sound/hex2hex.hif (i) fprintf(outf, ",");
i104drivers/sound/hex2hex.hif (i && !(i % 16)) fprintf(outf, "\n");
i105drivers/sound/hex2hex.hfprintf(outf, "0x%02x", buf[i]);
i232drivers/sound/ics2101.cint             i;
i245drivers/sound/ics2101.cfor (i = 0; i < ICS_MIXDEVS; i++)
i246drivers/sound/ics2101.cleft_fix[i] = 1;
i247drivers/sound/ics2101.cfor (i = 0; i < ICS_MIXDEVS; i++)
i248drivers/sound/ics2101.cright_fix[i] = 2;
i176drivers/sound/mad16.cint             i;
i190drivers/sound/mad16.cfor (i = 0xf8d; i <= 0xf98; i++)
i191drivers/sound/mad16.cDDB (printk ("Port %0x (init value) = %0x\n", i, mad_read (i)));
i281drivers/sound/mad16.cint             i;
i339drivers/sound/mad16.cfor (i = 0xf8d; i <= 0xf93; i++)
i340drivers/sound/mad16.cDDB (printk ("port %03x = %02x\n", i, mad_read (i)));
i348drivers/sound/mad16.cfor (i = 0; i < 5; i++)
i350drivers/sound/mad16.cif (i > 3)    /* Not a valid port */
i356drivers/sound/mad16.cif (valid_ports[i] == hw_config->io_base)
i358drivers/sound/mad16.ctmp |= i << 4;  /* WSS port select bits */
i403drivers/sound/mad16.cfor (i = 0xf8d; i <= 0xf93; i++)
i404drivers/sound/mad16.cDDB (printk ("port %03x after init = %02x\n", i, mad_read (i)));
i520drivers/sound/mad16.cint             i;    /* A variable with secret power */
i577drivers/sound/mad16.cfor (i = 0; i < 5; i++)
i579drivers/sound/mad16.cif (i > 3)    /* Out of array bounds */
i585drivers/sound/mad16.cif (valid_ports[i] == hw_config->io_base)
i587drivers/sound/mad16.ctmp |= i << 5;
i596drivers/sound/mad16.cfor (i = 0; i < 5; i++)
i598drivers/sound/mad16.cif (i > 3)    /* Out of array bounds */
i604drivers/sound/mad16.cif (valid_irqs[i] == hw_config->irq)
i606drivers/sound/mad16.ctmp |= i << 3;
i63drivers/sound/mad16_sb_midi.cint             i;
i78drivers/sound/mad16_sb_midi.cfor (i = 0; i < 500000 && jiffies < limit; i++)
i69drivers/sound/maui.cint             i;
i75drivers/sound/maui.cfor (i = 0; i < 100; i++)
i87drivers/sound/maui.cfor (i = 0; i < 150; i++)
i149drivers/sound/maui.cint             i, lines = 0;
i155drivers/sound/maui.cfor (i = 0; i < maui_osLen; i++)
i157drivers/sound/maui.cif (maui_os[i] != '\r')
i158drivers/sound/maui.cif (!skip || (maui_os[i] == 'S' && (i == 0 || maui_os[i - 1] == '\n')))
i162drivers/sound/maui.cif (maui_os[i] == '\n')
i164drivers/sound/maui.celse if (maui_os[i] == 'S')
i166drivers/sound/maui.cif (maui_os[i + 1] == '8')
i175drivers/sound/maui.cif (!maui_write (maui_os[i]))
i220drivers/sound/maui.cint             i;
i253drivers/sound/maui.cfor (i = 0; i < 1000000 && !irq_ok; i++);
i286drivers/sound/maui.cint             i;
i288drivers/sound/maui.cfor (i = 0; i < 1000; i++)
i307drivers/sound/maui.cint             i;
i342drivers/sound/maui.cfor (i = 0; i < left; i++)
i346drivers/sound/maui.cdata = get_fs_byte (&((addr)[hdr_size + i]));
i347drivers/sound/maui.cif (i == 0 && !(data & 0x80))
i354drivers/sound/maui.cif ((i = maui_read ()) != 0x80)
i356drivers/sound/maui.cif (i != -1)
i357drivers/sound/maui.cprintk ("Maui: Error status %02x\n", i);
i368drivers/sound/maui.cint             i;
i432drivers/sound/maui.cfor (i = 0; i < 4; i++)
i434drivers/sound/maui.ctmp1 |= maui_read () << (7 * i);
i439drivers/sound/maui.cfor (i = 0; i < 1000; i++)
i509drivers/sound/midi_synth.cint             i;
i552drivers/sound/midi_synth.cfor (i = 0; i < left && !current_got_fatal_signal (); i++)
i556drivers/sound/midi_synth.cdata = get_fs_byte (&((addr)[hdr_size + i]));
i558drivers/sound/midi_synth.ceox_seen = (i > 0 && data & 0x80);  /* End of sysex */
i563drivers/sound/midi_synth.cif (i == 0)
i715drivers/sound/midi_synth.cint             i;
i717drivers/sound/midi_synth.cfor (i = 0; i < len; i++)
i719drivers/sound/midi_synth.cswitch (bytes[i])
i737drivers/sound/midi_synth.cif (bytes[i] & 0x80)  /* Error. Another message before sysex end */
i739drivers/sound/midi_synth.cbytes[i] = 0xf7;  /* Sysex end */
i744drivers/sound/midi_synth.cif (!midi_devs[orig_dev]->putc (orig_dev, bytes[i]))
i752drivers/sound/midi_synth.cbytes[i] = 0xf7;
i755drivers/sound/midi_synth.cwhile (!midi_devs[orig_dev]->putc (orig_dev, bytes[i]) &&
i345drivers/sound/midibuf.cint             c, n, i;
i395drivers/sound/midibuf.cfor (i = 0; i < n; i++)
i615drivers/sound/mpu401.cint             i, timeout, ok;
i684drivers/sound/mpu401.cfor (i = 0; i < cmd->nr_args; i++)
i688drivers/sound/mpu401.cif (!mpu401_out (dev, cmd->data[i]))
i700drivers/sound/mpu401.cfor (i = 0; i < cmd->nr_returns; i++)
i706drivers/sound/mpu401.ccmd->data[i] = read_data (devc);
i103drivers/sound/opl3.cint             i;
i110drivers/sound/opl3.cfor (i = 0; i < 3; i++)
i111drivers/sound/opl3.cpv_map[i].voice_mode = 4;
i112drivers/sound/opl3.cfor (i = 3; i < 6; i++)
i113drivers/sound/opl3.cpv_map[i].voice_mode = 0;
i115drivers/sound/opl3.cfor (i = 9; i < 12; i++)
i116drivers/sound/opl3.cpv_map[i].voice_mode = 4;
i117drivers/sound/opl3.cfor (i = 12; i < 15; i++)
i118drivers/sound/opl3.cpv_map[i].voice_mode = 0;
i120drivers/sound/opl3.cfor (i = 0; i < 12; i++)
i121drivers/sound/opl3.cdevc->lv_map[i] = v4op[i];
i187drivers/sound/opl3.cint             i;
i231drivers/sound/opl3.cfor (i = 0; i < 50; i++)
i308drivers/sound/opl3.cfor (i = 0; i < 9; i++)
i309drivers/sound/opl3.copl3_command (ioaddr, KEYON_BLOCK + i, 0);  /*
i771drivers/sound/opl3.cint             i;
i783drivers/sound/opl3.cfor (i = 0; i < 2; i++)
i795drivers/sound/opl3.cfor (i = 0; i < 2; i++)
i802drivers/sound/opl3.cint             i;
i804drivers/sound/opl3.cfor (i = 0; i < 18; i++)
i805drivers/sound/opl3.cdevc->lv_map[i] = i;
i807drivers/sound/opl3.cfor (i = 0; i < devc->nr_voice; i++)
i809drivers/sound/opl3.copl3_command (pv_map[devc->lv_map[i]].ioaddr,
i810drivers/sound/opl3.cKSL_LEVEL + pv_map[devc->lv_map[i]].op[0], 0xff);
i812drivers/sound/opl3.copl3_command (pv_map[devc->lv_map[i]].ioaddr,
i813drivers/sound/opl3.cKSL_LEVEL + pv_map[devc->lv_map[i]].op[1], 0xff);
i815drivers/sound/opl3.cif (pv_map[devc->lv_map[i]].voice_mode == 4)
i817drivers/sound/opl3.copl3_command (pv_map[devc->lv_map[i]].ioaddr,
i818drivers/sound/opl3.cKSL_LEVEL + pv_map[devc->lv_map[i]].op[2], 0xff);
i820drivers/sound/opl3.copl3_command (pv_map[devc->lv_map[i]].ioaddr,
i821drivers/sound/opl3.cKSL_LEVEL + pv_map[devc->lv_map[i]].op[3], 0xff);
i824drivers/sound/opl3.copl3_kill_note (dev, i, 0, 64);
i831drivers/sound/opl3.cfor (i = 0; i < 18; i++)
i832drivers/sound/opl3.cpv_map[i].voice_mode = 2;
i841drivers/sound/opl3.cint             i;
i850drivers/sound/opl3.cfor (i = 0; i < 18; i++)
i852drivers/sound/opl3.cdevc->v_alloc->map[i] = 0;
i853drivers/sound/opl3.cdevc->v_alloc->alloc_times[i] = 0;
i1073drivers/sound/opl3.cint             i, p, best, first, avail, best_time = 0x7fffffff;
i1111drivers/sound/opl3.cfor (i = 0; i < avail; i++)
i1179drivers/sound/opl3.cint             i;
i1238drivers/sound/opl3.cfor (i = 0; i < 18; i++)
i1239drivers/sound/opl3.cif (pv_map[i].ioaddr == USE_LEFT)
i1240drivers/sound/opl3.cpv_map[i].ioaddr = devc->left_io;
i1242drivers/sound/opl3.cpv_map[i].ioaddr = devc->right_io;
i1253drivers/sound/opl3.cfor (i = 0; i < 18; i++)
i1254drivers/sound/opl3.cpv_map[i].ioaddr = devc->left_io;
i1257drivers/sound/opl3.cfor (i = 0; i < SBFM_MAXINSTR; i++)
i1258drivers/sound/opl3.cdevc->i_map[i].channel = -1;
i278drivers/sound/pas2_midi.cint             i, incount;
i293drivers/sound/pas2_midi.cfor (i = 0; i < incount; i++)
i140drivers/sound/pas2_mixer.cint             left, right, devmask, changed, i, mixer = 0;
i204drivers/sound/pas2_mixer.ci = 0;
i207drivers/sound/pas2_mixer.ci = (level / 20) - 1;
i213drivers/sound/pas2_mixer.cif (i)
i214drivers/sound/pas2_mixer.ci = (i + 1) * 20;
i215drivers/sound/pas2_mixer.creturn i;
i232drivers/sound/pas2_mixer.cfor (i = 0; i < SOUND_MIXER_NRDEVICES; i++)
i233drivers/sound/pas2_mixer.cif (changed & (1 << i))
i235drivers/sound/pas2_mixer.cpas_mixer_set (i, levels[i]);
i192drivers/sound/pss.cunsigned long   i, limit = jiffies + 10;
i196drivers/sound/pss.cfor (i = 0; i < 32768 && jiffies < limit; i++)
i207drivers/sound/pss.cint             i, val;
i209drivers/sound/pss.cfor (i = 0; i < 327680; i++)
i224drivers/sound/pss.cint             i, val;
i226drivers/sound/pss.cfor (i = 0; i < 327680; i++)
i242drivers/sound/pss.cint             i, limit, val, count;
i251drivers/sound/pss.cfor (i = 0; i < 32768 && jiffies < limit; i++)
i295drivers/sound/pss.cfor (i = 0; i < 32768 && jiffies < limit; i++)
i299drivers/sound/pss.cfor (i = 0; i < 32768 && jiffies < limit; i++)
i307drivers/sound/pss.cfor (i = 0; i < 32000; i++)
i313drivers/sound/pss.cif (i == 32000)
i527drivers/sound/pss.cint             i;
i542drivers/sound/pss.cfor (i = 0; i < buf->len; i++)
i548drivers/sound/pss.cbuf->len = i;  /* feed back number of WORDs sent */
i568drivers/sound/pss.cunsigned int    i;
i582drivers/sound/pss.cfor (i = 0; i < buf->len; i++)
i586drivers/sound/pss.cbuf->len = i;  /* feed back number of WORDs read */
i100drivers/sound/sb16_dsp.cint             i = 1 << 16;
i102drivers/sound/sb16_dsp.cwhile (--i & (!inb (DSP_STATUS) & 0x80));
i103drivers/sound/sb16_dsp.cif (!i)
i123drivers/sound/sb_dsp.cint             i;
i138drivers/sound/sb_dsp.cfor (i = 0; i < 500000 && jiffies < limit; i++)
i167drivers/sound/sb_dsp.cint             i;
i175drivers/sound/sb_dsp.cfor (i = 1000; i; i--)
i1027drivers/sound/sb_dsp.cint             i;
i1029drivers/sound/sb_dsp.cfor (i = 1000; i; i--)
i1093drivers/sound/sb_dsp.cint             i;
i1105drivers/sound/sb_dsp.cfor (i = 0; i < 300; i++)  /* Wait at least 1ms */
i1140drivers/sound/sb_dsp.cfor (i = 0; i < 8192; i++)
i1141drivers/sound/sb_dsp.csmw_putmem (mp_base, i, smw_ucode[i]);
i1147drivers/sound/sb_dsp.cfor (i = 0; i < 8192; i++)
i1148drivers/sound/sb_dsp.cif (smw_getmem (mp_base, i) != smw_ucode[i])
i1449drivers/sound/sb_dsp.cint             i;
i1459drivers/sound/sb_dsp.cfor (i = 100000; i; i--)
i1478drivers/sound/sb_dsp.cint             i;
i1516drivers/sound/sb_dsp.cfor (i = 1000; i; i--)
i233drivers/sound/sb_mixer.cint             i;
i239drivers/sound/sb_mixer.cfor (i = 0; i < sizeof (smw_mix_regs); i++)
i240drivers/sound/sb_mixer.cif (smw_mix_regs[i] != 0)
i241drivers/sound/sb_mixer.csupported_devices |= (1 << i);
i371drivers/sound/sb_mixer.cint             devmask, i;
i432drivers/sound/sb_mixer.cfor (i = 0; i < SOUND_MIXER_NRDEVICES; i++)
i433drivers/sound/sb_mixer.cif ((1 << i) & devmask)
i435drivers/sound/sb_mixer.cregimageL |= sb16_recmasks_L[i];
i436drivers/sound/sb_mixer.cregimageR |= sb16_recmasks_R[i];
i509drivers/sound/sb_mixer.cint             i;
i511drivers/sound/sb_mixer.cfor (i = 0; i < SOUND_MIXER_NRDEVICES; i++)
i512drivers/sound/sb_mixer.csb_mixer_set (i, levels[i]);
i488drivers/sound/sequencer.cint             i;
i492drivers/sound/sequencer.cfor (i = 0; i < synth_devs[dev]->alloc.max_voice; i++)
i493drivers/sound/sequencer.cif (synth_devs[dev]->alloc.map[i] == key)
i494drivers/sound/sequencer.creturn i;
i643drivers/sound/sequencer.cint             i, key;
i658drivers/sound/sequencer.cfor (i = 0; i < synth_devs[dev]->alloc.max_voice; i++)
i659drivers/sound/sequencer.cif ((synth_devs[dev]->alloc.map[i] & 0xff00) == key)
i660drivers/sound/sequencer.csynth_devs[dev]->controller (dev, i, p1, val);
i676drivers/sound/sequencer.cint             i, key;
i680drivers/sound/sequencer.cfor (i = 0; i < synth_devs[dev]->alloc.max_voice; i++)
i681drivers/sound/sequencer.cif ((synth_devs[dev]->alloc.map[i] & 0xff00) == key)
i682drivers/sound/sequencer.csynth_devs[dev]->bender (dev, i, w14);
i820drivers/sound/sequencer.cint             i, l = 0;
i833drivers/sound/sequencer.cfor (i = 0; i < 6 && buf[i] != 0xff; i++)
i834drivers/sound/sequencer.cl = i + 1;
i1040drivers/sound/sequencer.cint             i;
i1042drivers/sound/sequencer.cfor (i = 0; i < 128; i++)
i1043drivers/sound/sequencer.ccontroller[i] = ctrl_def_values[i];
i1081drivers/sound/sequencer.cint             retval, mode, i;
i1128drivers/sound/sequencer.cint             i, best;
i1131drivers/sound/sequencer.cfor (i = 0; i < num_sound_timers; i++)
i1132drivers/sound/sequencer.cif (sound_timer_devs[i]->priority > best)
i1134drivers/sound/sequencer.ctmr_no = i;
i1135drivers/sound/sequencer.cbest = sound_timer_devs[i]->priority;
i1168drivers/sound/sequencer.cfor (i = 0; i < max_mididev; i++)
i1170drivers/sound/sequencer.cmidi_opened[i] = 0;
i1171drivers/sound/sequencer.cmidi_written[i] = 0;
i1177drivers/sound/sequencer.cfor (i = 0; i < max_synthdev; i++)  /*
i1180drivers/sound/sequencer.cif ((tmp = synth_devs[i]->open (i, mode)) < 0)
i1182drivers/sound/sequencer.cprintk ("Sequencer: Warning! Cannot open synth device #%d (%d)\n", i, tmp);
i1183drivers/sound/sequencer.cif (synth_devs[i]->midi_dev)
i1184drivers/sound/sequencer.cprintk ("(Maps to MIDI dev #%d)\n", synth_devs[i]->midi_dev);
i1188drivers/sound/sequencer.csynth_open_mask |= (1 << i);
i1189drivers/sound/sequencer.cif (synth_devs[i]->midi_dev)  /*
i1192drivers/sound/sequencer.cmidi_opened[synth_devs[i]->midi_dev] = 1;
i1203drivers/sound/sequencer.cfor (i = 0; i < max_mididev; i++)
i1204drivers/sound/sequencer.cif (!midi_opened[i])
i1206drivers/sound/sequencer.cif ((retval = midi_devs[i]->open (i, mode,
i1208drivers/sound/sequencer.cmidi_opened[i] = 1;
i1221drivers/sound/sequencer.cfor (i = 0; i < num_synths; i++)
i1222drivers/sound/sequencer.cif (pmgr_present[i])
i1223drivers/sound/sequencer.cpmgr_inform (i, PM_E_OPENED, 0, 0, 0, 0);
i1231drivers/sound/sequencer.cint             i, n;
i1243drivers/sound/sequencer.cfor (i = 0; i < max_mididev; i++)
i1244drivers/sound/sequencer.cif (midi_opened[i] && midi_written[i])
i1245drivers/sound/sequencer.cif (midi_devs[i]->buffer_status != NULL)
i1246drivers/sound/sequencer.cif (midi_devs[i]->buffer_status (i))
i1278drivers/sound/sequencer.cint             i;
i1316drivers/sound/sequencer.cfor (i = 0; i < max_synthdev; i++)
i1317drivers/sound/sequencer.cif (synth_open_mask & (1 << i))  /*
i1320drivers/sound/sequencer.cif (synth_devs[i])
i1322drivers/sound/sequencer.csynth_devs[i]->close (i);
i1324drivers/sound/sequencer.cif (synth_devs[i]->midi_dev)
i1325drivers/sound/sequencer.cmidi_opened[synth_devs[i]->midi_dev] = 0;
i1328drivers/sound/sequencer.cfor (i = 0; i < num_synths; i++)
i1329drivers/sound/sequencer.cif (pmgr_present[i])
i1330drivers/sound/sequencer.cpmgr_inform (i, PM_E_CLOSED, 0, 0, 0, 0);
i1332drivers/sound/sequencer.cfor (i = 0; i < max_mididev; i++)
i1333drivers/sound/sequencer.cif (midi_opened[i])
i1334drivers/sound/sequencer.cmidi_devs[i]->close (i);
i1428drivers/sound/sequencer.cint             i;
i1440drivers/sound/sequencer.cfor (i = 0; i < max_synthdev; i++)
i1441drivers/sound/sequencer.cif (synth_open_mask & (1 << i))
i1442drivers/sound/sequencer.cif (synth_devs[i])
i1443drivers/sound/sequencer.csynth_devs[i]->reset (i);
i1449drivers/sound/sequencer.cfor (i = 0; i < max_synthdev; i++)
i1450drivers/sound/sequencer.cif (synth_open_mask & (1 << i))
i1451drivers/sound/sequencer.cif (synth_devs[i])
i1453drivers/sound/sequencer.csynth_devs[i]->controller (i, chn, 123, 0);  /* All notes off */
i1454drivers/sound/sequencer.csynth_devs[i]->controller (i, chn, 121, 0);  /* Reset all ctl */
i1455drivers/sound/sequencer.csynth_devs[i]->bender (i, chn, 1 << 13);  /* Bender off */
i1462drivers/sound/sequencer.cfor (i = 0; i < max_mididev; i++)
i1463drivers/sound/sequencer.cif (midi_written[i])  /*
i1472drivers/sound/sequencer.cmidi_outc (i, 0xfe);
i1476drivers/sound/sequencer.cmidi_outc (i,
i1478drivers/sound/sequencer.cmidi_outc (i, 0x7b);  /* All notes off */
i1479drivers/sound/sequencer.cmidi_outc (i, 0);  /* Dummy parameter */
i1482drivers/sound/sequencer.cmidi_devs[i]->close (i);
i1484drivers/sound/sequencer.cmidi_written[i] = 0;
i1485drivers/sound/sequencer.cmidi_opened[i] = 0;
i102drivers/sound/sound_switch.cint             i;
i138drivers/sound/sound_switch.cfor (i = 0; i < num_sound_drivers; i++)
i139drivers/sound/sound_switch.cif (sound_drivers[i].card_type != 0)
i143drivers/sound/sound_switch.cif (!put_status_int (sound_drivers[i].card_type, 10))
i147drivers/sound/sound_switch.cif (!put_status (sound_drivers[i].name))
i157drivers/sound/sound_switch.cfor (i = 0; i < num_sound_cards; i++)
i158drivers/sound/sound_switch.cif (snd_installed_cards[i].card_type != 0)
i162drivers/sound/sound_switch.cif (!snd_installed_cards[i].enabled)
i171drivers/sound/sound_switch.cif ((drv = snd_find_driver (snd_installed_cards[i].card_type)) != -1)
i177drivers/sound/sound_switch.cif (!put_status_int (snd_installed_cards[i].config.io_base, 16))
i182drivers/sound/sound_switch.ctmp = snd_installed_cards[i].config.irq;
i188drivers/sound/sound_switch.cif (snd_installed_cards[i].config.dma != -1)
i192drivers/sound/sound_switch.cif (!put_status_int (snd_installed_cards[i].config.dma, 10))
i194drivers/sound/sound_switch.cif (snd_installed_cards[i].config.dma2 != -1)
i198drivers/sound/sound_switch.cif (!put_status_int (snd_installed_cards[i].config.dma2, 10))
i203drivers/sound/sound_switch.cif (!snd_installed_cards[i].enabled)
i224drivers/sound/sound_switch.cfor (i = 0; i < num_audiodevs; i++)
i226drivers/sound/sound_switch.cif (!put_status_int (i, 10))
i230drivers/sound/sound_switch.cif (!put_status (audio_devs[i]->name))
i233drivers/sound/sound_switch.cif (audio_devs[i]->flags & DMA_DUPLEX)
i249drivers/sound/sound_switch.cfor (i = 0; i < num_synths; i++)
i251drivers/sound/sound_switch.cif (!put_status_int (i, 10))
i255drivers/sound/sound_switch.cif (!put_status (synth_devs[i]->info->name))
i269drivers/sound/sound_switch.cfor (i = 0; i < num_midis; i++)
i271drivers/sound/sound_switch.cif (!put_status_int (i, 10))
i275drivers/sound/sound_switch.cif (!put_status (midi_devs[i]->info.name))
i285drivers/sound/sound_switch.cfor (i = 0; i < num_sound_timers; i++)
i287drivers/sound/sound_switch.cif (!put_status_int (i, 10))
i291drivers/sound/sound_switch.cif (!put_status (sound_timer_devs[i]->info.name))
i300drivers/sound/sound_switch.cfor (i = 0; i < num_mixers; i++)
i302drivers/sound/sound_switch.cif (!put_status_int (i, 10))
i306drivers/sound/sound_switch.cif (!put_status (mixer_devs[i]->name))
i377drivers/sound/soundcard.cint             i;
i379drivers/sound/soundcard.cfor (i = 0; i < 31; i++)
i380drivers/sound/soundcard.cif (irqs & (1ul << i))
i382drivers/sound/soundcard.cprintk ("Sound warning: IRQ%d was left allocated - fixed.\n", i);
i383drivers/sound/soundcard.csnd_release_irq (i);
i400drivers/sound/soundcard.cint             i;
i411drivers/sound/soundcard.ci = 0;
i412drivers/sound/soundcard.cwhile (i < 20 && sound[i])
i413drivers/sound/soundcard.cints[i + 1] = sound[i++];
i414drivers/sound/soundcard.cints[0] = i;
i416drivers/sound/soundcard.cif (i)
i441drivers/sound/soundcard.cint             i;
i456drivers/sound/soundcard.cfor (i = 0; i < sound_num_blocks; i++)
i457drivers/sound/soundcard.ckfree (sound_mem_blocks[i]);
i461drivers/sound/soundcard.cfor (i = 0; i < 8; i++)
i462drivers/sound/soundcard.cif (dma_alloc_map[i] != DMA_MAP_UNAVAIL)
i464drivers/sound/soundcard.cprintk ("Sound: Hmm, DMA%d was left allocated - fixed\n", i);
i465drivers/sound/soundcard.csound_free_dma (i);
i474drivers/sound/soundcard.cint             i;
i476drivers/sound/soundcard.cfor (i = 0; i < 16; i++)
i614drivers/sound/soundcard.cint             i, dma_pagesize;
i690drivers/sound/soundcard.cfor (i = MAP_NR (start_addr); i <= MAP_NR (end_addr); i++)
i692drivers/sound/soundcard.cmem_map_reserve (i);
i708drivers/sound/soundcard.cint             sz, size, i;
i718drivers/sound/soundcard.cfor (i = MAP_NR (start_addr); i <= MAP_NR (end_addr); i++)
i720drivers/sound/soundcard.cmem_map_unreserve (i);
i170drivers/sound/sscape.cint             i, timeout_val;
i179drivers/sound/sscape.cfor (i = 0; i < count; i++)
i191drivers/sound/sscape.coutb (data[i], PORT (HOST_DATA));
i382drivers/sound/sscape.cint             i;
i384drivers/sound/sscape.cfor (i = 0; i < 10; i++)
i623drivers/sound/sscape.cint             i;
i625drivers/sound/sscape.cfor (i = 0; i < 13; i++)
i626drivers/sound/sscape.cprintk ("I%d = %02x (new value)\n", i, sscape_read (devc, i));
i713drivers/sound/sscape.cint             i;
i715drivers/sound/sscape.cfor (i = 0; i < 13; i++)
i716drivers/sound/sscape.cprintk ("I%d = %02x\n", i, sscape_read (devc, i));
i894drivers/sound/sscape.cint             i, irq_bits = 0xff;
i907drivers/sound/sscape.cfor (i = 0; i < sizeof (valid_interrupts); i++)
i908drivers/sound/sscape.cif (hw_config->irq == valid_interrupts[i])
i910drivers/sound/sscape.cirq_bits = i;
i923drivers/sound/sscape.cfor (i = 1; i < 10; i++)
i924drivers/sound/sscape.cswitch (i)
i927drivers/sound/sscape.csscape_write (devc, i, 0xf0);  /* All interrupts enabled */
i932drivers/sound/sscape.csscape_write (devc, i, 0x20);  /* DMA channel disabled */
i936drivers/sound/sscape.csscape_write (devc, i, 0xf0 | (irq_bits << 2) | irq_bits);
i940drivers/sound/sscape.csscape_write (devc, i, (regs[i] & 0x3f) |
i941drivers/sound/sscape.c(sscape_read (devc, i) & 0xc0));
i948drivers/sound/sscape.csscape_write (devc, i,
i949drivers/sound/sscape.c(sscape_read (devc, i) & 0xf0) | 0x08);
i953drivers/sound/sscape.csscape_write (devc, i, regs[i]);
i964drivers/sound/sscape.cint             i;
i966drivers/sound/sscape.cfor (i = 0; i < 13; i++)
i967drivers/sound/sscape.cprintk ("I%d = %02x (new value)\n", i, sscape_read (devc, i));
i1064drivers/sound/sscape.cint             i;
i1066drivers/sound/sscape.cfor (i = 0; i < 13; i++)
i1067drivers/sound/sscape.cprintk ("I%d = %02x (old value)\n", i, sscape_read (devc, i));
i1100drivers/sound/sscape.cint             i, irq_bits = 0xff;
i1111drivers/sound/sscape.cfor (i = 0; i < sizeof (valid_interrupts); i++)
i1112drivers/sound/sscape.cif (hw_config->irq == valid_interrupts[i])
i1114drivers/sound/sscape.cirq_bits = i;
i1135drivers/sound/sscape.cint             i, irq_bits = 0xff;
i1156drivers/sound/sscape.cfor (i = 0; i < sizeof (valid_interrupts); i++)
i1157drivers/sound/sscape.cif (hw_config->irq == valid_interrupts[i])
i1159drivers/sound/sscape.cirq_bits = i;
i1186drivers/sound/sscape.cint             i;
i1188drivers/sound/sscape.cfor (i = 0; i < 13; i++)
i1189drivers/sound/sscape.cprintk ("I%d = %02x\n", i, sscape_read (devc, i));
i69drivers/sound/trix.cint             i = 0, n = trix_boot_len;
i85drivers/sound/trix.cfor (i = 0; i < n; i++)
i86drivers/sound/trix.coutb (trix_boot[i], 0x391);
i87drivers/sound/trix.cfor (i = n; i < 10016; i++)  /* Clear up to first 16 bytes of data RAM */
i168fs/binfmt_elf.cint i;
i216fs/binfmt_elf.cfor(i=0; i<interp_elf_ex->e_phnum; i++, eppnt++)
i343fs/binfmt_elf.cint i;
i412fs/binfmt_elf.cfor(i=0;i < elf_ex.e_phnum; i++){
i543fs/binfmt_elf.cfor(i=0;i < elf_ex.e_phnum; i++){
i715fs/binfmt_elf.cint i,j, k;
i762fs/binfmt_elf.cfor(i=0; i<elf_ex.e_phnum; i++)
i763fs/binfmt_elf.cif((elf_phdata + i)->p_type == PT_LOAD) j++;
i882fs/binfmt_elf.cint i;
i889fs/binfmt_elf.cfor(i = 0; i < ELF_NGREG; i++)
i891fs/binfmt_elf.cunsigned long val = r[i];
i892fs/binfmt_elf.cprintk("   %-2d %-5s=%08lx %lu\n", i, regs[i], val, val);
i943fs/binfmt_elf.cint i;
i1089fs/binfmt_elf.cint i, len;
i1097fs/binfmt_elf.cfor(i = 0; i < len; i++)
i1098fs/binfmt_elf.cif (psinfo.pr_psargs[i] == 0)
i1099fs/binfmt_elf.cpsinfo.pr_psargs[i] = ' ';
i1130fs/binfmt_elf.cfor(i = 0; i < numnote; i++)
i1131fs/binfmt_elf.csz += notesize(&notes[i]);
i1150fs/binfmt_elf.cfor(vma = current->mm->mmap, i = 0;
i1151fs/binfmt_elf.ci < segs && vma != NULL; vma = vma->vm_next) {
i1157fs/binfmt_elf.ci++;
i1176fs/binfmt_elf.cfor(i = 0; i < numnote; i++)
i1177fs/binfmt_elf.cif (!writenote(&notes[i], &file))
i1184fs/binfmt_elf.cfor(i = 0, vma = current->mm->mmap;
i1185fs/binfmt_elf.ci < segs && vma != NULL;
i1192fs/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 (!buffer_uptodate(bufferlist[i]))
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 (!buffer_uptodate(bufferlist[i]))
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;
i245fs/block_dev.cfor(i=0; i<blocks_per_cluster; i++) cluster_list[i] = block+i;
i156fs/buffer.cint i, retry, pass = 0, err = 0;
i175fs/buffer.cfor (i = nr_buffers_type[nlist]*2 ; i-- > 0 ; bh = next) {
i291fs/buffer.cint i;
i297fs/buffer.cfor (i = nr_buffers_type[nlist]*2 ; --i > 0 ; bh = bh->b_next_free) {
i504fs/buffer.cint i, nlist;
i532fs/buffer.cfor (i = nr_buffers_type[nlist]*2 ; --i > 0 ; bh = bhnext) {
i561fs/buffer.cint i;
i602fs/buffer.cfor(i=0; i<NR_LIST; i++){
i603fs/buffer.cif(i == BUF_DIRTY || i == BUF_SHARED || 
i604fs/buffer.cnr_buffers_type[i] == 0) {
i605fs/buffer.ccandidate[i] = NULL;
i606fs/buffer.cbuffers[i] = 0;
i609fs/buffer.cbuffers[i] = nr_buffers_type[i];
i610fs/buffer.cfor (bh = lru_list[i]; buffers[i] > 0; bh = tmp, buffers[i]--)
i612fs/buffer.cif(buffers[i] < 0) panic("Here is the problem");
i629fs/buffer.cif (buffer_locked(bh) && (i == BUF_LOCKED || i == BUF_LOCKED1)) {
i630fs/buffer.cbuffers[i] = 0;
i637fs/buffer.cif(!buffers[i]) candidate[i] = NULL; /* Nothing on this list */
i638fs/buffer.celse candidate[i] = bh;
i639fs/buffer.cif(candidate[i] && candidate[i]->b_count) panic("Here is the problem");
i648fs/buffer.cfor(i=0; i<NR_LIST; i++){
i649fs/buffer.cif(!candidate[i]) continue;
i650fs/buffer.cif(candidate[i]->b_lru_time < best_time){
i651fs/buffer.cbest_time = candidate[i]->b_lru_time;
i652fs/buffer.cwinner = i;
i658fs/buffer.ci = winner;
i659fs/buffer.cbh = candidate[i];
i660fs/buffer.ccandidate[i] = bh->b_next_free;
i661fs/buffer.cif(candidate[i] == bh) candidate[i] = NULL;  /* Got last one */
i676fs/buffer.cbuffers[i]--;
i677fs/buffer.cif(buffers[i] < 0) panic("Here is the problem");
i679fs/buffer.cif(buffers[i] == 0) candidate[i] = NULL;
i683fs/buffer.cif(candidate[i] && buffers[i] > 0){
i684fs/buffer.cif(buffers[i] <= 0) panic("Here is another problem");
i685fs/buffer.cfor (bh = candidate[i]; buffers[i] > 0; bh = tmp, buffers[i]--) {
i686fs/buffer.cif(buffers[i] < 0) panic("Here is the problem");
i703fs/buffer.cif (buffer_locked(bh) && (i == BUF_LOCKED || i == BUF_LOCKED1)) {
i704fs/buffer.cbuffers[i] = 0;
i711fs/buffer.cif(!buffers[i]) candidate[i] = NULL; /* Nothing here */
i712fs/buffer.celse candidate[i] = bh;
i713fs/buffer.cif(candidate[i] && candidate[i]->b_count) 
i913fs/buffer.cint i, j;
i935fs/buffer.cfor(i=1; i<blocks; i++) {
i936fs/buffer.cbh = getblk(dev,block+i,bufsize);
i947fs/buffer.cfor(i=1; i<j; i++)
i948fs/buffer.cbrelse(bhlist[i]);
i976fs/buffer.cint i;
i1001fs/buffer.cfor (nr_buffer_heads+=i=PAGE_SIZE/sizeof*bh ; i>0; i--) {
i1261fs/buffer.cint i;
i1267fs/buffer.ci = PAGE_SIZE >> inode->i_sb->s_blocksize_bits;
i1272fs/buffer.ci--;
i1275fs/buffer.c} while (i > 0);
i1482fs/buffer.cint i, isize, isize1;
i1495fs/buffer.cfor (i=0 ; !i || bh != free_list[isize]; bh = bh->b_next_free, i++) {
i1513fs/buffer.ci = nr_buffers_type[nlist];
i1514fs/buffer.ci = ((BUFFEROUT_WEIGHT * i) >> 10) >> priority;
i1515fs/buffer.cfor ( ; i > 0; i-- ) {
i1670fs/buffer.cint i;
i1680fs/buffer.cfor (i=0 ; !i || bh != free_list[isize] ; bh = bh->b_next_free, i++) {
i1748fs/buffer.cint i, offset;
i1750fs/buffer.cfor (i = 0, offset = 0 ; offset < PAGE_SIZE ; i++, offset += size) {
i1751fs/buffer.cif(i && b[i]-1 != b[i-1]) return 0;  /* No need to cluster */
i1752fs/buffer.cif(find_buffer(dev, b[i], size)) return 0;
i1784fs/buffer.cint i;
i1801fs/buffer.cfor (i = 0 ; i < nr_hash ; i++)
i1802fs/buffer.chash_table[i] = NULL;
i1838fs/buffer.cint i, isize;
i1859fs/buffer.cfor (i = nr_buffers_type[nlist]; i-- > 0; bh = next) {
i1864fs/buffer.cprintk("Dirty list empty %d\n", i);
i1912fs/buffer.cint i, error;
i1922fs/buffer.ci = (func-2) >> 1;
i1923fs/buffer.cif (i < 0 || i >= N_PARAM)
i1929fs/buffer.cput_user(bdf_prm.data[i], (int*)data);
i1932fs/buffer.cif (data < bdflush_min[i] || data > bdflush_max[i])
i1934fs/buffer.cbdf_prm.data[i] = data;
i1951fs/buffer.cint i;
i1994fs/buffer.cfor (i = nr_buffers_type[nlist]; i-- > 0 && ndirty < bdf_prm.b_un.ndirty; 
i2000fs/buffer.cprintk("Dirty list empty %d\n", i);
i226fs/dcache.cint i;
i260fs/dcache.cfor (i = 0 ; i < DCACHE_HASH_QUEUES ; i++)
i261fs/dcache.chash_table[i].next = hash_table[i].next =
i262fs/dcache.c(struct dir_cache_entry *) &hash_table[i];
i39fs/devices.cint i;
i43fs/devices.cfor (i = 0; i < MAX_CHRDEV ; i++) {
i44fs/devices.cif (chrdevs[i].fops) {
i45fs/devices.clen += sprintf(page+len, "%2d %s\n", i, chrdevs[i].name);
i49fs/devices.cfor (i = 0; i < MAX_BLKDEV ; i++) {
i50fs/devices.cif (blkdevs[i].fops) {
i51fs/devices.clen += sprintf(page+len, "%2d %s\n", i, blkdevs[i].name);
i184fs/devices.cint i;
i187fs/devices.ci = MAJOR(dev);
i188fs/devices.cif (i >= MAX_BLKDEV || (fops = blkdevs[i].fops) == NULL)
i197fs/devices.cfor (i=0 ; i<NR_SUPER ; i++)
i198fs/devices.cif (super_blocks[i].s_dev == dev)
i199fs/devices.cput_super(super_blocks[i].s_dev);
i279fs/dquot.cint i;
i282fs/dquot.cfor (i = 0; i < nr_dquots * 2; i++, dquot = dquot->dq_next) {
i190fs/exec.cint error, i = 0;
i198fs/exec.ci++;
i204fs/exec.creturn i;
i285fs/exec.cint i;
i309fs/exec.cfor (i = 0 ; i < MAX_ARG_PAGES ; i++) {
i310fs/exec.cif (bprm->page[i]) {
i312fs/exec.cput_dirty_page(current,bprm->page[i],stack_base);
i404fs/exec.cint i;
i411fs/exec.cfor (i=0; (ch = *(name++)) != '\0';) {
i413fs/exec.ci = 0;
i415fs/exec.cif (i < 15)
i416fs/exec.ccurrent->comm[i++] = ch;
i418fs/exec.ccurrent->comm[i] = '\0';
i429fs/exec.cfor (i=0 ; i<32 ; i++) {
i430fs/exec.ccurrent->sig->action[i].sa_mask = 0;
i431fs/exec.ccurrent->sig->action[i].sa_flags = 0;
i432fs/exec.cif (current->sig->action[i].sa_handler != SIG_IGN)
i433fs/exec.ccurrent->sig->action[i].sa_handler = NULL;
i435fs/exec.cfor (i=0 ; i<NR_OPEN ; i++)
i436fs/exec.cif (FD_ISSET(i,&current->files->close_on_exec))
i437fs/exec.csys_close(i);
i450fs/exec.cint retval,i;
i457fs/exec.ci = bprm->inode->i_mode;
i459fs/exec.c(((i & S_ISUID) && bprm->inode->i_uid != current->euid) 
i460fs/exec.c|| ((i & S_ISGID) && !in_group_p(bprm->inode->i_gid))) && !suser())
i467fs/exec.cbprm->e_uid = (i & S_ISUID) ? bprm->inode->i_uid : current->euid;
i473fs/exec.cbprm->e_gid = ((i & (S_ISGID | S_IXGRP)) == (S_ISGID | S_IXGRP)) ?
i583fs/exec.cint i;
i586fs/exec.cfor (i=0 ; i<MAX_ARG_PAGES ; i++)  /* clear page-table */
i587fs/exec.cbprm.page[i] = 0;
i621fs/exec.cfor (i=0 ; i<MAX_ARG_PAGES ; i++)
i622fs/exec.cfree_page(bprm.page[i]);
i70fs/ext/dir.cunsigned int i;
i87fs/ext/dir.cfor (i = 0; i < 1024 && i < offset; ) {
i88fs/ext/dir.cde = (struct ext_dir_entry *) (bh->b_data + i);
i91fs/ext/dir.ci += de->rec_len;
i93fs/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,
i187fs/ext/inode.cint i;
i201fs/ext/inode.ci = inode_bmap(inode,9);
i202fs/ext/inode.cif (!i)
i204fs/ext/inode.creturn block_bmap(bread(inode->i_dev,i,BLOCK_SIZE),block);
i208fs/ext/inode.ci = inode_bmap(inode,10);
i209fs/ext/inode.cif (!i)
i211fs/ext/inode.ci = block_bmap(bread(inode->i_dev,i,BLOCK_SIZE),block>>8);
i212fs/ext/inode.cif (!i)
i214fs/ext/inode.creturn block_bmap(bread(inode->i_dev,i,BLOCK_SIZE),block & 255);
i217fs/ext/inode.ci = inode_bmap(inode,11);
i218fs/ext/inode.cif (!i)
i220fs/ext/inode.ci = block_bmap(bread(inode->i_dev,i,BLOCK_SIZE),block>>16);
i221fs/ext/inode.cif (!i)
i223fs/ext/inode.ci = block_bmap(bread(inode->i_dev,i,BLOCK_SIZE),(block>>8) & 255);
i224fs/ext/inode.cif (!i)
i226fs/ext/inode.creturn block_bmap(bread(inode->i_dev,i,BLOCK_SIZE),block & 255);
i192fs/ext/namei.cint i;
i294fs/ext/namei.cfor (i=0; i < namelen ; i++)
i295fs/ext/namei.cde->name[i] = name[i];
i635fs/ext/namei.cint i;
i652fs/ext/namei.ci = 0;
i653fs/ext/namei.cwhile (i < 1023 && (c = *(symname++)))
i654fs/ext/namei.cname_block->b_data[i++] = c;
i655fs/ext/namei.cname_block->b_data[i] = 0;
i658fs/ext/namei.cinode->i_size = i;
i90fs/ext/symlink.cint i;
i103fs/ext/symlink.ci = 0;
i104fs/ext/symlink.cwhile (i<buflen && (c = bh->b_data[i])) {
i105fs/ext/symlink.ci++;
i109fs/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;
i223fs/ext2/balloc.cfor (i = 0; i < count; i++) {
i224fs/ext2/balloc.cif (!clear_bit (bit + i, bh->b_data))
i262fs/ext2/balloc.cint i, j, k, tmp;
i295fs/ext2/balloc.ci = (goal - es->s_first_data_block) / EXT2_BLOCKS_PER_GROUP(sb);
i296fs/ext2/balloc.cgdp = get_group_desc (sb, i, &bh2);
i303fs/ext2/balloc.cbitmap_nr = load_block_bitmap (sb, i);
i306fs/ext2/balloc.cext2_debug ("goal is at %d:%d.\n", i, j);
i357fs/ext2/balloc.cext2_debug ("Bit not found in block group %d.\n", i);
i364fs/ext2/balloc.ci++;
i365fs/ext2/balloc.cif (i >= sb->u.ext2_sb.s_groups_count)
i366fs/ext2/balloc.ci = 0;
i367fs/ext2/balloc.cgdp = get_group_desc (sb, i, &bh2);
i375fs/ext2/balloc.cbitmap_nr = load_block_bitmap (sb, i);
i386fs/ext2/balloc.c"Free blocks count corrupted for block group %d", i);
i401fs/ext2/balloc.cext2_debug ("using block group %d(%d)\n", i, gdp->bg_free_blocks_count);
i413fs/ext2/balloc.ctmp = j + i * EXT2_BLOCKS_PER_GROUP(sb) + es->s_first_data_block;
i470fs/ext2/balloc.c"block_group = %d, block=%d", i, j);
i504fs/ext2/balloc.cint i;
i511fs/ext2/balloc.cfor (i = 0; i < sb->u.ext2_sb.s_groups_count; i++) {
i512fs/ext2/balloc.cgdp = get_group_desc (sb, i, NULL);
i514fs/ext2/balloc.cbitmap_nr = load_block_bitmap (sb, i);
i518fs/ext2/balloc.ci, gdp->bg_free_blocks_count, x);
i546fs/ext2/balloc.cint i, j;
i555fs/ext2/balloc.cfor (i = 0; i < sb->u.ext2_sb.s_groups_count; i++) {
i556fs/ext2/balloc.cgdp = get_group_desc (sb, i, NULL);
i558fs/ext2/balloc.cbitmap_nr = load_block_bitmap (sb, i);
i563fs/ext2/balloc.c"Superblock in group %d is marked free", i);
i569fs/ext2/balloc.c"%d is marked free", j, i);
i574fs/ext2/balloc.ci);
i579fs/ext2/balloc.ci);
i585fs/ext2/balloc.c"group %d is marked free", j, i);
i591fs/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];
i105fs/ext2/dir.cint i, num, stored;
i134fs/ext2/dir.cfor (i = 16 >> (EXT2_BLOCK_SIZE_BITS(sb) - 9), num = 0;
i135fs/ext2/dir.ci > 0; i--) {
i144fs/ext2/dir.cfor (i = 0; i < num; i++)
i145fs/ext2/dir.cbrelse (bha[i]);
i155fs/ext2/dir.cfor (i = 0; i < sb->s_blocksize && i < offset; ) {
i157fs/ext2/dir.c(bh->b_data + i);
i166fs/ext2/dir.ci += de->rec_len;
i168fs/ext2/dir.coffset = i;
i95fs/ext2/file.cint i,buffercount,write_error;
i170fs/ext2/file.cfor(i=0; i<buffercount; i++){
i171fs/ext2/file.cwait_on_buffer(bufferlist[i]);
i172fs/ext2/file.cif (!buffer_uptodate(bufferlist[i]))
i174fs/ext2/file.cbrelse(bufferlist[i]);
i186fs/ext2/file.cfor(i=0; i<buffercount; i++){
i187fs/ext2/file.cwait_on_buffer(bufferlist[i]);
i188fs/ext2/file.cif (!buffer_uptodate(bufferlist[i]))
i190fs/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--) {
i313fs/ext2/ialloc.cint i, j, avefreei;
i328fs/ext2/ialloc.cgdp = NULL; i=0;
i355fs/ext2/ialloc.ci = j;
i367fs/ext2/ialloc.ci = dir->u.ext2_i.i_block_group;
i368fs/ext2/ialloc.ctmp = get_group_desc (sb, i, &bh2);
i378fs/ext2/ialloc.ci += j;
i379fs/ext2/ialloc.cif (i >= sb->u.ext2_sb.s_groups_count)
i380fs/ext2/ialloc.ci -= sb->u.ext2_sb.s_groups_count;
i381fs/ext2/ialloc.ctmp = get_group_desc (sb, i, &bh2);
i392fs/ext2/ialloc.ci = dir->u.ext2_i.i_block_group + 1;
i394fs/ext2/ialloc.cif (++i >= sb->u.ext2_sb.s_groups_count)
i395fs/ext2/ialloc.ci = 0;
i396fs/ext2/ialloc.ctmp = get_group_desc (sb, i, &bh2);
i410fs/ext2/ialloc.cbitmap_nr = load_inode_bitmap (sb, i);
i429fs/ext2/ialloc.ci);
i436fs/ext2/ialloc.cj += i * EXT2_INODES_PER_GROUP(sb) + 1;
i440fs/ext2/ialloc.c"block_group = %d,inode=%d", i, j);
i480fs/ext2/ialloc.cinode->u.ext2_i.i_block_group = i;
i512fs/ext2/ialloc.cint i;
i519fs/ext2/ialloc.cfor (i = 0; i < sb->u.ext2_sb.s_groups_count; i++) {
i520fs/ext2/ialloc.cgdp = get_group_desc (sb, i, NULL);
i522fs/ext2/ialloc.cbitmap_nr = load_inode_bitmap (sb, i);
i526fs/ext2/ialloc.ci, gdp->bg_free_inodes_count, x);
i544fs/ext2/ialloc.cint i;
i551fs/ext2/ialloc.cfor (i = 0; i < sb->u.ext2_sb.s_groups_count; i++) {
i552fs/ext2/ialloc.cgdp = get_group_desc (sb, i, NULL);
i554fs/ext2/ialloc.cbitmap_nr = load_inode_bitmap (sb, i);
i560fs/ext2/ialloc.c"stored = %d, counted = %lu", i,
i129fs/ext2/inode.cint i;
i147fs/ext2/inode.ci = inode_bmap (inode, EXT2_IND_BLOCK);
i148fs/ext2/inode.cif (!i)
i150fs/ext2/inode.creturn block_bmap (bread (inode->i_dev, i,
i155fs/ext2/inode.ci = inode_bmap (inode, EXT2_DIND_BLOCK);
i156fs/ext2/inode.cif (!i)
i158fs/ext2/inode.ci = block_bmap (bread (inode->i_dev, i,
i161fs/ext2/inode.cif (!i)
i163fs/ext2/inode.creturn block_bmap (bread (inode->i_dev, i,
i168fs/ext2/inode.ci = inode_bmap (inode, EXT2_TIND_BLOCK);
i169fs/ext2/inode.cif (!i)
i171fs/ext2/inode.ci = block_bmap (bread (inode->i_dev, i, inode->i_sb->s_blocksize),
i173fs/ext2/inode.cif (!i)
i175fs/ext2/inode.ci = block_bmap (bread (inode->i_dev, i, inode->i_sb->s_blocksize),
i177fs/ext2/inode.cif (!i)
i179fs/ext2/inode.creturn block_bmap (bread (inode->i_dev, i, inode->i_sb->s_blocksize),
i332fs/ext2/inode.cint i;
i342fs/ext2/inode.cfor(i=0; i< (PAGE_SIZE >> EXT2_BLOCK_SIZE_BITS(inode->i_sb)); i++) {
i343fs/ext2/inode.cp = (u32 *) bh->b_data + nr + i;
i349fs/ext2/inode.cif(i==0) firstblock = *p;
i350fs/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;
i760fs/ext2/namei.cint i, err;
i792fs/ext2/namei.ci = 0;
i793fs/ext2/namei.cwhile (i < inode->i_sb->s_blocksize - 1 && (c = *(symname++)))
i794fs/ext2/namei.clink[i++] = c;
i795fs/ext2/namei.clink[i] = 0;
i800fs/ext2/namei.cinode->i_size = i;
i101fs/ext2/super.cint i;
i110fs/ext2/super.cfor (i = 0; i < db_count; i++)
i111fs/ext2/super.cif (sb->u.ext2_sb.s_group_desc[i])
i112fs/ext2/super.cbrelse (sb->u.ext2_sb.s_group_desc[i]);
i115fs/ext2/super.cfor (i = 0; i < EXT2_MAX_GROUP_LOADED; i++)
i116fs/ext2/super.cif (sb->u.ext2_sb.s_inode_bitmap[i])
i117fs/ext2/super.cbrelse (sb->u.ext2_sb.s_inode_bitmap[i]);
i118fs/ext2/super.cfor (i = 0; i < EXT2_MAX_GROUP_LOADED; i++)
i119fs/ext2/super.cif (sb->u.ext2_sb.s_block_bitmap[i])
i120fs/ext2/super.cbrelse (sb->u.ext2_sb.s_block_bitmap[i]);
i318fs/ext2/super.cint i;
i325fs/ext2/super.cfor (i = 0; i < sb->u.ext2_sb.s_groups_count; i++)
i327fs/ext2/super.cif ((i % EXT2_DESC_PER_BLOCK(sb)) == 0)
i335fs/ext2/super.ci, (unsigned long) gdp->bg_block_bitmap);
i344fs/ext2/super.ci, (unsigned long) gdp->bg_inode_bitmap);
i354fs/ext2/super.ci, (unsigned long) gdp->bg_inode_table);
i376fs/ext2/super.cint i, j;
i547fs/ext2/super.cfor (i = 0; i < db_count; i++) {
i548fs/ext2/super.csb->u.ext2_sb.s_group_desc[i] = bread (dev, logic_sb_block + i + 1,
i550fs/ext2/super.cif (!sb->u.ext2_sb.s_group_desc[i]) {
i553fs/ext2/super.cfor (j = 0; j < i; j++)
i575fs/ext2/super.cfor (i = 0; i < EXT2_MAX_GROUP_LOADED; i++) {
i576fs/ext2/super.csb->u.ext2_sb.s_inode_bitmap_number[i] = 0;
i577fs/ext2/super.csb->u.ext2_sb.s_inode_bitmap[i] = NULL;
i578fs/ext2/super.csb->u.ext2_sb.s_block_bitmap_number[i] = 0;
i579fs/ext2/super.csb->u.ext2_sb.s_block_bitmap[i] = NULL;
i592fs/ext2/super.cfor (i = 0; i < db_count; i++)
i593fs/ext2/super.cif (sb->u.ext2_sb.s_group_desc[i])
i594fs/ext2/super.cbrelse (sb->u.ext2_sb.s_group_desc[i]);
i102fs/ext2/symlink.cint i, err;
i121fs/ext2/symlink.ci = 0;
i122fs/ext2/symlink.cwhile (i < buflen && (c = link[i])) {
i123fs/ext2/symlink.ci++;
i129fs/ext2/symlink.creturn i;
i62fs/ext2/truncate.cint i, tmp;
i73fs/ext2/truncate.cfor (i = direct_block ; i < EXT2_NDIR_BLOCKS ; i++) {
i74fs/ext2/truncate.cp = inode->u.ext2_i.i_data + i;
i80fs/ext2/truncate.cif (i < direct_block) {
i112fs/ext2/truncate.cint i, tmp;
i137fs/ext2/truncate.cfor (i = indirect_block ; i < addr_per_block ; i++) {
i138fs/ext2/truncate.cif (i < 0)
i139fs/ext2/truncate.ci = 0;
i140fs/ext2/truncate.cif (i < indirect_block)
i142fs/ext2/truncate.cind = i + (u32 *) ind_bh->b_data;
i148fs/ext2/truncate.cif (i < indirect_block) {
i177fs/ext2/truncate.cfor (i = 0; i < addr_per_block; i++)
i180fs/ext2/truncate.cif (i >= addr_per_block)
i201fs/ext2/truncate.cint i, tmp;
i223fs/ext2/truncate.cfor (i = dindirect_block ; i < addr_per_block ; i++) {
i224fs/ext2/truncate.cif (i < 0)
i225fs/ext2/truncate.ci = 0;
i226fs/ext2/truncate.cif (i < dindirect_block)
i228fs/ext2/truncate.cdind = i + (u32 *) dind_bh->b_data;
i232fs/ext2/truncate.cretry |= trunc_indirect (inode, offset + (i * addr_per_block),
i237fs/ext2/truncate.cfor (i = 0; i < addr_per_block; i++)
i240fs/ext2/truncate.cif (i >= addr_per_block)
i260fs/ext2/truncate.cint i, tmp;
i284fs/ext2/truncate.cfor (i = tindirect_block ; i < addr_per_block ; i++) {
i285fs/ext2/truncate.cif (i < 0)
i286fs/ext2/truncate.ci = 0;
i287fs/ext2/truncate.cif (i < tindirect_block)
i289fs/ext2/truncate.ctind = i + (u32 *) tind_bh->b_data;
i291fs/ext2/truncate.caddr_per_block + (i + 1) * addr_per_block * addr_per_block,
i296fs/ext2/truncate.cfor (i = 0; i < addr_per_block; i++)
i299fs/ext2/truncate.cif (i >= addr_per_block)
i143fs/fat/buffer.cint i;
i144fs/fat/buffer.cfor (i=0; i<nbreq; i++){
i145fs/fat/buffer.ctmp[i] = bh[i]->b_next;
i105fs/fat/dir.cint ino,i,i2,last;
i220fs/fat/dir.cfor (sum = 0, i = 0; i < 11; i++) {
i221fs/fat/dir.csum = (((sum&1)<<7)|((sum&0xfe)>>1)) + de->name[i];
i235fs/fat/dir.cfor (i = 0, last = 0; i < 8; i++) {
i236fs/fat/dir.cif (!(c = de->name[i])) break;
i241fs/fat/dir.clast = i+1;
i242fs/fat/dir.cptname[i] = c;
i244fs/fat/dir.ci = last;
i245fs/fat/dir.cptname[i] = '.';
i246fs/fat/dir.ci++;
i251fs/fat/dir.clast = i+1;
i252fs/fat/dir.cptname[i] = c;
i253fs/fat/dir.ci++;
i255fs/fat/dir.cif ((i = last) != 0) {
i262fs/fat/dir.cdcache_add(inode, bufname, i+dotoffset, ino);
i264fs/fat/dir.cbufname[i+dotoffset] = '\0';
i272fs/fat/dir.cif (fat_filldir(filldir, dirent, bufname, i+dotoffset, 0, oldpos, spos, long_slots, ino) < 0) {
i280fs/fat/dir.cmemcpy(&longname[long_len+1], bufname, i+dotoffset);
i281fs/fat/dir.clong_len += i+dotoffset;
i132fs/fat/file.cint i;
i133fs/fat/file.cfor (i=0; i<nb; i++){
i148fs/fat/file.cfor (i=pre->nblist; i<MSDOS_PREFETCH; i++) pre->bhlist[i] = NULL;
i163fs/fat/file.cint i;
i258fs/fat/file.cfor (i=0; i<pre.nblist; i++) brelse (pre.bhlist[i]);
i65fs/file_table.cint i;
i78fs/file_table.cnr_files += i = PAGE_SIZE/sizeof(struct file);
i83fs/file_table.ci--;
i85fs/file_table.cfor (; i ; i--)
i103fs/file_table.cint i;
i111fs/file_table.cfor (f = first_file, i=0; i < nr_files; i++, f = f->f_next)
i860fs/hpfs/hpfs_fs.cunsigned i, count;
i868fs/hpfs/hpfs_fs.cfor (i = 0; i < 8 * 2048; i++)
i869fs/hpfs/hpfs_fs.ccount += (test_bit(i, bits) != 0);
i1052fs/hpfs/hpfs_fs.cint i;
i1062fs/hpfs/hpfs_fs.cfor (i = 0; i < b->n_used_nodes; i++) {
i1063fs/hpfs/hpfs_fs.cunsigned t = file_secno - n[i].file_secno;
i1064fs/hpfs/hpfs_fs.cif (t < n[i].length) {
i1065fs/hpfs/hpfs_fs.cinode->i_hpfs_file_sec = n[i].file_secno;
i1066fs/hpfs/hpfs_fs.cinode->i_hpfs_disk_sec = n[i].disk_secno;
i1067fs/hpfs/hpfs_fs.cinode->i_hpfs_n_secs = n[i].length;
i1068fs/hpfs/hpfs_fs.creturn n[i].disk_secno + t;
i1080fs/hpfs/hpfs_fs.cfor (i = 0; i < b->n_used_nodes; i++) {
i1081fs/hpfs/hpfs_fs.cif (file_secno < n[i].file_secno) {
i1083fs/hpfs/hpfs_fs.canode_secno ano = n[i].down;
i1564fs/hpfs/hpfs_fs.cint i;
i1571fs/hpfs/hpfs_fs.cfor (i = 1; de < de_end; i++, de = de_next_de(de)) {
i1572fs/hpfs/hpfs_fs.cif (i == n)
i45fs/inode.cstatic inline int const hashfn(kdev_t dev, unsigned int i)
i47fs/inode.creturn (HASHDEV(dev) ^ i) % NR_IHASH;
i50fs/inode.cstatic inline struct inode_hash_entry * const hash(kdev_t dev, int i)
i52fs/inode.creturn hash_table + hashfn(dev, i);
i116fs/inode.cint i;
i121fs/inode.ci=PAGE_SIZE / sizeof(struct inode);
i122fs/inode.cnr_inodes += i;
i123fs/inode.cnr_free_inodes += i;
i126fs/inode.cinode->i_next = inode->i_prev = first_inode = inode++, i--;
i128fs/inode.cfor ( ; i ; i-- )
i195fs/inode.cint i;
i198fs/inode.cfor (i = nr_inodes ; i > 0 ; i--) {
i213fs/inode.cint i;
i216fs/inode.cfor (i=0 ; i < nr_inodes ; i++, inode = inode->i_next) {
i230fs/inode.cint i;
i233fs/inode.cfor (file = first_file, i=0; i<nr_files; i++, file=file->f_next) {
i385fs/inode.cint i;
i388fs/inode.cfor(i = nr_inodes ; i > 0 ; i--) {
i404fs/inode.cint i;
i408fs/inode.cfor(i = 0; i < nr_inodes*2; i++, inode = inode->i_next) {
i493fs/inode.cint i;
i500fs/inode.cfor (i = 0; i<nr_inodes; inode = inode->i_next, i++) {
i502fs/inode.cunsigned long i = value(inode);
i503fs/inode.cif (i < badness) {
i505fs/inode.cif ((badness = i) == 0)
i79fs/isofs/dir.cint i, c;
i81fs/isofs/dir.cfor (i = 0; i < len; i++) {
i82fs/isofs/dir.cc = old[i];
i89fs/isofs/dir.cif (c == '.' && i == len - 3 && old[i + 1] == ';' && old[i + 2] == '1')
i93fs/isofs/dir.cif (c == ';' && i == len - 2 && old[i + 1] == '1')
i100fs/isofs/dir.cnew[i] = c;
i102fs/isofs/dir.creturn i;
i170fs/isofs/inode.cint i;
i178fs/isofs/inode.ci=get_blkfops(MAJOR(dev))->ioctl(&inode_fake,
i184fs/isofs/inode.cprintk("isofs.inode: CDROMMULTISESSION: rc=%d\n",i);
i185fs/isofs/inode.cif (i==0)
i191fs/isofs/inode.cif ((i==0)&&(ms_info.xa_flag)) vol_desc_start=ms_info.addr.lba;
i239fs/isofs/inode.cint i = opt.blocksize;
i240fs/isofs/inode.cwhile (i != 1){
i242fs/isofs/inode.ci >>=1;
i378fs/isofs/inode.cint i = opt.blocksize;
i379fs/isofs/inode.cwhile (i != 1){
i381fs/isofs/inode.ci >>=1;
i463fs/isofs/inode.cint i;
i512fs/isofs/inode.cfor(i=0; i< raw_inode->name_len[0]; i++)
i513fs/isofs/inode.cif(raw_inode->name[i]=='.' || raw_inode->name[i]==';')
i515fs/isofs/inode.cif(i == raw_inode->name_len[0] || raw_inode->name[i] == ';') 
i66fs/isofs/namei.cunsigned int block, i, f_pos, offset, inode_number;
i161fs/isofs/namei.cfor (i = 0; i < dlen; i++) {
i162fs/isofs/namei.cc = dpnt[i];
i164fs/isofs/namei.cif (c == ';' && i == dlen-2 && dpnt[i+1] == '1') {
i169fs/isofs/namei.cde->name[i] = c;
i247fs/isofs/namei.cint i;
i250fs/isofs/namei.cfor (i=0; i<len; i++) {
i251fs/isofs/namei.cc = name[i];
i253fs/isofs/namei.clcname[i] = c;
i85fs/isofs/symlink.cint i;
i100fs/isofs/symlink.ci = 0;
i102fs/isofs/symlink.cwhile (i<buflen && (c = pnt[i])) {
i103fs/isofs/symlink.ci++;
i107fs/isofs/symlink.creturn i;
i75fs/isofs/util.cint i;
i77fs/isofs/util.cfor (i = 0; i < 4; i++) {
i78fs/isofs/util.cif (p[i] != p[7-i]) {
i94fs/isofs/util.cint crtime, days, i;
i112fs/isofs/util.cfor (i = 1; i < month; i++)
i113fs/isofs/util.cdays += monlen[i-1];
i21fs/minix/bitmap.cunsigned i, j, sum = 0;
i24fs/minix/bitmap.cfor (i=0; i<numblocks; i++) {
i25fs/minix/bitmap.cif (!(bh=map[i])) 
i70fs/minix/bitmap.cint i,j;
i78fs/minix/bitmap.cfor (i=0 ; i<64 ; i++)
i79fs/minix/bitmap.cif ((bh=sb->u.minix_sb.s_zmap[i]) != NULL)
i82fs/minix/bitmap.cif (i>=64 || !bh || j>=8192)
i89fs/minix/bitmap.cj += i*8192 + sb->u.minix_sb.s_firstdatazone-1;
i222fs/minix/bitmap.cint i,j;
i230fs/minix/bitmap.cfor (i=0 ; i<8 ; i++)
i231fs/minix/bitmap.cif ((bh = inode->i_sb->u.minix_sb.s_imap[i]) != NULL)
i244fs/minix/bitmap.cj += i*8192;
i86fs/minix/fsync.cint i;
i89fs/minix/fsync.cfor (i = 0; i < 7; i++) {
i91fs/minix/fsync.c(unsigned short *) inode->u.minix_i.u.i1_data + i, wait);
i102fs/minix/fsync.cint i;
i110fs/minix/fsync.cfor (i = 0; i < 512; i++) {
i112fs/minix/fsync.c((unsigned short *) ind_bh->b_data) + i, 
i126fs/minix/fsync.cint i;
i134fs/minix/fsync.cfor (i = 0; i < 512; i++) {
i136fs/minix/fsync.c((unsigned short *) dind_bh->b_data) + i, 
i223fs/minix/fsync.cint i;
i226fs/minix/fsync.cfor (i = 0; i < 7; i++) {
i228fs/minix/fsync.c(unsigned long *)inode->u.minix_i.u.i2_data + i, wait);
i239fs/minix/fsync.cint i;
i247fs/minix/fsync.cfor (i = 0; i < 256; i++) {
i249fs/minix/fsync.c((unsigned long *) ind_bh->b_data) + i, 
i263fs/minix/fsync.cint i;
i271fs/minix/fsync.cfor (i = 0; i < 256; i++) {
i273fs/minix/fsync.c((unsigned long *) dind_bh->b_data) + i, 
i287fs/minix/fsync.cint i;
i295fs/minix/fsync.cfor (i = 0; i < 256; i++) {
i297fs/minix/fsync.c((unsigned long *) tind_bh->b_data) + i, 
i57fs/minix/inode.cint i;
i65fs/minix/inode.cfor(i = 0 ; i < MINIX_I_MAP_SLOTS ; i++)
i66fs/minix/inode.cbrelse(sb->u.minix_sb.s_imap[i]);
i67fs/minix/inode.cfor(i = 0 ; i < MINIX_Z_MAP_SLOTS ; i++)
i68fs/minix/inode.cbrelse(sb->u.minix_sb.s_zmap[i]);
i125fs/minix/inode.cint i, block;
i185fs/minix/inode.cfor (i=0;i < MINIX_I_MAP_SLOTS;i++)
i186fs/minix/inode.cs->u.minix_sb.s_imap[i] = NULL;
i187fs/minix/inode.cfor (i=0;i < MINIX_Z_MAP_SLOTS;i++)
i188fs/minix/inode.cs->u.minix_sb.s_zmap[i] = NULL;
i190fs/minix/inode.cfor (i=0 ; i < s->u.minix_sb.s_imap_blocks ; i++)
i191fs/minix/inode.cif ((s->u.minix_sb.s_imap[i]=bread(dev,block,BLOCK_SIZE)) != NULL)
i195fs/minix/inode.cfor (i=0 ; i < s->u.minix_sb.s_zmap_blocks ; i++)
i196fs/minix/inode.cif ((s->u.minix_sb.s_zmap[i]=bread(dev,block,BLOCK_SIZE)) != NULL)
i201fs/minix/inode.cfor(i=0;i<MINIX_I_MAP_SLOTS;i++)
i202fs/minix/inode.cbrelse(s->u.minix_sb.s_imap[i]);
i203fs/minix/inode.cfor(i=0;i<MINIX_Z_MAP_SLOTS;i++)
i204fs/minix/inode.cbrelse(s->u.minix_sb.s_zmap[i]);
i273fs/minix/inode.cint i;
i287fs/minix/inode.ci = V1_inode_bmap(inode,7);
i288fs/minix/inode.cif (!i)
i290fs/minix/inode.creturn V1_block_bmap(bread(inode->i_dev,i,BLOCK_SIZE),block);
i293fs/minix/inode.ci = V1_inode_bmap(inode,8);
i294fs/minix/inode.cif (!i)
i296fs/minix/inode.ci = V1_block_bmap(bread(inode->i_dev,i,BLOCK_SIZE),block>>9);
i297fs/minix/inode.cif (!i)
i299fs/minix/inode.creturn V1_block_bmap(bread(inode->i_dev,i,BLOCK_SIZE),block & 511);
i319fs/minix/inode.cint i;
i333fs/minix/inode.ci = V2_inode_bmap(inode,7);
i334fs/minix/inode.cif (!i)
i336fs/minix/inode.creturn V2_block_bmap(bread(inode->i_dev,i,BLOCK_SIZE),block);
i340fs/minix/inode.ci = V2_inode_bmap(inode,8);
i341fs/minix/inode.cif (!i)
i343fs/minix/inode.ci = V2_block_bmap(bread(inode->i_dev,i,BLOCK_SIZE),block >> 8);
i344fs/minix/inode.cif (!i)
i346fs/minix/inode.creturn V2_block_bmap(bread(inode->i_dev,i,BLOCK_SIZE),block & 255);
i349fs/minix/inode.ci = V2_inode_bmap(inode,9);
i350fs/minix/inode.cif (!i)
i352fs/minix/inode.ci = V2_block_bmap(bread(inode->i_dev,i,BLOCK_SIZE),block >> 16);
i353fs/minix/inode.cif (!i)
i355fs/minix/inode.ci = V2_block_bmap(bread(inode->i_dev,i,BLOCK_SIZE),(block >> 8) & 255);
i356fs/minix/inode.cif (!i)
i358fs/minix/inode.creturn V2_block_bmap(bread(inode->i_dev,i,BLOCK_SIZE),block & 255);
i150fs/minix/namei.cint i;
i193fs/minix/namei.cfor (i = 0; i < info->s_namelen ; i++)
i194fs/minix/namei.cde->name[i] = (i < namelen) ? name[i] : 0;
i547fs/minix/namei.cint i;
i564fs/minix/namei.ci = 0;
i565fs/minix/namei.cwhile (i < 1023 && (c=*(symname++)))
i566fs/minix/namei.cname_block->b_data[i++] = c;
i567fs/minix/namei.cname_block->b_data[i] = 0;
i570fs/minix/namei.cinode->i_size = i;
i581fs/minix/namei.ci = minix_add_entry(dir, name, len, &bh, &de);
i582fs/minix/namei.cif (i) {
i587fs/minix/namei.creturn i;
i84fs/minix/symlink.cint i;
i97fs/minix/symlink.ci = 0;
i98fs/minix/symlink.cwhile (i<buflen && (c = bh->b_data[i])) {
i99fs/minix/symlink.ci++;
i103fs/minix/symlink.creturn i;
i41fs/minix/truncate.cint i, tmp;
i45fs/minix/truncate.cfor (i = DIRECT_BLOCK ; i < 7 ; i++) {
i46fs/minix/truncate.cp = i + inode->u.minix_i.u.i1_data;
i50fs/minix/truncate.cif (i < DIRECT_BLOCK) {
i73fs/minix/truncate.cint i, tmp;
i91fs/minix/truncate.cfor (i = INDIRECT_BLOCK(offset) ; i < 512 ; i++) {
i92fs/minix/truncate.cif (i < 0)
i93fs/minix/truncate.ci = 0;
i94fs/minix/truncate.cif (i < INDIRECT_BLOCK(offset))
i96fs/minix/truncate.cind = i+(unsigned short *) ind_bh->b_data;
i101fs/minix/truncate.cif (i < INDIRECT_BLOCK(offset)) {
i116fs/minix/truncate.cfor (i = 0; i < 512; i++)
i119fs/minix/truncate.cif (i >= 512)
i133fs/minix/truncate.cint i, tmp;
i150fs/minix/truncate.cfor (i = DINDIRECT_BLOCK(offset) ; i < 512 ; i ++) {
i151fs/minix/truncate.cif (i < 0)
i152fs/minix/truncate.ci = 0;
i153fs/minix/truncate.cif (i < DINDIRECT_BLOCK(offset))
i155fs/minix/truncate.cdind = i+(unsigned short *) dind_bh->b_data;
i156fs/minix/truncate.cretry |= V1_trunc_indirect(inode,offset+(i<<9),dind);
i160fs/minix/truncate.cfor (i = 0; i < 512; i++)
i163fs/minix/truncate.cif (i >= 512)
i203fs/minix/truncate.cint i, tmp;
i207fs/minix/truncate.cfor (i = DIRECT_BLOCK ; i < 7 ; i++) {
i208fs/minix/truncate.cp = (unsigned long *) inode->u.minix_i.u.i2_data + i;
i212fs/minix/truncate.cif (i < DIRECT_BLOCK) {
i235fs/minix/truncate.cint i, tmp;
i253fs/minix/truncate.cfor (i = INDIRECT_BLOCK(offset) ; i < 256 ; i++) {
i254fs/minix/truncate.cif (i < 0)
i255fs/minix/truncate.ci = 0;
i256fs/minix/truncate.cif (i < INDIRECT_BLOCK(offset))
i258fs/minix/truncate.cind = i+(unsigned long *) ind_bh->b_data;
i263fs/minix/truncate.cif (i < INDIRECT_BLOCK(offset)) {
i278fs/minix/truncate.cfor (i = 0; i < 256; i++)
i281fs/minix/truncate.cif (i >= 256)
i295fs/minix/truncate.cint i, tmp;
i312fs/minix/truncate.cfor (i = DINDIRECT_BLOCK(offset) ; i < 256 ; i ++) {
i313fs/minix/truncate.cif (i < 0)
i314fs/minix/truncate.ci = 0;
i315fs/minix/truncate.cif (i < DINDIRECT_BLOCK(offset))
i317fs/minix/truncate.cdind = i+(unsigned long *) dind_bh->b_data;
i318fs/minix/truncate.cretry |= V2_trunc_indirect(inode,offset+(i<<9),dind);
i322fs/minix/truncate.cfor (i = 0; i < 256; i++)
i325fs/minix/truncate.cif (i >= 256)
i340fs/minix/truncate.cint i, tmp;
i357fs/minix/truncate.cfor (i = TINDIRECT_BLOCK(offset) ; i < 256 ; i ++) {
i358fs/minix/truncate.cif (i < 0)
i359fs/minix/truncate.ci = 0;
i360fs/minix/truncate.cif (i < TINDIRECT_BLOCK(offset))
i362fs/minix/truncate.ctind = i+(unsigned long *) tind_bh->b_data;
i363fs/minix/truncate.cretry |= V2_trunc_dindirect(inode,offset+(i<<9),tind);
i367fs/minix/truncate.cfor (i = 0; i < 256; i++)
i370fs/minix/truncate.cif (i >= 256)
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) {
i20fs/ncpfs/dir.cstruct nw_info_struct i;
i144fs/ncpfs/dir.c? info->finfo.i.DosDirNum : (ino_t)info;
i197fs/ncpfs/dir.cint result, i = 0;
i220fs/ncpfs/dir.ci = sizeof (struct ncp_dirent) * NCP_READDIR_CACHE_SIZE;
i221fs/ncpfs/dir.cc_entry = (struct ncp_dirent *) ncp_kmalloc(i, GFP_KERNEL);
i252fs/ncpfs/dir.cfor (i = 0; i < c_size; i++)
i254fs/ncpfs/dir.cif (filp->f_pos == c_entry[i].f_pos)
i256fs/ncpfs/dir.centry = &c_entry[i];
i257fs/ncpfs/dir.cc_last_returned_index = i;
i258fs/ncpfs/dir.cindex = i;
i304fs/ncpfs/dir.cfor (i = 0; i < c_size; i++)
i306fs/ncpfs/dir.cstr_lower(c_entry[i].i.entryName);
i323fs/ncpfs/dir.cino = (ino_t)(entry->i.DosDirNum);
i333fs/ncpfs/dir.centry->i.entryName);
i345fs/ncpfs/dir.cDDPRINTK("ncp_readdir: entry->path= %s\n", entry->i.entryName);
i348fs/ncpfs/dir.cif (filldir(dirent, entry->i.entryName, entry->i.nameLen,
i375fs/ncpfs/dir.cint i;
i385fs/ncpfs/dir.cfor (i=0; i<NCP_NUMBER_OF_VOLUMES; i++)
i389fs/ncpfs/dir.cif (ncp_get_volume_info_with_number(server, i, &info) != 0)
i412fs/ncpfs/dir.c&(entry->i)) != 0)
i469fs/ncpfs/dir.c&(entry->i)) != 0)
i477fs/ncpfs/dir.centry->i.entryName);
i482fs/ncpfs/dir.centry->i.entryName, fpos, total_count);
i554fs/ncpfs/dir.cfinfo->i.entryName);
i587fs/ncpfs/dir.cncp_free_inode_info(struct ncp_inode_info *i)
i589fs/ncpfs/dir.cif (i == NULL)
i595fs/ncpfs/dir.ci->state = NCP_INODE_CACHED;
i596fs/ncpfs/dir.cwhile ((i->nused == 0) && (i->state == NCP_INODE_CACHED))
i598fs/ncpfs/dir.cstruct ncp_inode_info *dir = i->dir;
i600fs/ncpfs/dir.ci->next->prev = i->prev;
i601fs/ncpfs/dir.ci->prev->next = i->next;
i604fs/ncpfs/dir.ci->finfo.i.entryName);
i606fs/ncpfs/dir.cncp_kfree_s(i, sizeof(struct ncp_inode_info));
i608fs/ncpfs/dir.cif (dir == i) return;
i611fs/ncpfs/dir.ci = dir;
i619fs/ncpfs/dir.cstruct nw_info_struct *i = &(root->finfo.i);
i623fs/ncpfs/dir.cDPRINTK("ncp_init_root: i = %x\n", (int)i);
i626fs/ncpfs/dir.ci->attributes  = aDIR;
i627fs/ncpfs/dir.ci->dataStreamSize = 1024;
i628fs/ncpfs/dir.ci->DosDirNum = 0;
i629fs/ncpfs/dir.ci->volNumber = NCP_NUMBER_OF_VOLUMES+1;  /* illegal volnum */
i630fs/ncpfs/dir.cncp_date_unix2dos(0, &(i->creationTime), &(i->creationDate));
i631fs/ncpfs/dir.cncp_date_unix2dos(0, &(i->modifyTime), &(i->modifyDate));
i632fs/ncpfs/dir.cncp_date_unix2dos(0, &dummy, &(i->lastAccessDate));
i633fs/ncpfs/dir.ci->nameLen = 0;
i634fs/ncpfs/dir.ci->entryName[0] = '\0';
i653fs/ncpfs/dir.c&(server->root.finfo.i)) != 0)
i657fs/ncpfs/dir.cstr_lower(server->root.finfo.i.entryName);
i705fs/ncpfs/dir.cif (   (result->dir->finfo.i.DosDirNum == dir_info->DosDirNum)
i706fs/ncpfs/dir.c&& (result->dir->finfo.i.volNumber == dir_info->volNumber)
i707fs/ncpfs/dir.c&& (strcmp(result->finfo.i.entryName, name) == 0)
i816fs/ncpfs/dir.cint i;
i818fs/ncpfs/dir.ci = first;
i822fs/ncpfs/dir.ci, c_entry[i].i.entryName);
i824fs/ncpfs/dir.cif (strcmp(c_entry[i].i.entryName, name) == 0)
i827fs/ncpfs/dir.cfinfo.i = c_entry[i].i;
i831fs/ncpfs/dir.ci = (i + 1) % c_size;
i833fs/ncpfs/dir.cwhile (i != first);
i846fs/ncpfs/dir.cres = ncp_lookup_volume(server, name, &(finfo.i));
i853fs/ncpfs/dir.cname, &(finfo.i));
i863fs/ncpfs/dir.cstr_lower(finfo.i.entryName);
i913fs/ncpfs/dir.cstr_lower(finfo.i.entryName);
i33fs/ncpfs/file.cncp_make_open(struct inode *i, int right)
i37fs/ncpfs/file.cif (i == NULL)
i43fs/ncpfs/file.cfinfo = NCP_FINFO(i);
i50fs/ncpfs/file.cif (ncp_open_create_file_or_subdir(NCP_SERVER(i),
i58fs/ncpfs/file.celse if (ncp_open_create_file_or_subdir(NCP_SERVER(i),
i143fs/ncpfs/inode.cfinfo->i.entryName);
i434fs/ncpfs/ncplib_kernel.ctarget->i.volNumber, target->i.DosDirNum,
i451fs/ncpfs/ncplib_kernel.cncp_extract_file_info(ncp_reply_data(server, 5), &(target->i));
i98fs/nfs/dir.cint i, index = 0;
i109fs/nfs/dir.ci = sizeof (struct nfs_entry)*NFS_READDIR_CACHE_SIZE;
i110fs/nfs/dir.cc_entry = (struct nfs_entry *) kmalloc(i, GFP_KERNEL);
i115fs/nfs/dir.cfor (i = 0; i < NFS_READDIR_CACHE_SIZE; i++) {
i116fs/nfs/dir.cc_entry[i].name = (char *) kmalloc(NFS_MAXNAMLEN + 1,
i118fs/nfs/dir.cif (c_entry[i].name == NULL) {
i120fs/nfs/dir.cwhile (--i>=0)
i121fs/nfs/dir.ckfree(c_entry[i].name);
i133fs/nfs/dir.cfor (i = 0; i < c_size; i++) {
i134fs/nfs/dir.cif (filp->f_pos == c_entry[i].cookie) {
i135fs/nfs/dir.cif (i == c_size - 1) {
i136fs/nfs/dir.cif (c_entry[i].eof)
i140fs/nfs/dir.centry = c_entry + (index = i + 1);
i191fs/nfs/dir.cint i;
i195fs/nfs/dir.cfor (i = 0; i < NFS_READDIR_CACHE_SIZE; i++)
i196fs/nfs/dir.ckfree(c_entry[i].name);
i228fs/nfs/dir.cint i;
i230fs/nfs/dir.cfor (i = 0; i < NFS_LOOKUP_CACHE_SIZE; i++) {
i231fs/nfs/dir.centry = nfs_lookup_cache + i;
i295fs/nfs/dir.cint i;
i307fs/nfs/dir.cfor (i = 0; i < NFS_LOOKUP_CACHE_SIZE; i++) {
i308fs/nfs/dir.centry = nfs_lookup_cache + i;
i320fs/nfs/dir.cint i;
i322fs/nfs/dir.cfor (i = 0; i < NFS_LOOKUP_CACHE_SIZE; i++) {
i323fs/nfs/dir.centry = nfs_lookup_cache + i;
i1477fs/nfs/nfsroot.cint i;
i1480fs/nfs/nfsroot.cfor (i = 0; i < NPORTS && res < 0; i++) {
i81fs/nfs/proc.cint *i;
i83fs/nfs/proc.cwhile (!(i = (int *)kmalloc(size+NFS_SLACK_SPACE,GFP_NFS))) {
i86fs/nfs/proc.creturn i;
i808fs/nfs/proc.cint i;
i828fs/nfs/proc.cfor (i = 0; i < count && *p++; i++) {
i837fs/nfs/proc.ceof = (i == count && !*p++ && *p++)
i838fs/nfs/proc.c|| (i < count && *p++);
i839fs/nfs/proc.cif (eof && i)
i841fs/nfs/proc.cPRINTK("NFS reply readdir %d %s\n", i,
i843fs/nfs/proc.cstatus = i;
i902fs/nfs/proc.cint i;
i923fs/nfs/proc.cfor (i = 0; i < 16 && i < NGROUPS && groups[i] != NOGROUP; i++)
i924fs/nfs/proc.c*p++ = htonl(groups[i]);
i925fs/nfs/proc.c*p2 = htonl(i);
i1016fs/nfs/proc.cint i;
i1018fs/nfs/proc.cfor (i = 0; nfs_errtbl[i].stat != -1; i++) {
i1019fs/nfs/proc.cif (nfs_errtbl[i].stat == stat)
i1020fs/nfs/proc.creturn nfs_errtbl[i].errno;
i1023fs/nfs/proc.creturn nfs_errtbl[i].errno;
i532fs/nfs/rpcsock.cint    i;
i553fs/nfs/rpcsock.cfor (i = 0, slot = rsock->waiting; i < RPC_MAXREQS-1; i++, slot++)
i415fs/pipe.cint i,j;
i431fs/pipe.cfor(i=0;j<2 && i<NR_OPEN && i<current->rlim[RLIMIT_NOFILE].rlim_cur;i++)
i432fs/pipe.cif (!current->files->fd[i]) {
i433fs/pipe.ccurrent->files->fd[ fd[j]=i ] = f[j];
i158fs/proc/array.cint i=prof_len;
i160fs/proc/array.cwhile (i--)
i161fs/proc/array.cprof_buffer[i]=0UL;
i192fs/proc/array.cint i, len;
i196fs/proc/array.cfor (i = 0 ; i < NR_IRQS ; i++)
i197fs/proc/array.csum += kstat.interrupts[i];
i227fs/proc/array.cfor (i = 0 ; i < NR_IRQS ; i++)
i228fs/proc/array.clen += sprintf(buffer + len, " %u", kstat.interrupts[i]);
i274fs/proc/array.cstruct sysinfo i;
i277fs/proc/array.csi_meminfo(&i);
i278fs/proc/array.csi_swapinfo(&i);
i282fs/proc/array.ci.totalram, i.totalram-i.freeram, i.freeram, i.sharedram, i.bufferram, page_cache_size*PAGE_SIZE,
i283fs/proc/array.ci.totalswap, i.totalswap-i.freeswap, i.freeswap);
i296fs/proc/array.ci.totalram >> 10,
i297fs/proc/array.ci.freeram >> 10,
i298fs/proc/array.ci.sharedram >> 10,
i299fs/proc/array.ci.bufferram >> 10,
i301fs/proc/array.ci.totalswap >> 10,
i302fs/proc/array.ci.freeswap >> 10);
i482fs/proc/array.cint i;
i487fs/proc/array.ci = sizeof(p->comm);
i491fs/proc/array.ci--;
i507fs/proc/array.c} while (i);
i595fs/proc/array.cint i;
i597fs/proc/array.cfor (i = 0; i < 32; i++) {
i639fs/proc/array.cint i,tty_pgrp;
i663fs/proc/array.cfor(i=0; i<32; ++i) {
i664fs/proc/array.cswitch((unsigned long) tsk->sig->action[i].sa_handler) {
i867fs/proc/array.cint i;
i880fs/proc/array.cfor (map = (*p)->mm->mmap, i = 0; map && (i < lineno); map = map->vm_next, i++)
i921fs/proc/array.ci = len-column;
i922fs/proc/array.cif (i > count)
i923fs/proc/array.ci = count;
i924fs/proc/array.cmemcpy_tofs(destptr, line+column, i);
i925fs/proc/array.cdestptr += i; count -= i;
i926fs/proc/array.ccolumn += i;
i61fs/proc/fd.cint i;
i103fs/proc/fd.cfor (i = 0 ; i < NR_TASKS ; i++)
i104fs/proc/fd.cif ((p = task[i]) && p->pid == pid)
i106fs/proc/fd.cif (!pid || i >= NR_TASKS)
i128fs/proc/fd.cunsigned long i,j;
i161fs/proc/fd.ci = fd;
i164fs/proc/fd.cbuf[j] = '0' + (i % 10);
i165fs/proc/fd.ci /= 10;
i166fs/proc/fd.c} while (i);
i136fs/proc/inode.cint i;
i150fs/proc/inode.cfor (i = 0; i < NR_TASKS ; i++)
i151fs/proc/inode.cif ((p = task[i]) && (p->pid == pid))
i153fs/proc/inode.cif (!p || i >= NR_TASKS)
i158fs/proc/inode.cfor (i = 1 ; i < NR_TASKS ; i++)
i159fs/proc/inode.cif (task[i])
i71fs/proc/link.cint i, error;
i85fs/proc/link.cfor (i = 0 ; i < NR_TASKS ; i++)
i86fs/proc/link.cif ((p = task[i]) && p->pid == pid)
i88fs/proc/link.cif (i >= NR_TASKS) {
i140fs/proc/link.cint i;
i148fs/proc/link.ci = proc_follow_link(NULL, inode, 0, 0, &inode);
i149fs/proc/link.cif (i)
i150fs/proc/link.creturn i;
i156fs/proc/link.ci = sprintf(buf,"[%04x]:%u", dev, ino);
i157fs/proc/link.cif (buflen > i)
i158fs/proc/link.cbuflen = i;
i159fs/proc/link.ci = 0;
i160fs/proc/link.cwhile (i < buflen)
i161fs/proc/link.cput_user(buf[i++],buffer++);
i162fs/proc/link.creturn i;
i62fs/proc/mem.cint i;
i69fs/proc/mem.cfor (i = 1 ; i < NR_TASKS ; i++)
i70fs/proc/mem.cif (task[i] && task[i]->pid == pid) {
i71fs/proc/mem.ctsk = task[i];
i104fs/proc/mem.ci = PAGE_SIZE-(addr & ~PAGE_MASK);
i105fs/proc/mem.cif (i > count)
i106fs/proc/mem.ci = count;
i107fs/proc/mem.cmemcpy_tofs(tmp, page, i);
i108fs/proc/mem.caddr += i;
i109fs/proc/mem.ctmp += i;
i110fs/proc/mem.ccount -= i;
i127fs/proc/mem.cint i;
i135fs/proc/mem.cfor (i = 1 ; i < NR_TASKS ; i++)
i136fs/proc/mem.cif (task[i] && task[i]->pid == pid) {
i137fs/proc/mem.ctsk = task[i];
i168fs/proc/mem.ci = PAGE_SIZE-(addr & ~PAGE_MASK);
i169fs/proc/mem.cif (i > count)
i170fs/proc/mem.ci = count;
i171fs/proc/mem.cmemcpy_fromfs(page, tmp, i);
i172fs/proc/mem.caddr += i;
i173fs/proc/mem.ctmp += i;
i174fs/proc/mem.ccount -= i;
i212fs/proc/mem.cint i;
i217fs/proc/mem.cfor (i = 1 ; i < NR_TASKS ; i++)
i218fs/proc/mem.cif (task[i] && task[i]->pid == (inode->i_ino >> 16)) {
i219fs/proc/mem.ctsk = task[i];
i184fs/proc/root.cint i = find_first_zero_bit((void *) proc_alloc_map, PROC_NDYNAMIC);
i185fs/proc/root.cif (i<0 || i>=PROC_NDYNAMIC) 
i187fs/proc/root.cset_bit(i, (void *) proc_alloc_map);
i188fs/proc/root.creturn PROC_DYNAMIC_FIRST + i;
i194fs/proc/root.cint i = make_inode_number();
i195fs/proc/root.cif (i < 0)
i197fs/proc/root.cdp->low_ino = i;
i440fs/proc/root.cint i, ino, retval;
i464fs/proc/root.cfor (i = 0 ; i < NR_TASKS ; i++)
i465fs/proc/root.cif (task[i] && task[i]->pid == pid)
i467fs/proc/root.cif (!pid || i >= NR_TASKS) {
i494fs/proc/root.cint i;
i502fs/proc/root.ci = filp->f_pos;
i503fs/proc/root.cswitch (i) {
i505fs/proc/root.cif (filldir(dirent, ".", 1, i, ino) < 0)
i507fs/proc/root.ci++;
i511fs/proc/root.cif (filldir(dirent, "..", 2, i, de->parent->low_ino) < 0)
i513fs/proc/root.ci++;
i519fs/proc/root.ci -= 2;
i523fs/proc/root.cif (!i)
i526fs/proc/root.ci--;
i546fs/proc/root.cunsigned long i,j;
i563fs/proc/root.ci = pid;
i566fs/proc/root.cbuf[j] = '0' + (i % 10);
i567fs/proc/root.ci /= 10;
i568fs/proc/root.c} while (i);
i207fs/read_write.cint retval, i;
i223fs/read_write.cfor (i = 0 ; i < count ; i++) {
i224fs/read_write.ctot_len += iov[i].iov_len;
i225fs/read_write.cretval = verify_area(type, iov[i].iov_base, iov[i].iov_len);
i92fs/select.cint i,j;
i96fs/select.ci = j * __NFDBITS;
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_INTS; i > 0; i--) {
i182fs/select.cint i;
i186fs/select.cfor (i = __FDSET_INTS; 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;
i161fs/smbfs/dir.cint result, i = 0;
i177fs/smbfs/dir.ci = sizeof (struct smb_dirent) * SMB_READDIR_CACHE_SIZE;
i178fs/smbfs/dir.cc_entry = (struct smb_dirent *) smb_kmalloc(i, GFP_KERNEL);
i183fs/smbfs/dir.cfor (i = 0; i < SMB_READDIR_CACHE_SIZE; i++) {
i184fs/smbfs/dir.cc_entry[i].path =
i187fs/smbfs/dir.cif (c_entry[i].path == NULL) {
i189fs/smbfs/dir.cwhile (--i>=0)
i190fs/smbfs/dir.ckfree(c_entry[i].path);
i203fs/smbfs/dir.cfor (i = 0; i < c_size; i++) {
i204fs/smbfs/dir.cif (filp->f_pos == c_entry[i].f_pos) {
i205fs/smbfs/dir.centry = &c_entry[i];
i206fs/smbfs/dir.cc_last_returned_index = i;
i207fs/smbfs/dir.cindex = i;
i233fs/smbfs/dir.cfor (i = 0; i < c_size; i++) {
i238fs/smbfs/dir.cstr_upper(c_entry[i].path); break;
i240fs/smbfs/dir.cstr_lower(c_entry[i].path); break;
i320fs/smbfs/dir.cint i;
i327fs/smbfs/dir.cfor (i = 0; i < SMB_READDIR_CACHE_SIZE; i++) {
i328fs/smbfs/dir.csmb_kfree_s(c_entry[i].path, NAME_MAX + 1);
i535fs/smbfs/dir.csmb_free_inode_info(struct smb_inode_info *i)
i537fs/smbfs/dir.cif (i == NULL) {
i542fs/smbfs/dir.ci->state = SMB_INODE_CACHED;
i543fs/smbfs/dir.cwhile ((i->nused == 0) && (i->state == SMB_INODE_CACHED)) {
i544fs/smbfs/dir.cstruct smb_inode_info *dir = i->dir;
i546fs/smbfs/dir.ci->next->prev = i->prev;
i547fs/smbfs/dir.ci->prev->next = i->next;
i549fs/smbfs/dir.csmb_kfree_s(i->finfo.path, i->finfo.len+1);
i550fs/smbfs/dir.csmb_kfree_s(i, sizeof(struct smb_inode_info));
i555fs/smbfs/dir.ci = dir;
i722fs/smbfs/dir.cint i;
i724fs/smbfs/dir.ci = first;
i727fs/smbfs/dir.ci, c_entry[i].path);
i728fs/smbfs/dir.cif (strcmp(c_entry[i].path, __name) == 0) {
i730fs/smbfs/dir.cfinfo = c_entry[i];
i735fs/smbfs/dir.ci = (i + 1) % c_size;
i737fs/smbfs/dir.ci, c_entry[i].path);
i738fs/smbfs/dir.c} while (i != first);
i32fs/smbfs/file.csmb_make_open(struct inode *i, int right)
i37fs/smbfs/file.cif (i == NULL) {
i42fs/smbfs/file.cdirent = &(SMB_INOP(i)->finfo);
i48fs/smbfs/file.copen_result = smb_proc_open(SMB_SERVER(i),
i35fs/smbfs/mmap.cint i;
i58fs/smbfs/mmap.cfor (i = 0; i < (PAGE_SIZE - clear); i += n) {
i61fs/smbfs/mmap.chunk = PAGE_SIZE - i;
i69fs/smbfs/mmap.c(char *) (page + i), 0);
i75fs/smbfs/mmap.ci += result;
i351fs/smbfs/proc.cint i, j, len;
i371fs/smbfs/proc.cfor (i = 0; i < len; i += 10) {
i372fs/smbfs/proc.cprintk("%03d:", i);
i373fs/smbfs/proc.cfor (j = i; j < i+10; j++)
i379fs/smbfs/proc.cfor (j = i; j < i+10; j++)
i947fs/smbfs/proc.cint i;
i1031fs/smbfs/proc.cfor (i = 0; i < count; i ++) {
i1037fs/smbfs/proc.ctotal_count, i, fpos);
i1154fs/smbfs/proc.cint i;
i1318fs/smbfs/proc.cfor (i = 0; i < ff_searchcount; i ++) {
i1325fs/smbfs/proc.ctotal_count, i, fpos);
i1615fs/smbfs/proc.cint i, plength;
i1684fs/smbfs/proc.cfor (i = 0; prots[i].name != NULL; i++) {
i1685fs/smbfs/proc.cplength += strlen(prots[i].name) + 2;
i1692fs/smbfs/proc.cfor (i = 0; prots[i].name != NULL; i++) {
i1693fs/smbfs/proc.cp = smb_encode_dialect(p,prots[i].name, strlen(prots[i].name));
i1707fs/smbfs/proc.cp = smb_decode_word(p, (word *)&i);
i1708fs/smbfs/proc.cserver->protocol = prots[i].prot;
i1711fs/smbfs/proc.cprots[i].name);
i2002fs/smbfs/proc.cint i,j;
i2005fs/smbfs/proc.cfor (i=0; err_classes[i].class; i++) {
i2006fs/smbfs/proc.cif (err_classes[i].code != class)
i2008fs/smbfs/proc.cif (!err_classes[i].err_msgs) {
i2009fs/smbfs/proc.cprintk("%s - %d", err_classes[i].class, num);
i2013fs/smbfs/proc.cerr = err_classes[i].err_msgs;
i2018fs/smbfs/proc.cerr_classes[i].class, err[j].name,
i466fs/super.cint i;
i468fs/super.cfor (i = 1; i < 256; i++) {
i469fs/super.cif (!set_bit(i,unnamed_dev_in_use))
i470fs/super.creturn MKDEV(UNNAMED_MAJOR, i);
i703fs/super.cint i;
i714fs/super.ci = vma->vm_end - (unsigned long) data;
i715fs/super.cif (PAGE_SIZE <= (unsigned long) i)
i716fs/super.ci = PAGE_SIZE-1;
i720fs/super.cmemcpy_fromfs((void *) page,data,i);
i232fs/sysv/balloc.cint i;
i238fs/sysv/balloc.cfor (i = *sb->sv_sb_flc_count ; /* i > 0 */ ; ) {
i239fs/sysv/balloc.cblock = sb->sv_sb_flc_blocks[--i];
i245fs/sysv/balloc.cif (i == 0)
i290fs/sysv/balloc.cfor (i = *flc_count ; /* i > 0 */ ; ) {
i291fs/sysv/balloc.cblock = flc_blocks[--i];
i297fs/sysv/balloc.cif (i == 0)
i71fs/sysv/dir.cunsigned int offset,i;
i102fs/sysv/dir.ci = strnlen(sde.name, SYSV_NAMELEN);
i103fs/sysv/dir.cif (filldir(dirent, sde.name, i, filp->f_pos, sde.inode) < 0) {
i91fs/sysv/fsync.cint i;
i94fs/sysv/fsync.cfor (i = 0; i < 10; i++) {
i95fs/sysv/fsync.crc = sync_block (inode, inode->u.sysv_i.i_data + i, 0, wait);
i106fs/sysv/fsync.cint i;
i116fs/sysv/fsync.cfor (i = 0; i < sb->sv_ind_per_block; i++) {
i118fs/sysv/fsync.c((unsigned long *) ind_bh->b_data) + i, sb->sv_convert,
i132fs/sysv/fsync.cint i;
i142fs/sysv/fsync.cfor (i = 0; i < sb->sv_ind_per_block; i++) {
i144fs/sysv/fsync.c((unsigned long *) dind_bh->b_data) + i, sb->sv_convert,
i158fs/sysv/fsync.cint i;
i168fs/sysv/fsync.cfor (i = 0; i < sb->sv_ind_per_block; i++) {
i170fs/sysv/fsync.c((unsigned long *) tind_bh->b_data) + i, sb->sv_convert,
i38fs/sysv/ialloc.cstatic inline sysv_ino_t * sv_sb_fic_inode (struct super_block * sb, unsigned int i)
i41fs/sysv/ialloc.creturn &sb->sv_sb_fic_inodes[i];
i44fs/sysv/ialloc.cunsigned int offset = offsetof(struct xenix_super_block, s_inode[i]);
i109fs/sysv/ialloc.cint i,j,ino,block;
i127fs/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) {
i134fs/sysv/ialloc.cfor (; j < sb->sv_inodes_per_block && i < sb->sv_fic_size; ino++, j++, raw_inode++) {
i136fs/sysv/ialloc.c*sv_sb_fic_inode(sb,i++) = ino;
i140fs/sysv/ialloc.cif (i == 0) {
i145fs/sysv/ialloc.c*sb->sv_sb_fic_count = i;
i379fs/sysv/inode.cint i;
i380fs/sysv/inode.cfor (i = 0; i < sizeof(offsets)/sizeof(offsets[0]); i++)
i381fs/sysv/inode.cif ((bh = bread(dev, offsets[i], BLOCK_SIZE)) != NULL) {
i384fs/sysv/inode.csb->sv_block_base = offsets[i] << sb->sv_block_size_ratio_bits;
i388fs/sysv/inode.csb->sv_block_base = offsets[i] << sb->sv_block_size_ratio_bits;
i582fs/sysv/inode.cint i;
i590fs/sysv/inode.ci = inode_bmap(sb,inode,10);
i591fs/sysv/inode.cif (!i)
i593fs/sysv/inode.cbh = bread(inode->i_dev,i,sb->sv_block_size);
i598fs/sysv/inode.ci = inode_bmap(sb,inode,11);
i599fs/sysv/inode.cif (!i)
i601fs/sysv/inode.cbh = bread(inode->i_dev,i,sb->sv_block_size);
i602fs/sysv/inode.ci = block_bmap(sb, bh, block >> sb->sv_ind_per_block_bits, convert);
i603fs/sysv/inode.cif (!i)
i605fs/sysv/inode.cbh = bread(inode->i_dev,i,sb->sv_block_size);
i610fs/sysv/inode.ci = inode_bmap(sb,inode,12);
i611fs/sysv/inode.cif (!i)
i613fs/sysv/inode.cbh = bread(inode->i_dev,i,sb->sv_block_size);
i614fs/sysv/inode.ci = block_bmap(sb, bh, block >> sb->sv_ind_per_block_2_bits, convert);
i615fs/sysv/inode.cif (!i)
i617fs/sysv/inode.cbh = bread(inode->i_dev,i,sb->sv_block_size);
i618fs/sysv/inode.ci = block_bmap(sb, bh, (block >> sb->sv_ind_per_block_bits) & sb->sv_ind_per_block_1,convert);
i619fs/sysv/inode.cif (!i)
i621fs/sysv/inode.cbh = bread(inode->i_dev,i,sb->sv_block_size);
i983fs/sysv/inode.cint i;
i986fs/sysv/inode.cfor (i = 0; i < 3; i++) {
i987fs/sysv/inode.cif ((ouch = register_filesystem(&sysv_fs_type[i])) != 0)
i1005fs/sysv/inode.cint i;
i1007fs/sysv/inode.cfor (i = 0; i < 3; i++)
i1009fs/sysv/inode.cunregister_filesystem(&sysv_fs_type[i]);
i147fs/sysv/namei.cint i;
i188fs/sysv/namei.cfor (i = 0; i < SYSV_NAMELEN ; i++)
i189fs/sysv/namei.cde->name[i] = (i < namelen) ? name[i] : 0;
i539fs/sysv/namei.cint i;
i559fs/sysv/namei.ci = 0;
i560fs/sysv/namei.cwhile (i < sb->sv_block_size_1 && (c = *(symname++)))
i561fs/sysv/namei.cname_block_data[i++] = c;
i562fs/sysv/namei.cname_block_data[i] = 0;
i565fs/sysv/namei.cinode->i_size = i;
i576fs/sysv/namei.ci = sysv_add_entry(dir, name, len, &bh, &de);
i577fs/sysv/namei.cif (i) {
i582fs/sysv/namei.creturn i;
i91fs/sysv/symlink.cint i;
i105fs/sysv/symlink.ci = 0;
i106fs/sysv/symlink.cwhile (i<buflen && (c = bh_data[i])) {
i107fs/sysv/symlink.ci++;
i111fs/sysv/symlink.creturn i;
i43fs/sysv/truncate.cunsigned int i;
i51fs/sysv/truncate.cfor (i = ((unsigned long) inode->i_size + sb->sv_block_size_1) >> sb->sv_block_size_bits; i < 10; i++) {
i52fs/sysv/truncate.cp = inode->u.sysv_i.i_data + i;
i57fs/sysv/truncate.cif ((i << sb->sv_block_size_bits) < inode->i_size) {
i79fs/sysv/truncate.cunsigned int i;
i103fs/sysv/truncate.ci = 0;
i105fs/sysv/truncate.ci = (inode->i_size - offset + sb->sv_block_size_1) >> sb->sv_block_size_bits;
i106fs/sysv/truncate.cfor (; i < sb->sv_ind_per_block; i++) {
i107fs/sysv/truncate.cind = ((sysv_zone_t *) indbh->b_data) + i;
i114fs/sysv/truncate.cif ((i << sb->sv_block_size_bits) + offset < inode->i_size) {
i128fs/sysv/truncate.cfor (i = 0; i < sb->sv_ind_per_block; i++)
i129fs/sysv/truncate.cif (((sysv_zone_t *) indbh->b_data)[i])
i148fs/sysv/truncate.cunsigned int i;
i170fs/sysv/truncate.ci = 0;
i172fs/sysv/truncate.ci = (inode->i_size - offset + sb->sv_ind_per_block_block_size_1) >> sb->sv_ind_per_block_block_size_bits;
i173fs/sysv/truncate.cfor (; i < sb->sv_ind_per_block; i++) {
i175fs/sysv/truncate.cind = ((sysv_zone_t *) indbh->b_data) + i;
i181fs/sysv/truncate.cretry |= trunc_indirect(inode,offset+(i<<sb->sv_ind_per_block_bits),ind,sb->sv_convert,&dirty);
i185fs/sysv/truncate.cfor (i = 0; i < sb->sv_ind_per_block; i++)
i186fs/sysv/truncate.cif (((sysv_zone_t *) indbh->b_data)[i])
i205fs/sysv/truncate.cunsigned int i;
i227fs/sysv/truncate.ci = 0;
i229fs/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;
i230fs/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,&dirty);
i242fs/sysv/truncate.cfor (i = 0; i < sb->sv_ind_per_block; i++)
i243fs/sysv/truncate.cif (((sysv_zone_t *) indbh->b_data)[i])
i41fs/umsdos/check.cint i;
i42fs/umsdos/check.cfor (i = 0 ; i < PTRS_PER_PAGE ; i++,page_dir++){
i46fs/umsdos/check.cprintk ("|%d:%08lx| ",i, page_dir->pgd);
i173fs/umsdos/mangle.cint i;
i176fs/umsdos/mangle.cfor (i=0; i<=32; i++) lkp[i] = '#';
i177fs/umsdos/mangle.cfor (i=33; i<'A'; i++) lkp[i] = (char)i;
i178fs/umsdos/mangle.cfor (i='A'; i<='Z'; i++) lkp[i] = (char)(i+('a'-'A'));
i179fs/umsdos/mangle.cfor (i='Z'+1; i<127; i++) lkp[i] = (char)i;
i180fs/umsdos/mangle.cfor (i=128; i<256; i++) lkp[i] = '#';
i282fs/umsdos/mangle.cint i;
i290fs/umsdos/mangle.cfor (i=0; i<msdos_len; i++, pt++) *pt = lkp[(unsigned char)(*pt)];
i353fs/umsdos/mangle.cint i;
i354fs/umsdos/mangle.cfor (i=start_ind_dev[base_len-1]; i<start_ind_dev[base_len]; i++){
i355fs/umsdos/mangle.cif (memcmp(info->fake.fname,tbdev[i],base_len)==0){
i449fs/umsdos/mangle.cint i,rold,rnew;
i451fs/umsdos/mangle.cfor (i=0; i<sizeof(tb)/sizeof(tb[0]); i++){
i452fs/umsdos/mangle.cstruct MANG_TEST *pttb = tb+i;
i467fs/umsdos/mangle.cfor (i=0; i<UMSDOS_MAXNAME ; i++){
i468fs/umsdos/mangle.crnew=umsdos_evalrecsize (i);
i469fs/umsdos/mangle.crold=umsdos_evalrecsize_old (i);
i470fs/umsdos/mangle.cif (!(i%UMSDOS_REC_SIZE)){
i471fs/umsdos/mangle.cprintf ("\n%d:\t",i);
i474fs/umsdos/mangle.cprintf ("**** %d newres: %d != %d \n", i, rnew, rold);
i199fs/vfat/namei.cint i;
i203fs/vfat/namei.cfor (i = 0; i < 32; i++, p++) {
i239fs/vfat/namei.cint i;
i249fs/vfat/namei.cfor (i = 0; i < len; i++) {
i250fs/vfat/namei.cc = name[i];
i402fs/vfat/namei.cint i;
i415fs/vfat/namei.cfor (i = 0, p = msdos_name, ip = name; i < len; i++, p++, ip++)
i469fs/vfat/namei.cfor (baselen = i = 0, p = base, ip = name; i < sz && baselen < 8; i++)
i517fs/vfat/namei.ci = 0;
i520fs/vfat/namei.ci++;
i521fs/vfat/namei.cif (i == 10000000) return -EEXIST;
i522fs/vfat/namei.csprintf(buf, "%d", i);
i598fs/vfat/namei.cint i;
i605fs/vfat/namei.cfor (i = 0, ip = name, op = outname, *outlen = 0;
i606fs/vfat/namei.ci < len && *outlen <= 260; i++, *outlen += 1)
i608fs/vfat/namei.cif (escape && (i < len - 4) && 
i631fs/vfat/namei.cfor (i = 0; i < fill; i++) {
i655fs/vfat/namei.cint i;
i668fs/vfat/namei.cfor (cksum = i = 0; i < 11; i++) {
i669fs/vfat/namei.ccksum = (((cksum&1)<<7)|((cksum&0xfe)>>1)) + msdos_name[i];
i688fs/vfat/namei.cfor (i = 0; i < 10; i += 2) {
i689fs/vfat/namei.cps->name0_4[i] = *ip++;
i690fs/vfat/namei.cps->name0_4[i+1] = *ip++;
i693fs/vfat/namei.cfor (i = 0; i < 12; i += 2) {
i694fs/vfat/namei.cps->name5_10[i] = *ip++;
i695fs/vfat/namei.cps->name5_10[i+1] = *ip++;
i698fs/vfat/namei.cfor (i = 0; i < 4; i += 2) {
i699fs/vfat/namei.cps->name11_12[i] = *ip++;
i700fs/vfat/namei.cps->name11_12[i+1] = *ip++;
i771fs/vfat/namei.cint i;
i783fs/vfat/namei.cfor (i = 0; i < name_len; i++) {
i1214fs/vfat/namei.cint res, i;
i1229fs/vfat/namei.cfor (i = sinfo->long_slots; i > 0; --i) {
i1361fs/vfat/namei.cint res, is_dir, i;
i1482fs/vfat/namei.cfor (i = old_slots; i > 0; --i) {
i36fs/xiafs/bitmap.cint end, i, j, tmp;
i43fs/xiafs/bitmap.ci=start_bit >> 5;
i44fs/xiafs/bitmap.cif ( (tmp=(~bmap[i]) & (0xffffffff << (start_bit & 31))) )        
i46fs/xiafs/bitmap.cwhile (++i < end)
i47fs/xiafs/bitmap.cif (~bmap[i]) {
i48fs/xiafs/bitmap.ctmp=~bmap[i];
i51fs/xiafs/bitmap.cif ( !(tmp=~bmap[i] & ((1 << (end_bit & 31)) -1)) )
i57fs/xiafs/bitmap.cif (set_bit(j,bmap+i)) {
i58fs/xiafs/bitmap.cstart_bit=j + (i << 5) + 1;
i62fs/xiafs/bitmap.creturn j + (i << 5);
i67fs/xiafs/bitmap.cregister int i;
i71fs/xiafs/bitmap.cfor (i= bh->b_size >> 2; i-- > 0; )
i79fs/xiafs/bitmap.cint i;
i83fs/xiafs/bitmap.cfor (i=pos; i > 0; i--) {
i84fs/xiafs/bitmap.cbmap[i]=bmap[i-1];
i85fs/xiafs/bitmap.cbznr[i]=bznr[i-1];
i112fs/xiafs/bitmap.cint z_nr, i;
i122fs/xiafs/bitmap.cfor (i=0; i < slots; i++) 
i123fs/xiafs/bitmap.cif (bznr[i]==z_nr)
i125fs/xiafs/bitmap.cif (i < slots) {      /* cache hit */
i127fs/xiafs/bitmap.c*not_que=i;
i128fs/xiafs/bitmap.creturn bmap_buf[i];
i130fs/xiafs/bitmap.cque(bmap_buf, bznr, i);
i342fs/xiafs/bitmap.cint i, tmp;
i346fs/xiafs/bitmap.cfor (i=bh->b_size; i-- > 0; ) {
i347fs/xiafs/bitmap.ctmp=bh->b_data[i];
i356fs/xiafs/bitmap.cint izones, i, not_que;
i361fs/xiafs/bitmap.cfor (i=0; i < izones; i++) {
i362fs/xiafs/bitmap.cbh=get_imap_zone(sb, i << XIAFS_BITS_PER_Z_BITS(sb), &not_que);
i368fs/xiafs/bitmap.ci=izones << XIAFS_BITS_PER_Z_BITS(sb);
i369fs/xiafs/bitmap.creturn i - sum;
i375fs/xiafs/bitmap.cint zzones, i, not_que;
i380fs/xiafs/bitmap.cfor (i=0; i < zzones; i++) {
i381fs/xiafs/bitmap.cbh=get_zmap_zone(sb, i << XIAFS_BITS_PER_Z_BITS(sb), &not_que);
i387fs/xiafs/bitmap.ci=zzones << XIAFS_BITS_PER_Z_BITS(sb);
i388fs/xiafs/bitmap.creturn i - sum;
i71fs/xiafs/dir.cu_int offset, i;
i86fs/xiafs/dir.cfor (i = 0; i < XIAFS_ZSIZE(inode->i_sb) && i < offset; ) {
i87fs/xiafs/dir.cde = (struct xiafs_direct *) (bh->b_data + i);
i90fs/xiafs/dir.ci += de->d_rec_len;
i92fs/xiafs/dir.coffset = i;
i84fs/xiafs/fsync.cint i;
i87fs/xiafs/fsync.cfor (i = 0; i < 8; i++) {
i88fs/xiafs/fsync.crc = sync_block (inode, inode->u.ext_i.i_data + i, wait);
i99fs/xiafs/fsync.cint i;
i107fs/xiafs/fsync.cfor (i = 0; i < addr_per_block; i++) {
i109fs/xiafs/fsync.c((unsigned long *) ind_bh->b_data) + i,
i123fs/xiafs/fsync.cint i;
i131fs/xiafs/fsync.cfor (i = 0; i < addr_per_block; i++) {
i133fs/xiafs/fsync.c((unsigned long *) dind_bh->b_data) + i,
i39fs/xiafs/inode.cint i;
i43fs/xiafs/inode.cfor(i = 0 ; i < _XIAFS_IMAP_SLOTS ; i++)
i44fs/xiafs/inode.cbrelse(sb->u.xiafs_sb.s_imap_buf[i]);
i45fs/xiafs/inode.cfor(i = 0 ; i < _XIAFS_ZMAP_SLOTS ; i++)
i46fs/xiafs/inode.cbrelse(sb->u.xiafs_sb.s_zmap_buf[i]);
i67fs/xiafs/inode.cint i, z;
i118fs/xiafs/inode.cfor (i=0;i < _XIAFS_IMAP_SLOTS;i++) {
i119fs/xiafs/inode.cs->u.xiafs_sb.s_imap_buf[i] = NULL;
i120fs/xiafs/inode.cs->u.xiafs_sb.s_imap_iznr[i] = -1;
i122fs/xiafs/inode.cfor (i=0;i < _XIAFS_ZMAP_SLOTS;i++) {
i123fs/xiafs/inode.cs->u.xiafs_sb.s_zmap_buf[i] = NULL;
i124fs/xiafs/inode.cs->u.xiafs_sb.s_zmap_zznr[i] = -1;
i131fs/xiafs/inode.cfor (i=0 ; i < s->u.xiafs_sb.s_imap_zones ; i++) {
i132fs/xiafs/inode.cif (!(s->u.xiafs_sb.s_imap_buf[i]=bread(dev, z++, XIAFS_ZSIZE(s))))
i134fs/xiafs/inode.cs->u.xiafs_sb.s_imap_iznr[i]=i;
i141fs/xiafs/inode.cfor (i=0 ; i < s->u.xiafs_sb.s_zmap_zones ; i++) {
i142fs/xiafs/inode.cif (!(s->u.xiafs_sb.s_zmap_buf[i]=bread(dev, z++, XIAFS_ZSIZE(s))))
i144fs/xiafs/inode.cs->u.xiafs_sb.s_zmap_zznr[i]=i;
i158fs/xiafs/inode.cfor(i=0; i < _XIAFS_IMAP_SLOTS; i++)
i159fs/xiafs/inode.cbrelse(s->u.xiafs_sb.s_imap_buf[i]);
i160fs/xiafs/inode.cfor(i=0; i < _XIAFS_ZMAP_SLOTS; i++)
i161fs/xiafs/inode.cbrelse(s->u.xiafs_sb.s_zmap_buf[i]);
i197fs/xiafs/inode.cint i;
i215fs/xiafs/inode.ci = inode->u.xiafs_i.i_ind_zone;
i216fs/xiafs/inode.cif (i)
i217fs/xiafs/inode.ci = zone_bmap(bread(inode->i_dev, i, XIAFS_ZSIZE(inode->i_sb)), zone);
i218fs/xiafs/inode.creturn i;
i221fs/xiafs/inode.ci = inode->u.xiafs_i.i_dind_zone;
i222fs/xiafs/inode.cif (i)
i223fs/xiafs/inode.ci = zone_bmap(bread(inode->i_dev, i, XIAFS_ZSIZE(inode->i_sb)), 
i225fs/xiafs/inode.cif (i)
i226fs/xiafs/inode.ci= zone_bmap(bread(inode->i_dev,i, XIAFS_ZSIZE(inode->i_sb)),
i228fs/xiafs/inode.creturn i;
i34fs/xiafs/namei.cint i;
i43fs/xiafs/namei.cfor (i=0; i < len; i++)
i44fs/xiafs/namei.cif (*name++ != dep->d_name[i])
i61fs/xiafs/namei.cint i, zones, pos;
i76fs/xiafs/namei.cfor (i=0; i < zones; i++ ) {
i77fs/xiafs/namei.cbh = xiafs_bread(inode, i, 0);
i81fs/xiafs/namei.cif (!i && (dep->d_rec_len != 12 || !dep->d_ino || 
i158fs/xiafs/namei.cint i, pos, offset;
i207fs/xiafs/namei.ci=RNDUP4(de->d_name_len)+8;
i209fs/xiafs/namei.cde=(struct xiafs_direct *)(i+(u_char *)de_pre);
i211fs/xiafs/namei.cde->d_rec_len=de_pre->d_rec_len-i;
i212fs/xiafs/namei.cde_pre->d_rec_len=i;
i408fs/xiafs/namei.cint i, zones, offset;
i418fs/xiafs/namei.cfor (i=0; i < zones; i++) {
i419fs/xiafs/namei.cbh =  xiafs_bread(inode, i, 0);
i420fs/xiafs/namei.cif (!i) {
i591fs/xiafs/namei.cint i;
i614fs/xiafs/namei.cfor (i = 0; i < BLOCK_SIZE-1 && (c=*symname++); i++)
i615fs/xiafs/namei.cname_block->b_data[i] = c;
i616fs/xiafs/namei.cname_block->b_data[i] = 0;
i619fs/xiafs/namei.cinode->i_size = i;
i52fs/xiafs/symlink.cint i;
i69fs/xiafs/symlink.cfor (i=0; i < buflen && (c=bh->b_data[i]); i++)
i71fs/xiafs/symlink.cif (i < buflen-1)
i74fs/xiafs/symlink.creturn i;
i42fs/xiafs/truncate.cint i, tmp;
i46fs/xiafs/truncate.cfor (i = DT_ZONE ; i < 8 ; i++) {
i47fs/xiafs/truncate.cif (i < DT_ZONE)
i49fs/xiafs/truncate.clp=i + inode->u.xiafs_i.i_zone;
i53fs/xiafs/truncate.cif (i < DT_ZONE) {
i76fs/xiafs/truncate.cint i, tmp;
i92fs/xiafs/truncate.cfor (i = INDT_ZONE<0?0:INDT_ZONE; i < XIAFS_ADDRS_PER_Z(inode->i_sb); i++) {
i93fs/xiafs/truncate.cif (i < INDT_ZONE)
i95fs/xiafs/truncate.cindp = i+(u_long *) ind_bh->b_data;
i99fs/xiafs/truncate.cif (i < INDT_ZONE) {
i114fs/xiafs/truncate.cfor (i = 0; i < XIAFS_ADDRS_PER_Z(inode->i_sb) && !(*indp++); i++) ;
i115fs/xiafs/truncate.cif (i >= XIAFS_ADDRS_PER_Z(inode->i_sb)) {
i135fs/xiafs/truncate.cint i, tmp;
i153fs/xiafs/truncate.cfor (i=DINDT_ZONE<0?0:DINDT_ZONE ; i < XIAFS_ADDRS_PER_Z(inode->i_sb) ; i ++) {
i154fs/xiafs/truncate.cif (i < DINDT_ZONE)
i156fs/xiafs/truncate.cdindp = i+(u_long *) dind_bh->b_data;
i158fs/xiafs/truncate.c8+((1+i)<<XIAFS_ADDRS_PER_Z_BITS(inode->i_sb)), 
i163fs/xiafs/truncate.cfor (i = 0; i < XIAFS_ADDRS_PER_Z(inode->i_sb) && !(*dindp++); i++);
i164fs/xiafs/truncate.cif (i >= XIAFS_ADDRS_PER_Z(inode->i_sb)) {
i21include/asm-alpha/atomic.hextern __inline__ void atomic_add(atomic_t i, atomic_t * v)
i33include/asm-alpha/atomic.h:"Ir" (i),
i37include/asm-alpha/atomic.hextern __inline__ void atomic_sub(atomic_t i, atomic_t * v)
i49include/asm-alpha/atomic.h:"Ir" (i),
i56include/asm-alpha/atomic.hextern __inline__ int atomic_sub_and_test(atomic_t i, atomic_t * v)
i70include/asm-alpha/atomic.h:"Ir" (i),
i78include/asm-alpha/posix_types.hint i;
i88include/asm-alpha/posix_types.hi = __FDSET_INTS;
i89include/asm-alpha/posix_types.hwhile (i) {
i90include/asm-alpha/posix_types.hi--;
i280include/asm-alpha/unistd.hint i;
i284include/asm-alpha/unistd.hi = do_execve(file, argvp, envp, &regs);
i285include/asm-alpha/unistd.hif (!i) {
i24include/asm-i386/atomic.hstatic __inline__ void atomic_add(atomic_t i, atomic_t *v)
i29include/asm-i386/atomic.h:"ir" (i), "m" (__atomic_fool_gcc(v)));
i32include/asm-i386/atomic.hstatic __inline__ void atomic_sub(atomic_t i, atomic_t *v)
i37include/asm-i386/atomic.h:"ir" (i), "m" (__atomic_fool_gcc(v)));
i108include/asm-i386/io.h#define __IN(s,s1,i...) \
i109include/asm-i386/io.h__IN1(s) __IN2(s,s1,"w") : "=a" (_v) : "d" (port) ,##i ); return _v; } \
i110include/asm-i386/io.h__IN1(s##c) __IN2(s,s1,"") : "=a" (_v) : "id" (port) ,##i ); return _v; } \
i111include/asm-i386/io.h__IN1(s##_p) __IN2(s,s1,"w") : "=a" (_v) : "d" (port) ,##i ); SLOW_DOWN_IO; return _v; } \
i112include/asm-i386/io.h__IN1(s##c_p) __IN2(s,s1,"") : "=a" (_v) : "id" (port) ,##i ); SLOW_DOWN_IO; return _v; }
i142include/asm-mips/io.h#define __INS(m,s,i) \
i145include/asm-mips/io.h: "0" (addr), "1" (count), "i" (0), "r" (PORT_BASE+port), "I" (i) \
i149include/asm-mips/io.h: "0" (addr), "1" (count), "ir" (port), "r" (PORT_BASE), "I" (i) \
i167include/asm-mips/io.h#define __OUTS(m,s,i) \
i170include/asm-mips/io.h: "0" (addr), "1" (count), "i" (0), "r" (PORT_BASE+port), "I" (i) \
i174include/asm-mips/io.h: "0" (addr), "1" (count), "ir" (port), "r" (PORT_BASE), "I" (i) \
i140include/asm-mips/types.hint i;
i150include/asm-mips/types.hi = __FDSET_INTS;
i151include/asm-mips/types.hwhile (i) {
i152include/asm-mips/types.hi--;
i21include/asm-ppc/mmu.hunsigned long i:1;  /* Cache inhibited */
i61include/asm-ppc/mmu.hunsigned long i:1;  /* Cache inhibit */
i110include/asm-ppc/types.hint i;
i120include/asm-ppc/types.hi = __FDSET_INTS;
i121include/asm-ppc/types.hwhile (i) {
i122include/asm-ppc/types.hi--;
i118include/asm-sparc/processor.hint i;
i120include/asm-sparc/processor.hfor(i = 0; i < 16; i++) regs->u_regs[i] = 0;
i110include/asm-sparc/types.hint i;
i123include/asm-sparc/types.hi = __FDSET_INTS;
i124include/asm-sparc/types.hwhile (i) {
i125include/asm-sparc/types.hi--;
i62include/linux/msdos_fs.h#define MSDOS_I(i) (&((i)->u.msdos_i))
i224include/linux/ncp.hstruct nw_info_struct i;
i77include/linux/ncp_fs.h#define NCP_ISTRUCT(inode)   (&(NCP_FINFO(inode)->i))
i123include/linux/ncp_fs.hint ncp_make_open(struct inode *i, int right);
i127include/linux/ncp_fs.hvoid ncp_free_inode_info(struct ncp_inode_info *i);
i39include/linux/pagemap.hreturn s(i+o) & (PAGE_HASH_SIZE-1);
i97include/linux/smb_fs.hint smb_make_open(struct inode *i, int right);
i101include/linux/smb_fs.hvoid smb_free_inode_info(struct smb_inode_info *i);
i1039include/linux/soundcard.h{int i, l=(len); if (l>6)l=6;\
i1042include/linux/soundcard.hfor(i=0;i<l;i++)_seqbuf[_seqbufptr+i+1] = (buf)[i];\
i1043include/linux/soundcard.hfor(i=l;i<6;i++)_seqbuf[_seqbufptr+i+1] = 0xff;\
i22include/linux/wrapper.h#define inode_get_rdev(i) i->i_rdev
i23include/linux/wrapper.h#define inode_get_count(i) i->i_count
i24include/linux/wrapper.h#define inode_inc_count(i) i->i_count++
i25include/linux/wrapper.h#define inode_dec_count(i) i->i_count--
i29include/linux/wrapper.h#define vma_set_inode(v,i) v->vm_inode = i
i187init/main.cint i=1;
i189init/main.cwhile (cur && isdigit(*cur) && i <= 10) {
i190init/main.cints[i++] = simple_strtoul(cur,NULL,0);
i194init/main.cints[0] = i-1;
i367init/main.cint i = 0;
i377init/main.cwhile (bootsetups[i].str) {
i378init/main.cint n = strlen(bootsetups[i].str);
i379init/main.cif (!strncmp(line,bootsetups[i].str,n)) {
i380init/main.cbootsetups[i].setup_func(get_options(line+n,ints), ints);
i383init/main.ci++;
i623init/main.cint i, j;
i633init/main.cfor (i=1; i<smp_num_cpus; i++)
i635init/main.cj = cpu_logical_map[i];
i644init/main.ccurrent_set[j]=task[i];
i766init/main.cint i;
i769init/main.cwrite(1,printbuf,i=vsprintf(printbuf, fmt, args));
i771init/main.creturn i;
i813init/main.cint pid,i;
i862init/main.cwhile (pid != wait(&i));
i884init/main.cwhile (pid != wait(&i))
i897init/main.cif (pid == wait(&i))
i899init/main.cprintf("\n\rchild %d died with code %04x\n\r",pid,i);
i423ipc/msg.cint i;
i429ipc/msg.cfor (i = 0; i < MAX_KERNELDS; ++i) {
i430ipc/msg.cif (kerneld_arr[i] == 0) {
i431ipc/msg.ckerneld_arr[i] = current->pid;
i622ipc/msg.cint i;
i626ipc/msg.cfor (i = 0; i < MAX_KERNELDS; ++i) {
i627ipc/msg.cif (kerneld_arr[i] == current->pid) {
i628ipc/msg.ckerneld_arr[i] = 0;
i57ipc/sem.cint i;
i61ipc/sem.cfor (i = 0; i < SEMMNI; i++)
i62ipc/sem.csemary[i] = (struct semid_ds *) IPC_UNUSED;
i180ipc/sem.cint i = 0;
i182ipc/sem.cwhile (i < nsops) {
i183ipc/sem.cstruct sembuf * sop = &sops[i];
i196ipc/sem.ci++;
i206ipc/sem.cwhile (--i >= 0) {
i207ipc/sem.cstruct sembuf * sop = &sops[i];
i219ipc/sem.cint i;
i221ipc/sem.cfor (i = 0; i < nsops; i++) {
i222ipc/sem.cstruct sembuf * sop = &sops[i];
i300ipc/sem.cint i;
i301ipc/sem.cfor (i = 0; i < nsops; i++)
i302ipc/sem.cif (sops[i].sem_num == semnum
i303ipc/sem.c&& (sops[i].sem_op < 0)
i304ipc/sem.c&& !(sops[i].sem_flg & IPC_NOWAIT))
i318ipc/sem.cint i;
i319ipc/sem.cfor (i = 0; i < nsops; i++)
i320ipc/sem.cif (sops[i].sem_num == semnum
i321ipc/sem.c&& (sops[i].sem_op == 0)
i322ipc/sem.c&& !(sops[i].sem_flg & IPC_NOWAIT))
i364ipc/sem.cint i, id, val = 0;
i395ipc/sem.ci = verify_area(VERIFY_WRITE, tmp, sizeof(struct seminfo));
i396ipc/sem.cif (i)
i397ipc/sem.creturn i;
i404ipc/sem.ci = verify_area (VERIFY_WRITE, buf, sizeof (*buf));
i405ipc/sem.cif (i)
i406ipc/sem.creturn i;
i459ipc/sem.ci = verify_area (VERIFY_WRITE, array, nsems*sizeof(ushort));
i460ipc/sem.cif (i)
i461ipc/sem.creturn i;
i477ipc/sem.cif ((i = verify_area (VERIFY_READ, array, nsems*sizeof(ushort))))
i478ipc/sem.creturn i;
i480ipc/sem.cfor (i = 0; i < nsems; i++)
i481ipc/sem.cif (sem_io[i] > SEMVMX)
i486ipc/sem.cif ((i = verify_area (VERIFY_WRITE, buf, sizeof(*buf))))
i487ipc/sem.creturn i;
i491ipc/sem.cif ((i = verify_area (VERIFY_READ, buf, sizeof (*buf))))
i492ipc/sem.creturn i;
i506ipc/sem.cfor (i = 0; i < sma->sem_nsems; i++)
i507ipc/sem.csem_io[i] = sma->sem_base[i].semval;
i542ipc/sem.cfor (i = 0; i < nsems; i++)
i543ipc/sem.csma->sem_base[i].semval = sem_io[i];
i545ipc/sem.cfor (i = 0; i < nsems; i++)
i546ipc/sem.cun->semadj[i] = 0;
i559ipc/sem.cint i, id, size, error;
i571ipc/sem.cif ((i = verify_area (VERIFY_READ, tsops, nsops * sizeof(*tsops))))
i572ipc/sem.creturn i;
i579ipc/sem.cfor (i = 0; i < nsops; i++) {
i580ipc/sem.csop = &sops[i];
i668ipc/sem.cint nsems, i;
i698ipc/sem.cfor (i = 0; i < nsems; i++) {
i699ipc/sem.cstruct sem * sem = &sma->sem_base[i];
i700ipc/sem.csem->semval += u->semadj[i];
i78ipc/shm.cint id, i;
i109ipc/shm.cfor (i = 0; i < numpages; shp->shm_pages[i++] = 0);
i166ipc/shm.cint i, numpages;
i184ipc/shm.cfor (i = 0; i < numpages ; i++) {
i186ipc/shm.cpte_val(pte) = shp->shm_pages[i];
i59kernel/dma.cint i, len = 0;
i61kernel/dma.cfor (i = 0 ; i < MAX_DMA_CHANNELS ; i++) {
i62kernel/dma.cif (dma_chan_busy[i].lock) {
i64kernel/dma.ci,
i65kernel/dma.cdma_chan_busy[i].device_id);
i90kernel/exit.cint i;
i98kernel/exit.cfor (i=1 ; i<NR_TASKS ; i++)
i99kernel/exit.cif (task[i] == p) {
i101kernel/exit.ctask[i] = NULL;
i123kernel/exit.cint   i;
i127kernel/exit.cfor (i=0 ; i<NR_TASKS ; i++)
i128kernel/exit.cif (task[i] == p)
i144kernel/exit.cint  i;
i146kernel/exit.cfor (i=1 ; i<NR_TASKS ; i++) {
i147kernel/exit.cif (!task[i])
i149kernel/exit.cif (bad_task_ptr(task[i]->p_pptr))
i151kernel/exit.ctask[i]->pid);
i152kernel/exit.cif (bad_task_ptr(task[i]->p_cptr))
i154kernel/exit.ctask[i]->pid);
i155kernel/exit.cif (bad_task_ptr(task[i]->p_ysptr))
i157kernel/exit.ctask[i]->pid);
i158kernel/exit.cif (bad_task_ptr(task[i]->p_osptr))
i160kernel/exit.ctask[i]->pid);
i161kernel/exit.cif (task[i]->p_pptr == task[i])
i163kernel/exit.ctask[i]->pid);
i164kernel/exit.cif (task[i]->p_cptr == task[i])
i166kernel/exit.ctask[i]->pid);
i167kernel/exit.cif (task[i]->p_ysptr == task[i])
i169kernel/exit.ctask[i]->pid);
i170kernel/exit.cif (task[i]->p_osptr == task[i])
i172kernel/exit.ctask[i]->pid);
i173kernel/exit.cif (task[i]->p_osptr) {
i174kernel/exit.cif (task[i]->p_pptr != task[i]->p_osptr->p_pptr)
i177kernel/exit.ctask[i]->pid, task[i]->p_osptr->pid,
i178kernel/exit.ctask[i]->p_osptr->p_pptr->pid);
i179kernel/exit.cif (task[i]->p_osptr->p_ysptr != task[i])
i182kernel/exit.ctask[i]->pid, task[i]->p_osptr->pid);
i184kernel/exit.cif (task[i]->p_ysptr) {
i185kernel/exit.cif (task[i]->p_pptr != task[i]->p_ysptr->p_pptr)
i188kernel/exit.ctask[i]->pid, task[i]->p_osptr->pid,
i189kernel/exit.ctask[i]->p_osptr->p_pptr->pid);
i190kernel/exit.cif (task[i]->p_ysptr->p_osptr != task[i])
i193kernel/exit.ctask[i]->pid, task[i]->p_ysptr->pid);
i195kernel/exit.cif (task[i]->p_cptr) {
i196kernel/exit.cif (task[i]->p_cptr->p_pptr != task[i])
i199kernel/exit.ctask[i]->pid, task[i]->p_cptr->pid);
i200kernel/exit.cif (task[i]->p_cptr->p_ysptr)
i203kernel/exit.ctask[i]->pid, task[i]->p_cptr->pid);
i375kernel/exit.cint i;
i376kernel/exit.cfor (i=0 ; i<NR_OPEN ; i++) {
i377kernel/exit.cstruct file * filp = files->fd[i];
i380kernel/exit.cfiles->fd[i] = NULL;
i35kernel/fork.cint i;
i53kernel/fork.cfor (i = 0 ; i < NR_TASKS ; i++) {
i54kernel/fork.cif (!task[i])
i55kernel/fork.creturn i;
i160kernel/fork.cint i;
i172kernel/fork.cfor (i = 0; i < NR_OPEN; i++) {
i173kernel/fork.cstruct file * f = current->files->fd[i];
i176kernel/fork.ctsk->files->fd[i] = f;
i117kernel/itimer.cregister unsigned long i, j;
i120kernel/itimer.ci = tvtojiffies(&value->it_interval);
i128kernel/itimer.ccurrent->it_real_incr = i;
i131kernel/itimer.ci = j + jiffies;
i133kernel/itimer.cif (i < j)
i134kernel/itimer.ci = ULONG_MAX;
i135kernel/itimer.ccurrent->real_timer.expires = i;
i142kernel/itimer.ccurrent->it_virt_incr = i;
i148kernel/itimer.ccurrent->it_prof_incr = i;
i73kernel/module.cint i;
i75kernel/module.cfor (i = 0, sym = symbol_table.symbol; sym->name; ++sym, ++i)
i77kernel/module.csymbol_table.n_symbols = i;
i197kernel/module.cint i;
i227kernel/module.cfor (sym = &(newtab->symbol[0]), i = 0; i < newtab->n_symbols; ++sym, ++i) {
i246kernel/module.cfor (ref = (struct module_ref *)sym, i = 0;
i247kernel/module.ci < newtab->n_refs; ++ref, ++i) {
i343kernel/module.cint i;
i359kernel/module.cif ((i = verify_area(VERIFY_WRITE, to, nmodsyms * sizeof(*table))))
i360kernel/module.creturn i;
i372kernel/module.cfor (i = mp->symtab->n_symbols,
i374kernel/module.ci > 0; --i, ++from, ++to) {
i395kernel/module.cint i;
i397kernel/module.ci = 0;
i398kernel/module.cfor (i = 0 ; (buf[i] = get_user(user_name + i)) != '\0' ; ) {
i399kernel/module.cif (++i >= MOD_MAX_NAME)
i491kernel/module.cint i;
i504kernel/module.ci = 20;
i507kernel/module.ci--;
i510kernel/module.ci -= strlen(size);
i511kernel/module.cif (i <= 0)
i512kernel/module.ci = 1;
i513kernel/module.cwhile (--i >= 0)
i563kernel/module.cint i;
i573kernel/module.cfor (i = mp->symtab->n_symbols,
i575kernel/module.ci > 0; --i, ++sym) {
i34kernel/panic.cint i;
i54kernel/panic.cfor(i = 0; i < (panic_timeout*1000); i++)
i63kernel/printk.cunsigned long i, j, count;
i91kernel/printk.ci = 0;
i92kernel/printk.cwhile (log_size && i < len) {
i100kernel/printk.ci++;
i104kernel/printk.creturn i;
i122kernel/printk.cfor (i = 0; i < count; i++) {
i128kernel/printk.creturn i;
i153kernel/printk.cint i;
i161kernel/printk.ci = vsprintf(buf + 3, fmt, args); /* hopefully i < sizeof(buf)-4 */
i162kernel/printk.cbuf_end = buf + 3 + i;
i204kernel/printk.creturn i;
i215kernel/printk.cint  i,j;
i223kernel/printk.cfor (i=0,j=0; i < log_size; i++) {
i226kernel/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];
i125kernel/resource.cint i;
i127kernel/resource.cfor (i = 1; i < ints[0]; i += 2)
i128kernel/resource.crequest_region(ints[i], ints[i+1], "reserved");
i138kernel/sched.cint i;
i139kernel/sched.cfor (i=0;i<smp_num_cpus;i++)
i141kernel/sched.cif (0==current_set[cpu_logical_map[i]]->pid) 
i143kernel/sched.csmp_message_pass(cpu_logical_map[i], MSG_RESCHEDULE, 0L, 0);
i942kernel/sched.cint i = cpu_logical_map[j];
i946kernel/sched.cif (test_bit(i,&smp_idle_map)) 
i947kernel/sched.csmp_idle_count[i]++;
i949kernel/sched.cp = current_set[i];
i957kernel/sched.cif (cpu == i) {
i960kernel/sched.c} else if (smp_proc_in_lock[i]) {
i979kernel/sched.cif (i==cpu)
i982kernel/sched.csmp_message_pass(i, MSG_RESCHEDULE, 0L, 0);
i1417kernel/sched.cint i;
i1428kernel/sched.cfor (i=0 ; i<NR_TASKS ; i++)
i1429kernel/sched.cif (task[i])
i1430kernel/sched.cshow_task(i,task[i]);
i710kernel/sys.cint i;
i714kernel/sys.ci = verify_area(VERIFY_WRITE, grouplist, sizeof(gid_t) * gidsetsize);
i715kernel/sys.cif (i)
i716kernel/sys.creturn i;
i719kernel/sys.cfor (i = 0 ; (i < NGROUPS) && (*groups != NOGROUP) ; i++, groups++) {
i722kernel/sys.cif (i >= gidsetsize)
i727kernel/sys.creturn(i);
i732kernel/sys.cint  i;
i738kernel/sys.ci = verify_area(VERIFY_READ, grouplist, sizeof(gid_t) * gidsetsize);
i739kernel/sys.cif (i)
i740kernel/sys.creturn i;
i741kernel/sys.cfor (i = 0; i < gidsetsize; i++, grouplist++) {
i742kernel/sys.ccurrent->groups[i] = get_user(grouplist);
i744kernel/sys.cif (i < NGROUPS)
i745kernel/sys.ccurrent->groups[i] = NOGROUP;
i751kernel/sys.cint  i;
i756kernel/sys.cfor (i = 0; i < NGROUPS; i++) {
i757kernel/sys.cif (current->groups[i] == NOGROUP)
i759kernel/sys.cif (current->groups[i] == grp)
i845kernel/sys.cint i;
i849kernel/sys.ci = verify_area(VERIFY_WRITE, name, len);
i850kernel/sys.cif (i)
i851kernel/sys.creturn i;
i852kernel/sys.ci = 1+strlen(system_utsname.nodename);
i853kernel/sys.cif (i > len)
i854kernel/sys.ci = len;
i855kernel/sys.cmemcpy_tofs(name, system_utsname.nodename, i);
i220kernel/sysctl.cint  i;
i225kernel/sysctl.cfor (i = 0; i < NGROUPS; i++) {
i226kernel/sysctl.cif (current->groups[i] == NOGROUP)
i228kernel/sysctl.cif (current->groups[i] == grp)
i542kernel/sysctl.cint *i, vleft, first=1, len, left, neg, val;
i552kernel/sysctl.ci = (int *) table->data;
i556kernel/sysctl.cfor (; left && vleft--; i++, first=0) {
i583kernel/sysctl.c*i = val;
i588kernel/sysctl.csprintf(p, "%d", *i);
i617kernel/sysctl.cint *i, *min, *max, vleft, first=1, len, left, neg, val;
i627kernel/sysctl.ci = (int *) table->data;
i633kernel/sysctl.cfor (; left && vleft--; i++, first=0) {
i665kernel/sysctl.c*i = val;
i670kernel/sysctl.csprintf(p, "%d", *i);
i764kernel/sysctl.cint i, length, *vec, *min, *max;
i781kernel/sysctl.cfor (i = 0; i < length; i++) {
i782kernel/sysctl.cint value = get_user(vec + i);
i783kernel/sysctl.cif (min && value < min[i])
i785kernel/sysctl.cif (max && value > max[i])
i47kernel/time.cint i;
i49kernel/time.ci = CURRENT_TIME;
i54kernel/time.cput_user(i,tloc);
i56kernel/time.creturn i;
i287lib/inflate.cregister unsigned i;          /* counter, current code */
i306lib/inflate.cp = b;  i = n;
i308lib/inflate.cTracecv(*p, (stderr, (n-i >= ' ' && n-i <= '~' ? "%c %d\n" : "0x%x %d\n"), 
i309lib/inflate.cn-i, *p));
i312lib/inflate.c} while (--i);
i330lib/inflate.cfor (i = BMAX; i; i--)
i331lib/inflate.cif (c[i])
i333lib/inflate.cg = i;                        /* maximum code length */
i334lib/inflate.cif ((unsigned)l > i)
i335lib/inflate.cl = i;
i341lib/inflate.cfor (y = 1 << j; j < i; j++, y <<= 1)
i344lib/inflate.cif ((y -= c[i]) < 0)
i346lib/inflate.cc[i] += y;
i353lib/inflate.cwhile (--i) {                 /* note that i == g from above */
i360lib/inflate.cp = b;  i = 0;
i363lib/inflate.cv[x[j]++] = i;
i364lib/inflate.c} while (++i < n);
i369lib/inflate.cx[0] = i = 0;                 /* first Huffman code is zero */
i429lib/inflate.cx[h] = i;             /* save pattern for backing up */
i433lib/inflate.cj = i >> (w - l);     /* (get around Turbo C bug) */
i459lib/inflate.cfor (j = i >> w; j < z; j += f)
i463lib/inflate.cfor (j = 1 << (k - 1); i & j; j >>= 1)
i464lib/inflate.ci ^= j;
i465lib/inflate.ci ^= j;
i468lib/inflate.cwhile ((i & ((1 << w) - 1)) != x[h])
i677lib/inflate.cint i;                /* temporary variable */
i687lib/inflate.cfor (i = 0; i < 144; i++)
i688lib/inflate.cl[i] = 8;
i689lib/inflate.cfor (; i < 256; i++)
i690lib/inflate.cl[i] = 9;
i691lib/inflate.cfor (; i < 280; i++)
i692lib/inflate.cl[i] = 7;
i693lib/inflate.cfor (; i < 288; i++)          /* make a complete, but wrong code set */
i694lib/inflate.cl[i] = 8;
i696lib/inflate.cif ((i = huft_build(l, 288, 257, cplens, cplext, &tl, &bl)) != 0)
i697lib/inflate.creturn i;
i701lib/inflate.cfor (i = 0; i < 30; i++)      /* make an incomplete code set */
i702lib/inflate.cl[i] = 5;
i704lib/inflate.cif ((i = huft_build(l, 30, 0, cpdist, cpdext, &td, &bd)) > 1)
i709lib/inflate.creturn i;
i729lib/inflate.cint i;                /* temporary variables */
i789lib/inflate.cif ((i = huft_build(ll, 19, 19, NULL, NULL, &tl, &bl)) != 0)
i791lib/inflate.cif (i == 1)
i793lib/inflate.creturn i;                   /* incomplete code set */
i801lib/inflate.ci = l = 0;
i802lib/inflate.cwhile ((unsigned)i < n)
i809lib/inflate.cll[i++] = l = j;          /* save last length in l */
i815lib/inflate.cif ((unsigned)i + j > n)
i818lib/inflate.cll[i++] = l;
i825lib/inflate.cif ((unsigned)i + j > n)
i828lib/inflate.cll[i++] = 0;
i836lib/inflate.cif ((unsigned)i + j > n)
i839lib/inflate.cll[i++] = 0;
i859lib/inflate.cif ((i = huft_build(ll, nl, 257, cplens, cplext, &tl, &bl)) != 0)
i862lib/inflate.cif (i == 1) {
i866lib/inflate.creturn i;                   /* incomplete code set */
i870lib/inflate.cif ((i = huft_build(ll + nl, nd, 0, cpdist, cpdext, &td, &bd)) != 0)
i873lib/inflate.cif (i == 1) {
i876lib/inflate.ci = 0;
i882lib/inflate.creturn i;                   /* incomplete code set */
i1020lib/inflate.cint i;                /* counter for all possible eight bit values */
i1028lib/inflate.cfor (i = 0; i < sizeof(p)/sizeof(int); i++)
i1029lib/inflate.ce |= 1L << (31 - p[i]);
i1033lib/inflate.cfor (i = 1; i < 256; i++)
i1036lib/inflate.cfor (k = i | 256; k != 1; k >>= 1)
i1042lib/inflate.ccrc_32_tab[i] = c;
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;
i258mm/kmalloc.cint i, sz;
i271mm/kmalloc.cfor (i = NBLOCKS(order), p = BH(page + 1); i > 1; i--, p = p->bh_next) {
i130mm/memory.cint i;
i139mm/memory.cfor (i = 0 ; i < USER_PTRS_PER_PGD ; i++)
i140mm/memory.cfree_one_pgd(page_dir + i);
i152mm/memory.cint i;
i164mm/memory.cfor (i = 0 ; i < USER_PTRS_PER_PGD ; i++)
i165mm/memory.cfree_one_pgd(page_dir + i);
i266mm/page_alloc.cint i;
i272mm/page_alloc.ci = (end_mem - PAGE_OFFSET) >> (PAGE_SHIFT+7);
i273mm/page_alloc.cif (i < 16)
i274mm/page_alloc.ci = 16;
i275mm/page_alloc.cmin_free_pages = i;
i276mm/page_alloc.cfree_pages_low = i + (i>>1);
i277mm/page_alloc.cfree_pages_high = i + i;
i289mm/page_alloc.cfor (i = 0 ; i < NR_MEM_LISTS ; i++) {
i291mm/page_alloc.cinit_mem_queue(&free_area[i].list);
i294mm/page_alloc.cbitmap_size = (end_mem - PAGE_OFFSET) >> (PAGE_SHIFT + i);
i297mm/page_alloc.cfree_area[i].map = (unsigned int *) start_mem;
i76mm/page_io.cint i;
i94mm/page_io.cfor (i=0, j=0; j< PAGE_SIZE ; i++, j += 512){
i95mm/page_io.cif (!(zones[i] = swapf->i_op->smap(swapf,block++))) {
i105mm/page_io.cfor (i=0, j=0; j< PAGE_SIZE ; i++, j +=swapf->i_sb->s_blocksize)
i106mm/page_io.cif (!(zones[i] = bmap(swapf,block++))) {
i110mm/page_io.cll_rw_swap_file(rw,swapf->i_dev, zones, i,buf);
i82mm/swap.cint i;
i83mm/swap.cfor (i=0; i < ints[0] && i < 8; i++) {
i84mm/swap.cif (ints[i+1])
i85mm/swap.c*(swap_vars[i]) = ints[i+1];
i100mm/swap.cint i;
i101mm/swap.cfor (i=0; i < ints[0] && i < 6; i++) {
i102mm/swap.cif (ints[i+1])
i103mm/swap.c*(buff_vars[i]) = ints[i+1];
i319mm/swapfile.cint i, type, prev;
i323mm/swapfile.ci = namei(specialfile,&inode);
i324mm/swapfile.cif (i)
i325mm/swapfile.creturn i;
i355mm/swapfile.ci = try_to_unuse(type);
i356mm/swapfile.cif (i) {
i359mm/swapfile.creturn i;
i397mm/swapfile.cint i, j, prev;
i453mm/swapfile.cfor (i = 0 ; i < nr_swapfiles ; i++) {
i454mm/swapfile.cif (i == type)
i456mm/swapfile.cif (p->swap_device == swap_info[i].swap_device)
i477mm/swapfile.cfor (i = 1 ; i < 8*PAGE_SIZE ; i++) {
i478mm/swapfile.cif (test_bit(i,p->swap_lockmap)) {
i480mm/swapfile.cp->lowest_bit = i;
i481mm/swapfile.cp->highest_bit = i;
i482mm/swapfile.cp->max = i+1;
i496mm/swapfile.cfor (i = 1 ; i < p->max ; i++) {
i497mm/swapfile.cif (test_bit(i,p->swap_lockmap))
i498mm/swapfile.cp->swap_map[i] = 0;
i500mm/swapfile.cp->swap_map[i] = 0x80;
i511mm/swapfile.cfor (i = swap_list.head; i >= 0; i = swap_info[i].next) {
i512mm/swapfile.cif (p->prio >= swap_info[i].prio) {
i515mm/swapfile.cprev = i;
i517mm/swapfile.cp->next = i;
i541mm/swapfile.cunsigned int i, j;
i544mm/swapfile.cfor (i = 0; i < nr_swapfiles; i++) {
i545mm/swapfile.cif ((swap_info[i].flags & SWP_WRITEOK) != SWP_WRITEOK)
i547mm/swapfile.cfor (j = 0; j < swap_info[i].max; ++j)
i548mm/swapfile.cswitch (swap_info[i].swap_map[j]) {
i335mm/vmscan.cint i=6;
i340mm/vmscan.cif (shrink_mmap(i, dma))
i344mm/vmscan.cif (shm_swap(i, dma))
i348mm/vmscan.cif (swap_out(i, dma, wait))
i351mm/vmscan.c} while (i--);
i363mm/vmscan.cint i;
i392mm/vmscan.cs++, i = e - s;
i394mm/vmscan.cs = revision, i = -1;
i395mm/vmscan.cprintk ("Started kswapd v%.*s\n", i, s);
i404mm/vmscan.cfor (i=0; i < kswapd_ctl.maxpages; i++)
i124net/802/tr.cint i;
i135net/802/tr.cfor(i=0,hash=0;i<TR_ALEN;hash+=trh->daddr[i++]);
i165net/802/tr.cint i;
i171net/802/tr.cfor(i=0,hash=0;i<TR_ALEN;hash+=trh->saddr[i++]);
i218net/802/tr.cint i;
i224net/802/tr.cfor(i=0; i < RIF_TABLE_SIZE;i++) {
i226net/802/tr.crif_cache entry, *pentry=rif_table+i;  
i249net/802/tr.cint size,i;
i258net/802/tr.cfor(i=0;i < RIF_TABLE_SIZE;i++) {
i259net/802/tr.cfor(entry=rif_table[i];entry;entry=entry->next) {
i826net/appletalk/aarp.cint i;
i835net/appletalk/aarp.cfor (i = 0; i < AARP_HASH_SIZE; i++)
i837net/appletalk/aarp.cfree_entry_list(resolved[i]);
i838net/appletalk/aarp.cfree_entry_list(unresolved[i]);
i1572net/ax25/af_ax25.cunsigned char ndigi, i;
i1594net/ax25/af_ax25.cfor (i = 0; i < ndigi; i++)
i1595net/ax25/af_ax25.csax->fsa_digipeater[i] = sk->ax25->digipeat->calls[i];
i237net/ax25/ax25_route.cint i, err;
i259net/ax25/ax25_route.cfor (i = 0; i < route.digi_count; i++) {
i260net/ax25/ax25_route.cax25_rt->digipeat->repeated[i] = 0;
i261net/ax25/ax25_route.cax25_rt->digipeat->calls[i]    = route.digi_addr[i];
i284net/ax25/ax25_route.cfor (i = 0; i < route.digi_count; i++) {
i285net/ax25/ax25_route.cax25_rt->digipeat->repeated[i] = 0;
i286net/ax25/ax25_route.cax25_rt->digipeat->calls[i]    = route.digi_addr[i];
i372net/ax25/ax25_route.cint i;
i418net/ax25/ax25_route.cfor (i = 0; i < ax25_rt->digipeat->ndigi; i++)
i419net/ax25/ax25_route.clen += sprintf(buffer + len, " %s", ax2asc(&ax25_rt->digipeat->calls[i]));
i689net/core/dev.cint i;
i707net/core/dev.cfor(i = 0;i < DEV_NUMBUFFS; i++,head++)
i724net/core/dev.cdev_queue_xmit(skb,dev,-i - 1);
i1364net/core/dev.cint i;
i1365net/core/dev.cfor (i = 0; i < DEV_NUMBUFFS; i++)  {
i1366net/core/dev.cskb_queue_head_init(dev->buffs + i);
i150net/core/firewall.cint i;
i151net/core/firewall.cfor(i=0;i<NPROTO;i++)
i152net/core/firewall.cfirewall_policy[i]=FW_ACCEPT;
i249net/core/net_alias.cint i;
i293net/core/net_alias.cfor (i = 0; i < DEV_NUMBUFFS; i++)
i294net/core/net_alias.cskb_queue_head_init(&dev->buffs[i]);
i113net/core/skbuff.cint i = 0;
i114net/core/skbuff.cwhile (skb2 != skb && i < 5) {
i119net/core/skbuff.ci++;
i145net/ipv4/af_inet.cint i, j;
i161net/ipv4/af_inet.cfor(i=0; i < SOCK_ARRAY_SIZE; i++) 
i164net/ipv4/af_inet.csk = prot->sock_array[(i+base+1) &(SOCK_ARRAY_SIZE -1)];
i172net/ipv4/af_inet.cstart =(i+1+start )%1024;
i173net/ipv4/af_inet.creturn(i+base+1);
i177net/ipv4/af_inet.cbest = i;
i1465net/ipv4/af_inet.cint i;
i1482net/ipv4/af_inet.cfor(i = 0; i < SOCK_ARRAY_SIZE; i++) 
i1484net/ipv4/af_inet.ctcp_prot.sock_array[i] = NULL;
i1485net/ipv4/af_inet.cudp_prot.sock_array[i] = NULL;
i1486net/ipv4/af_inet.craw_prot.sock_array[i] = NULL;
i397net/ipv4/arp.cint i;
i406net/ipv4/arp.cfor (i = 0; i < ARP_TABLE_SIZE; i++)
i408net/ipv4/arp.cpentry = &arp_tables[i];
i501net/ipv4/arp.cint rv, i;
i546net/ipv4/arp.ci = HASH(entry->ip);
i548net/ipv4/arp.centry->next = arp_tables[i]->next;
i549net/ipv4/arp.carp_tables[i]->next = entry;
i592net/ipv4/arp.cint i;
i601net/ipv4/arp.cfor (i = 0; i < ARP_TABLE_SIZE; i++)
i606net/ipv4/arp.cpentry = &arp_tables[i];
i773net/ipv4/arp.cint i;
i787net/ipv4/arp.cfor (i = 0; i < FULL_ARP_TABLE_SIZE; i++)
i790net/ipv4/arp.cstruct arp_table **pentry = &arp_tables[i];
i1540net/ipv4/arp.cint i,j,k;
i1550net/ipv4/arp.cfor(i=0; i<FULL_ARP_TABLE_SIZE; i++)
i1552net/ipv4/arp.cfor(entry=arp_tables[i]; entry!=NULL; entry=entry->next)
i92net/ipv4/igmp.cstruct ip_router_info *i=(struct ip_router_info *)data;
i94net/ipv4/igmp.cdel_timer(&i->timer);
i95net/ipv4/igmp.ci->type=IGMP_NEW_ROUTER;  /* Revert to new multicast router */
i96net/ipv4/igmp.ci->time=0;
i111net/ipv4/igmp.cregister struct ip_router_info *i;
i113net/ipv4/igmp.cfor(i=ip_router_info_head;i!=NULL;i=i->next)
i115net/ipv4/igmp.cif (i->dev == dev)
i117net/ipv4/igmp.creturn i;
i125net/ipv4/igmp.ci=(struct ip_router_info *)kmalloc(sizeof(*i), GFP_ATOMIC);
i126net/ipv4/igmp.cif(i==NULL)
i128net/ipv4/igmp.ci->dev = dev;
i129net/ipv4/igmp.ci->type = IGMP_NEW_ROUTER;
i130net/ipv4/igmp.ci->time = IGMP_AGE_THRESHOLD;
i131net/ipv4/igmp.ci->next = ip_router_info_head;
i132net/ipv4/igmp.cip_router_info_head = i;
i134net/ipv4/igmp.cinit_timer(&i->timer);
i135net/ipv4/igmp.ci->timer.data=(unsigned long)i;
i136net/ipv4/igmp.ci->timer.function=&ip_router_timer_expire;
i138net/ipv4/igmp.creturn i;
i147net/ipv4/igmp.cregister struct ip_router_info *i;
i149net/ipv4/igmp.cfor(i=ip_router_info_head;i!=NULL;i=i->next)
i151net/ipv4/igmp.cif (i->dev == dev)
i153net/ipv4/igmp.cif(i->type==IGMP_OLD_ROUTER)
i155net/ipv4/igmp.cdel_timer(&i->timer);
i158net/ipv4/igmp.ci->type = type;
i159net/ipv4/igmp.ci->time = time;
i161net/ipv4/igmp.cif(i->type==IGMP_OLD_ROUTER)
i163net/ipv4/igmp.ci->timer.expires=jiffies+i->time*HZ;
i164net/ipv4/igmp.cadd_timer(&i->timer);
i166net/ipv4/igmp.creturn i;
i173net/ipv4/igmp.ci=(struct ip_router_info *)kmalloc(sizeof(*i), GFP_ATOMIC);
i174net/ipv4/igmp.cif(i==NULL)
i176net/ipv4/igmp.ci->dev = dev;
i177net/ipv4/igmp.ci->type = type;
i178net/ipv4/igmp.ci->time = time;
i179net/ipv4/igmp.ci->next = ip_router_info_head;
i180net/ipv4/igmp.cip_router_info_head = i;
i182net/ipv4/igmp.cinit_timer(&i->timer);
i183net/ipv4/igmp.ci->timer.data=(unsigned long)i;
i184net/ipv4/igmp.ci->timer.function=&ip_router_timer_expire;
i185net/ipv4/igmp.cif(i->type==IGMP_OLD_ROUTER)
i187net/ipv4/igmp.ci->timer.expires=jiffies+i->time*HZ;
i188net/ipv4/igmp.cadd_timer(&i->timer);
i191net/ipv4/igmp.creturn i;
i489net/ipv4/igmp.cstruct ip_mc_list *i;
i490net/ipv4/igmp.cfor(i=dev->ip_mc_list;i!=NULL;i=i->next)
i492net/ipv4/igmp.cif(i->multiaddr==addr)
i494net/ipv4/igmp.ci->users++;
i498net/ipv4/igmp.ci=(struct ip_mc_list *)kmalloc(sizeof(*i), GFP_KERNEL);
i499net/ipv4/igmp.cif(!i)
i501net/ipv4/igmp.ci->users=1;
i502net/ipv4/igmp.ci->interface=dev;
i503net/ipv4/igmp.ci->multiaddr=addr;
i504net/ipv4/igmp.ci->next=dev->ip_mc_list;
i505net/ipv4/igmp.cigmp_group_added(i);
i506net/ipv4/igmp.cdev->ip_mc_list=i;
i515net/ipv4/igmp.cstruct ip_mc_list **i;
i516net/ipv4/igmp.cfor(i=&(dev->ip_mc_list);(*i)!=NULL;i=&(*i)->next)
i518net/ipv4/igmp.cif((*i)->multiaddr==addr)
i520net/ipv4/igmp.cif(--((*i)->users) == 0)
i522net/ipv4/igmp.cstruct ip_mc_list *tmp= *i;
i524net/ipv4/igmp.c*i=(*i)->next;
i538net/ipv4/igmp.cstruct ip_mc_list *i;
i540net/ipv4/igmp.cfor(i=dev->ip_mc_list;i!=NULL;i=j)
i542net/ipv4/igmp.cj=i->next;
i543net/ipv4/igmp.ckfree_s(i,sizeof(*i));
i554net/ipv4/igmp.cstruct ip_mc_list *i;
i555net/ipv4/igmp.cfor(i=dev->ip_mc_list;i!=NULL;i=i->next)
i556net/ipv4/igmp.cif(i->multiaddr==IGMP_ALL_HOSTS)
i558net/ipv4/igmp.ci=(struct ip_mc_list *)kmalloc(sizeof(*i), GFP_KERNEL);
i559net/ipv4/igmp.cif(!i)
i561net/ipv4/igmp.ci->users=1;
i562net/ipv4/igmp.ci->interface=dev;
i563net/ipv4/igmp.ci->multiaddr=IGMP_ALL_HOSTS;
i564net/ipv4/igmp.ci->tm_running=0;
i565net/ipv4/igmp.ci->next=dev->ip_mc_list;
i566net/ipv4/igmp.cdev->ip_mc_list=i;
i567net/ipv4/igmp.cip_mc_filter_add(i->interface, i->multiaddr);
i578net/ipv4/igmp.cint i;
i589net/ipv4/igmp.cfor(i=0;i<IP_MAX_MEMBERSHIPS;i++)
i591net/ipv4/igmp.cif(sk->ip_mc_list->multiaddr[i]==addr && sk->ip_mc_list->multidev[i]==dev)
i593net/ipv4/igmp.cif(sk->ip_mc_list->multidev[i]==NULL)
i594net/ipv4/igmp.cunused=i;
i611net/ipv4/igmp.cint i;
i619net/ipv4/igmp.cfor(i=0;i<IP_MAX_MEMBERSHIPS;i++)
i621net/ipv4/igmp.cif(sk->ip_mc_list->multiaddr[i]==addr && sk->ip_mc_list->multidev[i]==dev)
i623net/ipv4/igmp.csk->ip_mc_list->multidev[i]=NULL;
i637net/ipv4/igmp.cint i;
i642net/ipv4/igmp.cfor(i=0;i<IP_MAX_MEMBERSHIPS;i++)
i644net/ipv4/igmp.cif(sk->ip_mc_list->multidev[i])
i646net/ipv4/igmp.cip_mc_dec_group(sk->ip_mc_list->multidev[i], sk->ip_mc_list->multiaddr[i]);
i647net/ipv4/igmp.csk->ip_mc_list->multidev[i]=NULL;
i405net/ipv4/ip_fragment.cint i, ihl, end;
i511net/ipv4/ip_fragment.ci = prev->end - offset;
i512net/ipv4/ip_fragment.coffset += i;  /* ptr into datagram */
i513net/ipv4/ip_fragment.cptr += i;  /* ptr into fragment data */
i527net/ipv4/ip_fragment.ci = end - next->offset;      /* overlap is 'i' bytes */
i528net/ipv4/ip_fragment.ctmp->len -= i;        /* so reduce size of  */
i529net/ipv4/ip_fragment.ctmp->offset += i;      /* next fragment  */
i530net/ipv4/ip_fragment.ctmp->ptr += i;
i949net/ipv4/ip_fw.cstruct ip_fw *i;
i958net/ipv4/ip_fw.ci = ip_fw_in_chain;
i963net/ipv4/ip_fw.ci = ip_fw_out_chain;
i968net/ipv4/ip_fw.ci = ip_fw_fwd_chain;
i975net/ipv4/ip_fw.ci = ip_acct_chain;
i981net/ipv4/ip_fw.ci = NULL;
i989net/ipv4/ip_fw.cwhile(i!=NULL)
i992net/ipv4/ip_fw.cntohl(i->fw_src.s_addr),ntohl(i->fw_smsk.s_addr),
i993net/ipv4/ip_fw.cntohl(i->fw_dst.s_addr),ntohl(i->fw_dmsk.s_addr),
i994net/ipv4/ip_fw.c(i->fw_vianame)[0] ? i->fw_vianame : "-",
i995net/ipv4/ip_fw.cntohl(i->fw_via.s_addr),i->fw_flg);
i997net/ipv4/ip_fw.ci->fw_nsp,i->fw_ndp, i->fw_pcnt,i->fw_bcnt);
i999net/ipv4/ip_fw.clen+=sprintf(buffer+len, " %u", i->fw_pts[p]);
i1000net/ipv4/ip_fw.clen+=sprintf(buffer+len, " A%02X X%02X", i->fw_tosand, i->fw_tosxor);
i1012net/ipv4/ip_fw.ci->fw_pcnt=0L;
i1013net/ipv4/ip_fw.ci->fw_bcnt=0L;
i1017net/ipv4/ip_fw.ci=i->fw_next;
i641net/ipv4/ipmr.cint i;
i648net/ipv4/ipmr.cfor(i=0;i<MAXVIFS;i++)
i650net/ipv4/ipmr.cif(vifc_map&(1<<i))
i664net/ipv4/ipmr.cfor(i=0;i<MFC_LINES;i++)
i666net/ipv4/ipmr.cwhile(mfc_cache_array[i]!=NULL)
i667net/ipv4/ipmr.cipmr_cache_delete(mfc_cache_array[i]);
i62net/ipv4/proc.cint i;
i82net/ipv4/proc.cfor(i = 0; i < SOCK_ARRAY_SIZE; i++) 
i85net/ipv4/proc.csp = s_array[i];
i114net/ipv4/proc.ci, src, srcp, dest, destp, sp->state, 
i600net/ipv4/route.cint i;
i610net/ipv4/route.cfor (i=logmask-1; i>=0; i--)
i611net/ipv4/route.cif (fib_zones[i])
i614net/ipv4/route.cif (i<0)
i621net/ipv4/route.cfz->fz_next = fib_zones[i]->fz_next;
i622net/ipv4/route.cfib_zones[i]->fz_next = fz;
i774net/ipv4/route.cint i;
i776net/ipv4/route.cfor (i=0; i<RTZ_HASH_DIVISOR; i++)
i777net/ipv4/route.ctmp += rt_flush_list(&fz->fz_hash_table[i], dev);
i813net/ipv4/route.cint i;
i853net/ipv4/route.cfor (i=0; i < maxslot; i++, fp++)
i901net/ipv4/route.cint i;
i916net/ipv4/route.cfor (i = 0; i<RT_HASH_DIVISOR; i++)
i918net/ipv4/route.cfor (r = ip_rt_hash_table[i]; r; r = r->rt_next) 
i1051net/ipv4/route.cint i;
i1057net/ipv4/route.cfor (i=0; i<RT_HASH_DIVISOR; i++)
i1059net/ipv4/route.crthp = &ip_rt_hash_table[i];
i1076net/ipv4/route.cprintk("rt_check_expire clean %02x@%08x\n", i, rth->rt_dst);
i1095net/ipv4/route.cprintk("rt_check_expire bubbled %02x@%08x<->%08x\n", i, rth->rt_dst, rth_next->rt_dst);
i1146net/ipv4/route.cint i;
i1149net/ipv4/route.cfor (i=0; i<RT_HASH_DIVISOR; i++)
i1154net/ipv4/route.cif (!(rth = ip_rt_hash_table[i]))
i1160net/ipv4/route.cip_rt_hash_table[i] = NULL;
i1173net/ipv4/route.cprintk("rt_cache_flush: %d@%02x\n", nr, i);
i1187net/ipv4/route.cint i;
i1194net/ipv4/route.cfor (i=0; i<RT_HASH_DIVISOR; i++)
i1196net/ipv4/route.cif (!ip_rt_hash_table[i])
i1198net/ipv4/route.cfor (rthp=&ip_rt_hash_table[i]; (rth=*rthp); rthp=&rth->rt_next)
i69net/ipv4/utils.cint i;
i72net/ipv4/utils.cfor (i = 0; i < 4; i++) 
i219net/ipx/af_ipx.cipx_interface  *i;
i221net/ipx/af_ipx.cfor (i=ipx_interfaces; 
i222net/ipx/af_ipx.ci && ((i->if_dev!=dev) || (i->if_dlink_type!=datalink)); 
i223net/ipx/af_ipx.ci=i->if_next)
i225net/ipx/af_ipx.creturn i;
i231net/ipx/af_ipx.cipx_interface  *i;
i236net/ipx/af_ipx.cfor (i=ipx_interfaces; i && (i->if_netnum!=net); i=i->if_next)
i239net/ipx/af_ipx.creturn i;
i298net/ipx/af_ipx.cipx_interface  *i;
i321net/ipx/af_ipx.cfor (i = ipx_interfaces; 
i322net/ipx/af_ipx.c(i != NULL) && (i->if_next != intrfc);
i323net/ipx/af_ipx.ci = i->if_next)
i325net/ipx/af_ipx.cif ((i != NULL) && (i->if_next == intrfc)) 
i326net/ipx/af_ipx.ci->if_next = intrfc->if_next;
i346net/ipx/af_ipx.cipx_interface *i, *tmp;
i351net/ipx/af_ipx.cfor (i = ipx_interfaces; i != NULL; ) {
i353net/ipx/af_ipx.ctmp = i->if_next;
i354net/ipx/af_ipx.cif (i->if_dev == dev) 
i355net/ipx/af_ipx.cipxitf_down(i);
i356net/ipx/af_ipx.ci = tmp;
i712net/ipx/af_ipx.cipx_interface  *i;
i736net/ipx/af_ipx.cif ((i=ipxitf_find_using_net(ipx->ipx_source.net))==NULL) 
i745net/ipx/af_ipx.cipx_device_name(i),
i746net/ipx/af_ipx.cipx_frame_name(i->if_dlink_type),
i793net/ipx/af_ipx.cipx_interface  *i;
i799net/ipx/af_ipx.cfor (i = ipx_interfaces; i->if_next != NULL; i = i->if_next)
i801net/ipx/af_ipx.ci->if_next = intrfc;
i1206net/ipx/af_ipx.c__u32 i=length>>1;
i1212net/ipx/af_ipx.cwhile(--i)
i1337net/ipx/af_ipx.cipx_interface  *i;
i1345net/ipx/af_ipx.ci = r->ir_intrfc;
i1346net/ipx/af_ipx.c(void)ipxitf_send(i, skb, (r->ir_routed) ? 
i1418net/ipx/af_ipx.cipx_interface *i;
i1427net/ipx/af_ipx.cfor (i = ipx_interfaces; i != NULL; i = i->if_next) {
i1428net/ipx/af_ipx.clen += sprintf(buffer+len, "%08lX   ", ntohl(i->if_netnum));
i1430net/ipx/af_ipx.ci->if_node[0], i->if_node[1], i->if_node[2],
i1431net/ipx/af_ipx.ci->if_node[3], i->if_node[4], i->if_node[5]);
i1432net/ipx/af_ipx.clen += sprintf(buffer+len, "%-9s", (i == ipx_primary_net) ?
i1434net/ipx/af_ipx.clen += sprintf (buffer+len, "%-11s", ipx_device_name(i));
i1436net/ipx/af_ipx.cipx_frame_name(i->if_dlink_type));
i1462net/ipx/af_ipx.cipx_interface *i;
i1476net/ipx/af_ipx.cfor (i = ipx_interfaces; i != NULL; i = i->if_next) {
i1477net/ipx/af_ipx.cfor (s = i->if_sklist; s != NULL; s = s->next) {
i1491net/ipx/af_ipx.chtonl(i->if_netnum),
i1965net/ipx/af_ipx.cint l,i;
i1969net/ipx/af_ipx.cfor (i=0; i < 8 ; i++, --len) {
i1971net/ipx/af_ipx.c*(p++) = h2c[(d[i] >> 4) & 0x0f];
i1972net/ipx/af_ipx.c*(p++) = h2c[d[i] & 0x0f];
i1983net/ipx/af_ipx.cfor (i=0; i < 8 ; i++, --len)
i1985net/ipx/af_ipx.c*(p++) = ' '<= d[i] && d[i]<'\177' ? d[i] : '.';
i1989net/ipx/af_ipx.cd += i;
i207net/netrom/nr_dev.cint i;
i240net/netrom/nr_dev.cfor (i = 0; i < DEV_NUMBUFFS; i++)
i241net/netrom/nr_dev.cskb_queue_head_init(&dev->buffs[i]);
i74net/netrom/nr_route.cint i, found;
i143net/netrom/nr_route.cfor (found = 0, i = 0; i < nr_node->count; i++) {
i144net/netrom/nr_route.cif (nr_node->routes[i].neighbour == nr_neigh->number) {
i145net/netrom/nr_route.cnr_node->routes[i].quality   = quality;
i146net/netrom/nr_route.cnr_node->routes[i].obs_count = obs_count;
i214net/netrom/nr_route.cfor (i = 0; i < nr_node->count; i++) {
i215net/netrom/nr_route.cif (nr_node->routes[i].neighbour == nr_neigh->number) {
i216net/netrom/nr_route.cif (i < nr_node->which)
i217net/netrom/nr_route.cnr_node->which = i;
i295net/netrom/nr_route.cint i;
i309net/netrom/nr_route.cfor (i = 0; i < nr_node->count; i++) {
i310net/netrom/nr_route.cif (nr_node->routes[i].neighbour == nr_neigh->number) {
i321net/netrom/nr_route.cswitch (i) {
i408net/netrom/nr_route.cint i;
i416net/netrom/nr_route.cfor (i = 0; i < s->count; i++) {
i417net/netrom/nr_route.cswitch (s->routes[i].obs_count) {
i429net/netrom/nr_route.cif (t->number == s->routes[i].neighbour) {
i441net/netrom/nr_route.cswitch (i) {
i452net/netrom/nr_route.cs->routes[i].obs_count--;
i472net/netrom/nr_route.cint i;
i485net/netrom/nr_route.cfor (i = 0; i < t->count; i++) {
i486net/netrom/nr_route.cif (t->routes[i].neighbour == s->number) {
i489net/netrom/nr_route.cswitch (i) {
i717net/netrom/nr_route.cint i;
i730net/netrom/nr_route.cfor (i = 0; i < nr_node->count; i++) {
i732net/netrom/nr_route.cnr_node->routes[i].quality,
i733net/netrom/nr_route.cnr_node->routes[i].obs_count,
i734net/netrom/nr_route.cnr_node->routes[i].neighbour);
i522net/socket.cregister int i;
i523net/socket.cfor (i = 0; i < NPROTO; i++)
i525net/socket.cif (pops[i] == NULL)
i527net/socket.cif (pops[i]->family == family)
i528net/socket.creturn i;
i535net/socket.cint i, fd;
i540net/socket.ci = find_protocol_family(family);
i544net/socket.cif (i < 0)
i549net/socket.ci = find_protocol_family(family);
i553net/socket.cif (i < 0)
i558net/socket.cops = pops[i];
i586net/socket.cif ((i = sock->ops->create(sock, protocol)) < 0) 
i589net/socket.creturn(i);
i609net/socket.cint fd1, fd2, i;
i638net/socket.cif ((i = sock1->ops->socketpair(sock1, sock2)) < 0) 
i642net/socket.creturn(i);
i675net/socket.cint i;
i688net/socket.cif ((i = sock->ops->bind(sock, (struct sockaddr *)address, addrlen)) < 0) 
i690net/socket.creturn(i);
i737net/socket.cint i;
i762net/socket.cif ((i = sock->ops->dup(newsock, sock)) < 0) 
i765net/socket.creturn(i);
i768net/socket.ci = newsock->ops->accept(sock, newsock, file->f_flags);
i769net/socket.cif ( i < 0) 
i772net/socket.creturn(i);
i800net/socket.cint i;
i834net/socket.ci = sock->ops->connect(sock, (struct sockaddr *)address, addrlen, file->f_flags);
i835net/socket.cif (i < 0) 
i837net/socket.creturn(i);
i1321net/socket.cint i;
i1324net/socket.cfor(i = 0; i < NPROTO; i++) 
i1326net/socket.cif (pops[i] != NULL) 
i1328net/socket.cpops[i] = ops;
i1329net/socket.cpops[i]->family = family;
i1331net/socket.creturn(i);
i1345net/socket.cint i;
i1348net/socket.cfor(i = 0; i < NPROTO; i++) 
i1350net/socket.cif (pops[i] == NULL) 
i1352net/socket.cif (pops[i]->family == family)
i1354net/socket.cpops[i]=NULL;
i1356net/socket.creturn(i);
i1381net/socket.cint i;
i1389net/socket.cfor (i = 0; i < NPROTO; ++i) pops[i] = NULL;
i122net/unix/af_unix.cstatic unix_socket *unix_find_socket(struct inode *i)
i129net/unix/af_unix.cif(s->protinfo.af_unix.inode==i)
i723net/unix/af_unix.cint i;
i735net/unix/af_unix.cfor(i=0; i< num; i++)
i739net/unix/af_unix.cfd = fdp[i];  
i750net/unix/af_unix.cfor(i=0; i< num; i++)
i752net/unix/af_unix.cfp[i]=current->files->fd[fdp[i]];
i753net/unix/af_unix.cfp[i]->f_count++;
i754net/unix/af_unix.cunix_inflight(fp[i]);
i766net/unix/af_unix.cint i;
i767net/unix/af_unix.cfor(i=0;i<num;i++)
i769net/unix/af_unix.cclose_fp(fp[i]);
i770net/unix/af_unix.cunix_notinflight(fp[i]);
i783net/unix/af_unix.cint i;
i785net/unix/af_unix.cfor (i=0;i<NR_OPEN;i++)
i787net/unix/af_unix.cif(current->files->fd[i])
i791net/unix/af_unix.ci=NR_OPEN;
i792net/unix/af_unix.cif(i>current->rlim[RLIMIT_NOFILE].rlim_cur)
i793net/unix/af_unix.ci=current->rlim[RLIMIT_NOFILE].rlim_cur;
i794net/unix/af_unix.cif(n>=i)
i796net/unix/af_unix.creturn i-n;
i806net/unix/af_unix.cint i;
i838net/unix/af_unix.cfor(i=0;i<cmnum;i++)
i845net/unix/af_unix.cufp[ufn]=fp[i];
i848net/unix/af_unix.cunix_notinflight(fp[i]);
i853net/unix/af_unix.cfor(;i<fdnum;i++)
i855net/unix/af_unix.cclose_fp(fp[i]);
i856net/unix/af_unix.cunix_notinflight(fp[i]);
i35scripts/lxdialog/checklist.cint i;
i40scripts/lxdialog/checklist.cfor (i = 0; i < list_width; i++)
i120scripts/lxdialog/checklist.cint i, x, y, box_x, box_y;
i135scripts/lxdialog/checklist.cfor (i = 0; i < item_no; i++) {
i136scripts/lxdialog/checklist.cstatus[i] = !strcasecmp (items[i * 3 + 2], "on");
i137scripts/lxdialog/checklist.cif (!choice && status[i])
i138scripts/lxdialog/checklist.cchoice = i;
i155scripts/lxdialog/checklist.cfor (i = 0; i < width - 2; i++)
i185scripts/lxdialog/checklist.cfor (i = 0; i < item_no; i++) 
i186scripts/lxdialog/checklist.ccheck_x = MAX (check_x, + strlen (items[i * 3 + 1]) + 4);
i192scripts/lxdialog/checklist.cfor (i = 0; i < max_choice; i++)
i193scripts/lxdialog/checklist.cprint_item (list, items[i * 3 + 1], status[i], i, i == choice);
i205scripts/lxdialog/checklist.cfor (i = 0; i < max_choice; i++)
i206scripts/lxdialog/checklist.cif (toupper(key) == toupper(items[(scroll+i)*3+1][0]))
i210scripts/lxdialog/checklist.cif ( i < max_choice || key == KEY_UP || key == KEY_DOWN || 
i237scripts/lxdialog/checklist.ci = choice - 1;
i265scripts/lxdialog/checklist.ci = choice + 1;
i267scripts/lxdialog/checklist.cif (i != choice) {
i272scripts/lxdialog/checklist.cchoice = i;
i308scripts/lxdialog/checklist.cfor (i = 0; i < item_no; i++)
i309scripts/lxdialog/checklist.cstatus[i] = 0;
i311scripts/lxdialog/checklist.cfor (i = 0; i < max_choice; i++)
i312scripts/lxdialog/checklist.cprint_item (list, items[(scroll + i) * 3 + 1],
i313scripts/lxdialog/checklist.cstatus[scroll + i], i, i == choice);
i319scripts/lxdialog/checklist.cfor (i = 0; i < item_no; i++) {
i320scripts/lxdialog/checklist.cif (status[i]) {
i322scripts/lxdialog/checklist.cfprintf (stderr, "\"%s\" ", items[i * 3]);
i324scripts/lxdialog/checklist.cfprintf (stderr, "%s", items[i * 3]);
i49scripts/lxdialog/inputbox.cint i, x, y, box_y, box_x, box_width;
i67scripts/lxdialog/inputbox.cfor (i = 0; i < width - 2; i++)
i106scripts/lxdialog/inputbox.cfor (i = 0; i < box_width - 1; i++)
i107scripts/lxdialog/inputbox.cwaddch (dialog, instr[scroll + i]);
i136scripts/lxdialog/inputbox.cfor (i = 0; i < box_width; i++)
i137scripts/lxdialog/inputbox.cwaddch (dialog, instr[scroll + input_x + i] ?
i138scripts/lxdialog/inputbox.cinstr[scroll + input_x + i] : ' ');
i157scripts/lxdialog/inputbox.cfor (i = 0; i < box_width - 1; i++)
i158scripts/lxdialog/inputbox.cwaddch (dialog, instr[scroll + i]);
i32scripts/lxdialog/menubox.cint i, j;
i42scripts/lxdialog/menubox.cfor (i = 0; i < menu_width; i++)
i123scripts/lxdialog/menubox.cint i, j, x, y, box_x, box_y;
i141scripts/lxdialog/menubox.cfor (i = 0; i < width - 2; i++)
i174scripts/lxdialog/menubox.cfor (i = 0; i < item_no; i++) {
i175scripts/lxdialog/menubox.citem_x = MAX (item_x, MIN(menu_width, strlen (items[i * 2 + 1]) + 2));
i176scripts/lxdialog/menubox.cif (strcmp(current, items[i*2]) == 0) choice = i;
i187scripts/lxdialog/menubox.cfor (i=0; i < max_choice; i++) {
i188scripts/lxdialog/menubox.cprint_item (menu, items[(first_item + i) * 2 + 1], i, i == choice,
i189scripts/lxdialog/menubox.c(items[(first_item + i)*2][0] != ':'));
i205scripts/lxdialog/menubox.ci = max_choice;
i207scripts/lxdialog/menubox.cfor (i = choice+1; i < max_choice; i++) {
i208scripts/lxdialog/menubox.cj = first_alpha(items[(scroll+i)*2+1]);
i209scripts/lxdialog/menubox.cif (key == tolower(items[(scroll+i)*2+1][j]))
i212scripts/lxdialog/menubox.cif (i == max_choice)
i213scripts/lxdialog/menubox.cfor (i = 0; i < max_choice; i++) {
i214scripts/lxdialog/menubox.cj = first_alpha(items[(scroll+i)*2+1]);
i215scripts/lxdialog/menubox.cif (key == tolower(items[(scroll+i)*2+1][j]))
i220scripts/lxdialog/menubox.cif (i < max_choice || 
i265scripts/lxdialog/menubox.cfor (i=0; (i < max_choice) && (scroll > 0); i++) {
i276scripts/lxdialog/menubox.cfor (i=0; (i < max_choice) && (scroll+max_choice < item_no); i++) {
i287scripts/lxdialog/menubox.cchoice = i;
i32scripts/lxdialog/msgbox.cint i, x, y, key = 0;
i58scripts/lxdialog/msgbox.cfor (i = 0; i < width - 2; i++)
i40scripts/lxdialog/textbox.cint i, x, y, cur_x, cur_y, fpos, key = 0;
i101scripts/lxdialog/textbox.cfor (i = 0; i < width - 2; i++)
i216scripts/lxdialog/textbox.cfor (i = 0; i < height - 4; i++) {
i217scripts/lxdialog/textbox.cif (!i) {
i319scripts/lxdialog/textbox.cint i, fpos;
i380scripts/lxdialog/textbox.cfor (i = 0; i < n; i++)
i432scripts/lxdialog/textbox.cint i, passed_end = 0;
i435scripts/lxdialog/textbox.cfor (i = 0; i < height; i++) {
i436scripts/lxdialog/textbox.cprint_line (win, i, width);
i451scripts/lxdialog/textbox.cint i, y, x;
i462scripts/lxdialog/textbox.cfor (i = 0; i < width - x; i++)
i474scripts/lxdialog/textbox.cint i = 0, fpos;
i502scripts/lxdialog/textbox.c} else if (i < MAX_LEN)
i503scripts/lxdialog/textbox.cline[i++] = *(page++);
i506scripts/lxdialog/textbox.cif (i == MAX_LEN)
i507scripts/lxdialog/textbox.cline[i++] = '\0';
i511scripts/lxdialog/textbox.cif (i <= MAX_LEN)
i512scripts/lxdialog/textbox.cline[i] = '\0';
i114scripts/lxdialog/util.cint i, j;
i117scripts/lxdialog/util.cfor (i = 0; i < height; i++) {
i118scripts/lxdialog/util.cwmove (win, i, 0);
i130scripts/lxdialog/util.cint i;
i135scripts/lxdialog/util.cfor (i = 1; i < COLS - 1; i++)
i166scripts/lxdialog/util.cint i;
i172scripts/lxdialog/util.cfor (i = 0; i < ATTRIBUTE_COUNT; i++)
i173scripts/lxdialog/util.cinit_pair (i + 1, color_table[i][0], color_table[i][1]);
i176scripts/lxdialog/util.cfor (i = 0; i < ATTRIBUTE_COUNT; i++)
i177scripts/lxdialog/util.cattributes[i] = C_ATTR (color_table[i][2], i + 1);
i201scripts/lxdialog/util.cint i, prompt_len, room, wlen;
i211scripts/lxdialog/util.cfor(i=0; i<prompt_len; i++) {
i212scripts/lxdialog/util.cif(tempstr[i] == '\n') tempstr[i] = ' ';
i260scripts/lxdialog/util.cint i, temp;
i269scripts/lxdialog/util.cfor (i = 0; i < temp; i++)
i289scripts/lxdialog/util.cint i, j;
i292scripts/lxdialog/util.cfor (i = 0; i < height; i++) {
i293scripts/lxdialog/util.cwmove (win, y + i, x);
i295scripts/lxdialog/util.cif (!i && !j)
i297scripts/lxdialog/util.celse if (i == height - 1 && !j)
i299scripts/lxdialog/util.celse if (!i && j == width - 1)
i301scripts/lxdialog/util.celse if (i == height - 1 && j == width - 1)
i303scripts/lxdialog/util.celse if (!i)
i305scripts/lxdialog/util.celse if (i == height - 1)
i323scripts/lxdialog/util.cint i;
i328scripts/lxdialog/util.cfor (i = 0; i < width; i++)
i330scripts/lxdialog/util.cfor (i = y + 1; i < y + height + 1; i++) {
i331scripts/lxdialog/util.cwmove (win, i, x + width);
i345scripts/lxdialog/util.cint i, in_paren=0, c;
i347scripts/lxdialog/util.cfor (i = 0; i < strlen(string); i++) {
i348scripts/lxdialog/util.cc = tolower(string[i]);
i355scripts/lxdialog/util.creturn i;
i46scripts/lxdialog/yesno.cint i, x, y, key = 0, button = 0;
i61scripts/lxdialog/yesno.cfor (i = 0; i < width - 2; i++)
i151scripts/tkcond.cint i;
i159scripts/tkcond.cfor(i=0; i<depth; i++, cond++)
i237scripts/tkcond.cif( i < depth - 1 )
i301scripts/tkcond.cint i;
i506scripts/tkcond.cfor(i=0; i<5; i++, cnd2=cnd2->next, cnd3=cnd3->next)
i510scripts/tkcond.cif(i == 1 && (cnd2->op != op_kvariable 
i512scripts/tkcond.cif(i==2 && cnd2->op != op_eq && cnd2->op != op_neq) break;
i513scripts/tkcond.cif(i == 3 && cnd2->op != op_constant &&
i516scripts/tkcond.cif(i==4 && cnd2->op != op_rparen) break;
i522scripts/tkcond.cif(i==5 && ((cnd3 && cnd3->op == op_and)
i529scripts/tkcond.cfor(i=0; i<5; i++, cnd3=cnd3->next)
i647scripts/tkparse.cint    i;