tag | line | file | source code |
k | 212 | drivers/block/cmd640.c | int k; |
k | 214 | drivers/block/cmd640.c | for (k = 0x80000000; k <= 0x8000f800; k += 0x800) { |
k | 215 | drivers/block/cmd640.c | outl(k, 0xcf8); |
k | 221 | drivers/block/cmd640.c | cmd640_key = k; |
k | 273 | drivers/block/raid0.c | int j, k; |
k | 293 | drivers/block/raid0.c | for (k=0; k<data->strip_zone[j].nb_dev; k++) |
k | 295 | drivers/block/raid0.c | partition_name(data->strip_zone[j].dev[k]->dev)); |
k | 1922 | drivers/cdrom/aztcd.c | { int limit, k=5; |
k | 2003 | drivers/cdrom/aztcd.c | } while(--k); |
k | 3335 | drivers/cdrom/sbpcd.c | int i, j, k; |
k | 3349 | drivers/cdrom/sbpcd.c | for (k=0;k<N_RESPO;k++) response[k]=0; |
k | 3350 | drivers/cdrom/sbpcd.c | for (k=0;k<N_RESPO;k++) |
k | 3355 | drivers/cdrom/sbpcd.c | response[k]=inb(port+0); |
k | 3365 | drivers/cdrom/sbpcd.c | for (k=0;k<N_RESPO;k++) response[k]=0xFF; |
k | 3366 | drivers/cdrom/sbpcd.c | for (k=0;k<N_RESPO;k++) |
k | 3371 | drivers/cdrom/sbpcd.c | response[k]=inb(port+0); |
k | 3389 | drivers/cdrom/sbpcd.c | for (k=0;k<N_RESPO;k++) response[k]=0; |
k | 3390 | drivers/cdrom/sbpcd.c | for (k=0;k<N_RESPO;k++) |
k | 3395 | drivers/cdrom/sbpcd.c | response[k]=inb(port+0); |
k | 3406 | drivers/cdrom/sbpcd.c | for (k=0;k<N_RESPO;k++) response[k]=0xFF; |
k | 3407 | drivers/cdrom/sbpcd.c | for (k=0;k<N_RESPO;k++) |
k | 3412 | drivers/cdrom/sbpcd.c | response[k]=inb(port+0); |
k | 1918 | drivers/char/console.c | int j, k ; |
k | 1929 | drivers/char/console.c | for (j=k=0; j<16; j++) { |
k | 1930 | drivers/char/console.c | vc_cons[currcons].d->vc_palette[k++] = default_red[j] ; |
k | 1931 | drivers/char/console.c | vc_cons[currcons].d->vc_palette[k++] = default_grn[j] ; |
k | 1932 | drivers/char/console.c | vc_cons[currcons].d->vc_palette[k++] = default_blu[j] ; |
k | 2040 | drivers/char/console.c | int j, k ; |
k | 2051 | drivers/char/console.c | for (j=k=0; j<16; j++) { |
k | 2052 | drivers/char/console.c | vc_cons[currcons].d->vc_palette[k++] = default_red[j] ; |
k | 2053 | drivers/char/console.c | vc_cons[currcons].d->vc_palette[k++] = default_grn[j] ; |
k | 2054 | drivers/char/console.c | vc_cons[currcons].d->vc_palette[k++] = default_blu[j] ; |
k | 2283 | drivers/char/console.c | int j, k ; |
k | 2284 | drivers/char/console.c | for (j=k=0; j<16; j++) { |
k | 2285 | drivers/char/console.c | palette[k++] = default_red[j]; |
k | 2286 | drivers/char/console.c | palette[k++] = default_grn[j]; |
k | 2287 | drivers/char/console.c | palette[k++] = default_blu[j]; |
k | 415 | drivers/char/consolemap.c | int i, j, k, ect; |
k | 425 | drivers/char/consolemap.c | for ( k = 0 ; k < 64 ; k++ ) |
k | 429 | drivers/char/consolemap.c | put_user((u_short)((i<<11)+(j<<6)+k), |
k | 273 | drivers/char/cyclades.c | #define small_delay(x) for(j=0;j<x;j++)k++; |
k | 975 | drivers/char/keyboard.c | int i, j, k, sym, val; |
k | 983 | drivers/char/keyboard.c | k = i*BITS_PER_LONG; |
k | 984 | drivers/char/keyboard.c | for(j=0; j<BITS_PER_LONG; j++,k++) |
k | 985 | drivers/char/keyboard.c | if(test_bit(k, key_down)) { |
k | 986 | drivers/char/keyboard.c | sym = U(plain_map[k]); |
k | 475 | drivers/char/scc.c | int k; |
k | 495 | drivers/char/scc.c | for (k = 0; k < scc->stat.rxbuffers ; k++) |
k | 524 | drivers/char/scc.c | for (k = 0; k < scc->stat.txbuffers ; k++) |
k | 741 | drivers/char/scc.c | register int k; |
k | 780 | drivers/char/scc.c | k = 0; |
k | 783 | drivers/char/scc.c | while (k++ < Nchips) |
k | 811 | drivers/char/scc.c | k = 0; |
k | 893 | drivers/char/scc.c | register int k; |
k | 895 | drivers/char/scc.c | for (k=0; k<3; k++) |
k | 1354 | drivers/char/scc.c | int k; |
k | 1360 | drivers/char/scc.c | for (k = 0; k < (Nchips * 2); k++) |
k | 1362 | drivers/char/scc.c | scc2 = &SCC_Info[k]; |
k | 1866 | drivers/char/scc.c | int chip, k; |
k | 1874 | drivers/char/scc.c | for (k = 0; k < 16; k++) |
k | 1875 | drivers/char/scc.c | if (Ivec[k].used) |
k | 1877 | drivers/char/scc.c | printk("%s%d", flag, k); |
k | 2668 | drivers/char/scc.c | int chip, chan, k; |
k | 2730 | drivers/char/scc.c | for (k = 0; k < 16; k++) Ivec[k].used = 0; |
k | 2757 | drivers/char/scc.c | int k, errno; |
k | 2768 | drivers/char/scc.c | for (k = 0; k < Nchips; k++) |
k | 2769 | drivers/char/scc.c | if ( (ctrl = SCC_ctrl[k*2]) ) |
k | 2776 | drivers/char/scc.c | for (k = 0; k < Nchips*2; k++) |
k | 2778 | drivers/char/scc.c | scc = &SCC_Info[k]; |
k | 2786 | drivers/char/scc.c | for (k=0; k < 16 ; k++) |
k | 2787 | drivers/char/scc.c | if (Ivec[k].used) free_irq(k, NULL); |
k | 577 | drivers/char/stallion.c | int i, j, k; |
k | 612 | drivers/char/stallion.c | for (k = 0; (k < STL_PORTSPERPANEL); k++) { |
k | 613 | drivers/char/stallion.c | portp = panelp->ports[k]; |
k | 406 | drivers/char/tga.c | int j, k ; |
k | 407 | drivers/char/tga.c | for (j=k=0; j<16; j++) { |
k | 408 | drivers/char/tga.c | vc_cons[i].d->vc_palette[k++] = default_red[j]; |
k | 409 | drivers/char/tga.c | vc_cons[i].d->vc_palette[k++] = default_grn[j]; |
k | 410 | drivers/char/tga.c | vc_cons[i].d->vc_palette[k++] = default_blu[j]; |
k | 560 | drivers/char/vga.c | int j, k ; |
k | 561 | drivers/char/vga.c | for (j=k=0; j<16; j++) { |
k | 562 | drivers/char/vga.c | vc_cons[i].d->vc_palette[k++] = default_red[j]; |
k | 563 | drivers/char/vga.c | vc_cons[i].d->vc_palette[k++] = default_grn[j]; |
k | 564 | drivers/char/vga.c | vc_cons[i].d->vc_palette[k++] = default_blu[j]; |
k | 537 | drivers/char/vt.c | int j, k, sz; |
k | 567 | drivers/char/vt.c | for (k = j; k < MAX_NR_FUNC; k++) |
k | 568 | drivers/char/vt.c | if (func_table[k]) |
k | 569 | drivers/char/vt.c | func_table[k] += delta; |
k | 586 | drivers/char/vt.c | for (k = 0; k < j; k++) |
k | 587 | drivers/char/vt.c | if (func_table[k]) |
k | 588 | drivers/char/vt.c | func_table[k] = fnw + (func_table[k] - funcbufptr); |
k | 592 | drivers/char/vt.c | for (k = j; k < MAX_NR_FUNC; k++) |
k | 593 | drivers/char/vt.c | if (func_table[k]) |
k | 594 | drivers/char/vt.c | func_table[k] = fnw + (func_table[k] - funcbufptr) + delta; |
k | 1641 | drivers/isdn/isdn_common.c | int n, j, k; |
k | 1727 | drivers/isdn/isdn_common.c | for (k = 0; k < ISDN_MAX_CHANNELS; k++) |
k | 1728 | drivers/isdn/isdn_common.c | if (dev->chanmap[k] < 0) { |
k | 1729 | drivers/isdn/isdn_common.c | dev->chanmap[k] = j; |
k | 1730 | drivers/isdn/isdn_common.c | dev->drvmap[k] = drvidx; |
k | 621 | drivers/net/de4x5.c | static void de4x5_dbg_mii(struct device *dev, int k); |
k | 2857 | drivers/net/de4x5.c | int broken, i, k, tmp, status = 0; |
k | 2862 | drivers/net/de4x5.c | for (i=0,k=0,j=0;j<3;j++) { |
k | 2863 | drivers/net/de4x5.c | k <<= 1; |
k | 2864 | drivers/net/de4x5.c | if (k > 0xffff) k-=0xffff; |
k | 2869 | drivers/net/de4x5.c | k += (u_char) tmp; |
k | 2872 | drivers/net/de4x5.c | k += (u_short) (tmp << 8); |
k | 2882 | drivers/net/de4x5.c | k += (u_char) (tmp = inb(EISA_APROM)); |
k | 2884 | drivers/net/de4x5.c | k += (u_short) ((tmp = inb(EISA_APROM)) << 8); |
k | 2888 | drivers/net/de4x5.c | if (k > 0xffff) k-=0xffff; |
k | 2890 | drivers/net/de4x5.c | if (k == 0xffff) k=0; |
k | 2898 | drivers/net/de4x5.c | if ((k != chksum) && (dec_only)) status = -1; |
k | 2903 | drivers/net/de4x5.c | if ((k != chksum) && (dec_only)) status = -1; |
k | 3209 | drivers/net/de4x5.c | int i, j, k, limit=sizeof(phy_info)/sizeof(struct phy_table); |
k | 3225 | drivers/net/de4x5.c | for (k=0; lp->phy[k].id && (k < DE4X5_MAX_PHY); k++); |
k | 3226 | drivers/net/de4x5.c | if (k < DE4X5_MAX_PHY) { |
k | 3227 | drivers/net/de4x5.c | memcpy((char *)&lp->phy[k], |
k | 3229 | drivers/net/de4x5.c | lp->phy[k].addr = i; |
k | 3238 | drivers/net/de4x5.c | for (k=0; lp->phy[k].id && (k < DE4X5_MAX_PHY); k++) { /*For each PHY*/ |
k | 3239 | drivers/net/de4x5.c | mii_wr(MII_CR_RST, MII_CR, lp->phy[k].addr, DE4X5_MII); |
k | 3240 | drivers/net/de4x5.c | while (mii_rd(MII_CR, lp->phy[k].addr, DE4X5_MII) & MII_CR_RST); |
k | 3242 | drivers/net/de4x5.c | de4x5_dbg_mii(dev, k); |
k | 3419 | drivers/net/de4x5.c | static void de4x5_dbg_mii(struct device *dev, int k) |
k | 3425 | drivers/net/de4x5.c | printk("\nMII CR: %x\n",mii_rd(MII_CR,lp->phy[k].addr,DE4X5_MII)); |
k | 3426 | drivers/net/de4x5.c | printk("MII SR: %x\n",mii_rd(MII_SR,lp->phy[k].addr,DE4X5_MII)); |
k | 3427 | drivers/net/de4x5.c | printk("MII ID0: %x\n",mii_rd(MII_ID0,lp->phy[k].addr,DE4X5_MII)); |
k | 3428 | drivers/net/de4x5.c | printk("MII ID1: %x\n",mii_rd(MII_ID1,lp->phy[k].addr,DE4X5_MII)); |
k | 3429 | drivers/net/de4x5.c | if (lp->phy[k].id != BROADCOM_T4) { |
k | 3430 | drivers/net/de4x5.c | printk("MII ANA: %x\n",mii_rd(0x04,lp->phy[k].addr,DE4X5_MII)); |
k | 3431 | drivers/net/de4x5.c | printk("MII ANC: %x\n",mii_rd(0x05,lp->phy[k].addr,DE4X5_MII)); |
k | 3433 | drivers/net/de4x5.c | printk("MII 16: %x\n",mii_rd(0x10,lp->phy[k].addr,DE4X5_MII)); |
k | 3434 | drivers/net/de4x5.c | if (lp->phy[k].id != BROADCOM_T4) { |
k | 3435 | drivers/net/de4x5.c | printk("MII 17: %x\n",mii_rd(0x11,lp->phy[k].addr,DE4X5_MII)); |
k | 3436 | drivers/net/de4x5.c | printk("MII 18: %x\n",mii_rd(0x12,lp->phy[k].addr,DE4X5_MII)); |
k | 3438 | drivers/net/de4x5.c | printk("MII 20: %x\n",mii_rd(0x14,lp->phy[k].addr,DE4X5_MII)); |
k | 1407 | drivers/net/depca.c | u_int i,j,k; |
k | 1417 | drivers/net/depca.c | for (j=0,k=0;j<16 && k<strlen(signatures[i]);j++) { |
k | 1418 | drivers/net/depca.c | if (signatures[i][k] == tmpstr[j]) { /* track signature */ |
k | 1419 | drivers/net/depca.c | k++; |
k | 1421 | drivers/net/depca.c | k=0; |
k | 1424 | drivers/net/depca.c | if (k == strlen(signatures[i])) { |
k | 1504 | drivers/net/depca.c | int i, k, tmp, status = 0; |
k | 1509 | drivers/net/depca.c | for (i=0,k=0,j=0;j<3;j++) { |
k | 1510 | drivers/net/depca.c | k <<= 1 ; |
k | 1511 | drivers/net/depca.c | if (k > 0xffff) k-=0xffff; |
k | 1513 | drivers/net/depca.c | k += (u_char) (tmp = inb(DEPCA_PROM + x)); |
k | 1515 | drivers/net/depca.c | k += (u_short) ((tmp = inb(DEPCA_PROM + x)) << 8); |
k | 1518 | drivers/net/depca.c | if (k > 0xffff) k-=0xffff; |
k | 1520 | drivers/net/depca.c | if (k == 0xffff) k=0; |
k | 1524 | drivers/net/depca.c | if (k != chksum) status = -1; |
k | 1517 | drivers/net/ewrk3.c | u_long i,j,k; |
k | 1522 | drivers/net/ewrk3.c | for (j=EEPROM_PNAME7,k=0;j<=EEPROM_PNAME0 && k<strlen(signatures[i]);j++) { |
k | 1523 | drivers/net/ewrk3.c | if (signatures[i][k] == eeprom_image[j]) { /* track signature */ |
k | 1524 | drivers/net/ewrk3.c | k++; |
k | 1526 | drivers/net/ewrk3.c | k=0; |
k | 1529 | drivers/net/ewrk3.c | if (k == strlen(signatures[i])) { |
k | 1530 | drivers/net/ewrk3.c | for (k=0; k<EWRK3_STRLEN; k++) { |
k | 1531 | drivers/net/ewrk3.c | name[k] = eeprom_image[EEPROM_PNAME7 + k]; |
k | 1591 | drivers/net/ewrk3.c | int i, j, k; |
k | 1601 | drivers/net/ewrk3.c | for (k=0; k<8; k++, sd >>= 1) { |
k | 1608 | drivers/net/ewrk3.c | for (i=0,k=0;i<ETH_ALEN;) { |
k | 1609 | drivers/net/ewrk3.c | k <<= 1 ; |
k | 1610 | drivers/net/ewrk3.c | if (k > 0xffff) k-=0xffff; |
k | 1612 | drivers/net/ewrk3.c | k += (u_char) (tmp = inb(EWRK3_APROM)); |
k | 1616 | drivers/net/ewrk3.c | k += (u_short) ((tmp = inb(EWRK3_APROM)) << 8); |
k | 1621 | drivers/net/ewrk3.c | if (k > 0xffff) k-=0xffff; |
k | 1623 | drivers/net/ewrk3.c | if (k == 0xffff) k=0; |
k | 1626 | drivers/net/ewrk3.c | if (k != chksum) status = -1; |
k | 4928 | drivers/scsi/advansys.c | int k; |
k | 4936 | drivers/scsi/advansys.c | if ((k = (l - i) / 4) >= 8) { |
k | 4937 | drivers/scsi/advansys.c | k = 8; |
k | 4943 | drivers/scsi/advansys.c | for (j = 0; j < k; j++) { |
k | 2651 | drivers/scsi/aic7xxx.c | int i = 0, k = 0; |
k | 2674 | drivers/scsi/aic7xxx.c | for (k = 0; k < (sizeof(*sc) / 2); k++) |
k | 2700 | drivers/scsi/aic7xxx.c | temp = k; |
k | 2722 | drivers/scsi/aic7xxx.c | seeprom[k] = (seeprom[k] << 1) | (inb(STATUS_2840 + base) & DI_2840); |
k | 2732 | drivers/scsi/aic7xxx.c | if (k < (sizeof(*sc) / 2) - 1) |
k | 2734 | drivers/scsi/aic7xxx.c | checksum = checksum + seeprom[k]; |
k | 2751 | drivers/scsi/aic7xxx.c | for (k = 0; k < (sizeof(*sc) / 2); k++) |
k | 2753 | drivers/scsi/aic7xxx.c | if (((k % 8) == 0) && (k != 0)) |
k | 2757 | drivers/scsi/aic7xxx.c | printk(" 0x%x", seeprom[k]); |
k | 2824 | drivers/scsi/aic7xxx.c | int i = 0, k; |
k | 2866 | drivers/scsi/aic7xxx.c | for (k = 0; k < (sizeof(*sc) / 2); k++) |
k | 2892 | drivers/scsi/aic7xxx.c | temp = k + offset; |
k | 2914 | drivers/scsi/aic7xxx.c | seeprom[k] = (seeprom[k] << 1) | (inb(SEECTL + base) & SEEDI); |
k | 2925 | drivers/scsi/aic7xxx.c | if (k < (sizeof(*sc) / 2) - 1) |
k | 2927 | drivers/scsi/aic7xxx.c | checksum = checksum + seeprom[k]; |
k | 2949 | drivers/scsi/aic7xxx.c | for (k = 0; k < (sizeof(*sc) / 2); k++) |
k | 2951 | drivers/scsi/aic7xxx.c | if (((k % 8) == 0) && (k != 0)) |
k | 2955 | drivers/scsi/aic7xxx.c | printk(" 0x%x", seeprom[k]); |
k | 554 | drivers/scsi/eata.c | unsigned int j = 0, k, flags; |
k | 569 | drivers/scsi/eata.c | for (k = 0; k < MAX_IRQ; k++) { |
k | 570 | drivers/scsi/eata.c | irqlist[k] = NO_IRQ; |
k | 571 | drivers/scsi/eata.c | calls[k] = 0; |
k | 574 | drivers/scsi/eata.c | for (k = 0; k < MAX_BOARDS + 1; k++) sh[k] = NULL; |
k | 591 | drivers/scsi/eata.c | unsigned int k; |
k | 596 | drivers/scsi/eata.c | for (k = 0; k < SCpnt->use_sg; k++) { |
k | 597 | drivers/scsi/eata.c | cpp->sglist[k].address = htonl((unsigned int) sgpnt[k].address); |
k | 598 | drivers/scsi/eata.c | cpp->sglist[k].num_bytes = htonl((unsigned int) sgpnt[k].length); |
k | 606 | drivers/scsi/eata.c | unsigned int i, j, k, flags; |
k | 627 | drivers/scsi/eata.c | for (k = 0; k < sh[j]->can_queue; k++, i++) { |
k | 637 | drivers/scsi/eata.c | if (k == sh[j]->can_queue) { |
k | 673 | drivers/scsi/eata.c | for (k = 0; k < ARRAY_SIZE(data_out_cmds); k++) |
k | 674 | drivers/scsi/eata.c | if (SCpnt->cmnd[0] == data_out_cmds[k]) { |
k | 776 | drivers/scsi/eata.c | unsigned int i, j, flags, time, k, limit = 0; |
k | 801 | drivers/scsi/eata.c | for (k = 0; k < MAX_TARGET; k++) HD(j)->target_reset[k] = TRUE; |
k | 803 | drivers/scsi/eata.c | for (k = 0; k < MAX_TARGET; k++) HD(j)->target_time_out[k] = 0; |
k | 889 | drivers/scsi/eata.c | unsigned int i, j, k, flags, status, tstatus, loops, total_loops = 0; |
k | 1027 | drivers/scsi/eata.c | for (k = 0; k < MAX_TARGET; k++) |
k | 1028 | drivers/scsi/eata.c | HD(j)->target_reset[k] = TRUE; |
k | 126 | drivers/scsi/ppa.c | int k; |
k | 132 | drivers/scsi/ppa.c | k = 0; |
k | 133 | drivers/scsi/ppa.c | while ( !(r = (in_p(1) & 0xf0)) && (k++ < PPA_SELECT_TMO)) barrier(); |
k | 150 | drivers/scsi/ppa.c | { int k; |
k | 154 | drivers/scsi/ppa.c | k = 0; |
k | 156 | drivers/scsi/ppa.c | && (k++ < PPA_SPIN_TMO) && !ppa_abort_flag ) |
k | 166 | drivers/scsi/ppa.c | if (k >= PPA_SPIN_TMO) { |
k | 215 | drivers/scsi/ppa.c | { int k; |
k | 232 | drivers/scsi/ppa.c | for (k=0; k < cmd->cmd_len; k++) { /* send the command */ |
k | 234 | drivers/scsi/ppa.c | out_p(0,cmd->cmnd[k]); |
k | 241 | drivers/scsi/ppa.c | for (k=0; k < cmd->cmd_len; k++) |
k | 242 | drivers/scsi/ppa.c | printk("%3x",(cmd->cmnd[k]) & 0xff ); |
k | 264 | drivers/scsi/ppa.c | int k; |
k | 325 | drivers/scsi/ppa.c | for (k=0; k < cnt; k++) |
k | 326 | drivers/scsi/ppa.c | printk("%3x",buffer[k] & 0xff ); |
k | 275 | drivers/scsi/qlogic.c | int i,k; |
k | 276 | drivers/scsi/qlogic.c | k = 0; |
k | 278 | drivers/scsi/qlogic.c | while ( i > jiffies && !qabort && !((k = inb(qbase + 4)) & 0xe0)) |
k | 284 | drivers/scsi/qlogic.c | if (k & 0x60) |
k | 286 | drivers/scsi/qlogic.c | if (k & 0x20) |
k | 288 | drivers/scsi/qlogic.c | if (k & 0x40) |
k | 341 | drivers/scsi/qlogic.c | unsigned int i, j, k; |
k | 404 | drivers/scsi/qlogic.c | if ((k = ql_wai())) |
k | 405 | drivers/scsi/qlogic.c | return (k << 16); |
k | 406 | drivers/scsi/qlogic.c | k = inb(qbase + 5); /* should be 0x10, bus service */ |
k | 409 | drivers/scsi/qlogic.c | k = jiffies + WATCHDOG; |
k | 410 | drivers/scsi/qlogic.c | while ( k > jiffies && !qabort && !(inb(qbase + 4) & 6)); /* wait for status phase */ |
k | 411 | drivers/scsi/qlogic.c | if ( k <= jiffies ) { |
k | 419 | drivers/scsi/qlogic.c | if ((k = ql_wai())) |
k | 420 | drivers/scsi/qlogic.c | return (k << 16); |
k | 432 | drivers/scsi/qlogic.c | if ((k = ql_wai())) |
k | 433 | drivers/scsi/qlogic.c | return (k << 16); |
k | 480 | drivers/scsi/qlogic.c | int k; |
k | 492 | drivers/scsi/qlogic.c | if ((k = ql_wai())) |
k | 493 | drivers/scsi/qlogic.c | return (k << 16); |
k | 515 | drivers/scsi/u14-34f.c | unsigned int j = 0, k, flags; |
k | 528 | drivers/scsi/u14-34f.c | for (k = 0; k < MAX_IRQ; k++) { |
k | 529 | drivers/scsi/u14-34f.c | irqlist[k] = NO_IRQ; |
k | 530 | drivers/scsi/u14-34f.c | calls[k] = 0; |
k | 533 | drivers/scsi/u14-34f.c | for (k = 0; k < MAX_BOARDS + 1; k++) sh[k] = NULL; |
k | 550 | drivers/scsi/u14-34f.c | unsigned int k, data_len = 0; |
k | 555 | drivers/scsi/u14-34f.c | for (k = 0; k < SCpnt->use_sg; k++) { |
k | 556 | drivers/scsi/u14-34f.c | cpp->sglist[k].address = (unsigned int) sgpnt[k].address; |
k | 557 | drivers/scsi/u14-34f.c | cpp->sglist[k].num_bytes = sgpnt[k].length; |
k | 558 | drivers/scsi/u14-34f.c | data_len += sgpnt[k].length; |
k | 567 | drivers/scsi/u14-34f.c | unsigned int i, j, k, flags; |
k | 581 | drivers/scsi/u14-34f.c | for (k = 0; k < sh[j]->can_queue; k++, i++) { |
k | 591 | drivers/scsi/u14-34f.c | if (k == sh[j]->can_queue) { |
k | 719 | drivers/scsi/u14-34f.c | unsigned int i, j, flags, time, k, limit = 0; |
k | 744 | drivers/scsi/u14-34f.c | for (k = 0; k < MAX_TARGET; k++) HD(j)->target_reset[k] = TRUE; |
k | 746 | drivers/scsi/u14-34f.c | for (k = 0; k < MAX_TARGET; k++) HD(j)->target_time_out[k] = 0; |
k | 843 | drivers/scsi/u14-34f.c | unsigned int i, j, k, flags, status, tstatus, loops, total_loops = 0; |
k | 975 | drivers/scsi/u14-34f.c | for (k = 0; k < MAX_TARGET; k++) |
k | 976 | drivers/scsi/u14-34f.c | HD(j)->target_reset[k] = TRUE; |
k | 169 | fs/binfmt_elf.c | unsigned int k; |
k | 245 | fs/binfmt_elf.c | k = load_addr + eppnt->p_vaddr + eppnt->p_filesz; |
k | 246 | fs/binfmt_elf.c | if(k > elf_bss) elf_bss = k; |
k | 252 | fs/binfmt_elf.c | k = load_addr + eppnt->p_memsz + eppnt->p_vaddr; |
k | 253 | fs/binfmt_elf.c | if(k > last_bss) last_bss = k; |
k | 348 | fs/binfmt_elf.c | unsigned int elf_bss, k, elf_brk; |
k | 590 | fs/binfmt_elf.c | k = elf_ppnt->p_vaddr; |
k | 591 | fs/binfmt_elf.c | if(k < start_code) start_code = k; |
k | 592 | fs/binfmt_elf.c | k = elf_ppnt->p_vaddr + elf_ppnt->p_filesz; |
k | 593 | fs/binfmt_elf.c | if(k > elf_bss) elf_bss = k; |
k | 595 | fs/binfmt_elf.c | if((elf_ppnt->p_flags & PF_X) && end_code < k) |
k | 597 | fs/binfmt_elf.c | if( !(elf_ppnt->p_flags & PF_W) && end_code < k) |
k | 599 | fs/binfmt_elf.c | end_code = k; |
k | 600 | fs/binfmt_elf.c | if(end_data < k) end_data = k; |
k | 601 | fs/binfmt_elf.c | k = elf_ppnt->p_vaddr + elf_ppnt->p_memsz; |
k | 602 | fs/binfmt_elf.c | if(k > elf_brk) elf_brk = k; |
k | 715 | fs/binfmt_elf.c | int i,j, k; |
k | 780 | fs/binfmt_elf.c | k = elf_phdata->p_vaddr + elf_phdata->p_filesz; |
k | 781 | fs/binfmt_elf.c | if(k > elf_bss) elf_bss = k; |
k | 262 | fs/ext2/balloc.c | int i, j, k, tmp; |
k | 343 | fs/ext2/balloc.c | k = (r - ((char *) bh->b_data)) << 3; |
k | 344 | fs/ext2/balloc.c | if (k < EXT2_BLOCKS_PER_GROUP(sb)) { |
k | 345 | fs/ext2/balloc.c | j = k; |
k | 348 | fs/ext2/balloc.c | k = find_next_zero_bit ((unsigned long *) bh->b_data, |
k | 351 | fs/ext2/balloc.c | if (k < EXT2_BLOCKS_PER_GROUP(sb)) { |
k | 352 | fs/ext2/balloc.c | j = k; |
k | 363 | fs/ext2/balloc.c | for (k = 0; k < sb->u.ext2_sb.s_groups_count; k++) { |
k | 371 | fs/ext2/balloc.c | if (k >= sb->u.ext2_sb.s_groups_count) { |
k | 397 | fs/ext2/balloc.c | for (k = 0; k < 7 && j > 0 && !test_bit (j - 1, bh->b_data); k++, j--); |
k | 440 | fs/ext2/balloc.c | for (k = 1; |
k | 441 | fs/ext2/balloc.c | k < 8 && (j + k) < EXT2_BLOCKS_PER_GROUP(sb); k++) { |
k | 445 | fs/ext2/balloc.c | if (set_bit (j + k, bh->b_data)) { |
k | 121 | include/linux/scc.h | #define Running(k) (scc->k != TIMER_STOPPED) |
k | 122 | include/linux/scc.h | #define Expired(k) (scc->k != TIMER_STOPPED) && (!(scc->k) || (--(scc->k) == 0)) |
k | 123 | include/linux/scc.h | #define Stop_Timer(k) scc->k = TIMER_STOPPED |
k | 118 | kernel/itimer.c | int k; |
k | 122 | kernel/itimer.c | if (ovalue && (k = _getitimer(which, ovalue)) < 0) |
k | 123 | kernel/itimer.c | return k; |
k | 219 | lib/inflate.c | #define NEEDBITS(n) {while(k<(n)){b|=((ulg)NEXTBYTE())<<k;k+=8;}} |
k | 220 | lib/inflate.c | #define DUMPBITS(n) {b>>=(n);k-=(n);} |
k | 289 | lib/inflate.c | register int k; /* number of bits in current code */ |
k | 327 | lib/inflate.c | k = j; /* minimum code length */ |
k | 379 | lib/inflate.c | for (; k <= g; k++) |
k | 382 | lib/inflate.c | a = c[k]; |
k | 388 | lib/inflate.c | while (k > w + l) |
k | 396 | lib/inflate.c | if ((f = 1 << (j = k - w)) > a + 1) /* try a k-w bit table */ |
k | 400 | lib/inflate.c | xp = c + k; |
k | 441 | lib/inflate.c | r.b = (uch)(k - w); |
k | 458 | lib/inflate.c | f = 1 << (k - w); |
k | 463 | lib/inflate.c | for (j = 1 << (k - 1); i & j; j >>= 1) |
k | 519 | lib/inflate.c | register unsigned k; /* number of bits in bit buffer */ |
k | 524 | lib/inflate.c | k = bk; |
k | 608 | lib/inflate.c | bk = k; |
k | 622 | lib/inflate.c | register unsigned k; /* number of bits in bit buffer */ |
k | 628 | lib/inflate.c | k = bk; |
k | 633 | lib/inflate.c | n = k & 7; |
k | 664 | lib/inflate.c | bk = k; |
k | 747 | lib/inflate.c | register unsigned k; /* number of bits in bit buffer */ |
k | 753 | lib/inflate.c | k = bk; |
k | 853 | lib/inflate.c | bk = k; |
k | 910 | lib/inflate.c | register unsigned k; /* number of bits in bit buffer */ |
k | 916 | lib/inflate.c | k = bk; |
k | 933 | lib/inflate.c | bk = k; |
k | 1021 | lib/inflate.c | int k; /* byte being shifted into crc apparatus */ |
k | 1036 | lib/inflate.c | for (k = i | 256; k != 1; k >>= 1) |
k | 1039 | lib/inflate.c | if (k & 1) |
k | 93 | net/ax25/ax25_route.c | int k; |
k | 94 | net/ax25/ax25_route.c | for (k = 0; k < in->ndigi; k++) |
k | 95 | net/ax25/ax25_route.c | if (!in->repeated[k]) |
k | 97 | net/ax25/ax25_route.c | in->ndigi = k; |
k | 514 | net/ax25/ax25_route.c | int k; |
k | 516 | net/ax25/ax25_route.c | for (k = 0; k < digipeat->ndigi; k++) { |
k | 517 | net/ax25/ax25_route.c | if (ax25cmp(addr, &digipeat->calls[k]) == 0) |
k | 521 | net/ax25/ax25_route.c | digipeat->ndigi = k; |
k | 1542 | net/ipv4/arp.c | int i,j,k; |
k | 1571 | net/ipv4/arp.c | for(k=0,j=0;k<HBUFFERLEN-3 && j<entry->dev->addr_len;j++) |
k | 1573 | net/ipv4/arp.c | hbuffer[k++]=hexbuf[ (entry->ha[j]>>4)&15 ]; |
k | 1574 | net/ipv4/arp.c | hbuffer[k++]=hexbuf[ entry->ha[j]&15 ]; |
k | 1575 | net/ipv4/arp.c | hbuffer[k++]=':'; |
k | 1577 | net/ipv4/arp.c | hbuffer[--k]=0; |
k | 64 | scripts/ksymoops.cc | friend istream& operator >> (istream& is, KSym& k) { return k.scan(is); } |
k | 65 | scripts/ksymoops.cc | friend ostream& operator << (ostream& os, const KSym& k) { return k.print(os); } |