taglinefilesource code
j119arch/i386/boot/compressed/inflate.cregister unsigned j;          /* counter */
j152arch/i386/boot/compressed/inflate.cfor (j = 1; j <= BMAX; j++)
j153arch/i386/boot/compressed/inflate.cif (c[j])
j155arch/i386/boot/compressed/inflate.ck = j;                        /* minimum code length */
j156arch/i386/boot/compressed/inflate.cif ((unsigned)l < j)
j157arch/i386/boot/compressed/inflate.cl = j;
j169arch/i386/boot/compressed/inflate.cfor (y = 1 << j; j < i; j++, y <<= 1)
j170arch/i386/boot/compressed/inflate.cif ((y -= c[j]) < 0)
j179arch/i386/boot/compressed/inflate.cx[1] = j = 0;
j182arch/i386/boot/compressed/inflate.c*xp++ = (j += *p++);
j190arch/i386/boot/compressed/inflate.cif ((j = *p++) != 0)
j191arch/i386/boot/compressed/inflate.cv[x[j]++] = i;
j224arch/i386/boot/compressed/inflate.cif ((f = 1 << (j = k - w)) > a + 1)     /* try a k-w bit table */
j229arch/i386/boot/compressed/inflate.cwhile (++j < z)       /* try smaller tables up to z bits */
j237arch/i386/boot/compressed/inflate.cz = 1 << j;             /* table entries for j-bit table */
j253arch/i386/boot/compressed/inflate.cr.e = (uch)(16 + j);  /* bits in this table */
j255arch/i386/boot/compressed/inflate.cj = i >> (w - l);     /* (get around Turbo C bug) */
j256arch/i386/boot/compressed/inflate.cu[h-1][j] = r;        /* connect to last table */
j280arch/i386/boot/compressed/inflate.cfor (j = i >> w; j < z; j += f)
j281arch/i386/boot/compressed/inflate.cq[j] = r;
j284arch/i386/boot/compressed/inflate.cfor (j = 1 << (k - 1); i & j; j >>= 1)
j285arch/i386/boot/compressed/inflate.ci ^= j;
j286arch/i386/boot/compressed/inflate.ci ^= j;
j548arch/i386/boot/compressed/inflate.cunsigned j;
j594arch/i386/boot/compressed/inflate.cfor (j = 0; j < nb; j++)
j597arch/i386/boot/compressed/inflate.cll[border[j]] = (unsigned)b & 7;
j600arch/i386/boot/compressed/inflate.cfor (; j < 19; j++)
j601arch/i386/boot/compressed/inflate.cll[border[j]] = 0;
j623arch/i386/boot/compressed/inflate.cj = (td = tl + ((unsigned)b & m))->b;
j624arch/i386/boot/compressed/inflate.cDUMPBITS(j)
j625arch/i386/boot/compressed/inflate.cj = td->v.n;
j626arch/i386/boot/compressed/inflate.cif (j < 16)                 /* length of code in bits (0..15) */
j627arch/i386/boot/compressed/inflate.cll[i++] = l = j;          /* save last length in l */
j628arch/i386/boot/compressed/inflate.celse if (j == 16)           /* repeat last length 3 to 6 times */
j631arch/i386/boot/compressed/inflate.cj = 3 + ((unsigned)b & 3);
j633arch/i386/boot/compressed/inflate.cif ((unsigned)i + j > n)
j635arch/i386/boot/compressed/inflate.cwhile (j--)
j638arch/i386/boot/compressed/inflate.celse if (j == 17)           /* 3 to 10 zero length codes */
j641arch/i386/boot/compressed/inflate.cj = 3 + ((unsigned)b & 7);
j643arch/i386/boot/compressed/inflate.cif ((unsigned)i + j > n)
j645arch/i386/boot/compressed/inflate.cwhile (j--)
j652arch/i386/boot/compressed/inflate.cj = 11 + ((unsigned)b & 0x7f);
j654arch/i386/boot/compressed/inflate.cif ((unsigned)i + j > n)
j656arch/i386/boot/compressed/inflate.cwhile (j--)
j85arch/i386/kernel/process.cint i, j;
j94arch/i386/kernel/process.cfor(j = 0; j < 100000 ; j++)
j316drivers/block/genhd.cint j = start + dev->max_p;
j322drivers/block/genhd.cfor (i=start ; i < j ; i++)
j329drivers/block/genhd.cint j = dev->max_nr * dev->max_p;
j334drivers/block/genhd.cfor (i = 0 ; i < j; i++)  {
j343drivers/block/genhd.cfor (i=0 ; i < j ; i++)
j669drivers/block/gscd.cint  i,j;
j677drivers/block/gscd.cj = *pstr & 0x0F;
j680drivers/block/gscd.cfor ( i=0 ; i<j ; i++ )
j523drivers/block/ll_rw_blk.cint i, j;
j545drivers/block/ll_rw_blk.cfor (j=0, i=0; i<nb;)
j547drivers/block/ll_rw_blk.cfor (; j < 8 && i < nb; j++, i++, buf += buffersize)
j549drivers/block/ll_rw_blk.cif (j == 0) {
j550drivers/block/ll_rw_blk.creq[j] = get_request_wait(NR_REQUEST, dev);
j553drivers/block/ll_rw_blk.creq[j] = get_request(NR_REQUEST, dev);
j555drivers/block/ll_rw_blk.cif (req[j] == NULL)
j558drivers/block/ll_rw_blk.creq[j]->cmd = rw;
j559drivers/block/ll_rw_blk.creq[j]->errors = 0;
j560drivers/block/ll_rw_blk.creq[j]->sector = (b[i] * buffersize) >> 9;
j561drivers/block/ll_rw_blk.creq[j]->nr_sectors = buffersize >> 9;
j562drivers/block/ll_rw_blk.creq[j]->current_nr_sectors = buffersize >> 9;
j563drivers/block/ll_rw_blk.creq[j]->buffer = buf;
j564drivers/block/ll_rw_blk.creq[j]->sem = &sem;
j565drivers/block/ll_rw_blk.creq[j]->bh = NULL;
j566drivers/block/ll_rw_blk.creq[j]->next = NULL;
j567drivers/block/ll_rw_blk.cadd_request(major+blk_dev,req[j]);
j569drivers/block/ll_rw_blk.cwhile (j > 0) {
j570drivers/block/ll_rw_blk.cj--;
j920drivers/block/sbpcd.cint i,j;
j927drivers/block/sbpcd.cj=inb(CDi_status);
j928drivers/block/sbpcd.cif (!(j&s_not_data_ready)) return (j);
j929drivers/block/sbpcd.cif (!(j&s_not_result_ready)) return (j);
j930drivers/block/sbpcd.cif (fam0L_drive) if (j&s_attention) return (j);
j939drivers/block/sbpcd.cj=inb(CDi_status);
j940drivers/block/sbpcd.cif (!(j&s_not_data_ready)) return (j);
j941drivers/block/sbpcd.cif (!(j&s_not_result_ready)) return (j);
j942drivers/block/sbpcd.cif (fam0L_drive) if (j&s_attention) return (j);
j949drivers/block/sbpcd.cj=inb(CDi_status);
j950drivers/block/sbpcd.cif (!(j&s_not_data_ready)) return (j);
j951drivers/block/sbpcd.cif (!(j&s_not_result_ready)) return (j);
j952drivers/block/sbpcd.cif (fam0L_drive) if (j&s_attention) return (j);
j995drivers/block/sbpcd.cint i,j,st=0;
j1005drivers/block/sbpcd.cfor (j=maxtim_8;j!=0;j--)
j1010drivers/block/sbpcd.cif (j==0) 
j1021drivers/block/sbpcd.cfor (j=maxtim_data; ; )
j1023drivers/block/sbpcd.cfor ( ;j!=0;j-- )
j1028drivers/block/sbpcd.cif ((j!=0)||(timeout<=jiffies)) break;
j1030drivers/block/sbpcd.cj = 1;
j1041drivers/block/sbpcd.cj=i-response_count;
j1042drivers/block/sbpcd.cif (j>0) msg(DBG_INF,"ResponseInfo: got %d trailing bytes.\n",j);
j1044drivers/block/sbpcd.cfor (j=0;j<i;j++)
j1045drivers/block/sbpcd.csprintf(&msgbuf[j*3]," %02X",infobuf[j]);
j1046drivers/block/sbpcd.cmsgbuf[j*3]=0;
j1048drivers/block/sbpcd.cj=response_count-i;
j1049drivers/block/sbpcd.cif (j>0) return (-j);
j1151drivers/block/sbpcd.cint i,j;
j1162drivers/block/sbpcd.cif (flags_cmd_out & f_respo3) j = maxtim_8;
j1163drivers/block/sbpcd.celse if (flags_cmd_out&f_respo2) j=maxtim16;
j1164drivers/block/sbpcd.celse j=maxtim04;
j1165drivers/block/sbpcd.cfor (;j!=0;j--)
j1176drivers/block/sbpcd.cj=maxtim_8;
j1179drivers/block/sbpcd.cfor ( ;j!=0;j--)
j1184drivers/block/sbpcd.cif ((j!=0)||(timeout<jiffies)) break;
j1186drivers/block/sbpcd.cj = 1;
j1190drivers/block/sbpcd.cif (j==0) 
j1275drivers/block/sbpcd.cint i, j, l, ntries;
j1291drivers/block/sbpcd.cj=inb(CDi_info);
j1294drivers/block/sbpcd.cmsg(DBG_TEA,"cmd_out_T: spurious !s_not_result_ready. (%02X)\n", j);
j1320drivers/block/sbpcd.cfor (j=0;j<l;j++) sprintf(&msgbuf[j*3]," %02X",infobuf[j]);
j1321drivers/block/sbpcd.cmsgbuf[j*3]=0;
j1327drivers/block/sbpcd.cj=0;
j1331drivers/block/sbpcd.cj++;
j1335drivers/block/sbpcd.cmsg(DBG_TEA,"cmd_out_T: data response: discarded %d bytes.\n", j);
j1350drivers/block/sbpcd.cfor (j=0;j<l;j++) sprintf(&msgbuf[j*3]," %02X",infobuf[j]);
j1351drivers/block/sbpcd.cmsgbuf[j*3]=0;
j1360drivers/block/sbpcd.cj=cmd_out_T(); /* !!! recursive here !!! */
j1364drivers/block/sbpcd.cwhile (j<0);
j1608drivers/block/sbpcd.cint i, j;
j1625drivers/block/sbpcd.cj=cc_set_mode_T();
j1631drivers/block/sbpcd.creturn (j);
j1937drivers/block/sbpcd.cint i, j, n;
j1958drivers/block/sbpcd.cj=1;
j1973drivers/block/sbpcd.cj=3;
j1982drivers/block/sbpcd.cdrvcmd[j]=(pos_audio_start>>16)&0x00FF;
j1983drivers/block/sbpcd.cdrvcmd[j+1]=(pos_audio_start>>8)&0x00FF;
j1984drivers/block/sbpcd.cdrvcmd[j+2]=pos_audio_start&0x00FF;
j1985drivers/block/sbpcd.cdrvcmd[j+3]=(pos_audio_end>>16)&0x00FF;
j1986drivers/block/sbpcd.cdrvcmd[j+4]=(pos_audio_end>>8)&0x00FF;
j1987drivers/block/sbpcd.cdrvcmd[j+5]=pos_audio_end&0x00FF;
j2072drivers/block/sbpcd.cint i,j;
j2074drivers/block/sbpcd.cj=20;
j2078drivers/block/sbpcd.c--j;
j2081drivers/block/sbpcd.cwhile ((i<0)&&(j));
j2092drivers/block/sbpcd.cint i,j;
j2094drivers/block/sbpcd.cj=20;
j2098drivers/block/sbpcd.c--j;
j2101drivers/block/sbpcd.cwhile ((i<0)&&(j));
j2102drivers/block/sbpcd.cif (j==0)
j2105drivers/block/sbpcd.cj=20;
j2109drivers/block/sbpcd.c--j;
j2112drivers/block/sbpcd.cwhile ((i<0)&&(j));
j2157drivers/block/sbpcd.cint i,j;
j2160drivers/block/sbpcd.cfor (j=255;j>0;j--)
j2206drivers/block/sbpcd.cif ((!st_spinning) || (j==1))
j2461drivers/block/sbpcd.cint i, j;
j2465drivers/block/sbpcd.cfor (j=3;j>0;j--)
j2500drivers/block/sbpcd.cif (j==0) return (i);
j3020drivers/block/sbpcd.cint i, j, l;
j3044drivers/block/sbpcd.cj=0;
j3045drivers/block/sbpcd.cfor (i=0;i<12;i++) j+=infobuf[i];
j3046drivers/block/sbpcd.cif (j)
j3091drivers/block/sbpcd.cfor (j=0;j<8;j++)
j3092drivers/block/sbpcd.cD_S[d].drive_model[j]=infobuf[j];
j3122drivers/block/sbpcd.cj=0;
j3123drivers/block/sbpcd.cfor (i=0;i<12;i++) j+=infobuf[i];
j3124drivers/block/sbpcd.cif (j)
j3156drivers/block/sbpcd.cfor (j=1;j<=((D_S[d].drv_id==0)?3:1);j++)
j3160drivers/block/sbpcd.cmsg(DBG_TEA,"TEAC reset #%d-%d.\n", j, l);
j3212drivers/block/sbpcd.cfor (j=0;j<4;j++) D_S[d].firmware_version[j]=infobuf[i+j];
j3218drivers/block/sbpcd.cfor (j=0;j<4;j++)
j3219drivers/block/sbpcd.cif (D_S[d].firmware_version[j]!=lcs_firm_e1[j]) break;
j3220drivers/block/sbpcd.cif (j==4) D_S[d].drv_type=drv_e1;
j3222drivers/block/sbpcd.cfor (j=0;j<4;j++)
j3223drivers/block/sbpcd.cif (D_S[d].firmware_version[j]!=lcs_firm_f4[j]) break;
j3224drivers/block/sbpcd.cif (j==4) D_S[d].drv_type=drv_f4;
j3230drivers/block/sbpcd.cj=infobuf[4]; /* one-byte version??? - here: 0x15 */
j3231drivers/block/sbpcd.cif (j=='5')
j3240drivers/block/sbpcd.cif (j!=0x15) ask_mail();
j3243drivers/block/sbpcd.cD_S[d].firmware_version[2]='0'+(j>>4);
j3244drivers/block/sbpcd.cD_S[d].firmware_version[3]='0'+(j&0x0f);
j3249drivers/block/sbpcd.cj = (D_S[d].firmware_version[0] & 0x0F) * 100 +
j3254drivers/block/sbpcd.cif (j<200) D_S[d].drv_type=drv_199;
j3255drivers/block/sbpcd.celse if (j<201) D_S[d].drv_type=drv_200;
j3256drivers/block/sbpcd.celse if (j<210) D_S[d].drv_type=drv_201;
j3257drivers/block/sbpcd.celse if (j<211) D_S[d].drv_type=drv_210;
j3258drivers/block/sbpcd.celse if (j<300) D_S[d].drv_type=drv_211;
j3259drivers/block/sbpcd.celse if (j>=300) D_S[d].drv_type=drv_300;
j3263drivers/block/sbpcd.cif (j<100) D_S[d].drv_type=drv_099;
j3267drivers/block/sbpcd.cif ((j!=500)||(j!=102)) ask_mail();
j3274drivers/block/sbpcd.cif ((j!=101)&&(j!=35)) ask_mail(); /* only 1.01 and 0.35 known at time */
j3298drivers/block/sbpcd.cint i, j, k;
j3307drivers/block/sbpcd.cfor (j=0;j<NR_SBPCD;j++)
j3309drivers/block/sbpcd.cOUT(port+3,j) ; /* enable drive #j */
j3325drivers/block/sbpcd.cmsg(DBG_TEA,"path check 00 (%d): %s\n", j, msgbuf);
j3341drivers/block/sbpcd.cmsg(DBG_TEA,"path check 00 (%d): %s\n", j, msgbuf);
j3347drivers/block/sbpcd.cfor (j=0;j<NR_SBPCD;j++)
j3349drivers/block/sbpcd.cOUT(port+3,j) ; /* enable drive #j */
j3365drivers/block/sbpcd.cmsg(DBG_TEA,"path check 12 (%d): %s\n", j, msgbuf);
j3382drivers/block/sbpcd.cmsg(DBG_TEA,"path check 12 (%d): %s\n", j, msgbuf);
j3400drivers/block/sbpcd.cint i, j;
j3404drivers/block/sbpcd.cfor (j=0;j<MAX_DRIVES;j++)
j3406drivers/block/sbpcd.cD_S[ndrives].drv_id=j;
j3407drivers/block/sbpcd.cif (sbpro_type==1) D_S[ndrives].drv_sel=(j&0x01)<<1|(j&0x02)>>1;
j3408drivers/block/sbpcd.celse D_S[ndrives].drv_sel=j;
j3410drivers/block/sbpcd.cmsg(DBG_INI,"check_drives: drive %d (ID=%d) activated.\n",ndrives,j);
j3411drivers/block/sbpcd.cmsg(DBG_000,"check_drives: drive %d (ID=%d) activated.\n",ndrives,j);
j3416drivers/block/sbpcd.cD_S[d].drv_options=drv_pattern[j];
j3428drivers/block/sbpcd.cfor (j=ndrives;j<NR_SBPCD;j++) D_S[j].drv_id=-1;
j3567drivers/block/sbpcd.cint i, j;
j3570drivers/block/sbpcd.cfor (j=D_S[d].n_first_track;j<=D_S[d].n_last_track;j++)
j3572drivers/block/sbpcd.ci=cc_ReadTocEntry(j);
j3575drivers/block/sbpcd.cmsg(DBG_INF,"cc_ReadTocEntry(%d) returns %d.\n",j,i);
j3578drivers/block/sbpcd.cD_S[d].TocBuffer[j].nixbyte=D_S[d].TocEnt_nixbyte;
j3579drivers/block/sbpcd.cD_S[d].TocBuffer[j].ctl_adr=D_S[d].TocEnt_ctl_adr;
j3580drivers/block/sbpcd.cD_S[d].TocBuffer[j].number=D_S[d].TocEnt_number;
j3581drivers/block/sbpcd.cD_S[d].TocBuffer[j].format=D_S[d].TocEnt_format;
j3582drivers/block/sbpcd.cD_S[d].TocBuffer[j].address=D_S[d].TocEnt_address;
j3586drivers/block/sbpcd.cD_S[d].TocBuffer[j].nixbyte=0;
j3587drivers/block/sbpcd.cD_S[d].TocBuffer[j].ctl_adr=0;
j3588drivers/block/sbpcd.cD_S[d].TocBuffer[j].number=CDROM_LEADOUT;
j3589drivers/block/sbpcd.cD_S[d].TocBuffer[j].format=0;
j3590drivers/block/sbpcd.cD_S[d].TocBuffer[j].address=D_S[d].size_msf;
j3598drivers/block/sbpcd.cint i, j;
j3606drivers/block/sbpcd.cfor (j=1;j<LOOP_COUNT;j++)
j3622drivers/block/sbpcd.cmsg(DBG_INF,"DiskInfo: ReadCapacity #%d returns %d\n", j, i);
j3625drivers/block/sbpcd.cif (j==LOOP_COUNT) return (-33); /* give up */
j4112drivers/block/sbpcd.cint i=0, j=0, frame, block;
j4207drivers/block/sbpcd.cj=inb(CDi_status);
j4208drivers/block/sbpcd.cif (!(j&s_not_data_ready)) break;
j4209drivers/block/sbpcd.cif (!(j&s_not_result_ready)) break;
j4210drivers/block/sbpcd.cif (fam0L_drive) if (j&s_attention) break;
j4225drivers/block/sbpcd.cif (j&s_not_data_ready)
j4257drivers/block/sbpcd.cj=inb(CDi_status);
j4258drivers/block/sbpcd.cif (!(j&s_not_data_ready)) break;
j4259drivers/block/sbpcd.cif (!(j&s_not_result_ready)) break;
j4260drivers/block/sbpcd.cif (j&s_attention) break;
j4267drivers/block/sbpcd.cif (!(j&s_attention))
j4553drivers/block/sbpcd.cint i=0, j=0, l, frame;
j4592drivers/block/sbpcd.cj=inb(CDi_status);
j4593drivers/block/sbpcd.cif (!(j&s_not_data_ready)) break;;
j4594drivers/block/sbpcd.cif (!(j&s_not_result_ready)) break;
j4595drivers/block/sbpcd.cif (fam0L_drive) if (j&s_attention) break;
j4597drivers/block/sbpcd.cif (!(j&s_not_data_ready)) goto data_ready;
j4613drivers/block/sbpcd.cmsg(DBG_INF,"sbp_data: CDi_status timeout (timed_out_data) (%02X).\n", j);
j4619drivers/block/sbpcd.cmsg(DBG_INF,"sbp_data: CDi_status timeout (try=0) (%02X).\n", j);
j4623drivers/block/sbpcd.cif (!(j&s_not_result_ready))
j4625drivers/block/sbpcd.cmsg(DBG_INF, "sbp_data: RESULT_READY where DATA_READY awaited (%02X).\n", j);
j4627drivers/block/sbpcd.cj=ResponseInfo();
j4628drivers/block/sbpcd.cj=inb(CDi_status);
j4630drivers/block/sbpcd.cif (j&s_not_data_ready)
j4634drivers/block/sbpcd.celse msg(DBG_INF, "sbp_data: DATA_READY timeout (%02X).\n", j);
j4677drivers/block/sbpcd.cj=0;
j4681drivers/block/sbpcd.cj++;
j4685drivers/block/sbpcd.cmsg(DBG_TEA, "=============too much data (%d bytes)=================.\n", j);
j4699drivers/block/sbpcd.cfor (j=0;j<l;j++) sprintf(&msgbuf[j*3], " %02X", infobuf[j]);
j4700drivers/block/sbpcd.cmsgbuf[j*3]=0;
j4713drivers/block/sbpcd.cj=cmd_out_T(); /* !!! recursive here !!! */
j4717drivers/block/sbpcd.cwhile (j<0);
j4755drivers/block/sbpcd.cj=inb(CDi_status);
j4756drivers/block/sbpcd.cif (!(j&s_not_data_ready)) break;
j4757drivers/block/sbpcd.cif (!(j&s_not_result_ready)) break;
j4758drivers/block/sbpcd.cif (j&s_attention) break;
j4765drivers/block/sbpcd.cif (!(j&s_attention))
j5073drivers/block/sbpcd.cint i=0, j=0;
j5154drivers/block/sbpcd.cfor (j=0;j<NR_SBPCD;j++)
j5156drivers/block/sbpcd.cif (D_S[j].drv_id==-1) continue;
j5157drivers/block/sbpcd.cswitch_drive(j);
j5241drivers/block/sbpcd.cfor (j=0;j<NR_SBPCD;j++)
j5243drivers/block/sbpcd.cif (D_S[j].drv_id==-1) continue;
j5244drivers/block/sbpcd.cswitch_drive(j);
j5248drivers/block/sbpcd.cD_S[j].aud_buf=NULL;
j5249drivers/block/sbpcd.cD_S[j].sbp_audsiz=0;
j5250drivers/block/sbpcd.cD_S[j].sbp_bufsiz=SBP_BUFFER_FRAMES;
j5251drivers/block/sbpcd.cif (D_S[j].drv_type&drv_fam1)
j5252drivers/block/sbpcd.cif (READ_AUDIO>0) D_S[j].sbp_audsiz=READ_AUDIO;
j5254drivers/block/sbpcd.cD_S[j].sbp_buf=(u_char *) vmalloc(D_S[j].sbp_bufsiz*CD_FRAMESIZE);
j5255drivers/block/sbpcd.cif (D_S[j].sbp_buf==NULL)
j5257drivers/block/sbpcd.cmsg(DBG_INF,"data buffer (%d frames) not available.\n",D_S[j].sbp_bufsiz);
j5261drivers/block/sbpcd.cif (D_S[j].sbp_audsiz>0)
j5263drivers/block/sbpcd.cD_S[j].aud_buf=(u_char *) vmalloc(D_S[j].sbp_audsiz*CD_FRAMESIZE_RAW);
j5264drivers/block/sbpcd.cif (D_S[j].aud_buf==NULL) msg(DBG_INF,"audio buffer (%d frames) not available.\n",D_S[j].sbp_audsiz);
j5265drivers/block/sbpcd.celse msg(DBG_INF,"audio buffer size: %d frames.\n",D_S[j].sbp_audsiz);
j5268drivers/block/sbpcd.cD_S[j].sbp_buf=(u_char *)mem_start;
j5269drivers/block/sbpcd.cmem_start += D_S[j].sbp_bufsiz*CD_FRAMESIZE;
j5270drivers/block/sbpcd.cif (D_S[j].sbp_audsiz>0)
j5272drivers/block/sbpcd.cD_S[j].aud_buf=(u_char *)mem_start;
j5273drivers/block/sbpcd.cmem_start += D_S[j].sbp_audsiz*CD_FRAMESIZE_RAW;
j5279drivers/block/sbpcd.csbpcd_blocksizes[j]=CD_FRAMESIZE;
j5305drivers/block/sbpcd.cint j;
j5319drivers/block/sbpcd.cfor (j=0;j<NR_SBPCD;j++)
j5321drivers/block/sbpcd.cif (D_S[j].drv_id==-1) continue;
j5322drivers/block/sbpcd.cvfree(D_S[j].sbp_buf);
j5323drivers/block/sbpcd.cif (D_S[j].sbp_audsiz>0)
j5324drivers/block/sbpcd.cvfree(D_S[j].aud_buf);
j687drivers/block/sonycd535.cint  i, j, n_tracks, track_no;
j704drivers/block/sonycd535.cfor (j = 0; j < 5; j++) {
j705drivers/block/sonycd535.cif (read_result_reg(track_address_buffer + j) != 0)
j707drivers/block/sonycd535.cif (j == 1)    /* need to convert from bcd */
j708drivers/block/sonycd535.ctrack_no = bcd_to_int(track_address_buffer[j]);
j135drivers/block/xd.cu_char i,j,found = 0;
j145drivers/block/xd.cfor (j = 1; j < (sizeof(xd_sigs) / sizeof(xd_sigs[0])) && !found; j++)
j146drivers/block/xd.cif (!memcmp(xd_bases[i] + xd_sigs[j].offset,xd_sigs[j].string,strlen(xd_sigs[j].string))) {
j147drivers/block/xd.c*controller = j;
j1645drivers/char/console.cint i = par[0]*3, j = 1;
j1646drivers/char/console.cpalette[i] = 16*par[j++];
j1647drivers/char/console.cpalette[i++] += par[j++];
j1648drivers/char/console.cpalette[i] = 16*par[j++];
j1649drivers/char/console.cpalette[i++] += par[j++];
j1650drivers/char/console.cpalette[i] = 16*par[j++];
j1651drivers/char/console.cpalette[i] += par[j];
j1951drivers/char/console.cint j, k ;
j1962drivers/char/console.cfor (j=k=0; j<16; j++) {
j1963drivers/char/console.cvc_cons[currcons].d->vc_palette[k++] = default_red[j] ;
j1964drivers/char/console.cvc_cons[currcons].d->vc_palette[k++] = default_grn[j] ;
j1965drivers/char/console.cvc_cons[currcons].d->vc_palette[k++] = default_blu[j] ;
j2127drivers/char/console.cint j, k ;
j2138drivers/char/console.cfor (j=k=0; j<16; j++) {
j2139drivers/char/console.cvc_cons[currcons].d->vc_palette[k++] = default_red[j] ;
j2140drivers/char/console.cvc_cons[currcons].d->vc_palette[k++] = default_grn[j] ;
j2141drivers/char/console.cvc_cons[currcons].d->vc_palette[k++] = default_blu[j] ;
j2533drivers/char/console.cint j, k ;
j2534drivers/char/console.cfor (j=k=0; j<16; j++) {
j2535drivers/char/console.cvc_cons[i].d->vc_palette[k++] = default_red[j];
j2536drivers/char/console.cvc_cons[i].d->vc_palette[k++] = default_grn[j];
j2537drivers/char/console.cvc_cons[i].d->vc_palette[k++] = default_blu[j];
j2566drivers/char/console.cint j, k ;
j2567drivers/char/console.cfor (j=k=0; j<16; j++) {
j2568drivers/char/console.cpalette[k++] = default_red[j];
j2569drivers/char/console.cpalette[k++] = default_grn[j];
j2570drivers/char/console.cpalette[k++] = default_blu[j];
j2577drivers/char/console.cint i, j ;
j2583drivers/char/console.cfor (i=j=0; i<16; i++) {
j2585drivers/char/console.coutb_p (vc_cons[fg_console].d->vc_palette[j++]>>2, dac_val) ;
j2586drivers/char/console.coutb_p (vc_cons[fg_console].d->vc_palette[j++]>>2, dac_val) ;
j2587drivers/char/console.coutb_p (vc_cons[fg_console].d->vc_palette[j++]>>2, dac_val) ;
j167drivers/char/consolemap.cint j, glyph;
j179drivers/char/consolemap.cfor (j=0; j<E_TABSZ; j++)
j180drivers/char/consolemap.cq[j] = 0;
j181drivers/char/consolemap.cfor (j=0; j<E_TABSZ; j++)
j182drivers/char/consolemap.cif (q[glyph = conv_uni_to_pc(p[j])] < 32) 
j184drivers/char/consolemap.cq[glyph] = j;
j227drivers/char/cyclades.c#define small_delay(x) for(j=0;j<x;j++)k++;
j598drivers/char/cyclades.cint i,j;
j642drivers/char/cyclades.cj = (base_addr[CyRIVR] & CyIVRMask);
j643drivers/char/cyclades.cif ( j == CyIVRRxEx ) { /* exception */
j653drivers/char/cyclades.cj = (base_addr[CyRIVR] & CyIVRMask);
j654drivers/char/cyclades.cif ( j == CyIVRRxEx ) { /* exception */
j966drivers/char/keyboard.cint i, j, k, sym, val;
j975drivers/char/keyboard.cfor(j=0; j<BITS_PER_LONG; j++,k++)
j460drivers/char/vt.cint j;
j471drivers/char/vt.cfor (j = 1; j < NR_KEYS; j++)
j472drivers/char/vt.ckey_map[j] = U(K_HOLE);
j518drivers/char/vt.cint j, k, sz;
j532drivers/char/vt.cfor (j = i+1; j < MAX_NR_FUNC && !func_table[j]; j++) ;
j533drivers/char/vt.cif (j < MAX_NR_FUNC)
j534drivers/char/vt.cfj = func_table[j];
j546drivers/char/vt.cif (j < MAX_NR_FUNC) {
j548drivers/char/vt.cfor (k = j; k < MAX_NR_FUNC; k++)
j567drivers/char/vt.cfor (k = 0; k < j; k++)
j573drivers/char/vt.cfor (k = j; k < MAX_NR_FUNC; k++)
j398drivers/net/3c505.cint i, j;
j439drivers/net/3c505.cj = 0;
j440drivers/net/3c505.cwhile (((stat = get_status(dev->base_addr))&ACRF) == 0 && j++ < 20000)
j445drivers/net/3c505.c} while ((stat & ASF_PCB_MASK) != ASF_PCB_END && j < 20000);
j447drivers/net/3c505.cif (j >= 20000) {
j533drivers/net/de4x5.cint tmpbus, tmpchs, i, j, status=0;
j629drivers/net/de4x5.cfor (tmp=NULL, j=0; (j<BUFF_ALLOC_RETRIES) && (tmp==NULL); j++) {
j873drivers/net/de4x5.cint i, j, status = 0;
j919drivers/net/de4x5.cfor (j=0, i=jiffies;(i==jiffies) && (j==0);) {
j920drivers/net/de4x5.cif (lp->tx_ring[lp->tx_new].status >= 0) j=1;
j924drivers/net/de4x5.cif (j == 0) {
j1427drivers/net/de4x5.cint i, j, bit, byte;
j1446drivers/net/de4x5.cfor (bit = *addrs++,j=0;j<8;j++, bit>>=1) {
j1468drivers/net/de4x5.cfor (j=0; j<num_addrs; j++) {
j2098drivers/net/de4x5.cs32 i = 2048, j;
j2101drivers/net/de4x5.cj = inl(DE4X5_OMR);
j2102drivers/net/de4x5.cif ((j & OMR_TTM) && (j & OMR_PS)) {          /* 10Mb/s MII */
j2104drivers/net/de4x5.c} else if ((~j & OMR_TTM) && (j & OMR_PS)) {  /* 100Mb/s MII */
j2216drivers/net/de4x5.cint i, j, tmp, status = 0;
j2225drivers/net/de4x5.cfor (i=0,j=0;(j<sigLength) && (i<PROBE_LENGTH+sigLength-1);i++) {
j2232drivers/net/de4x5.cif (dev.Sig[j] == data) {   /* track signature */
j2233drivers/net/de4x5.cj++;
j2236drivers/net/de4x5.cj=1;
j2238drivers/net/de4x5.cj=0;
j2243drivers/net/de4x5.cif (j!=sigLength) {
j2261drivers/net/de4x5.cu_short j,chksum;
j2264drivers/net/de4x5.cfor (i=0,k=0,j=0;j<3;j++) {
j2491drivers/net/de4x5.cint i, j, status = 0;
j2643drivers/net/de4x5.cj = 0;
j2644drivers/net/de4x5.ctmp.lval[0] = inl(DE4X5_STS); j+=4;
j2645drivers/net/de4x5.ctmp.lval[1] = inl(DE4X5_BMR); j+=4;
j2646drivers/net/de4x5.ctmp.lval[2] = inl(DE4X5_IMR); j+=4;
j2647drivers/net/de4x5.ctmp.lval[3] = inl(DE4X5_OMR); j+=4;
j2648drivers/net/de4x5.ctmp.lval[4] = inl(DE4X5_SISR); j+=4;
j2649drivers/net/de4x5.ctmp.lval[5] = inl(DE4X5_SICR); j+=4;
j2650drivers/net/de4x5.ctmp.lval[6] = inl(DE4X5_STRR); j+=4;
j2651drivers/net/de4x5.ctmp.lval[7] = inl(DE4X5_SIGR); j+=4;
j2652drivers/net/de4x5.cioc->len = j;
j2661drivers/net/de4x5.cj = 0;
j2662drivers/net/de4x5.ctmp.addr[j++] = dev->irq;
j2664drivers/net/de4x5.ctmp.addr[j++] = dev->dev_addr[i];
j2666drivers/net/de4x5.ctmp.addr[j++] = lp->rxRingSize;
j2667drivers/net/de4x5.ctmp.lval[j>>2] = (long)lp->rx_ring; j+=4;
j2668drivers/net/de4x5.ctmp.lval[j>>2] = (long)lp->tx_ring; j+=4;
j2672drivers/net/de4x5.ctmp.lval[j>>2] = (long)&lp->rx_ring[i].status; j+=4;
j2675drivers/net/de4x5.ctmp.lval[j>>2] = (long)&lp->rx_ring[i].status; j+=4;
j2678drivers/net/de4x5.ctmp.lval[j>>2] = (long)&lp->tx_ring[i].status; j+=4;
j2681drivers/net/de4x5.ctmp.lval[j>>2] = (long)&lp->tx_ring[i].status; j+=4;
j2685drivers/net/de4x5.ctmp.lval[j>>2] = (s32)lp->rx_ring[i].buf; j+=4;
j2688drivers/net/de4x5.ctmp.lval[j>>2] = (s32)lp->rx_ring[i].buf; j+=4;
j2691drivers/net/de4x5.ctmp.lval[j>>2] = (s32)lp->tx_ring[i].buf; j+=4;
j2694drivers/net/de4x5.ctmp.lval[j>>2] = (s32)lp->tx_ring[i].buf; j+=4;
j2697drivers/net/de4x5.ctmp.lval[j>>2] = lp->rx_ring[i].status; j+=4;
j2700drivers/net/de4x5.ctmp.lval[j>>2] = lp->tx_ring[i].status; j+=4;
j2703drivers/net/de4x5.ctmp.lval[j>>2] = inl(DE4X5_STS); j+=4;
j2704drivers/net/de4x5.ctmp.lval[j>>2] = inl(DE4X5_BMR); j+=4;
j2705drivers/net/de4x5.ctmp.lval[j>>2] = inl(DE4X5_IMR); j+=4;
j2706drivers/net/de4x5.ctmp.lval[j>>2] = inl(DE4X5_OMR); j+=4;
j2707drivers/net/de4x5.ctmp.lval[j>>2] = inl(DE4X5_SISR); j+=4;
j2708drivers/net/de4x5.ctmp.lval[j>>2] = inl(DE4X5_SICR); j+=4;
j2709drivers/net/de4x5.ctmp.lval[j>>2] = inl(DE4X5_STRR); j+=4;
j2710drivers/net/de4x5.ctmp.lval[j>>2] = inl(DE4X5_SIGR); j+=4; 
j2712drivers/net/de4x5.ctmp.addr[j++] = lp->txRingSize;
j2713drivers/net/de4x5.ctmp.addr[j++] = dev->tbusy;
j2715drivers/net/de4x5.cioc->len = j;
j453drivers/net/depca.cint i, j, offset, netRAM, mem_len, status=0;
j542drivers/net/depca.cfor (i=0, j = lp->rxRingMask; j>0; i++) {
j543drivers/net/depca.cj >>= 1;
j546drivers/net/depca.cfor (i=0, j = lp->txRingMask; j>0; i++) {
j547drivers/net/depca.cj >>= 1;
j1200drivers/net/depca.cint i, j, bit, byte;
j1220drivers/net/depca.cfor (bit = *addrs++,j=0;j<8;j++, bit>>=1) {
j1225drivers/net/depca.cfor (j=0;j<5;j++) {                /* ... in reverse order. */
j1440drivers/net/depca.cu_int i,j,k;
j1450drivers/net/depca.cfor (j=0,k=0;j<16 && k<strlen(signatures[i]);j++) {
j1451drivers/net/depca.cif (signatures[i][k] == tmpstr[j]) {              /* track signature */
j1494drivers/net/depca.cint i, j, status = 0;
j1509drivers/net/depca.cfor (i=0,j=0;j<sigLength && i<PROBE_LENGTH+sigLength-1;i++) {
j1511drivers/net/depca.cif (dev.Sig[j] == data) {    /* track signature */
j1512drivers/net/depca.cj++;
j1515drivers/net/depca.cj=1;
j1517drivers/net/depca.cj=0;
j1522drivers/net/depca.cif (j!=sigLength) {
j1538drivers/net/depca.cu_short j, x, chksum;
j1542drivers/net/depca.cfor (i=0,k=0,j=0;j<3;j++) {
j1255drivers/net/ewrk3.cchar j, bit, byte;
j1299drivers/net/ewrk3.cfor (bit = *addrs++,j=0;j<8;j++, bit>>=1) {
j1494drivers/net/ewrk3.cunsigned long i,j,k;
j1499drivers/net/ewrk3.cfor (j=EEPROM_PNAME7,k=0;j<=EEPROM_PNAME0 && k<strlen(signatures[i]);j++) {
j1500drivers/net/ewrk3.cif (signatures[i][k] == eeprom_image[j]) {          /* track signature */
j1527drivers/net/ewrk3.cint i, j, status = 0;
j1534drivers/net/ewrk3.cfor (i=0,j=0;devSig[i] != '\0' && !status;i+=2,j++) {
j1538drivers/net/ewrk3.cdevSig[j]=devSig[i]+devSig[i+1];
j1546drivers/net/ewrk3.csigLength=j;
j1559drivers/net/ewrk3.cfor (i=0,j=0;j<sigLength && i<PROBE_LENGTH+sigLength-1;i++) {
j1561drivers/net/ewrk3.cif (devSig[j] == data) {    /* track signature */
j1562drivers/net/ewrk3.cj++;
j1564drivers/net/ewrk3.cj=0;
j1568drivers/net/ewrk3.cif (j!=sigLength) {
j1579drivers/net/ewrk3.cunsigned short j,chksum;
j1584drivers/net/ewrk3.cfor (crc=0x6a, j=0; j<ETH_ALEN; j++) {
j1585drivers/net/ewrk3.cfor (sd=inb(EWRK3_PAR0+j), k=0; k<8; k++, sd >>= 1) {
j1592drivers/net/ewrk3.cfor (k=0,j=0;j<3;j++) {
j1595drivers/net/ewrk3.ck += inw(EWRK3_PAR0 + (j<<1));
j1615drivers/net/ewrk3.cint i, j, iobase = dev->base_addr, status = 0;
j1784drivers/net/ewrk3.cfor (j=0;j<ETH_ALEN;j++) {
j1785drivers/net/ewrk3.ctmp.addr[i++] = inb(EWRK3_PAR0 + j);
j126drivers/net/ibmtr.cshort i, j;
j127drivers/net/ibmtr.cfor (i=0,j=0;i<24;i++,j=j+stride) printk("%1x",((int) pcid[j])&0x0f);
j144drivers/net/ibmtr.cunsigned char segment=0, intr=0, irq=0, i=0, j=0,
j205drivers/net/ibmtr.cfor (i=2,j=1; i<=46; i=i+2,j++) {
j206drivers/net/ibmtr.cif ( (cd_chanid[i] & 0x0f) != tchanid[j]) {
j303drivers/net/ibmtr.cj=0;
j306drivers/net/ibmtr.cprintk("%1X",ti->hw_address[j]=temp);
j307drivers/net/ibmtr.cif(j&1)
j308drivers/net/ibmtr.cdev->dev_addr[(j/2)]=ti->hw_address[j]+(ti->hw_address[j-1]<<4);
j309drivers/net/ibmtr.c++j;
j309drivers/net/ni65.cint i,j;
j379drivers/net/ni65.cfor(j=0;j<2000000;j++); /* wait a while */
j145drivers/net/seeq8005.cint i,j;
j198drivers/net/seeq8005.cj=0;
j200drivers/net/seeq8005.cj+= SA_prom[i] = inw(SEEQ_BUFFER) & 0xff;
j205drivers/net/seeq8005.cif ( (j&0xff) != 0 ) {            /* checksum appears to be 8bit = 0 */
j224drivers/net/seeq8005.cprintk("seeq8005: prom sum = 0x%08x\n",j);
j225drivers/net/seeq8005.cfor(j=0; j<32; j+=16) {
j226drivers/net/seeq8005.cprintk("seeq8005: prom %02x: ",j);
j228drivers/net/seeq8005.cprintk("%02x ",SA_prom[j|i]);
j232drivers/net/seeq8005.cif ((SA_prom[j|i]>31)&&(SA_prom[j|i]<127)) {
j233drivers/net/seeq8005.cprintk("%c", SA_prom[j|i]);
j256drivers/net/seeq8005.cj=jiffies+HZ;
j257drivers/net/seeq8005.cwhile ( ((inw(SEEQ_STATUS) & SEEQSTAT_FIFO_EMPTY) != SEEQSTAT_FIFO_EMPTY) && jiffies < j )
j260drivers/net/seeq8005.cwhile ( ((inw(SEEQ_STATUS) & SEEQSTAT_WINDOW_INT) != SEEQSTAT_WINDOW_INT) && jiffies < j+HZ)
j265drivers/net/seeq8005.cj=0;
j268drivers/net/seeq8005.cj++;
j270drivers/net/seeq8005.cif (j) {
j271drivers/net/seeq8005.cprintk("%i\n",j);
j638drivers/net/sk_g16.cint i,j;                /* Counters */
j758drivers/net/sk_g16.cfor (i = 0, j = 0; i < ETH_ALEN; i++, j+=2)
j760drivers/net/sk_g16.cdev->dev_addr[i] = board->rom[j];          
j1782drivers/net/sk_g16.cint i,j;
j1797drivers/net/sk_g16.cfor (j = 0; j < 6; j++)
j1799drivers/net/sk_g16.ctest_byte = (unsigned char *) (rom_location[i]+j);
j1802drivers/net/sk_g16.cif(!(*test_byte == rom_id[j]))
j404drivers/scsi/53c7,8xx.cint i, j, ccf;
j585drivers/scsi/53c7,8xx.cfor (j = 0; j < 8; ++j)
j586drivers/scsi/53c7,8xx.chostdata->busy[i][j] = 0;
j2155drivers/scsi/53c7,8xx.cint i, j, error, len;
j2184drivers/scsi/53c7,8xx.cfor (ptr = input_buf + len, j = 0; j < debugger_tokens[i].nargs && *ptr;) {
j2188drivers/scsi/53c7,8xx.cargs[j++] = simple_strtoul (ptr, &ptr, 0);
j2194drivers/scsi/53c7,8xx.cif (j != debugger_tokens[i].nargs)
j651drivers/scsi/aha152x.cint j;
j655drivers/scsi/aha152x.cfor( j=0; (j < SIGNATURE_COUNT) && !ok; j++)
j656drivers/scsi/aha152x.cok=!memcmp((void *) addresses[i]+signatures[j].sig_offset,
j657drivers/scsi/aha152x.c(void *) signatures[j].signature,
j658drivers/scsi/aha152x.c(int) signatures[j].sig_length);
j362drivers/scsi/eata.cstatic inline int port_detect(ushort *port_base, unsigned int j, 
j374drivers/scsi/eata.csprintf(name, "%s%d", driver_name, j);
j473drivers/scsi/eata.csh[j] = scsi_register(tpnt, sizeof(struct hostdata));
j475drivers/scsi/eata.cif (sh[j] == NULL) {
j485drivers/scsi/eata.csh[j]->io_port = *port_base;
j486drivers/scsi/eata.csh[j]->n_io_port = REGION_SIZE;
j487drivers/scsi/eata.csh[j]->dma_channel = dma_channel;
j488drivers/scsi/eata.csh[j]->irq = irq;
j489drivers/scsi/eata.csh[j]->sg_tablesize = (ushort) ntohs(info.scatt_size);
j490drivers/scsi/eata.csh[j]->this_id = (ushort) info.host_addr[3];
j491drivers/scsi/eata.csh[j]->can_queue = (ushort) ntohs(info.queue_size);
j492drivers/scsi/eata.csh[j]->cmd_per_lun = MAX_CMD_PER_LUN;
j495drivers/scsi/eata.crequest_region(sh[j]->io_port, REGION_SIZE, driver_name);
j497drivers/scsi/eata.cmemset(HD(j), 0, sizeof(struct hostdata));
j498drivers/scsi/eata.cHD(j)->subversion = subversion;
j499drivers/scsi/eata.cHD(j)->protocol_rev = protocol_rev;
j500drivers/scsi/eata.cHD(j)->board_number = j;
j501drivers/scsi/eata.cirqlist[irq] = j;
j503drivers/scsi/eata.cif (HD(j)->subversion == ESA)
j504drivers/scsi/eata.csh[j]->unchecked_isa_dma = FALSE;
j506drivers/scsi/eata.csh[j]->wish_block = TRUE;
j507drivers/scsi/eata.csh[j]->unchecked_isa_dma = TRUE;
j514drivers/scsi/eata.cstrcpy(BN(j), name);
j517drivers/scsi/eata.c"Mbox %d, CmdLun %d.\n", BN(j), HD(j)->protocol_rev, board_status, 
j518drivers/scsi/eata.csh[j]->this_id, sh[j]->io_port, sh[j]->irq, sh[j]->dma_channel,
j519drivers/scsi/eata.csh[j]->sg_tablesize, sh[j]->can_queue, sh[j]->cmd_per_lun);
j522drivers/scsi/eata.cif (sh[j]->sg_tablesize > MAX_SGLIST || sh[j]->sg_tablesize < 2) {
j523drivers/scsi/eata.cprintk("%s: detect, forcing to use %d SG lists.\n", BN(j), MAX_SGLIST);
j524drivers/scsi/eata.csh[j]->sg_tablesize = MAX_SGLIST;
j528drivers/scsi/eata.cif (sh[j]->can_queue > MAX_MAILBOXES || sh[j]->can_queue  < 2) {
j529drivers/scsi/eata.cprintk("%s: detect, forcing to use %d Mbox.\n", BN(j), MAX_MAILBOXES);
j530drivers/scsi/eata.csh[j]->can_queue = MAX_MAILBOXES;
j548drivers/scsi/eata.cunsigned int j = 0, k, flags;
j570drivers/scsi/eata.cif (j < MAX_BOARDS && port_detect(port_base, j, tpnt)) j++;
j575drivers/scsi/eata.cif (j > 0) 
j579drivers/scsi/eata.creturn j;
j598drivers/scsi/eata.cunsigned int i, j, k, flags;
j611drivers/scsi/eata.cj = ((struct hostdata *) SCpnt->host->hostdata)->board_number;
j613drivers/scsi/eata.cif (!done) panic("%s: qcomm, pid %ld, null done.\n", BN(j), SCpnt->pid);
j617drivers/scsi/eata.ci = HD(j)->last_cp_used + 1;
j619drivers/scsi/eata.cfor (k = 0; k < sh[j]->can_queue; k++, i++) {
j621drivers/scsi/eata.cif (i >= sh[j]->can_queue) i = 0;
j623drivers/scsi/eata.cif (HD(j)->cp_stat[i] == FREE) {
j624drivers/scsi/eata.cHD(j)->last_cp_used = i;
j629drivers/scsi/eata.cif (k == sh[j]->can_queue) {
j630drivers/scsi/eata.cprintk("%s: qcomm, no free mailbox, resetting.\n", BN(j));
j632drivers/scsi/eata.cif (HD(j)->in_reset) 
j633drivers/scsi/eata.cprintk("%s: qcomm, already in reset.\n", BN(j));
j635drivers/scsi/eata.cpanic("%s: qcomm, SCSI_RESET_SUCCESS.\n", BN(j));
j639drivers/scsi/eata.cprintk("%s: qcomm, pid %ld, DID_BUS_BUSY, done.\n", BN(j), SCpnt->pid);
j646drivers/scsi/eata.ccpp = &HD(j)->cp[i];
j651drivers/scsi/eata.cspp = &HD(j)->sp[i];
j663drivers/scsi/eata.cBN(j), i, SCpnt->target, SCpnt->pid);
j693drivers/scsi/eata.cif (do_dma(sh[j]->io_port, (unsigned int) cpp, SEND_CP_DMA)) {
j697drivers/scsi/eata.cBN(j), SCpnt->target, SCpnt->pid);
j703drivers/scsi/eata.cHD(j)->cp_stat[i] = IN_USE;
j709drivers/scsi/eata.cunsigned int i, j, flags;
j713drivers/scsi/eata.cj = ((struct hostdata *) SCarg->host->hostdata)->board_number;
j717drivers/scsi/eata.cBN(j), SCarg->target, SCarg->pid);
j723drivers/scsi/eata.cBN(j), i, SCarg->target, SCarg->pid);
j725drivers/scsi/eata.cif (i >= sh[j]->can_queue)
j726drivers/scsi/eata.cpanic("%s: abort, invalid SCarg->host_scribble.\n", BN(j));
j728drivers/scsi/eata.cif (wait_on_busy(sh[j]->io_port)) {
j729drivers/scsi/eata.cprintk("%s: abort, timeout error.\n", BN(j));
j734drivers/scsi/eata.cif (HD(j)->cp_stat[i] == FREE) {
j735drivers/scsi/eata.cprintk("%s: abort, mbox %d is free.\n", BN(j), i);
j740drivers/scsi/eata.cif (HD(j)->cp_stat[i] == IN_USE) {
j741drivers/scsi/eata.cprintk("%s: abort, mbox %d is in use.\n", BN(j), i);
j743drivers/scsi/eata.cif (SCarg != HD(j)->cp[i].SCpnt)
j745drivers/scsi/eata.cBN(j), i, SCarg, HD(j)->cp[i].SCpnt);
j751drivers/scsi/eata.cif (HD(j)->cp_stat[i] == IN_RESET) {
j752drivers/scsi/eata.cprintk("%s: abort, mbox %d is in reset.\n", BN(j), i);
j757drivers/scsi/eata.cif (HD(j)->cp_stat[i] == LOCKED) {
j758drivers/scsi/eata.cprintk("%s: abort, mbox %d is locked.\n", BN(j), i);
j763drivers/scsi/eata.cpanic("%s: abort, mbox %d, invalid cp_stat.\n", BN(j), i);
j767drivers/scsi/eata.cunsigned int i, j, flags, time, k, limit = 0;
j773drivers/scsi/eata.cj = ((struct hostdata *) SCarg->host->hostdata)->board_number;
j775drivers/scsi/eata.cBN(j), SCarg->target, SCarg->pid);
j778drivers/scsi/eata.cprintk("%s: reset, pid %ld inactive.\n", BN(j), SCarg->pid);
j780drivers/scsi/eata.cif (HD(j)->in_reset) {
j781drivers/scsi/eata.cprintk("%s: reset, exit, already in reset.\n", BN(j));
j786drivers/scsi/eata.cif (wait_on_busy(sh[j]->io_port)) {
j787drivers/scsi/eata.cprintk("%s: reset, exit, timeout error.\n", BN(j));
j792drivers/scsi/eata.cfor (k = 0; k < MAX_TARGET; k++) HD(j)->target_reset[k] = TRUE;
j794drivers/scsi/eata.cfor (k = 0; k < MAX_TARGET; k++) HD(j)->target_time_out[k] = 0;
j796drivers/scsi/eata.cfor (i = 0; i < sh[j]->can_queue; i++) {
j798drivers/scsi/eata.cif (HD(j)->cp_stat[i] == FREE) continue;
j800drivers/scsi/eata.cif (HD(j)->cp_stat[i] == LOCKED) {
j801drivers/scsi/eata.cHD(j)->cp_stat[i] = FREE;
j802drivers/scsi/eata.cprintk("%s: reset, locked mbox %d forced free.\n", BN(j), i);
j806drivers/scsi/eata.cSCpnt = HD(j)->cp[i].SCpnt;
j807drivers/scsi/eata.cHD(j)->cp_stat[i] = IN_RESET;
j809drivers/scsi/eata.cBN(j), i, SCpnt->pid);
j812drivers/scsi/eata.cpanic("%s: reset, mbox %d, SCpnt == NULL.\n", BN(j), i);
j815drivers/scsi/eata.cpanic("%s: reset, mbox %d, garbled SCpnt.\n", BN(j), i);
j818drivers/scsi/eata.cpanic("%s: reset, mbox %d, index mismatch.\n", BN(j), i);
j821drivers/scsi/eata.cpanic("%s: reset, mbox %d, SCpnt->scsi_done == NULL.\n", BN(j), i);
j826drivers/scsi/eata.cif (do_dma(sh[j]->io_port, 0, RESET_PIO)) {
j827drivers/scsi/eata.cprintk("%s: reset, cannot reset, timeout error.\n", BN(j));
j832drivers/scsi/eata.cprintk("%s: reset, board reset done, enabling interrupts.\n", BN(j));
j838drivers/scsi/eata.cHD(j)->in_reset = TRUE;
j843drivers/scsi/eata.cprintk("%s: reset, interrupts disabled, loops %d.\n", BN(j), limit);
j845drivers/scsi/eata.cfor (i = 0; i < sh[j]->can_queue; i++) {
j848drivers/scsi/eata.cif (HD(j)->cp_stat[i] != IN_RESET) continue;
j850drivers/scsi/eata.cSCpnt = HD(j)->cp[i].SCpnt;
j855drivers/scsi/eata.cHD(j)->cp_stat[i] = LOCKED;
j858drivers/scsi/eata.cBN(j), i, SCpnt->pid);
j864drivers/scsi/eata.cHD(j)->in_reset = FALSE;
j869drivers/scsi/eata.cprintk("%s: reset, exit, success.\n", BN(j));
j873drivers/scsi/eata.cprintk("%s: reset, exit, wakeup.\n", BN(j));
j880drivers/scsi/eata.cunsigned int i, j, k, flags, status, tstatus, loops, total_loops = 0;
j897drivers/scsi/eata.cfor (j = 0; sh[j] != NULL; j++) {
j899drivers/scsi/eata.cif (sh[j]->irq != irq) continue;
j904drivers/scsi/eata.cwhile (inb(sh[j]->io_port + REG_AUX_STATUS) & IRQ_ASSERTED) {
j909drivers/scsi/eata.cBN(j), HD(j)->iocount);
j912drivers/scsi/eata.cinb(sh[j]->io_port + REG_STATUS);
j915drivers/scsi/eata.cfor (i = 0; i < sh[j]->can_queue; i++) {
j916drivers/scsi/eata.cspp = &HD(j)->sp[i];
j923drivers/scsi/eata.cif (HD(j)->cp_stat[i] == IGNORE) {
j924drivers/scsi/eata.cHD(j)->cp_stat[i] = FREE;
j927drivers/scsi/eata.celse if (HD(j)->cp_stat[i] == LOCKED) {
j928drivers/scsi/eata.cHD(j)->cp_stat[i] = FREE;
j930drivers/scsi/eata.cBN(j), i, HD(j)->iocount);
j933drivers/scsi/eata.celse if (HD(j)->cp_stat[i] == FREE) {
j935drivers/scsi/eata.cBN(j), i, HD(j)->iocount);
j938drivers/scsi/eata.celse if (HD(j)->cp_stat[i] == IN_RESET)
j939drivers/scsi/eata.cprintk("%s: ihdlr, mbox %d is in reset.\n", BN(j), i);
j940drivers/scsi/eata.celse if (HD(j)->cp_stat[i] != IN_USE) 
j941drivers/scsi/eata.cpanic("%s: ihdlr, mbox %d, invalid cp_stat.\n", BN(j), i);
j943drivers/scsi/eata.cHD(j)->cp_stat[i] = FREE;
j944drivers/scsi/eata.ccpp = &HD(j)->cp[i];
j948drivers/scsi/eata.cpanic("%s: ihdlr, mbox %d, SCpnt == NULL.\n", BN(j), i);
j952drivers/scsi/eata.cBN(j), i, SCpnt, cpp->SCpnt);
j956drivers/scsi/eata.cBN(j), i, SCpnt->pid, SCpnt);
j960drivers/scsi/eata.c" irq %d.\n", BN(j), i, SCpnt->pid, 
j975drivers/scsi/eata.c&& HD(j)->target_reset[SCpnt->target])
j988drivers/scsi/eata.cHD(j)->target_reset[SCpnt->target] = FALSE;
j992drivers/scsi/eata.c"0x%x, sense key 0x%x.\n", BN(j), 
j996drivers/scsi/eata.cHD(j)->target_time_out[SCpnt->target] = 0;
j1002drivers/scsi/eata.cif (HD(j)->target_time_out[SCpnt->target] > 1)
j1006drivers/scsi/eata.cHD(j)->target_time_out[SCpnt->target]++;
j1019drivers/scsi/eata.cHD(j)->target_reset[k] = TRUE;
j1036drivers/scsi/eata.cHD(j)->iocount++;
j1038drivers/scsi/eata.cif (loops > 1) HD(j)->multicount++;
j1043drivers/scsi/eata.cif ((spp->adapter_status != ASOK && HD(j)->iocount >  1000) ||
j1045drivers/scsi/eata.cspp->adapter_status != ASST && HD(j)->iocount <= 1000) ||
j1050drivers/scsi/eata.cBN(j), i, spp->adapter_status, spp->target_status,
j1051drivers/scsi/eata.cSCpnt->target, SCpnt->lun, SCpnt->pid, HD(j)->iocount);
j1077drivers/scsi/eata.cfor (j = 0; sh[j] != NULL; j++)
j1078drivers/scsi/eata.cprintk("%s: ihdlr, calls %d, count %d, multi %d.\n", BN(j),
j1079drivers/scsi/eata.ccalls[(sh[j]->irq)], HD(j)->iocount, HD(j)->multicount);
j816drivers/scsi/fdomain.cint              i, j;
j838drivers/scsi/fdomain.cfor (j = 0; !bios_base && j < SIGNATURE_COUNT; j++) {
j839drivers/scsi/fdomain.cif (!memcmp( ((char *)addresses[i] + signatures[j].sig_offset),
j840drivers/scsi/fdomain.csignatures[j].signature, signatures[j].sig_length )) {
j841drivers/scsi/fdomain.cbios_major = signatures[j].major_bios_version;
j842drivers/scsi/fdomain.cbios_minor = signatures[j].minor_bios_version;
j843drivers/scsi/fdomain.cPCI_bus    = (signatures[j].flag == 1);
j844drivers/scsi/fdomain.cQuantum    = (signatures[j].flag > 1) ? signatures[j].flag : 0;
j967drivers/scsi/fdomain.cfor (j = 8; j < (buf[4] < 32 ? buf[4] : 32); j++)
j968drivers/scsi/fdomain.cprintk( "%c", buf[j] >= 20 ? buf[j] : ' ' );
j267drivers/scsi/hosts.cstruct Scsi_Host * scsi_register(Scsi_Host_Template * tpnt, int j){
j269drivers/scsi/hosts.cretval = (struct Scsi_Host *)scsi_init_malloc(sizeof(struct Scsi_Host) + j,
j270drivers/scsi/hosts.c(tpnt->unchecked_isa_dma && j ? GFP_DMA : 0) | GFP_ATOMIC);
j274drivers/scsi/hosts.cif(j > 0xffff) panic("Too many extra bytes requested\n");
j275drivers/scsi/hosts.cretval->extra_bytes = j;
j296drivers/scsi/hosts.cprintk("Register %x %x: %d\n", (int)retval, (int)retval->hostt, j);
j329drivers/scsi/hosts.hextern struct Scsi_Host * scsi_register(Scsi_Host_Template *, int j);
j193drivers/scsi/qlogic.cint  j;
j194drivers/scsi/qlogic.cj = 0;
j204drivers/scsi/qlogic.cwhile( reqlen >= 84 && !( j & 0xc0 ) ) /* 2/3 */
j205drivers/scsi/qlogic.cif( (j=inb( qbase + 8 )) & 4 ) {
j218drivers/scsi/qlogic.cj = 0;
j219drivers/scsi/qlogic.cwhile( reqlen && !( (j & 0x10) && (j & 0xc0) ) ) {
j221drivers/scsi/qlogic.cj &= 0xc0;
j222drivers/scsi/qlogic.cwhile ( reqlen && !( (j=inb(qbase + 8)) & 0x10 ) ) {
j226drivers/scsi/qlogic.cif( j & 0x10 )
j227drivers/scsi/qlogic.cj = inb(qbase+8);
j239drivers/scsi/qlogic.cwhile( reqlen >= 84 && !( j & 0xc0 ) ) /* 1/3 */
j240drivers/scsi/qlogic.cif( !((j=inb( qbase + 8 )) & 8) ) {
j253drivers/scsi/qlogic.cj = 0;
j254drivers/scsi/qlogic.cwhile( reqlen && !( (j & 2) && (j & 0xc0) ) ) {
j256drivers/scsi/qlogic.cwhile ( reqlen && !( (j=inb(qbase + 8)) & 2 ) ) {
j260drivers/scsi/qlogic.cif( j & 2 )
j261drivers/scsi/qlogic.cj = inb(qbase+8);
j338drivers/scsi/qlogic.cunsigned int  i, j, k;
j348drivers/scsi/qlogic.cj = inb(qbase + 6);
j359drivers/scsi/qlogic.cj &= 7; /* j = inb( qbase + 7 ) >> 5; */
j364drivers/scsi/qlogic.cif(j != 3 && j != 4) {
j365drivers/scsi/qlogic.cprintk("Ql:Bad sequence for command %d, int %02X, cmdleft = %d\n", j, i, inb( qbase+7 ) & 0x1f );
j419drivers/scsi/qlogic.cj = inb(qbase + 7) & 0x1f;        /* and bytes rec'd */
j423drivers/scsi/qlogic.cif (!((i == 8 && j == 2) || (i == 0x10 && j == 1))) {
j424drivers/scsi/qlogic.cprintk("Ql:Error during status phase, int=%02X, %d bytes recd\n", i, j);
j535drivers/scsi/qlogic.cint  i, j;      /* these are only used by IRQ detect */
j585drivers/scsi/qlogic.cj = 3;
j590drivers/scsi/qlogic.cwhile (j--) {
j598drivers/scsi/qlogic.cj = -1;
j600drivers/scsi/qlogic.ci >>= 1, j++;  /* should check for exactly 1 on */
j601drivers/scsi/qlogic.cqlirq = j;
j2083drivers/scsi/scsi.cint i, j;
j2093drivers/scsi/scsi.cfor(j=0; j<=(sizeof(*dma_malloc_freelist) * 8) - nbits; j++){
j2094drivers/scsi/scsi.cif ((dma_malloc_freelist[i] & (mask << j)) == 0){
j2095drivers/scsi/scsi.cdma_malloc_freelist[i] |= (mask << j);
j2099drivers/scsi/scsi.cprintk("SMalloc: %d %p ",len, dma_malloc_pages[i] + (j << 9));
j2101drivers/scsi/scsi.creturn (void *) ((unsigned long) dma_malloc_pages[i] + (j << 9));
j2227drivers/scsi/scsi.cint j;
j2231drivers/scsi/scsi.cfor(j=0;j<SDpnt->host->cmd_per_lun;j++){
j557drivers/scsi/scsi_debug.cint j;
j563drivers/scsi/scsi_debug.cfor(j=0;j<SCSI_DEBUG_MAILBOXES; j++) {
j564drivers/scsi/scsi_debug.cif(SCpnt == SCint[j]) {
j565drivers/scsi/scsi_debug.cmy_done = do_done[j];
j569drivers/scsi/scsi_debug.ctimeout[j] = 0;
j570drivers/scsi/scsi_debug.cSCint[j] = NULL;
j571drivers/scsi/scsi_debug.cdo_done[j] = NULL;
j284drivers/scsi/seagate.cint i,j;
j329drivers/scsi/seagate.cfor (j = 0; !base_address && j < NUM_SIGNATURES; ++j)
j331drivers/scsi/seagate.csignatures[j].offset), (void *) signatures[j].signature,
j332drivers/scsi/seagate.csignatures[j].length)) {
j334drivers/scsi/seagate.ccontroller_type = signatures[j].type;
j296drivers/scsi/u14-34f.cstatic int board_inquiry(unsigned int j) {
j300drivers/scsi/u14-34f.ccpp = &HD(j)->cp[0];
j304drivers/scsi/u14-34f.ccpp->data_address = (unsigned int) HD(j)->board_id;
j305drivers/scsi/u14-34f.ccpp->data_len = sizeof(HD(j)->board_id);
j309drivers/scsi/u14-34f.cif (wait_on_busy(sh[j]->io_port)) {
j310drivers/scsi/u14-34f.cprintk("%s: board_inquiry, adapter busy.\n", BN(j));
j314drivers/scsi/u14-34f.cHD(j)->cp_stat[0] = IGNORE;
j317drivers/scsi/u14-34f.coutb(CMD_CLR_INTR, sh[j]->io_port + REG_SYS_INTR);
j320drivers/scsi/u14-34f.coutl((unsigned int)cpp, sh[j]->io_port + REG_OGM);
j323drivers/scsi/u14-34f.coutb(CMD_OGM_INTR, sh[j]->io_port + REG_LCL_INTR);
j330drivers/scsi/u14-34f.cif (cpp->adapter_status || HD(j)->cp_stat[0] != FREE) {
j331drivers/scsi/u14-34f.cHD(j)->cp_stat[0] = FREE;
j332drivers/scsi/u14-34f.cprintk("%s: board_inquiry, err 0x%x.\n", BN(j), cpp->adapter_status);
j339drivers/scsi/u14-34f.cstatic inline int port_detect(ushort *port_base, unsigned int j, 
j381drivers/scsi/u14-34f.csprintf(name, "%s%d", driver_name, j);
j416drivers/scsi/u14-34f.csh[j] = scsi_register(tpnt, sizeof(struct hostdata));
j418drivers/scsi/u14-34f.cif (sh[j] == NULL) {
j428drivers/scsi/u14-34f.csh[j]->io_port = *port_base;
j429drivers/scsi/u14-34f.csh[j]->n_io_port = REGION_SIZE;
j430drivers/scsi/u14-34f.csh[j]->base = bios_segment_table[config_1.bios_segment];
j431drivers/scsi/u14-34f.csh[j]->irq = irq;
j432drivers/scsi/u14-34f.csh[j]->sg_tablesize = MAX_SGLIST;
j433drivers/scsi/u14-34f.csh[j]->this_id = config_2.ha_scsi_id;
j434drivers/scsi/u14-34f.csh[j]->can_queue = MAX_MAILBOXES;
j435drivers/scsi/u14-34f.csh[j]->cmd_per_lun = MAX_CMD_PER_LUN;
j441drivers/scsi/u14-34f.csys_mask = inb(sh[j]->io_port + REG_SYS_MASK);
j442drivers/scsi/u14-34f.clcl_mask = inb(sh[j]->io_port + REG_LCL_MASK);
j448drivers/scsi/u14-34f.cif (sh[j]->base == 0) outb(CMD_ENA_INTR, sh[j]->io_port + REG_SYS_MASK);
j451drivers/scsi/u14-34f.crequest_region(sh[j]->io_port, REGION_SIZE, driver_name);
j453drivers/scsi/u14-34f.cmemset(HD(j), 0, sizeof(struct hostdata));
j454drivers/scsi/u14-34f.cHD(j)->heads = mapping_table[config_2.mapping_mode].heads;
j455drivers/scsi/u14-34f.cHD(j)->sectors = mapping_table[config_2.mapping_mode].sectors;
j456drivers/scsi/u14-34f.cHD(j)->subversion = subversion;
j457drivers/scsi/u14-34f.cHD(j)->board_number = j;
j458drivers/scsi/u14-34f.cirqlist[irq] = j;
j460drivers/scsi/u14-34f.cif (HD(j)->subversion == ESA) {
j463drivers/scsi/u14-34f.csh[j]->sg_tablesize = MAX_SAFE_SGLIST;
j466drivers/scsi/u14-34f.csh[j]->dma_channel = NO_DMA;
j467drivers/scsi/u14-34f.csh[j]->unchecked_isa_dma = FALSE;
j468drivers/scsi/u14-34f.csprintf(BN(j), "U34F%d", j);
j471drivers/scsi/u14-34f.csh[j]->wish_block = TRUE;
j474drivers/scsi/u14-34f.csh[j]->hostt->use_clustering = DISABLE_CLUSTERING;
j475drivers/scsi/u14-34f.csh[j]->sg_tablesize = MAX_SAFE_SGLIST;
j478drivers/scsi/u14-34f.csh[j]->dma_channel = dma_channel;
j479drivers/scsi/u14-34f.csh[j]->unchecked_isa_dma = TRUE;
j480drivers/scsi/u14-34f.csprintf(BN(j), "U14F%d", j);
j487drivers/scsi/u14-34f.cif (HD(j)->subversion == ISA && !board_inquiry(j)) {
j488drivers/scsi/u14-34f.cHD(j)->board_id[40] = 0;
j490drivers/scsi/u14-34f.cif (strcmp(&HD(j)->board_id[32], "06000600")) {
j491drivers/scsi/u14-34f.cprintk("%s: %s.\n", BN(j), &HD(j)->board_id[8]);
j493drivers/scsi/u14-34f.cBN(j), &HD(j)->board_id[32]);
j494drivers/scsi/u14-34f.csh[j]->hostt->use_clustering = DISABLE_CLUSTERING;
j495drivers/scsi/u14-34f.csh[j]->sg_tablesize = MAX_SAFE_SGLIST;
j500drivers/scsi/u14-34f.c"Mbox %d, CmdLun %d, C%d.\n", BN(j), sh[j]->io_port, 
j501drivers/scsi/u14-34f.c(int)sh[j]->base, sh[j]->irq, 
j502drivers/scsi/u14-34f.csh[j]->dma_channel, sh[j]->sg_tablesize, 
j503drivers/scsi/u14-34f.csh[j]->can_queue, sh[j]->cmd_per_lun,
j504drivers/scsi/u14-34f.csh[j]->hostt->use_clustering);
j509drivers/scsi/u14-34f.cunsigned int j = 0, k, flags;
j529drivers/scsi/u14-34f.cif (j < MAX_BOARDS && port_detect(port_base, j, tpnt)) j++;
j534drivers/scsi/u14-34f.cif (j > 0) 
j538drivers/scsi/u14-34f.creturn j;
j559drivers/scsi/u14-34f.cunsigned int i, j, k, flags;
j565drivers/scsi/u14-34f.cj = ((struct hostdata *) SCpnt->host->hostdata)->board_number;
j567drivers/scsi/u14-34f.cif (!done) panic("%s: qcomm, pid %ld, null done.\n", BN(j), SCpnt->pid);
j571drivers/scsi/u14-34f.ci = HD(j)->last_cp_used + 1;
j573drivers/scsi/u14-34f.cfor (k = 0; k < sh[j]->can_queue; k++, i++) {
j575drivers/scsi/u14-34f.cif (i >= sh[j]->can_queue) i = 0;
j577drivers/scsi/u14-34f.cif (HD(j)->cp_stat[i] == FREE) {
j578drivers/scsi/u14-34f.cHD(j)->last_cp_used = i;
j583drivers/scsi/u14-34f.cif (k == sh[j]->can_queue) {
j584drivers/scsi/u14-34f.cprintk("%s: qcomm, no free mailbox, resetting.\n", BN(j));
j586drivers/scsi/u14-34f.cif (HD(j)->in_reset) 
j587drivers/scsi/u14-34f.cprintk("%s: qcomm, already in reset.\n", BN(j));
j589drivers/scsi/u14-34f.cpanic("%s: qcomm, SCSI_RESET_SUCCESS.\n", BN(j));
j593drivers/scsi/u14-34f.cprintk("%s: qcomm, pid %ld, DID_BUS_BUSY, done.\n", BN(j), SCpnt->pid);
j600drivers/scsi/u14-34f.ccpp = &HD(j)->cp[i];
j608drivers/scsi/u14-34f.cBN(j), i, SCpnt->target, SCpnt->pid);
j630drivers/scsi/u14-34f.cif (wait_on_busy(sh[j]->io_port)) {
j634drivers/scsi/u14-34f.cBN(j), SCpnt->target, SCpnt->pid);
j641drivers/scsi/u14-34f.coutl((unsigned int)cpp, sh[j]->io_port + REG_OGM);
j644drivers/scsi/u14-34f.coutb(CMD_OGM_INTR, sh[j]->io_port + REG_LCL_INTR);
j646drivers/scsi/u14-34f.cHD(j)->cp_stat[i] = IN_USE;
j652drivers/scsi/u14-34f.cunsigned int i, j, flags;
j656drivers/scsi/u14-34f.cj = ((struct hostdata *) SCarg->host->hostdata)->board_number;
j660drivers/scsi/u14-34f.cBN(j), SCarg->target, SCarg->pid);
j666drivers/scsi/u14-34f.cBN(j), i, SCarg->target, SCarg->pid);
j668drivers/scsi/u14-34f.cif (i >= sh[j]->can_queue)
j669drivers/scsi/u14-34f.cpanic("%s: abort, invalid SCarg->host_scribble.\n", BN(j));
j671drivers/scsi/u14-34f.cif (wait_on_busy(sh[j]->io_port)) {
j672drivers/scsi/u14-34f.cprintk("%s: abort, timeout error.\n", BN(j));
j677drivers/scsi/u14-34f.cif (HD(j)->cp_stat[i] == FREE) {
j678drivers/scsi/u14-34f.cprintk("%s: abort, mbox %d is free.\n", BN(j), i);
j683drivers/scsi/u14-34f.cif (HD(j)->cp_stat[i] == IN_USE) {
j684drivers/scsi/u14-34f.cprintk("%s: abort, mbox %d is in use.\n", BN(j), i);
j686drivers/scsi/u14-34f.cif (SCarg != HD(j)->cp[i].SCpnt)
j688drivers/scsi/u14-34f.cBN(j), i, SCarg, HD(j)->cp[i].SCpnt);
j694drivers/scsi/u14-34f.cif (HD(j)->cp_stat[i] == IN_RESET) {
j695drivers/scsi/u14-34f.cprintk("%s: abort, mbox %d is in reset.\n", BN(j), i);
j700drivers/scsi/u14-34f.cif (HD(j)->cp_stat[i] == LOCKED) {
j701drivers/scsi/u14-34f.cprintk("%s: abort, mbox %d is locked.\n", BN(j), i);
j706drivers/scsi/u14-34f.cpanic("%s: abort, mbox %d, invalid cp_stat.\n", BN(j), i);
j710drivers/scsi/u14-34f.cunsigned int i, j, flags, time, k, limit = 0;
j716drivers/scsi/u14-34f.cj = ((struct hostdata *) SCarg->host->hostdata)->board_number;
j718drivers/scsi/u14-34f.cBN(j), SCarg->target, SCarg->pid);
j721drivers/scsi/u14-34f.cprintk("%s: reset, pid %ld inactive.\n", BN(j), SCarg->pid);
j723drivers/scsi/u14-34f.cif (HD(j)->in_reset) {
j724drivers/scsi/u14-34f.cprintk("%s: reset, exit, already in reset.\n", BN(j));
j729drivers/scsi/u14-34f.cif (wait_on_busy(sh[j]->io_port)) {
j730drivers/scsi/u14-34f.cprintk("%s: reset, exit, timeout error.\n", BN(j));
j735drivers/scsi/u14-34f.cfor (k = 0; k < MAX_TARGET; k++) HD(j)->target_reset[k] = TRUE;
j737drivers/scsi/u14-34f.cfor (k = 0; k < MAX_TARGET; k++) HD(j)->target_time_out[k] = 0;
j739drivers/scsi/u14-34f.cfor (i = 0; i < sh[j]->can_queue; i++) {
j741drivers/scsi/u14-34f.cif (HD(j)->cp_stat[i] == FREE) continue;
j743drivers/scsi/u14-34f.cif (HD(j)->cp_stat[i] == LOCKED) {
j744drivers/scsi/u14-34f.cHD(j)->cp_stat[i] = FREE;
j745drivers/scsi/u14-34f.cprintk("%s: reset, locked mbox %d forced free.\n", BN(j), i);
j749drivers/scsi/u14-34f.cSCpnt = HD(j)->cp[i].SCpnt;
j750drivers/scsi/u14-34f.cHD(j)->cp_stat[i] = IN_RESET;
j752drivers/scsi/u14-34f.cBN(j), i, SCpnt->pid);
j755drivers/scsi/u14-34f.cpanic("%s: reset, mbox %d, SCpnt == NULL.\n", BN(j), i);
j758drivers/scsi/u14-34f.cpanic("%s: reset, mbox %d, garbled SCpnt.\n", BN(j), i);
j761drivers/scsi/u14-34f.cpanic("%s: reset, mbox %d, index mismatch.\n", BN(j), i);
j764drivers/scsi/u14-34f.cpanic("%s: reset, mbox %d, SCpnt->scsi_done == NULL.\n", BN(j), i);
j769drivers/scsi/u14-34f.cif (wait_on_busy(sh[j]->io_port)) {
j770drivers/scsi/u14-34f.cprintk("%s: reset, cannot reset, timeout error.\n", BN(j));
j775drivers/scsi/u14-34f.coutb(CMD_RESET, sh[j]->io_port + REG_LCL_INTR);
j776drivers/scsi/u14-34f.cprintk("%s: reset, board reset done, enabling interrupts.\n", BN(j));
j782drivers/scsi/u14-34f.cHD(j)->in_reset = TRUE;
j787drivers/scsi/u14-34f.cprintk("%s: reset, interrupts disabled, loops %d.\n", BN(j), limit);
j789drivers/scsi/u14-34f.cfor (i = 0; i < sh[j]->can_queue; i++) {
j792drivers/scsi/u14-34f.cif (HD(j)->cp_stat[i] != IN_RESET) continue;
j794drivers/scsi/u14-34f.cSCpnt = HD(j)->cp[i].SCpnt;
j799drivers/scsi/u14-34f.cHD(j)->cp_stat[i] = LOCKED;
j802drivers/scsi/u14-34f.cBN(j), i, SCpnt->pid);
j808drivers/scsi/u14-34f.cHD(j)->in_reset = FALSE;
j813drivers/scsi/u14-34f.cprintk("%s: reset, exit, success.\n", BN(j));
j817drivers/scsi/u14-34f.cprintk("%s: reset, exit, wakeup.\n", BN(j));
j823drivers/scsi/u14-34f.cunsigned int j = 0;
j826drivers/scsi/u14-34f.cdkinfo[0] = HD(j)->heads;
j827drivers/scsi/u14-34f.cdkinfo[1] = HD(j)->sectors;
j828drivers/scsi/u14-34f.cdkinfo[2] = size / (HD(j)->heads * HD(j)->sectors);
j834drivers/scsi/u14-34f.cunsigned int i, j, k, flags, status, tstatus, loops, total_loops = 0;
j850drivers/scsi/u14-34f.cfor (j = 0; sh[j] != NULL; j++) {
j852drivers/scsi/u14-34f.cif (sh[j]->irq != irq) continue;
j857drivers/scsi/u14-34f.cwhile (inb(sh[j]->io_port + REG_SYS_INTR) & IRQ_ASSERTED) {
j862drivers/scsi/u14-34f.cBN(j), HD(j)->iocount);
j864drivers/scsi/u14-34f.cspp = (struct mscp *)inl(sh[j]->io_port + REG_ICM);
j867drivers/scsi/u14-34f.coutb(CMD_CLR_INTR, sh[j]->io_port + REG_SYS_INTR);
j869drivers/scsi/u14-34f.ci = spp - HD(j)->cp;
j871drivers/scsi/u14-34f.cif (i >= sh[j]->can_queue)
j872drivers/scsi/u14-34f.cpanic("%s: ihdlr, invalid mscp address.\n", BN(j));
j874drivers/scsi/u14-34f.cif (HD(j)->cp_stat[i] == IGNORE) {
j875drivers/scsi/u14-34f.cHD(j)->cp_stat[i] = FREE;
j878drivers/scsi/u14-34f.celse if (HD(j)->cp_stat[i] == LOCKED) {
j879drivers/scsi/u14-34f.cHD(j)->cp_stat[i] = FREE;
j881drivers/scsi/u14-34f.cBN(j), i, HD(j)->iocount);
j884drivers/scsi/u14-34f.celse if (HD(j)->cp_stat[i] == FREE) {
j886drivers/scsi/u14-34f.cBN(j), i, HD(j)->iocount);
j889drivers/scsi/u14-34f.celse if (HD(j)->cp_stat[i] == IN_RESET)
j890drivers/scsi/u14-34f.cprintk("%s: ihdlr, mbox %d is in reset.\n", BN(j), i);
j891drivers/scsi/u14-34f.celse if (HD(j)->cp_stat[i] != IN_USE) 
j892drivers/scsi/u14-34f.cpanic("%s: ihdlr, mbox %d, invalid cp_stat.\n", BN(j), i);
j894drivers/scsi/u14-34f.cHD(j)->cp_stat[i] = FREE;
j898drivers/scsi/u14-34f.cpanic("%s: ihdlr, mbox %d, SCpnt == NULL.\n", BN(j), i);
j902drivers/scsi/u14-34f.cBN(j), i, SCpnt->pid, SCpnt);
j906drivers/scsi/u14-34f.c" irq %d.\n", BN(j), i, SCpnt->pid, 
j921drivers/scsi/u14-34f.c&& HD(j)->target_reset[SCpnt->target])
j934drivers/scsi/u14-34f.cHD(j)->target_reset[SCpnt->target] = FALSE;
j938drivers/scsi/u14-34f.c"0x%x, sense key 0x%x.\n", BN(j), 
j942drivers/scsi/u14-34f.cHD(j)->target_time_out[SCpnt->target] = 0;
j947drivers/scsi/u14-34f.cif (HD(j)->target_time_out[SCpnt->target] > 1)
j951drivers/scsi/u14-34f.cHD(j)->target_time_out[SCpnt->target]++;
j967drivers/scsi/u14-34f.cHD(j)->target_reset[k] = TRUE;
j983drivers/scsi/u14-34f.cHD(j)->iocount++;
j985drivers/scsi/u14-34f.cif (loops > 1) HD(j)->multicount++;
j990drivers/scsi/u14-34f.cif ((spp->adapter_status != ASOK && HD(j)->iocount >  1000) ||
j992drivers/scsi/u14-34f.cspp->adapter_status != ASST && HD(j)->iocount <= 1000) ||
j997drivers/scsi/u14-34f.cBN(j), i, spp->adapter_status, spp->target_status,
j998drivers/scsi/u14-34f.cSCpnt->target, SCpnt->lun, SCpnt->pid, HD(j)->iocount);
j1022drivers/scsi/u14-34f.cfor (j = 0; sh[j] != NULL; j++)
j1023drivers/scsi/u14-34f.cprintk("%s: ihdlr, calls %d, count %d, multi %d.\n", BN(j),
j1024drivers/scsi/u14-34f.ccalls[(sh[j]->irq)], HD(j)->iocount, HD(j)->multicount);
j1101drivers/scsi/wd7000.cint i,j, present = 0;
j1113drivers/scsi/wd7000.cfor (j = 0; j < NUM_SIGNATURES; j++)  {
j179drivers/sound/dev_table.cint             card_type, ioaddr, irq, dma, ptr, j;
j199drivers/sound/dev_table.cfor (j = 0; j < n && ptr == -1; j++)
j200drivers/sound/dev_table.cif (snd_installed_cards[j].card_type == card_type &&
j201drivers/sound/dev_table.c!snd_installed_cards[j].enabled)  /*
j204drivers/sound/dev_table.cptr = j;
j224drivers/sound/dev_table.cint             ptr, j;
j227drivers/sound/dev_table.cfor (j = 0; j < n && ptr == -1; j++)
j228drivers/sound/dev_table.cif (snd_installed_cards[j].card_type == card_type &&
j229drivers/sound/dev_table.c!snd_installed_cards[j].enabled)  /*
j232drivers/sound/dev_table.cptr = j;
j251drivers/sound/dev_table.cint             j, ptr;
j255drivers/sound/dev_table.cfor (j = 0; j < n && ptr == -1; j++)
j256drivers/sound/dev_table.cif (snd_installed_cards[j].card_type == card_type)
j257drivers/sound/dev_table.cptr = j;
j252drivers/sound/pss.cint             j;
j254drivers/sound/pss.cfor (j = 0; j < 327670; j++)
j261drivers/sound/pss.cif (j == 327670)
j687fs/binfmt_elf.cint i,j, k;
j730fs/binfmt_elf.cj = 0;
j732fs/binfmt_elf.cif((elf_phdata + i)->p_type == PT_LOAD) j++;
j734fs/binfmt_elf.cif(j != 1)  {
j25fs/block_dev.cint blocksize, blocksize_bits, i, j, buffercount,write_error;
j99fs/block_dev.cfor(j=0; j<blocks_per_cluster; j++) cluster_list[j] = block+i+j;
j834fs/buffer.cint i, j;
j855fs/buffer.cj = 1;
j862fs/buffer.cbhlist[j++] = bh;
j866fs/buffer.cll_rw_block(READ, j, bhlist);
j868fs/buffer.cfor(i=1; i<j; i++)
j1136fs/buffer.cint i, j;
j1144fs/buffer.cfor (i=0, j=0; j<PAGE_SIZE ; i++, j+= size) {
j1151fs/buffer.cfor (i=0, j=0; j<PAGE_SIZE ; i++, j += size, where += size) {
j1169fs/buffer.cint i, j;
j1171fs/buffer.cfor (i=0, j=0; j<PAGE_SIZE ; i++, j+= size) {
j1176fs/buffer.cfor (i=0, j=0; j<PAGE_SIZE ; i++, j += size, address += size) {
j88fs/ext/freelists.cint j;
j99fs/ext/freelists.cj = efb->free[--efb->count];
j105fs/ext/freelists.cj = sb->u.ext_sb.s_firstfreeblocknumber;
j117fs/ext/freelists.cif (j < sb->u.ext_sb.s_firstdatazone || j > sb->u.ext_sb.s_nzones) {
j118fs/ext/freelists.cprintk ("ext_new_block: blk = %d\n", j);
j125fs/ext/freelists.cif (!(bh=getblk(sb->s_dev, j, sb->s_blocksize))) {
j134fs/ext/freelists.cprintk("ext_new_block: allocating block %d\n", j);
j137fs/ext/freelists.creturn j;
j245fs/ext/freelists.cint j;
j258fs/ext/freelists.cj = efi->free[--efi->count];
j264fs/ext/freelists.cj = sb->u.ext_sb.s_firstfreeinodenumber;
j288fs/ext/freelists.cinode->i_ino = j;
j98fs/ext2/balloc.cint i, j;
j129fs/ext2/balloc.cfor (j = i; j > 0; j--) {
j130fs/ext2/balloc.csb->u.ext2_sb.s_block_bitmap_number[j] =
j131fs/ext2/balloc.csb->u.ext2_sb.s_block_bitmap_number[j - 1];
j132fs/ext2/balloc.csb->u.ext2_sb.s_block_bitmap[j] =
j133fs/ext2/balloc.csb->u.ext2_sb.s_block_bitmap[j - 1];
j142fs/ext2/balloc.cfor (j = sb->u.ext2_sb.s_loaded_block_bitmaps - 1; j > 0;  j--) {
j143fs/ext2/balloc.csb->u.ext2_sb.s_block_bitmap_number[j] =
j144fs/ext2/balloc.csb->u.ext2_sb.s_block_bitmap_number[j - 1];
j145fs/ext2/balloc.csb->u.ext2_sb.s_block_bitmap[j] =
j146fs/ext2/balloc.csb->u.ext2_sb.s_block_bitmap[j - 1];
j259fs/ext2/balloc.cint i, j, k, tmp;
j292fs/ext2/balloc.cj = ((goal - es->s_first_data_block) % EXT2_BLOCKS_PER_GROUP(sb));
j294fs/ext2/balloc.cif (j)
j300fs/ext2/balloc.cext2_debug ("goal is at %d:%d.\n", i, j);
j302fs/ext2/balloc.cif (!test_bit(j, bh->b_data)) {
j309fs/ext2/balloc.cif (j) {
j318fs/ext2/balloc.cint end_goal = (j + 63) & ~63;
j319fs/ext2/balloc.cj = find_next_zero_bit(bh->b_data, end_goal, j);
j320fs/ext2/balloc.cif (j < end_goal)
j335fs/ext2/balloc.cp = ((char *) bh->b_data) + (j >> 3);
j336fs/ext2/balloc.cr = memscan(p, 0, (EXT2_BLOCKS_PER_GROUP(sb) - j + 7) >> 3);
j339fs/ext2/balloc.cj = k;
j344fs/ext2/balloc.cj);
j346fs/ext2/balloc.cj = k;
j372fs/ext2/balloc.cj = (r - bh->b_data) << 3;
j373fs/ext2/balloc.cif (j < EXT2_BLOCKS_PER_GROUP(sb))
j376fs/ext2/balloc.cj = find_first_zero_bit ((unsigned long *) bh->b_data,
j378fs/ext2/balloc.cif (j >= EXT2_BLOCKS_PER_GROUP(sb)) {
j391fs/ext2/balloc.cfor (k = 0; k < 7 && j > 0 && !test_bit (j - 1, bh->b_data); k++, j--);
j397fs/ext2/balloc.ctmp = j + i * EXT2_BLOCKS_PER_GROUP(sb) + es->s_first_data_block;
j407fs/ext2/balloc.cif (set_bit (j, bh->b_data)) {
j409fs/ext2/balloc.c"bit already set for block %d", j);
j413fs/ext2/balloc.cext2_debug ("found bit %d\n", j);
j423fs/ext2/balloc.ck < 8 && (j + k) < EXT2_BLOCKS_PER_GROUP(sb); k++) {
j424fs/ext2/balloc.cif (set_bit (j + k, bh->b_data))
j435fs/ext2/balloc.cj = tmp;
j443fs/ext2/balloc.cif (j >= es->s_blocks_count) {
j446fs/ext2/balloc.c"block_group = %d, block=%d", i, j);
j450fs/ext2/balloc.cif (!(bh = getblk (sb->s_dev, j, sb->s_blocksize))) {
j451fs/ext2/balloc.cext2_error (sb, "ext2_new_block", "cannot get block %d", j);
j461fs/ext2/balloc.c"Goal hits %d of %d.\n", j, goal_hits, goal_attempts);
j469fs/ext2/balloc.creturn j;
j521fs/ext2/balloc.cint i, j;
j540fs/ext2/balloc.cfor (j = 0; j < desc_blocks; j++)
j541fs/ext2/balloc.cif (!test_bit (j + 1, bh->b_data))
j544fs/ext2/balloc.c"%d is marked free", j, i);
j556fs/ext2/balloc.cfor (j = 0; j < sb->u.ext2_sb.s_itb_per_group; j++)
j557fs/ext2/balloc.cif (!block_in_use (gdp->bg_inode_table + j, sb, bh->b_data))
j560fs/ext2/balloc.c"group %d is marked free", j, i);
j97fs/ext2/ialloc.cint i, j;
j130fs/ext2/ialloc.cfor (j = i; j > 0; j--) {
j131fs/ext2/ialloc.csb->u.ext2_sb.s_inode_bitmap_number[j] =
j132fs/ext2/ialloc.csb->u.ext2_sb.s_inode_bitmap_number[j - 1];
j133fs/ext2/ialloc.csb->u.ext2_sb.s_inode_bitmap[j] =
j134fs/ext2/ialloc.csb->u.ext2_sb.s_inode_bitmap[j - 1];
j143fs/ext2/ialloc.cfor (j = sb->u.ext2_sb.s_loaded_inode_bitmaps - 1; j > 0; j--) {
j144fs/ext2/ialloc.csb->u.ext2_sb.s_inode_bitmap_number[j] =
j145fs/ext2/ialloc.csb->u.ext2_sb.s_inode_bitmap_number[j - 1];
j146fs/ext2/ialloc.csb->u.ext2_sb.s_inode_bitmap[j] =
j147fs/ext2/ialloc.csb->u.ext2_sb.s_inode_bitmap[j - 1];
j311fs/ext2/ialloc.cint i, j, avefreei;
j345fs/ext2/ialloc.cfor (j = 0; j < sb->u.ext2_sb.s_groups_count; j++) {
j346fs/ext2/ialloc.ctmp = get_group_desc (sb, j, &bh2);
j352fs/ext2/ialloc.ci = j;
j374fs/ext2/ialloc.cfor (j = 1; j < sb->u.ext2_sb.s_groups_count; j <<= 1) {
j375fs/ext2/ialloc.ci += j;
j390fs/ext2/ialloc.cfor (j = 2; j < sb->u.ext2_sb.s_groups_count; j++) {
j409fs/ext2/ialloc.cif ((j = find_first_zero_bit ((unsigned long *) bh->b_data,
j412fs/ext2/ialloc.cif (set_bit (j, bh->b_data)) {
j414fs/ext2/ialloc.c"bit already set for inode %d", j);
j433fs/ext2/ialloc.cj += i * EXT2_INODES_PER_GROUP(sb) + 1;
j434fs/ext2/ialloc.cif (j < EXT2_FIRST_INO || j > es->s_inodes_count) {
j437fs/ext2/ialloc.c"block_group = %d,inode=%d", i, j);
j464fs/ext2/ialloc.cinode->i_ino = j;
j405fs/ext2/super.cint i, j;
j609fs/ext2/super.cfor (j = 0; j < i; j++)
j610fs/ext2/super.cbrelse (sb->u.ext2_sb.s_group_desc[j]);
j621fs/ext2/super.cfor (j = 0; j < db_count; j++)
j622fs/ext2/super.cbrelse (sb->u.ext2_sb.s_group_desc[j]);
j26fs/minix/bitmap.cunsigned i, j, end, sum = 0;
j43fs/minix/bitmap.cfor (j=0; j<end; j++)
j44fs/minix/bitmap.csum += nibblemap[bh->b_data[j] & 0xf] 
j45fs/minix/bitmap.c+ nibblemap[(bh->b_data[j]>>4)&0xf];
j85fs/minix/bitmap.cint i,j;
j92fs/minix/bitmap.cj = 8192;
j95fs/minix/bitmap.cif ((j=find_first_zero_bit(bh->b_data, 8192)) < 8192)
j97fs/minix/bitmap.cif (i>=8 || !bh || j>=8192)
j99fs/minix/bitmap.cif (set_bit(j,bh->b_data)) {
j104fs/minix/bitmap.cj += i*8192 + sb->u.minix_sb.s_firstdatazone-1;
j105fs/minix/bitmap.cif (j < sb->u.minix_sb.s_firstdatazone ||
j106fs/minix/bitmap.cj >= sb->u.minix_sb.s_nzones)
j108fs/minix/bitmap.cif (!(bh = getblk(sb->s_dev,j,BLOCK_SIZE))) {
j116fs/minix/bitmap.creturn j;
j168fs/minix/bitmap.cint i,j;
j175fs/minix/bitmap.cj = 8192;
j178fs/minix/bitmap.cif ((j=find_first_zero_bit(bh->b_data, 8192)) < 8192)
j180fs/minix/bitmap.cif (!bh || j >= 8192) {
j184fs/minix/bitmap.cif (set_bit(j,bh->b_data)) {  /* shouldn't happen */
j190fs/minix/bitmap.cj += i*8192;
j191fs/minix/bitmap.cif (!j || j >= inode->i_sb->u.minix_sb.s_ninodes) {
j201fs/minix/bitmap.cinode->i_ino = j;
j378fs/pipe.cint i,j;
j384fs/pipe.cfor(j=0 ; j<2 ; j++)
j385fs/pipe.cif (!(f[j] = get_empty_filp()))
j387fs/pipe.cif (j < 2) {
j389fs/pipe.cif (j)
j393fs/pipe.cj=0;
j394fs/pipe.cfor(i=0;j<2 && i<NR_OPEN && i<current->rlim[RLIMIT_NOFILE].rlim_cur;i++)
j396fs/pipe.ccurrent->files->fd[ fd[j]=i ] = f[j];
j397fs/pipe.cj++;
j399fs/pipe.cif (j<2) {
j403fs/pipe.cif (j)
j126fs/proc/fd.cunsigned long i,j;
j156fs/proc/fd.cj = NUMBUF;
j159fs/proc/fd.cj--;
j160fs/proc/fd.cbuf[j] = '0' + (i % 10);
j165fs/proc/fd.cif (filldir(dirent, buf+j, NUMBUF-j, fd+2, ino) < 0)
j152fs/proc/root.cunsigned long i,j;
j173fs/proc/root.cj = NUMBUF;
j176fs/proc/root.cj--;
j177fs/proc/root.cbuf[j] = '0' + (i % 10);
j181fs/proc/root.cif (filldir(dirent, buf+j, NUMBUF-j, nr+NR_ROOT_DIRENTRY, (pid << 16)+2) < 0)
j92fs/select.cint i,j;
j95fs/select.cfor (j = 0 ; j < __FDSET_LONGS ; j++) {
j96fs/select.ci = j << 5;
j99fs/select.cset = in->fds_bits[j] | out->fds_bits[j] | ex->fds_bits[j];
j362fs/smbfs/proc.cint i, j, len;
j384fs/smbfs/proc.cfor (j = i; j < i+10; j++)
j385fs/smbfs/proc.cif (j < len)
j386fs/smbfs/proc.cprintk("%02x ", packet[j]);
j390fs/smbfs/proc.cfor (j = i; j < i+10; j++)
j391fs/smbfs/proc.cif (j < len)
j392fs/smbfs/proc.cprintk("%c", print_char(packet[j]));
j1874fs/smbfs/proc.cint i,j;
j1886fs/smbfs/proc.cfor (j=0; err[j].name; j++) {
j1887fs/smbfs/proc.cif (num != err[j].code)
j1890fs/smbfs/proc.cerr_classes[i].class, err[j].name,
j1891fs/smbfs/proc.cerr[j].message);
j112fs/sysv/ialloc.cint i,j,ino,block;
j130fs/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) {
j136fs/sysv/ialloc.craw_inode = (struct sysv_inode *) bh->b_data + j;
j137fs/sysv/ialloc.cfor (; j < sb->sv_inodes_per_block && i < sb->sv_fic_size; ino++, j++, raw_inode++) {
j185fs/sysv/ialloc.cint j,block,count;
j196fs/sysv/ialloc.cfor (block = sb->sv_firstinodezone, j = SYSV_ROOT_INO ; block < sb->sv_firstdatazone ; block++, j = 0) {
j202fs/sysv/ialloc.craw_inode = (struct sysv_inode *) bh->b_data + j;
j203fs/sysv/ialloc.cfor (; j < sb->sv_inodes_per_block ; j++, raw_inode++)
j40fs/xiafs/bitmap.cint end, i, j, tmp;
j58fs/xiafs/bitmap.cfor (j=0; j < 32; j++)
j59fs/xiafs/bitmap.cif (tmp & (1 << j))
j61fs/xiafs/bitmap.cif (set_bit(j,bmap+i)) {
j62fs/xiafs/bitmap.cstart_bit=j + (i << 5) + 1;
j66fs/xiafs/bitmap.creturn j + (i << 5);
j76kernel/itimer.cregister unsigned long i, j;
j80kernel/itimer.cj = tvtojiffies(&value->it_value);
j85kernel/itimer.cif (j) {
j86kernel/itimer.cj += 1+itimer_ticks;
j87kernel/itimer.cif (j < itimer_next)
j88kernel/itimer.citimer_next = j;
j90kernel/itimer.ccurrent->it_real_value = j;
j94kernel/itimer.cif (j)
j95kernel/itimer.cj++;
j96kernel/itimer.ccurrent->it_virt_value = j;
j100kernel/itimer.cif (j)
j101kernel/itimer.cj++;
j102kernel/itimer.ccurrent->it_prof_value = j;
j57kernel/printk.cunsigned long i, j, count;
j115kernel/printk.cj = log_start + log_size - count;
j117kernel/printk.cc = *((char *) log_buf+(j++ & (LOG_BUF_LEN-1)));
j207kernel/printk.cint  i,j;
j215kernel/printk.cfor (i=0,j=0; i < log_size; i++) {
j216kernel/printk.cbuf[j++] = log_buf[p];
j218kernel/printk.cif (buf[j-1] != '\n' && i < log_size - 1 && j < sizeof(buf)-1)
j220kernel/printk.cbuf[j] = 0;
j228kernel/printk.cif (buf[j-1] == '\n')
j230kernel/printk.cj = 0;
j98mm/memory.cint j;
j114mm/memory.cfor (j = 0; j < PTRS_PER_PTE ; j++)
j115mm/memory.cfree_one_pte(pte+j);
j121mm/memory.cint j;
j137mm/memory.cfor (j = 0; j < PTRS_PER_PMD ; j++)
j138mm/memory.cfree_one_pmd(pmd+j);
j255mm/memory.cint j;
j274mm/memory.cfor (j = 0 ; j < PTRS_PER_PTE ; j++) {
j284mm/memory.cint j;
j303mm/memory.cfor (j = 0 ; j < PTRS_PER_PMD ; j++) {
j159mm/swap.cint j;
j162mm/swap.cfor (i=0, j=0; j< PAGE_SIZE ; i++, j += 512){
j169mm/swap.cint j;
j173mm/swap.cfor (i=0, j=0; j< PAGE_SIZE ; i++, j +=swapf->i_sb->s_blocksize)
j1069mm/swap.cint i, j, prev;
j1144mm/swap.cj = 0;
j1153mm/swap.cj++;
j1156mm/swap.cif (!j) {
j1175mm/swap.cp->pages = j;
j1176mm/swap.cnr_swap_pages += j;
j1177mm/swap.cprintk("Adding Swap: %dk swap-space\n",j<<(PAGE_SHIFT-10));
j1211mm/swap.cunsigned int i, j;
j1217mm/swap.cfor (j = 0; j < swap_info[i].max; ++j)
j1218mm/swap.cswitch (swap_info[i].swap_map[j]) {
j120net/ipv4/af_inet.cint i, j;
j135net/ipv4/af_inet.cj = 0;
j140net/ipv4/af_inet.cj++;
j142net/ipv4/af_inet.cif (j == 0) 
j147net/ipv4/af_inet.cif (j < size) 
j150net/ipv4/af_inet.csize = j;
j1008net/ipv4/arp.cint i,j,k;
j1036net/ipv4/arp.cfor(k=0,j=0;k<HBUFFERLEN-3 && j<entry->hlen;j++)
j1038net/ipv4/arp.chbuffer[k++]=hexbuf[ (entry->ha[j]>>4)&15 ];
j1039net/ipv4/arp.chbuffer[k++]=hexbuf[  entry->ha[j]&15     ];
j288net/ipv4/igmp.cstruct ip_mc_list *j;
j289net/ipv4/igmp.cfor(i=dev->ip_mc_list;i!=NULL;i=j)
j291net/ipv4/igmp.cj=i->next;